audk/MdeModulePkg/Core
Olivier Martin 720f84a9d3 The UEFI specification does not say anything when the pointers passed to
WaitForEvent() are NULL.
Passing NULL pointer would cause a segmentation fault in the current code.
This change prevents to get segmentation faults in this case.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15643 6f19259b-4bc3-4df7-8a09-765794883524
2014-07-09 05:19:24 +00:00
..
Dxe The UEFI specification does not say anything when the pointers passed to 2014-07-09 05:19:24 +00:00
DxeIplPeim 1. DxeIplPeim will locate Vector Handoff Table PPI and build GUIDed HOB if it has. 2013-11-22 06:15:51 +00:00
Pei Refine code to make it more safely. 2014-06-26 03:24:25 +00:00
PiSmmCore MdeModulePkg/PiSmmCore: Initialize missing LoadedImage protocol fields for SMM driver. 2014-06-27 08:50:27 +00:00
RuntimeDxe Add missing status code in several modules. 2012-10-30 04:23:40 +00:00