diff options
| author | Jiri Kosina <[email protected]> | 2014-08-27 07:12:24 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2014-08-27 07:14:39 +0000 |
| commit | c54def7bd64d7c0b6993336abcffb8444795bf38 (patch) | |
| tree | ed1c5fdea443dfd8c85138dfa9d534028efe30c0 /lib/dynamic_debug.c | |
| parent | HID: logitech-dj: prevent false errors to be shown (diff) | |
| download | kernel-c54def7bd64d7c0b6993336abcffb8444795bf38.tar.gz kernel-c54def7bd64d7c0b6993336abcffb8444795bf38.zip | |
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: [email protected]
Reported-by: Steven Vittitoe <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
