aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/media/platform/vimc
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-01-30 02:33:41 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-02-07 11:49:53 -0500
commitdb9a01b32ca9406394e6e7d19c4cdfcf1cbb5058 (patch)
tree23ad11a1af7ce6780df6d0057811809e34655eab /drivers/media/platform/vimc
parentmedia: imx-pxp: fix duplicated if condition (diff)
downloadwireguard-linux-db9a01b32ca9406394e6e7d19c4cdfcf1cbb5058.tar.xz
wireguard-linux-db9a01b32ca9406394e6e7d19c4cdfcf1cbb5058.zip
media: vicodec: check type in g/s_selection
Check that the selection buf_type is valid before calling get_q_data() to avoid hitting the WARN(1) in that function if the buffer type is not valid. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: syzbot+44b24cff6bf96006ecfa@syzkaller.appspotmail.com Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vimc')
0 files changed, 0 insertions, 0 deletions