aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ioctl.c
diff options
context:
space:
mode:
authorLuke Nowakowski-Krijger <[email protected]>2019-07-17 10:19:46 -0400
committerMauro Carvalho Chehab <[email protected]>2019-07-25 06:23:35 -0400
commitd4a6a9537bc32811486282206ecfb7c53754b74d (patch)
tree922d20b5ed372ec8759cff83c7eaf9ae2ff92151 /drivers/media/v4l2-core/v4l2-ioctl.c
parent9e037bdf743cc081858423ad4123824e846b2358 (diff)
media: hdpvr: Add device num check and handling
Add hdpvr device num check and error handling We need to increment the device count atomically before we checkout a device to make sure that we do not reach the max count, otherwise we get out-of-bounds errors as reported by syzbot. Reported-and-tested-by: [email protected] Signed-off-by: Luke Nowakowski-Krijger <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions