diff options
author | Liming Gao <liming.gao@intel.com> | 2016-07-13 20:28:15 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-07-14 15:04:53 +0800 |
commit | 5e9dfc67821b75ab606d8565f0bc1133bbc2a92c (patch) | |
tree | a4f73371fb4eb8608d221e9ab407e8f19e750a25 /SecurityPkg/SecurityPkg.dsc | |
parent | 04147690b59bba6900e175c7d06e3fe48570ab73 (diff) | |
download | edk2-5e9dfc67821b75ab606d8565f0bc1133bbc2a92c.zip edk2-5e9dfc67821b75ab606d8565f0bc1133bbc2a92c.tar.gz edk2-5e9dfc67821b75ab606d8565f0bc1133bbc2a92c.tar.bz2 |
SecurityPkg SecureBootConfigDxe: Add check for the external PE/COFF image.
Use BasePeCoffLib PeCoffLoaderGetImageInfo() to check the PE/COFF image.
In V2, add specific ImageRead() to make sure the PE/COFF image content
read is within the image buffer.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Diffstat (limited to 'SecurityPkg/SecurityPkg.dsc')
-rw-r--r-- | SecurityPkg/SecurityPkg.dsc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc index 1960b52..21cac78 100644 --- a/SecurityPkg/SecurityPkg.dsc +++ b/SecurityPkg/SecurityPkg.dsc @@ -34,6 +34,8 @@ PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
+ PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
+ PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|