Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8219896

Parameter size mismatch between client and VM sides of the Attach API

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P3
    • tbd
    • 13
    • core-svc

    Description

      In the VM the attach logic sets limits on the number and types of arguments that can be received:

      class AttachOperation: public CHeapObj<mtInternal> {
       public:
        enum {
          name_length_max = 16, // maximum length of name
          arg_length_max = 1024, // maximum length of argument
          arg_count_max = 4 // maximum number of arguments
        };

      but the client tools that send these requests may include arbitrary length arguments, such as filenames, that might exceed these limits.

      Attachments

        Issue Links

          Activity

            People

              amenkov Alex Menkov
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: