diff options
author | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-08 01:33:23 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-08 01:33:23 +0000 |
commit | 4233bf706676f9ed0e71a7aac3f3216d0eabf953 (patch) | |
tree | 879947a8772597785c4d15d272e1d4326c195806 /MdeModulePkg/Universal/Acpi | |
parent | 5359174326a48e8392457e43484da84361cf7560 (diff) | |
download | edk2-4233bf706676f9ed0e71a7aac3f3216d0eabf953.zip edk2-4233bf706676f9ed0e71a7aac3f3216d0eabf953.tar.gz edk2-4233bf706676f9ed0e71a7aac3f3216d0eabf953.tar.bz2 |
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 'MdeModulePkg/Universal/Acpi')
0 files changed, 0 insertions, 0 deletions