mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
Check the pointer before use it.
Signed-off-by:ydong10 Reviewed-by:vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12283 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5c4513344a
commit
a3b4eb2933
@ -844,7 +844,7 @@ AddTableToList (
|
||||
);
|
||||
AcpiSupportInstance->Xsdt->OemRevision = AcpiSupportInstance->Fadt3->Header.OemRevision;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Checksum the table
|
||||
//
|
||||
@ -856,6 +856,7 @@ AddTableToList (
|
||||
Checksum)
|
||||
);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user