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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 13
    • Fix Version/s: tbd
    • Component/s: core-svc
    • Labels:

      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

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

                Dates

                Created:
                Updated: