diff options
author | gdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-12 04:35:39 +0000 |
---|---|---|
committer | gdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-12 04:35:39 +0000 |
commit | b59ad7519fabe09cd5966a1b873ea6e34aa6c6ce (patch) | |
tree | 819e5cf9318ae490bbf1cfb594828b3454c9bab4 | |
parent | 76f6d9544095553bd54cebd9e86e9bd398fd2220 (diff) | |
download | edk2-platforms-b59ad7519fabe09cd5966a1b873ea6e34aa6c6ce.tar.xz |
Fix an K9 issue in variable driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11245 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c index 9da00f1275..52419f0796 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c @@ -199,6 +199,7 @@ UpdateVariableStore ( // Check if the Data is Volatile.
//
if (!Volatile) {
+ ASSERT (Fvb != NULL);
Status = Fvb->GetPhysicalAddress(Fvb, &FvVolHdr);
ASSERT_EFI_ERROR (Status);
|