commit | 01ec0a5f19c8c82960a07f6c7410fc9e01d7fb51 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Thu Jul 25 15:13:33 2019 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Aug 05 14:18:42 2019 +0200 |
tree | 6af44df09f589358eb31188d19bdeaf756c200f2 | |
parent | 693c3dab4e50403f91bca4b52fc6d8562a3180f6 [diff] |
HID: holtek: test for sanity of intfdata The ioctl handler uses the intfdata of a second interface, which may not be present in a broken or malicious device, hence the intfdata needs to be checked for NULL. [jkosina@suse.cz: fix newly added spurious space] Reported-by: syzbot+965152643a75a56737be@syzkaller.appspotmail.com Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>