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

a memory corrupt in native.c in java plugin module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 6
    • 5.0u2
    • deploy
    • sparc
    • solaris_9

      There may exists memory corrupt in java plugin code native.c in 1.5.0_01 workspace , please see below, pszConsoleOutput[len] is out of the buffer allocated by malloc.

      /* Read the content in tmp file into output buffer */
         if (len > 0)
         {
         pszConsoleOutput = (char *) malloc(len * sizeof(char));
         read(tfildes, pszConsoleOutput, len);
         pszConsoleOutput[len] = '\0';
         }

      mustang does not have this issue because the problematic funtion is removed.
      ###@###.### 2004-11-06 02:24:33 GMT

            mleisunw Mike Lei (Inactive)
            mleisunw Mike Lei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: