From b7d269eae175a25d9d6df8e09feb55a3d23eeab0 Mon Sep 17 00:00:00 2001 From: sfu5 Date: Fri, 25 Jan 2013 02:01:47 +0000 Subject: Fix infinite loop bug in secure boot UI driver. Signed-off-by: Fu Siyuan Reviewed-by: Ye Ting Reviewed-by: Dong Guo git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14082 6f19259b-4bc3-4df7-8a09-765794883524 --- .../VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c') diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c index 7df68851c8..51da86b6fd 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c @@ -1707,6 +1707,8 @@ UpdateDeletePage ( // // The signature type is not supported in current implementation. // + ItemDataSize -= CertList->SignatureListSize; + CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize); continue; } -- cgit v1.2.3