]> git.proxmox.com Git - mirror_edk2.git/blame - EdkShellBinPkg/SecurityPatch.diff
Move SmmLib from IntelFrameworkPkg to MdePkg because this library is useful to both...
[mirror_edk2.git] / EdkShellBinPkg / SecurityPatch.diff
CommitLineData
6dec8864 1Index: shellenv/exec.c\r
2===================================================================\r
3--- shellenv/exec.c (revision 36)\r
4+++ shellenv/exec.c (working copy)\r
5@@ -2079,6 +2079,10 @@\r
6 if (!EFI_ERROR (Status)) {
7 goto Done;
8 } else {
9+ //
10+ // Set ImageHandle to NULL if any error status is returned.
11+ //
12+ ImageHandle = NULL;
13 Status = LibGetImageHeader (
14 DevicePath,
15 &DosHeader,