mirror of https://github.com/acidanthera/audk.git
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:
parent
4c7e997ef1
commit
3a4b498ee1
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue