aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-a4tech.c
diff options
context:
space:
mode:
authorOliver Neukum <[email protected]>2019-07-25 13:13:33 +0000
committerJiri Kosina <[email protected]>2019-08-05 12:18:42 +0000
commit01ec0a5f19c8c82960a07f6c7410fc9e01d7fb51 (patch)
tree6af44df09f589358eb31188d19bdeaf756c200f2 /drivers/hid/hid-a4tech.c
parentHID: wacom: fix bit shift for Cintiq Companion 2 (diff)
downloadkernel-01ec0a5f19c8c82960a07f6c7410fc9e01d7fb51.tar.gz
kernel-01ec0a5f19c8c82960a07f6c7410fc9e01d7fb51.zip
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. [[email protected]: fix newly added spurious space] Reported-by: [email protected] Signed-off-by: Oliver Neukum <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/hid/hid-a4tech.c')
0 files changed, 0 insertions, 0 deletions