diff options
author | Len Brown <len.brown@intel.com> | 2009-12-27 05:02:24 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-30 08:48:52 +0100 |
commit | fda11e61ff8a4e3a8ebbd434e46560b67cc0ca9d (patch) | |
tree | bfc911beea9c92888cafebe300740b92acc1b975 /tools | |
parent | ACPI: hp-wmi, msi-wmi: clarify that wmi_install_notify_handler() returns an a... (diff) | |
download | linux-fda11e61ff8a4e3a8ebbd434e46560b67cc0ca9d.tar.xz linux-fda11e61ff8a4e3a8ebbd434e46560b67cc0ca9d.zip |
dell-wmi, hp-wmi, msi-wmi: check wmi_get_event_data() return value
When acpi_evaluate_object() is passed ACPI_ALLOCATE_BUFFER,
the caller must kfree the returned buffer if AE_OK is returned.
The callers of wmi_get_event_data() pass ACPI_ALLOCATE_BUFFER,
and thus must check its return value before accessing
or kfree() on the buffer.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions