summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/AutoGen/IdfClassObject.py
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2018-02-07 07:49:50 +0300
committerHao Wu <hao.a.wu@intel.com>2019-02-28 03:15:51 +0300
commit38c9fbdcaa0219eb86fe82d90e3f8cfb5a54be9f (patch)
treeeed188b5b9379057e0480c0ec57f7dc175bc9f6a /BaseTools/Source/Python/AutoGen/IdfClassObject.py
parentfccdb88022c1f6d85c773fce506b10c879063f1d (diff)
downloadedk2-38c9fbdcaa0219eb86fe82d90e3f8cfb5a54be9f.tar.xz
MdeModulePkg/RamDiskDxe: Restrict on RAM disk size (CVE-2018-12180)
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1134 Originally, the block size of created Ram disks is hard-coded to 512 bytes. However, if the total size of the Ram disk is not a multiple of 512 bytes, there will be potential memory access issues when dealing with the last block of the Ram disk. This commit will adjust the block size of the Ram disks to ensure that the total size is a multiple of the block size. 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/AutoGen/IdfClassObject.py')
0 files changed, 0 insertions, 0 deletions