From cad19cd3f2ac26de35c545acd29f98c5f4f82f7c Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Wed, 13 Jul 2016 20:28:16 +0800 Subject: SecurityPkg TrEEDxe: Add check for the 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 Reviewed-by: Jiewen Yao Reviewed-by: Chao Zhang --- SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf | 1 + 1 file changed, 1 insertion(+) (limited to 'SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf') diff --git a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf index c22e8f0004..2dd038aba3 100644 --- a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf +++ b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf @@ -58,6 +58,7 @@ HashLib PerformanceLib ReportStatusCodeLib + PeCoffLib [Guids] ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot" -- cgit v1.2.3