diff options
author | Jiri Kosina <jkosina@suse.cz> | 2014-08-27 09:12:24 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-08-27 09:14:39 +0200 |
commit | c54def7bd64d7c0b6993336abcffb8444795bf38 (patch) | |
tree | ed1c5fdea443dfd8c85138dfa9d534028efe30c0 /drivers/hid/hid-picolcd_core.c | |
parent | 5abfe85c1d4694d5d4bbd13ecc166262b937adf0 (diff) | |
download | linux-c54def7bd64d7c0b6993336abcffb8444795bf38.tar.bz2 |
HID: magicmouse: sanity check report size in raw_event() callback
The report passed to us from transport driver could potentially be
arbitrarily large, therefore we better sanity-check it so that
magicmouse_emit_touch() gets only valid values of raw_id.
Cc: stable@vger.kernel.org
Reported-by: Steven Vittitoe <scvitti@google.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-picolcd_core.c')
0 files changed, 0 insertions, 0 deletions