commit | db9a01b32ca9406394e6e7d19c4cdfcf1cbb5058 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Wed Jan 30 02:33:41 2019 -0500 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Thu Feb 07 11:49:53 2019 -0500 |
tree | 23ad11a1af7ce6780df6d0057811809e34655eab | |
parent | 801efd0f7522244b5c09fc4c6630dc55fb37c26c [diff] |
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>