Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <[email protected]>
CC: Feng Tian <[email protected]>
---
UefiCpuPkg/CpuMpPei/PeiMpServices.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/UefiCpuPkg/CpuMpPei/PeiMpServices.c
b/UefiCpuPkg/CpuMpPei/PeiMpServices.c
index 6e69012..8f1ec19 100644
--- a/UefiCpuPkg/CpuMpPei/PeiMpServices.c
+++ b/UefiCpuPkg/CpuMpPei/PeiMpServices.c
@@ -441,6 +441,10 @@ PeiStartupAllAPs (
return EFI_NOT_FOUND;
}
+ if (Procedure == NULL) {
+ return EFI_INVALID_PARAMETER;
+ }
+
//
// Check whether caller processor is BSP
//
--
1.9.5.msysgit.0
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel