diff options
author | donald.d.dugger@intel.com <donald.d.dugger@intel.com> | 2008-10-17 07:49:50 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-22 18:01:22 -0400 |
commit | 383d7a11c9989205db44c7f1be339e5097062f03 (patch) | |
tree | cf9b185606dec0bb37aa8a4694e373a7c06445a2 /drivers/acpi/wmi.c | |
parent | ea5c8af9b1241a10dc4ba6cd2d2362c179884b74 (diff) | |
download | op-kernel-dev-383d7a11c9989205db44c7f1be339e5097062f03.zip op-kernel-dev-383d7a11c9989205db44c7f1be339e5097062f03.tar.gz |
ACPI: Fix possible null ptr dereference
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>
Diffstat (limited to 'drivers/acpi/wmi.c')
0 files changed, 0 insertions, 0 deletions