]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuMpPei/PeiMpServices.c
UefiCpuPkg/CpuMpPei: Check Function pointer in PeiStartupAllAPs ()
[mirror_edk2.git] / UefiCpuPkg / CpuMpPei / PeiMpServices.c
index 625c24a6f40e47160c690444ac49eb3ee4d4bb7e..4215f9e51b1943621e597410c3ac6be20258d8f8 100644 (file)
@@ -441,6 +441,10 @@ PeiStartupAllAPs (
     return EFI_NOT_FOUND;\r
   }\r
 \r
+  if (Procedure == NULL) {\r
+    return EFI_INVALID_PARAMETER;\r
+  }\r
+\r
   //\r
   // Check whether caller processor is BSP\r
   //\r