summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-magicmouse.c
diff options
context:
space:
mode:
authorArmando Visconti <armando.visconti@st.com>2011-05-19 21:41:22 +0200
committerJiri Kosina <jkosina@suse.cz>2011-05-20 10:25:23 +0200
commit966922f26c7fb5eddbe3c506b66bb5659f57b76f (patch)
tree5b609b162a93583520bbf662c18c8cfd2acf499f /drivers/hid/hid-magicmouse.c
parentfdc6807fcd09416c5537f479e1dcd624118e234c (diff)
downloadtalos-obmc-linux-966922f26c7fb5eddbe3c506b66bb5659f57b76f.tar.gz
talos-obmc-linux-966922f26c7fb5eddbe3c506b66bb5659f57b76f.zip
HID: fix a crash in hid_report_raw_event() function.
I'm using a Data Modul EasyTouch USB multitouch controller, which is issuing a hid report with a size equals to 0. The rsize value gets set to 536870912 and Linux is crashing in the memset because the value is too big. Signed-off-by: Armando Visconti <armando.visconti@st.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-magicmouse.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud