diff options
author | Michael Kinney <michael.d.kinney@intel.com> | 2017-01-04 13:32:53 -0800 |
---|---|---|
committer | Michael Kinney <michael.d.kinney@intel.com> | 2017-01-10 11:22:02 -0800 |
commit | 7328295cb247f420e0c465c19184c13ccbed5416 (patch) | |
tree | 59a80e4b67a9e90db7b3339761fdd8f8abf4eab2 /MdePkg | |
parent | 363dc42226a1d8ae02c73f9dd81da65af91b5fdd (diff) | |
download | edk2-platforms-7328295cb247f420e0c465c19184c13ccbed5416.tar.xz |
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>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions