diff options
| author | Hao Wu <hao.a.wu@intel.com> | 2018-02-09 03:43:01 +0300 |
|---|---|---|
| committer | Hao Wu <hao.a.wu@intel.com> | 2019-02-28 03:15:42 +0300 |
| commit | fccdb88022c1f6d85c773fce506b10c879063f1d (patch) | |
| tree | da868ecbe375b46417a3bc98517236070bd8c5c2 /BaseTools/Source/Python/Common/RangeExpression.py | |
| parent | 8b8d6f8a3beea391b1ec39ac347ef69501b44019 (diff) | |
| download | edk2-fccdb88022c1f6d85c773fce506b10c879063f1d.tar.xz | |
MdeModulePkg/PartitionDxe: Ensure blocksize holds MBR (CVE-2018-12180)
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1134
The commit adds checks for detecting GPT and MBR partitions.
These checks will ensure that the device block size is big enough to hold
an MBR (512 bytes).
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/RangeExpression.py')
0 files changed, 0 insertions, 0 deletions
