ACPICA: Fix possible negative array index in acpi_ut_validate_exception
authorBob Moore <robert.moore@intel.com>
Tue, 10 Jun 2008 04:53:01 +0000 (12:53 +0800)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 16 Jul 2008 21:27:03 +0000 (23:27 +0200)
commit11f2a61ab418305167f9a3f3a31a50449222f64b
tree83a56046d08afc5c68ffd06d3e7970366067545a
parent6719561f9b4281491f58ed9f0bbc179dc7db95b7
ACPICA: Fix possible negative array index in acpi_ut_validate_exception

Added NULL fields to the exception string arrays to eliminate
the -1 subtraction on the SubStatus field.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/utilities/utmisc.c
include/acpi/acexcep.h