-
Bug
-
Resolution: Fixed
-
P2
-
1.3.1
-
1.0.3
-
x86
-
windows_2000
Name: nt126004 Date: 09/18/2001
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
In several places, the installer code (AccessBridgeInstaller.cpp) fails to
allocate space for the terminating null char on strings. For example, in
JVM::JVM(JVM *nextJVM, char *vmPath)
path = (char *) malloc(strlen(vmPath));
strcpy(path, vmPath);
If you search for all instances of malloc with strlen, you will see that
every one of them is wrong.
A minor, second complaint - the header file "AccessBridgeTester.h" is missing
from src.zip.
(Review ID: 131798)
======================================================================