summaryrefslogtreecommitdiff
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2019-07-30 05:50:44 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-04 06:34:14 -0300
commitab1cbdf159beba7395a13ab70bc71180929ca064 (patch)
tree117e07aae4f11a61037445466386a2d0d62867fd /drivers/media/i2c
parent7328d682371722433c96416c33fa5e2b7a6d97bc (diff)
media: iguanair: add sanity checks
The driver needs to check the endpoint types, too, as opposed to the number of endpoints. This also requires moving the check earlier. Reported-by: syzbot+01a77b82edaa374068e1@syzkaller.appspotmail.com Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions