Skip to content
Commit 01ec0a5f authored by Oliver Neukum's avatar Oliver Neukum Committed by Jiri Kosina
Browse files

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: default avatar <syzbot+965152643a75a56737be@syzkaller.appspotmail.com>
Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 693c3dab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment