Add assertion to ensure pointer dereference has been checked against NULL pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7528 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -556,7 +556,7 @@ NotifyFwVolBlock (
|
||||
//
|
||||
Status = CoreHandleProtocol (Handle, &gEfiFirmwareVolumeBlockProtocolGuid, (VOID **)&Fvb);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
ASSERT (Fvb != NULL);
|
||||
|
||||
//
|
||||
// Make sure the Fv Header is O.K.
|
||||
|
Reference in New Issue
Block a user