Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HID: holtek: test for sanity of intfdata
commit 01ec0a5 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. [[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]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information