SecurityPkg Variable: Add NULL pointer check.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15409 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Star Zeng 2014-03-28 02:47:46 +00:00 committed by lzeng14
parent 4c7e997ef1
commit 3a4b498ee1
1 changed files with 1 additions and 0 deletions

View File

@ -860,6 +860,7 @@ Reclaim (
if (EFI_ERROR (Status)) {
goto Done;
}
ASSERT ((NewPubKeyIndex != NULL) && (NewPubKeyStore != NULL));
//
// Refresh the PubKeyIndex for all valid variables (ADDED and IN_DELETED_TRANSITION).