diff --git a/kernel/include/kernel/ACPI/AML/Package.h b/kernel/include/kernel/ACPI/AML/Package.h index 025450dcf4..3fd627cbe3 100644 --- a/kernel/include/kernel/ACPI/AML/Package.h +++ b/kernel/include/kernel/ACPI/AML/Package.h @@ -71,7 +71,7 @@ namespace Kernel::ACPI::AML BAN::RefPtr element; // Store name strings as references - if (AML::NameString::can_parse(package_context.aml_data)) + if (package_context.aml_data[0] != 0x00 && AML::NameString::can_parse(package_context.aml_data)) { auto name = AML::NameString::parse(package_context.aml_data); if (!name.has_value())