ACPICA: Warn if packages with invalid references are evaluated
authorThomas Renninger <trenn@suse.de>
Wed, 12 Mar 2008 00:06:24 +0000 (01:06 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 12 Mar 2008 03:57:20 +0000 (23:57 -0400)
commitb6a163875935ce8e8e85901a7f2b68f7a314d914
tree7b286cb1bfa15b6cbc4699f9186354a7ea126c93
parentd6f882e10442c1ea6ed5f93365f48be4cb520be7
ACPICA: Warn if packages with invalid references are evaluated

And return an error to avoid NULL pointer access by the caller
Lin Ming's patch avoids corrupted mem access when
BIOS has invalid references included, the handle is now zero
instead of corrupted.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/utils.c