-
Bug
-
Resolution: Won't Fix
-
P4
-
5.0u2
-
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
/* 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