diff options
author | Ricardo Ribalda <[email protected]> | 2023-07-20 17:46:54 +0000 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2023-09-14 23:31:55 +0200 |
commit | 41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb (patch) | |
tree | 394eed45f5f67ea549c1a87ff3c5b95bbefc79d6 /drivers/usb/cdns3/cdns3-plat.c | |
parent | 861ab817b5ebe5e34bfbf01943b86ded6bba97b3 (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