From 6dec88649aefe8c302d32871adfe791407911788 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Wed, 27 Jan 2010 14:49:47 +0000 Subject: Fix a security hole in shell binaries: For gBS->LoadImage() if the return status is EFI_SECURITY_VIOLATION, the image handle may not be NULL. Shell environment should not have the assumption that the output ImageHandle must be NULL if the error status is returned by gBS->LoadImage(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9838 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkShellBinPkg/Bin/X64/Apps/Dblk.efi | Bin 38880 -> 38912 bytes EdkShellBinPkg/Bin/X64/Apps/Devices.efi | Bin 29632 -> 29632 bytes EdkShellBinPkg/Bin/X64/Apps/Devtree.efi | Bin 29344 -> 29376 bytes EdkShellBinPkg/Bin/X64/Apps/Guid.efi | Bin 25472 -> 25472 bytes EdkShellBinPkg/Bin/X64/Apps/IfConfig.efi | Bin 35488 -> 35488 bytes EdkShellBinPkg/Bin/X64/Apps/IpConfig.efi | Bin 28416 -> 28416 bytes EdkShellBinPkg/Bin/X64/Apps/LoadPciRom.efi | Bin 27360 -> 27360 bytes EdkShellBinPkg/Bin/X64/Apps/Mount.efi | Bin 25600 -> 25600 bytes EdkShellBinPkg/Bin/X64/Apps/Openinfo.efi | Bin 27840 -> 27840 bytes EdkShellBinPkg/Bin/X64/Apps/Ping.efi | Bin 28096 -> 28096 bytes EdkShellBinPkg/Bin/X64/Apps/SmbiosView.efi | Bin 124448 -> 124448 bytes EdkShellBinPkg/Bin/X64/Apps/TelnetMgmt.efi | Bin 24064 -> 24064 bytes EdkShellBinPkg/Bin/X64/Apps/comp.efi | Bin 28416 -> 28416 bytes EdkShellBinPkg/Bin/X64/Apps/dmem.efi | Bin 37824 -> 37824 bytes EdkShellBinPkg/Bin/X64/Apps/dmpstore.efi | Bin 32032 -> 32032 bytes EdkShellBinPkg/Bin/X64/Apps/edit.efi | Bin 47296 -> 47296 bytes EdkShellBinPkg/Bin/X64/Apps/eficompress.efi | Bin 41056 -> 41056 bytes EdkShellBinPkg/Bin/X64/Apps/efidecompress.efi | Bin 25536 -> 25536 bytes EdkShellBinPkg/Bin/X64/Apps/err.efi | Bin 34528 -> 34560 bytes EdkShellBinPkg/Bin/X64/Apps/hexedit.efi | Bin 56032 -> 56032 bytes EdkShellBinPkg/Bin/X64/Apps/mem.efi | Bin 37760 -> 37760 bytes EdkShellBinPkg/Bin/X64/Apps/memmap.efi | Bin 26880 -> 26880 bytes EdkShellBinPkg/Bin/X64/Apps/mm.efi | Bin 39776 -> 39776 bytes EdkShellBinPkg/Bin/X64/Apps/mode.efi | Bin 25120 -> 25120 bytes EdkShellBinPkg/Bin/X64/Apps/pci.efi | Bin 89280 -> 89280 bytes EdkShellBinPkg/Bin/X64/Apps/sermode.efi | Bin 29056 -> 29056 bytes EdkShellBinPkg/Bin/X64/Apps/stall.efi | Bin 24544 -> 24544 bytes EdkShellBinPkg/Bin/X64/Apps/timezone.efi | Bin 32416 -> 32416 bytes 28 files changed, 0 insertions(+), 0 deletions(-) (limited to 'EdkShellBinPkg/Bin/X64') diff --git a/EdkShellBinPkg/Bin/X64/Apps/Dblk.efi b/EdkShellBinPkg/Bin/X64/Apps/Dblk.efi index dc4f29fc19..dabd93e6d7 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/Dblk.efi and b/EdkShellBinPkg/Bin/X64/Apps/Dblk.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/Devices.efi b/EdkShellBinPkg/Bin/X64/Apps/Devices.efi index 957b3a5850..7067407f68 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/Devices.efi and b/EdkShellBinPkg/Bin/X64/Apps/Devices.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/Devtree.efi b/EdkShellBinPkg/Bin/X64/Apps/Devtree.efi index 3005dcb1fd..811c456091 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/Devtree.efi and b/EdkShellBinPkg/Bin/X64/Apps/Devtree.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/Guid.efi b/EdkShellBinPkg/Bin/X64/Apps/Guid.efi index 4fe3587390..b13a851d0a 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/Guid.efi and b/EdkShellBinPkg/Bin/X64/Apps/Guid.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/IfConfig.efi b/EdkShellBinPkg/Bin/X64/Apps/IfConfig.efi index b8899ff3b9..2a5d110849 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/IfConfig.efi and b/EdkShellBinPkg/Bin/X64/Apps/IfConfig.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/IpConfig.efi b/EdkShellBinPkg/Bin/X64/Apps/IpConfig.efi index ee2e244490..df0cddfb60 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/IpConfig.efi and b/EdkShellBinPkg/Bin/X64/Apps/IpConfig.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/LoadPciRom.efi b/EdkShellBinPkg/Bin/X64/Apps/LoadPciRom.efi index 73e96080f6..25516b4f8c 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/LoadPciRom.efi and b/EdkShellBinPkg/Bin/X64/Apps/LoadPciRom.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/Mount.efi b/EdkShellBinPkg/Bin/X64/Apps/Mount.efi index fcfe2191e3..ca780a04c0 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/Mount.efi and b/EdkShellBinPkg/Bin/X64/Apps/Mount.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/Openinfo.efi b/EdkShellBinPkg/Bin/X64/Apps/Openinfo.efi index b6e3aecfb7..dc6e4c250a 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/Openinfo.efi and b/EdkShellBinPkg/Bin/X64/Apps/Openinfo.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/Ping.efi b/EdkShellBinPkg/Bin/X64/Apps/Ping.efi index f509b2f684..c46df50cf8 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/Ping.efi and b/EdkShellBinPkg/Bin/X64/Apps/Ping.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/SmbiosView.efi b/EdkShellBinPkg/Bin/X64/Apps/SmbiosView.efi index effc7d469e..a846d25699 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/SmbiosView.efi and b/EdkShellBinPkg/Bin/X64/Apps/SmbiosView.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/TelnetMgmt.efi b/EdkShellBinPkg/Bin/X64/Apps/TelnetMgmt.efi index febb97afec..1e6d9dd757 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/TelnetMgmt.efi and b/EdkShellBinPkg/Bin/X64/Apps/TelnetMgmt.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/comp.efi b/EdkShellBinPkg/Bin/X64/Apps/comp.efi index 1497c6c062..af2d2a8adf 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/comp.efi and b/EdkShellBinPkg/Bin/X64/Apps/comp.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/dmem.efi b/EdkShellBinPkg/Bin/X64/Apps/dmem.efi index b4f1bd6414..91eb3a4e0d 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/dmem.efi and b/EdkShellBinPkg/Bin/X64/Apps/dmem.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/dmpstore.efi b/EdkShellBinPkg/Bin/X64/Apps/dmpstore.efi index 540b653d7d..5588b57070 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/dmpstore.efi and b/EdkShellBinPkg/Bin/X64/Apps/dmpstore.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/edit.efi b/EdkShellBinPkg/Bin/X64/Apps/edit.efi index 8a63921036..5187fba1c3 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/edit.efi and b/EdkShellBinPkg/Bin/X64/Apps/edit.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/eficompress.efi b/EdkShellBinPkg/Bin/X64/Apps/eficompress.efi index f551f0086d..c186539078 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/eficompress.efi and b/EdkShellBinPkg/Bin/X64/Apps/eficompress.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/efidecompress.efi b/EdkShellBinPkg/Bin/X64/Apps/efidecompress.efi index a8cda7170d..cffe2b147c 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/efidecompress.efi and b/EdkShellBinPkg/Bin/X64/Apps/efidecompress.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/err.efi b/EdkShellBinPkg/Bin/X64/Apps/err.efi index 6468d0cf16..19872103a6 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/err.efi and b/EdkShellBinPkg/Bin/X64/Apps/err.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/hexedit.efi b/EdkShellBinPkg/Bin/X64/Apps/hexedit.efi index 630f07c75b..e423d9dfcb 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/hexedit.efi and b/EdkShellBinPkg/Bin/X64/Apps/hexedit.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/mem.efi b/EdkShellBinPkg/Bin/X64/Apps/mem.efi index 51da8e480e..18a3557f64 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/mem.efi and b/EdkShellBinPkg/Bin/X64/Apps/mem.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/memmap.efi b/EdkShellBinPkg/Bin/X64/Apps/memmap.efi index 2258d3b9d8..2404724088 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/memmap.efi and b/EdkShellBinPkg/Bin/X64/Apps/memmap.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/mm.efi b/EdkShellBinPkg/Bin/X64/Apps/mm.efi index 91393ce081..f241998569 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/mm.efi and b/EdkShellBinPkg/Bin/X64/Apps/mm.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/mode.efi b/EdkShellBinPkg/Bin/X64/Apps/mode.efi index 2a4f44d31b..bae7cfec44 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/mode.efi and b/EdkShellBinPkg/Bin/X64/Apps/mode.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/pci.efi b/EdkShellBinPkg/Bin/X64/Apps/pci.efi index 0fd1883099..8edee34ab8 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/pci.efi and b/EdkShellBinPkg/Bin/X64/Apps/pci.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/sermode.efi b/EdkShellBinPkg/Bin/X64/Apps/sermode.efi index a77e6c5dfb..c33cdc8a9a 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/sermode.efi and b/EdkShellBinPkg/Bin/X64/Apps/sermode.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/stall.efi b/EdkShellBinPkg/Bin/X64/Apps/stall.efi index 3fb1dbb5e8..21ed51c36e 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/stall.efi and b/EdkShellBinPkg/Bin/X64/Apps/stall.efi differ diff --git a/EdkShellBinPkg/Bin/X64/Apps/timezone.efi b/EdkShellBinPkg/Bin/X64/Apps/timezone.efi index b54605b008..b0baa0fa91 100644 Binary files a/EdkShellBinPkg/Bin/X64/Apps/timezone.efi and b/EdkShellBinPkg/Bin/X64/Apps/timezone.efi differ -- cgit v1.2.3