--- linux-2.6-npiggin/drivers/acpi/scan.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN drivers/acpi/scan.c~acpi-fix drivers/acpi/scan.c --- linux-2.6/drivers/acpi/scan.c~acpi-fix 2004-10-11 19:44:36.000000000 +1000 +++ linux-2.6-npiggin/drivers/acpi/scan.c 2004-10-11 19:44:51.000000000 +1000 @@ -204,6 +204,8 @@ acpi_bus_extract_wakeup_device_power_pac return AE_BAD_PARAMETER; element = &(package->package.elements[0]); + if (!element) + return AE_BAD_PARAMETER; if (element->type == ACPI_TYPE_PACKAGE) { if ((element->package.count < 2) || (element->package.elements[0].type != ACPI_TYPE_LOCAL_REFERENCE) || _