mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-16 10:47:26 +00:00
With current implementation: If the case 'entry->length < sizeof(struct acpi_subtable_header)' is triggered, it will lead to a dead loop. What this patch does: Gracefully return when this case is triggered. Why: If 'entry->length < sizeof(struct acpi_subtable_header)', it means that there is no valid 'struct acpi_subtable_header' starting from the entry. There must be something wrong. It should not happen in normal case. v1 -> v2: * Remove the unacceptable ASSERT, just gracefully return Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
include | ||
sbl | ||
acpi.c | ||
dmar_parse.c | ||
reloc.c |