diff options
author | Elvin Li <elvin.li@intel.com> | 2013-12-11 08:53:19 +0000 |
---|---|---|
committer | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-12-11 08:53:19 +0000 |
commit | ad793176debf98a4da016e4b32840d0e30f718aa (patch) | |
tree | c1e912343c9077226b5bfab49924d29e332981b0 /IntelFrameworkModulePkg | |
parent | 4db0b65c06430382d9328012f9538065c5aa78b5 (diff) | |
download | edk2-ad793176debf98a4da016e4b32840d0e30f718aa.tar.gz edk2-ad793176debf98a4da016e4b32840d0e30f718aa.tar.bz2 edk2-ad793176debf98a4da016e4b32840d0e30f718aa.zip |
Add additional check mRuntimeSmbiosEntryPoint == NULL to avoid K9 error.
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14962 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r-- | IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBios.c | 2 |
1 files changed, 1 insertions, 1 deletions
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;
}
|