-
Bug
-
Resolution: Cannot Reproduce
-
P2
-
8, 9
-
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