aboutsummaryrefslogtreecommitdiff
path: root/lib/kasprintf.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2013-09-02 13:43:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 17:15:49 -0700
commit735b7d0c03d9535a1fc74ba8fa4beccdf7ab949d (patch)
treeabfaac145ee89d1017054db1d28a5fae7f54f368 /lib/kasprintf.c
parent2dbe9ce6b7d6aeb1e6ba320837a55fb2cf194e17 (diff)
HID: battery: don't do DMA from stack
commit 6c2794a2984f4c17a58117a68703cc7640f01c5a upstream. Instead of using data from stack for DMA in hidinput_get_battery_property(), allocate the buffer dynamically. Reported-by: Richard Ryniker <ryniker@alum.mit.edu> Reported-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions