]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPICA: Fix to handle NULL package elements correctly
authorLin Ming <ming.m.lin@intel.com>
Thu, 10 Apr 2008 15:06:43 +0000 (19:06 +0400)
committerLen Brown <len.brown@intel.com>
Tue, 22 Apr 2008 19:35:19 +0000 (15:35 -0400)
commit7a5bb9964512c5313af19310c6a3002ec54f7336
tree2508740652210f8115c7237e8763238d909106ef
parent0ba7d25c70699cdd3e06fc049d8884ee54b9d5db
ACPICA: Fix to handle NULL package elements correctly

Fixed problem where NULL package elements were not returned to
the AcpiEvaluateObject interface correctly. Instead of returning a
NULL ACPI_OBJECT package element, the element was simply ignored,
potentially causing a buffer overflow and/or confusing the caller
who expected a fixed number of elements.

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

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/utilities/utobject.c
include/acpi/actypes.h