Validate some fields in PE image to make sure not access violation for later code.
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 24 Apr 2012 03:00:32 +0000 (03:00 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 24 Apr 2012 03:00:32 +0000 (03:00 +0000)
commit28186d45660c92b8d98b8b19b5f8e6ff71ea5fba
tree256d494851b79fcc27adb0e51586337b4a161390
parent035da677c8d4967d548ae1c81fa546075463cf27
Validate some fields in PE image to make sure not access violation for later code.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13211 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Dxe/Image/Image.c
MdePkg/Library/BasePeCoffLib/BasePeCoff.c
SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c
SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.h
SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c