Skip to content
Commit 966922f2 authored by Armando Visconti's avatar Armando Visconti Committed by Jiri Kosina
Browse files

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: default avatarArmando Visconti <armando.visconti@st.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent fdc6807f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment