diff options
| author | Ricardo Ribalda <[email protected]> | 2023-07-20 17:46:54 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-09-14 21:31:55 +0000 |
| commit | 41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb (patch) | |
| tree | 394eed45f5f67ea549c1a87ff3c5b95bbefc79d6 /tools/net/ynl/generated/netdev-user.c | |
| parent | media: bt8xx: bttv_risc_packed(): remove field checks (diff) | |
| download | kernel-41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb.tar.gz kernel-41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb.zip | |
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 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions
