diff options
-rw-r--r-- | UefiCpuPkg/CpuMpPei/PeiMpServices.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/UefiCpuPkg/CpuMpPei/PeiMpServices.c b/UefiCpuPkg/CpuMpPei/PeiMpServices.c index 625c24a6f4..4215f9e51b 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
//
|