From ad793176debf98a4da016e4b32840d0e30f718aa Mon Sep 17 00:00:00 2001 From: Elvin Li Date: Wed, 11 Dec 2013 08:53:19 +0000 Subject: Add additional check mRuntimeSmbiosEntryPoint == NULL to avoid K9 error. Signed-off-by: Elvin Li Reviewed-by: Eric Dong git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14962 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IntelFrameworkModulePkg') 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; } -- cgit v1.2.3