summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/CapsulePei/UefiCapsule.c')
-rw-r--r--MdeModulePkg/Universal/CapsulePei/UefiCapsule.c2
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