diff options
| author | Oliver Neukum <oneukum@suse.com> | 2019-07-25 15:13:33 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-25 10:52:56 +0200 |
| commit | a5ca282d9044e39d0f8bb2891d78f87f5484920e (patch) | |
| tree | 64ad58da742438a06c6e526726903485299d3464 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | ba8eaaf5cf0e7fcd60f3fc8ab58eb8b43e5b67c9 (diff) | |
HID: holtek: test for sanity of intfdata
commit 01ec0a5f19c8c82960a07f6c7410fc9e01d7fb51 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
