aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorRicardo Ribalda <[email protected]>2023-07-20 17:46:54 +0000
committerHans Verkuil <[email protected]>2023-09-14 23:31:55 +0200
commit41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb (patch)
tree394eed45f5f67ea549c1a87ff3c5b95bbefc79d6 /drivers/usb/cdns3/cdns3-plat.c
parent861ab817b5ebe5e34bfbf01943b86ded6bba97b3 (diff)
media: uvcvideo: Fix OOB read
If the index provided by the user is bigger than the mask size, we might do an out of bound read. CC: [email protected] Fixes: 40140eda661e ("media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU") Reported-by: Zubin Mithra <[email protected]> Signed-off-by: Ricardo Ribalda <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions