Revision: 18381
http://sourceforge.net/p/edk2/code/18381
Author: hwu1225
Date: 2015-09-02 03:15:44 +0000 (Wed, 02 Sep 2015)
Log Message:
-----------
UefiCpuPkg/CpuMpPei: Check Function pointer in PeiStartupAllAPs ()
(Sync patch r18373 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <[email protected]>
Reviewed-by: Feng Tian <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/18373
Modified Paths:
--------------
branches/UDK2015/UefiCpuPkg/CpuMpPei/PeiMpServices.c
Modified: branches/UDK2015/UefiCpuPkg/CpuMpPei/PeiMpServices.c
===================================================================
--- branches/UDK2015/UefiCpuPkg/CpuMpPei/PeiMpServices.c 2015-09-02
03:15:20 UTC (rev 18380)
+++ branches/UDK2015/UefiCpuPkg/CpuMpPei/PeiMpServices.c 2015-09-02
03:15:44 UTC (rev 18381)
@@ -441,6 +441,10 @@
return EFI_NOT_FOUND;
}
+ if (Procedure == NULL) {
+ return EFI_INVALID_PARAMETER;
+ }
+
//
// Check whether caller processor is BSP
//
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits