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

a memory corrupt in native.c in java plugin module

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 5.0u2
    • Fix Version/s: 6
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_9

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: