8261299: Use-after-free on failure path in LinuxPackage.c, getJvmLauncherLibPath
Reviewed-by: stuefe, herrick
This commit is contained in:
parent
a00b13055a
commit
01d928080a
@ -324,6 +324,7 @@ char* getJvmLauncherLibPath(void) {
|
||||
&launcherLibPath);
|
||||
if (popenStatus) {
|
||||
free(launcherLibPath);
|
||||
launcherLibPath = NULL;
|
||||
goto cleanup;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user