audk/MdeModulePkg
Michael Kinney 7328295cb2 MdeModulePkg/DxeCore: Fix ASSERT() from GCD DEBUG() messages
If a BaseAddress of NULL is passed into DXE Core services
CoreAllocateIoSpace() or CoreAllocateMemorySpace(), and
DEBUG() messages are enabled, then a NULL pointer reference
is made.  The parameter check for BaseAddress is performed
in the function CoreAllocateSpace() after the DEBUG()
messages.  A check is added in the DEBUG() messages to
prevent the NULL pointer reference.

This issue was found with PI SCTs with DEBUG messages
enabled in the DXE Core.

Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@Intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2017-01-10 11:22:02 -08:00
..
Application MdeModulePkg/CapsuleApp: Dump capsule name in record. 2016-12-23 10:08:04 +08:00
Bus MdeModulePkg/StaControllerDxe: Fix coding style issue 2017-01-05 14:41:42 +08:00
Core MdeModulePkg/DxeCore: Fix ASSERT() from GCD DEBUG() messages 2017-01-10 11:22:02 -08:00
Include MdeModulePkg/NonDiscoverableDeviceRegistrationLib: Fix coding style issues 2016-12-20 10:51:25 +08:00
Library MdeModulePkg/Bds: Fix a bug that may causes S4 fails to resume 2017-01-06 20:46:42 +08:00
Logo MdeModulePkg/Logo: rebase to ARRAY_SIZE() 2016-10-27 11:10:57 +02:00
Universal MdeModulePkg/Ip4Dxe: Fix the potential NULL pointer free 2017-01-04 08:40:09 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg: Add missing info string for PCDs 2016-12-14 21:34:46 +08:00
MdeModulePkg.dsc MdeModulePkg: implement generic PCI I/O driver for non-discoverable devices 2016-12-07 09:45:56 +00:00
MdeModulePkg.uni MdeModulePkg: Add missing info string for PCDs 2016-12-14 21:34:46 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00