Skip to contentSkip to conversation

Linux 2.6.25-rc4

DISCUSSION Jonathan McDowell 1 participant 1 message Mar 5, 2008 ACPI

lore
Share & tools
lore
#0 lore raw

In article <[email protected]>

Quoted 3 lines · (earth.lists.linux-kernel) you

It's a few days late, but I was waiting for some updates for some of the most annoying regressions until releasing it, so the end result is hopefully more useful as a result.

Still crashes in acpi_get_data for me; the patch mentioned <[email protected]> and tracked at

http://bugzilla.kernel.org/show_bug.cgi?id=10132

still doesn't seem to have hit mainline and still fixes the issue for me.

-----
From: Lin Ming <[email protected]>

Fix a memory overflow bug when copying
NULL internal package element object to external.

---
 drivers/acpi/utilities/utobject.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/utilities/utobject.c +1 -1
Index: linux-2.6/drivers/acpi/utilities/utobject.c
===================================================================
@@ -432,7 +432,7 @@ acpi_ut_get_simple_object_size(union acp
         * element -- which is legal)
         */
        if (!internal_object) {
-               *obj_length = 0;
+               *obj_length = sizeof(union acpi_object);
                return_ACPI_STATUS(AE_OK);
        }
 

-----

J.

Signature · 3 lines
/-\                             | 101 things you can't have too much
|@/  Debian GNU/Linux Developer |     of : 8 - Hard drive space.
\-                              |