]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c
SignedCapsulePkg Universal: Init local variables before using them
[mirror_edk2.git] / SignedCapsulePkg / Universal / RecoveryModuleLoadPei / RecoveryModuleLoadPei.c
index 58a15e49533db9b1abf8e6e70d6a8705c416c010..c8c5ba042341af586193151db6ff3a0a772d24ba 100644 (file)
@@ -579,6 +579,9 @@ ProcessRecoveryImage (
   VOID                        *AuthenticatedImage;\r
   UINTN                       AuthenticatedImageSize;\r
 \r
+  AuthenticatedImage     = NULL;\r
+  AuthenticatedImageSize = 0;\r
+\r
   Status = CapsuleAuthenticateSystemFirmware(Image, Length, TRUE, &LastAttemptVersion, &LastAttemptStatus, &AuthenticatedImage, &AuthenticatedImageSize);\r
   if (EFI_ERROR(Status)) {\r
     DEBUG((DEBUG_INFO, "CapsuleAuthenticateSystemFirmware - %r\n", Status));\r