commit | c55db99fd8c0b1b21ae28d4819a2233fc50b63ce | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Wed Jan 20 09:28:02 2021 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Mar 07 12:34:05 2021 +0100 |
tree | 283623316afa6d4e44f7e354bb29a535b2cdd38d | |
parent | 5e0068a4fb107af27230441c1e38b8dee1bfdc9d [diff] |
media: v4l2-ctrls.c: fix shift-out-of-bounds in std_validate commit 048c96e28674f15c0403deba2104ffba64544a06 upstream. If a menu has more than 64 items, then don't check menu_skip_mask for items 65 and up. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: syzbot+42d8c7c3d3e594b34346@syzkaller.appspotmail.com Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>