diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c index 7d7bc9e0e1..6a33a78da4 100644 --- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c +++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c @@ -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).