]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/PartitionDxe: Add check for underlying device block size
authorHao Wu <hao.a.wu@intel.com>
Fri, 15 Dec 2017 03:22:16 +0000 (11:22 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 23 Oct 2018 06:23:09 +0000 (14:23 +0800)
commit4df8f5bfa28b8b881e506437e8f08d92c1a00370
treedc6e938cbe4d8996ed7f448fd212f0a5ffb7393f
parent4a723d3d7fd1cbbc28c92f14361761831ad27bab
MdeModulePkg/PartitionDxe: Add check for underlying device block size

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=828

Within FindAnchorVolumeDescriptorPointer():

Add a check for the underlying device block size to ensure it is greater
than the size of an Anchor Volume Descriptor Pointer.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.de>
Acked-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c