diff options
author | Chen A Chen <chen.a.chen@intel.com> | 2019-03-05 08:21:18 +0800 |
---|---|---|
committer | Ray Ni <ray.ni@intel.com> | 2019-03-06 13:48:36 +0800 |
commit | 219e560c20034843ac9917146c60db99bd01b6f4 (patch) | |
tree | 628714030e9c27b1751c148b47f36a0b658dba6c /BaseTools/Source/Python/AutoGen/GenC.py | |
parent | 8ef3a6ec1f6a858bb14c40715db90c1e3927cced (diff) | |
download | edk2-219e560c20034843ac9917146c60db99bd01b6f4.tar.gz edk2-219e560c20034843ac9917146c60db99bd01b6f4.tar.bz2 edk2-219e560c20034843ac9917146c60db99bd01b6f4.zip |
UefiCpuPkg/Microcode.c: Add verification before calculate CheckSum32
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1020
Should make sure the TotalSize of Microcode is aligned with 4 bytes
before calling CalculateSum32 function.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenC.py')
0 files changed, 0 insertions, 0 deletions