Revision: 18373
          http://sourceforge.net/p/edk2/code/18373
Author:   vanjeff
Date:     2015-09-01 08:55:49 +0000 (Tue, 01 Sep 2015)
Log Message:
-----------
UefiCpuPkg/CpuMpPei: Check Function pointer in PeiStartupAllAPs ()

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <[email protected]>
Reviewed-by: Feng Tian <[email protected]>

Modified Paths:
--------------
    trunk/edk2/UefiCpuPkg/CpuMpPei/PeiMpServices.c

Modified: trunk/edk2/UefiCpuPkg/CpuMpPei/PeiMpServices.c
===================================================================
--- trunk/edk2/UefiCpuPkg/CpuMpPei/PeiMpServices.c      2015-09-01 08:54:59 UTC 
(rev 18372)
+++ trunk/edk2/UefiCpuPkg/CpuMpPei/PeiMpServices.c      2015-09-01 08:55:49 UTC 
(rev 18373)
@@ -441,6 +441,10 @@
     return EFI_NOT_FOUND;
   }
 
+  if (Procedure == NULL) {
+    return EFI_INVALID_PARAMETER;
+  }
+
   //
   // Check whether caller processor is BSP
   //


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to