Skip to content
Commit 6c2794a2 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

HID: battery: don't do DMA from stack



Instead of using data from stack for DMA in hidinput_get_battery_property(),
allocate the buffer dynamically.

Cc: stable@kernel.org
Reported-by: default avatarRichard Ryniker <ryniker@alum.mit.edu>
Reported-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent a4be0ed3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment