summaryrefslogtreecommitdiff
path: root/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c
diff options
context:
space:
mode:
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2012-05-08 01:33:23 +0000
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2012-05-08 01:33:23 +0000
commit4233bf706676f9ed0e71a7aac3f3216d0eabf953 (patch)
tree879947a8772597785c4d15d272e1d4326c195806 /SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c
parent5359174326a48e8392457e43484da84361cf7560 (diff)
downloadedk2-platforms-4233bf706676f9ed0e71a7aac3f3216d0eabf953.tar.xz
Enhance SmbiosDxe driver:
1. If string length exceeds 65535 bytes, return error. So infinite loop will not happen because of UINTN overflow. 2. When a SMBIOS entry is added or updated, check if the total length of SMBIOS table exceeds 65535 bytes, if it happens, return error. Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Elvin Li <elvin.li@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13290 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c')
0 files changed, 0 insertions, 0 deletions