Ensure that table header is not set before attempting to find ACPI table
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 42s
Builds / ExectOS (i686) (push) Successful in 41s

This commit is contained in:
Rafal Kupiec 2024-07-09 22:36:40 +02:00
parent 3804786e89
commit e46f2e6116
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -452,6 +452,9 @@ HlpQueryAcpiTables(IN ULONG Signature,
return STATUS_INVALID_PARAMETER;
}
/* Ensure that table header is not set before attempting to find ACPI table */
TableHeader = NULL;
/* Check if DSDT or FACS table requested */
if(Signature == ACPI_DSDT_SIGNATURE || Signature == ACPI_FACS_SIGNATURE)
{