]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ACPICA: Events: Cleanup of resetting the GPE handler to NULL before removing
authorLv Zheng <lv.zheng@intel.com>
Thu, 5 Feb 2015 07:20:14 +0000 (15:20 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 Feb 2015 14:31:38 +0000 (15:31 +0100)
commitc539251e7c1537c8b3dcaa1c89f5393d04996013
treedd68a2f7048c59808aa476bbd94e2c384f118c68
parentb7be6883c7b0414f72c785b498d133194151cd8b
ACPICA: Events: Cleanup of resetting the GPE handler to NULL before removing

ACPICA commit b2b18bb38045404e253f10787b8a4ae6e94cdee6

This patch prevents acpi_remove_gpe_handler() from leaking the stale
gpe_event_info->Dispatch.Handler to the caller to avoid possible NULL pointer
references. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/b2b18bb3
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/evxface.c