]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c
Correct the alignment calculation of PE/COFF attribute certificate entry.
authorQin Long <qin.long@intel.com>
Wed, 26 Nov 2014 08:21:54 +0000 (08:21 +0000)
committerqlong <qlong@Edk2>
Wed, 26 Nov 2014 08:21:54 +0000 (08:21 +0000)
commit2bf41ed7dc20f0f6e13babb136753ff3f91edd21
tree704307b6dcdd8260edc6b08218f7e5e8d5d10a4b
parent8cc87d32c65316a98a737bb887ba316b81f8bbf1
Correct the alignment calculation of PE/COFF attribute certificate entry.

This is to resolve the possible certificate entry retrieving issue caused by un-aligned (8-bytes) VirtualAddress in some PE/COFF image, which may break secure boot.

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16449 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c