ACPI: Fix possible null ptr dereference
authordonald.d.dugger@intel.com <donald.d.dugger@intel.com>
Fri, 17 Oct 2008 14:49:50 +0000 (07:49 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 22 Oct 2008 22:01:22 +0000 (18:01 -0400)
Code in `pci_link.c' is calling the internal routine `acpi_ut_evaluate_object'
which is dangerous given that it is passing a NULL pointer when it should
be passing a pointer to a real object.  The patch corrects the issue by
having the code call the external routine `acpi_evaluate_object', which
correctly handles a NULL pointer.

Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found