Add ASSERT in case SalSystemTable is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7360 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -102,8 +102,8 @@ UefiPalLibConstructor (
|
|||||||
&gEfiSalSystemTableGuid,
|
&gEfiSalSystemTableGuid,
|
||||||
(VOID **) &SalSystemTable
|
(VOID **) &SalSystemTable
|
||||||
);
|
);
|
||||||
|
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
ASSERT (SalSystemTable != NULL);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check the first entry of SAL System Table,
|
// Check the first entry of SAL System Table,
|
||||||
|
Reference in New Issue
Block a user