audk/MdeModulePkg/Core/Dxe/Mem
Star Zeng c2a07a10b1 MdeModulePkg DxeCore: Address boundary check for Type AllocateAddress
Check for Type AllocateAddress,
if NumberOfPages is 0 or
if (NumberOfPages << EFI_PAGE_SHIFT) is above MAX_ADDRESS or
if (Start + NumberOfBytes) rolls over 0 or
if Start is above MAX_ADDRESS or
if End is above MAX_ADDRESS,
return EFI_NOT_FOUND.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-03-22 11:00:40 +08:00
..
Imem.h MdeModulePkg DxeCore: Minor comments update to AllocatePool() 2016-02-15 18:12:03 +08:00
MemData.c Update the copyright notice format 2010-04-24 09:49:11 +00:00
MemoryProfileRecord.c MdeModulePkg/DxeCore: Fixed build error. 2015-05-29 04:04:01 +00:00
Page.c MdeModulePkg DxeCore: Address boundary check for Type AllocateAddress 2016-03-22 11:00:40 +08:00
Pool.c MdeModulePkg DxeCore: Minor comments update to AllocatePool() 2016-02-15 18:12:03 +08:00