]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/UdfDxe: Add boundary check the read of FE/EFE
authorHao Wu <hao.a.wu@intel.com>
Wed, 13 Dec 2017 02:23:41 +0000 (10:23 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 23 Oct 2018 06:23:25 +0000 (14:23 +0800)
commit5c0748f43f4e1cc15fdd0be64a764eacd7df92f6
tree51c96298ba5c4834a6e33eadbdb1050e6d111d32
parentb9ae1705adfdd43668027a25a2b03c2e81960219
MdeModulePkg/UdfDxe: Add boundary check the read of FE/EFE

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

Within ReadFile():

Add checks to ensure that when getting the raw data or the Allocation
Descriptors' data from a FE/EFE, it will not consume data beyond the
size of a FE/EFE.

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/UdfDxe/FileSystemOperations.c