Author: cgutman
Date: Mon Aug 13 07:00:32 2012
New Revision: 57067
URL:
http://svn.reactos.org/svn/reactos?rev=57067&view=rev
Log:
[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
Modified:
trunk/reactos/drivers/bus/acpi/include/acpi_bus.h
Modified: trunk/reactos/drivers/bus/acpi/include/acpi_bus.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/include/a…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/include/acpi_bus.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/include/acpi_bus.h [iso-8859-1] Mon Aug 13 07:00:32
2012
@@ -164,10 +164,10 @@
/* 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];