From 59de552e2a5fb519287adbc3446c42167f7db6a7 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 13 Aug 2012 07:00:32 +0000 Subject: [PATCH] [ACPI] - Increase the size of the ID buffers to fit certain non-standard IDs reported by Hyper-V on Windows 8. These should be allocated from pool, but this code really sucks and should be replaced anyway. - Fixes buffer overflow causing a bug check during boot on Hyper-V svn path=/trunk/; revision=57067 --- reactos/drivers/bus/acpi/include/acpi_bus.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/drivers/bus/acpi/include/acpi_bus.h b/reactos/drivers/bus/acpi/include/acpi_bus.h index d2dc22d02a9..c75f16a48af 100644 --- a/reactos/drivers/bus/acpi/include/acpi_bus.h +++ b/reactos/drivers/bus/acpi/include/acpi_bus.h @@ -164,10 +164,10 @@ struct acpi_device_flags { /* Plug and Play */ -typedef char acpi_bus_id[8]; +typedef char acpi_bus_id[20]; typedef unsigned long acpi_bus_address; -typedef char acpi_hardware_id[9]; -typedef char acpi_unique_id[9]; +typedef char acpi_hardware_id[20]; +typedef char acpi_unique_id[20]; typedef char acpi_device_name[40]; typedef char acpi_device_class[20];