diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBios.c b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBios.c index 452487b66c..2f48186d43 100644 --- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBios.c +++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBios.c @@ -699,7 +699,7 @@ InstallSmbiosEventCallback ( &gEfiSmbiosTableGuid, &mRuntimeSmbiosEntryPoint ); - if (EFI_ERROR (Status)) { + if ((EFI_ERROR (Status)) || (mRuntimeSmbiosEntryPoint == NULL)) { return; }