diff options
-rw-r--r-- | MdeModulePkg/Universal/CapsulePei/UefiCapsule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c b/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c index 37ba341e60..23bf2026d4 100644 --- a/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c +++ b/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c @@ -574,6 +574,7 @@ GetCapsuleDescriptors ( TempVarName = NULL;
CapsuleVarName[0] = 0;
ValidIndex = 0;
+ CapsuleDataPtr64 = 0;
Status = PeiServicesLocatePpi (
&gEfiPeiReadOnlyVariable2PpiGuid,
@@ -745,6 +746,7 @@ CapsuleCoalesce ( Index = 0;
VariableCount = 0;
CapsuleVarName[0] = 0;
+ CapsuleDataPtr64 = 0;
//
// Someone should have already ascertained the boot mode. If it's not
|