Fix infinite loop bug in secure boot UI driver.

Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting  <ting.ye@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14082 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
sfu5 2013-01-25 02:01:47 +00:00
parent 0b6cb335fa
commit b7d269eae1
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}