-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
P2
-
Affects Version/s: 8, 9
-
Component/s: core-svc
-
None
The code does:
if (result == NULL) {
free(dcmd_info_array);
JNU_ThrowOutOfMemoryError(env, 0);
}
...
free(dcmd_info_array);
JNU_ThrowOutOfMemoryError() does not cause the current function to return (it is not a macro), so free(dcmd_info_array) can be called twice.
if (result == NULL) {
free(dcmd_info_array);
JNU_ThrowOutOfMemoryError(env, 0);
}
...
free(dcmd_info_array);
JNU_ThrowOutOfMemoryError() does not cause the current function to return (it is not a macro), so free(dcmd_info_array) can be called twice.
- relates to
-
JDK-8032518 fatal error has been detected by the Java Runtime Environment (access violation)
-
- Closed
-