diff options
| author | 2020-05-05 12:50:33 +0200 | |
|---|---|---|
| committer | 2020-07-19 07:42:57 +0200 | |
| commit | 137641287eb40260783a4413847a0aef06023a6c (patch) | |
| tree | 3f9a94eff549c3711d81107d026f178dedaa8880 /include/linux/errqueue.h | |
| parent | media: staging: tegra-vde: Power-cycle hardware on probe (diff) | |
go7007: add sanity checking for endpoints
A malicious USB device may lack endpoints the driver assumes to exist
Accessing them leads to NULL pointer accesses. This patch introduces
sanity checking.
Reported-and-tested-by: syzbot+cabfa4b5b05ff6be4ef0@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Fixes: 866b8695d67e8 ("Staging: add the go7007 video driver")
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
