diff options
author | Star Zeng <star.zeng@intel.com> | 2018-01-05 13:05:29 +0800 |
---|---|---|
committer | Jian J Wang <jian.j.wang@intel.com> | 2019-02-28 18:22:52 +0800 |
commit | 467e1ffa7634159b99fb8aeb93e2836b0f2e5f43 (patch) | |
tree | 28b006b7ebba9806a54f2c0a8e4f0f2dcd417aec /MdeModulePkg/Bus | |
parent | 3a4698202cf5ca81d4401bdc6c0974400064f333 (diff) | |
download | edk2-467e1ffa7634159b99fb8aeb93e2836b0f2e5f43.zip edk2-467e1ffa7634159b99fb8aeb93e2836b0f2e5f43.tar.gz edk2-467e1ffa7634159b99fb8aeb93e2836b0f2e5f43.tar.bz2 |
MdeModulePkg/PeiCore: Ensure FfsFileHeader 8 bytes aligned
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=864
REF: CVE-2018-3630
To follow PI spec, ensure FfsFileHeader 8 bytes aligned.
Current code only handles (FwVolHeader->ExtHeaderOffset != 0) path,
update code to also handle (FwVolHeader->ExtHeaderOffset == 0) path.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus')
0 files changed, 0 insertions, 0 deletions