]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPICA: Additional error checking for pathname utilities
authorBob Moore <robert.moore@intel.com>
Mon, 4 Aug 2008 03:13:01 +0000 (11:13 +0800)
committerAndi Kleen <ak@linux.intel.com>
Fri, 15 Aug 2008 00:12:16 +0000 (02:12 +0200)
commit3c7db22a194d3b53584047425af82b4e1e03d9f7
tree96462093e2826ca81641ccef7ae5718ce2b9c9bb
parentd3ff268a0149fce8835f6d48ab481d5e3321e0f7
ACPICA: Additional error checking for pathname utilities

Add error check after all calls to acpi_ns_get_pathname_length.
Add status return from acpi_ns_build_external_path and check after
all calls.  Add parameter validation to acpi_ut_initialize_buffer.

Reported by and initial patch by Ingo Molnar.
http://lkml.org/lkml/2008/7/21/176

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/namespace/nsnames.c
drivers/acpi/resources/rscalc.c
drivers/acpi/utilities/utalloc.c
drivers/acpi/utilities/utobject.c
include/acpi/acnamesp.h