diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2014-08-27 09:12:24 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-05 13:40:54 -0700 |
| commit | 249b61a6ba71975a83031c06b22013a37619a8b7 (patch) | |
| tree | e6264b0c511c057d531dd0ae7f8a2a27ac9c5797 /include/uapi/linux | |
| parent | 0db6de5fa66e02a03089d69bdc5db6d6947ed76b (diff) | |
HID: magicmouse: sanity check report size in raw_event() callback
commit c54def7bd64d7c0b6993336abcffb8444795bf38 upstream.
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.
Reported-by: Steven Vittitoe <scvitti@google.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
