summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/nsdump.c
diff options
context:
space:
mode:
authorDavid E. Box <david.e.box@intel.com>2013-09-23 01:52:12 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-23 23:46:24 (GMT)
commitd2e7d079c7f21999e93802351c6ac7b31d266cce (patch)
tree538168357af90510c1135c5caa797ad8f67e9522 /drivers/acpi/acpica/nsdump.c
parenta2fd4b4b4e2884405c54a91514b0fad3853aea01 (diff)
downloadlinux-d2e7d079c7f21999e93802351c6ac7b31d266cce.tar.xz
ACPICA: Operation region support: Never free the handler "context" pointer.
This change removes some dangerous code that attempts to free the handler context pointer in some (rare) circumstances. The owner of the handler owns this pointer and the ACPICA code should never touch it. Although not seen to be an issue in any kernel, it did show up as a problem under AcpiExec. Also, set the internal storage field for the context pointer to zero when the region is deactivated, simply for sanity. David Box. Signed-off-by: David E. Box <david.e.box@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Reviewed-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/nsdump.c')
0 files changed, 0 insertions, 0 deletions