diff options
author | Olivier Martin <olivier.martin@arm.com> | 2014-07-09 05:19:24 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-07-09 05:19:24 +0000 |
commit | 720f84a9d3b53ee567aa90c2362f4c4912d271de (patch) | |
tree | a06e70bd79cd6c0a0a8ad8cfb9656dc68d76cc59 /IntelFrameworkPkg | |
parent | e364478661e2a5e9195ce4a9f00761e154e48bfa (diff) | |
download | edk2-platforms-720f84a9d3b53ee567aa90c2362f4c4912d271de.tar.xz |
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
Diffstat (limited to 'IntelFrameworkPkg')
0 files changed, 0 insertions, 0 deletions