Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff....@intel.com> CC: Feng Tian <feng.t...@intel.com> --- 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 edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel