]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
Fix infinite loop bug in secure boot UI driver.
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / SecureBootConfigDxe / SecureBootConfigImpl.c
index 7df68851c8b1a348961459651f8287669fed406a..51da86b6fdaabe57167e8b9c455bf612808abc73 100644 (file)
@@ -1707,6 +1707,8 @@ UpdateDeletePage (
       //\r
       // The signature type is not supported in current implementation.\r
       //\r
+      ItemDataSize -= CertList->SignatureListSize;\r
+      CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);\r
       continue;\r
     }\r
 \r