Skip to content
Permalink
Browse files
8261299: Use-after-free on failure path in LinuxPackage.c, getJvmLaun…
…cherLibPath

Reviewed-by: stuefe, herrick
  • Loading branch information
shipilev committed Feb 9, 2021
1 parent a00b130 commit 01d928080aff2807556cbc8f604325a545f13084
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/jdk.jpackage/linux/native/applauncher/LinuxPackage.c
@@ -324,6 +324,7 @@ char* getJvmLauncherLibPath(void) {
&launcherLibPath);
if (popenStatus) {
free(launcherLibPath);
launcherLibPath = NULL;
goto cleanup;
}
}

0 comments on commit 01d9280

Please sign in to comment.