summaryrefslogtreecommitdiff
path: root/net/key
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-07-12 08:03:28 (GMT)
committerLen Brown <len.brown@intel.com>2011-07-16 22:54:59 (GMT)
commite80bba4b5108c6479379740201b0a5d9da5ffbac (patch)
tree34634eebb8dc8f17e8654ffff0d5b6b2fb3a370b /net/key
parent9c921c22a7f33397a6774d7fa076db9b6a0fd669 (diff)
downloadlinux-fsl-qoriq-e80bba4b5108c6479379740201b0a5d9da5ffbac.tar.xz
ACPI / Battery: avoid acpi_battery_add() use-after-free
When acpi_battery_add_fs() fails the error handling code does not clean up completely. Moreover, it does not return resulting in a use-after-free. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions