mirror of https://github.com/acidanthera/audk.git
Added some extra error checking to make sure mSecReportStatusCode is valid. I was doing an experiment and I was crashing due to lack of this check. The checked in code does not fail in this case, but an extra error check will not hurt.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@370 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
85cf9dcbdd
commit
18e40fcd5d
|
@ -59,7 +59,9 @@ Returns:
|
|||
|
||||
--*/
|
||||
{
|
||||
mSecReportStatusCode (PeiServices, CodeType, Value, Instance, CallerId, Data);
|
||||
if (mSecReportStatusCode != NULL) {
|
||||
mSecReportStatusCode (PeiServices, CodeType, Value, Instance, CallerId, Data);
|
||||
}
|
||||
MemoryReportStatusCode (CodeType, Value, Instance, CallerId, Data);
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue