diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2018-11-17 14:25:08 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-11-20 20:53:36 +0300 |
commit | cb3b2ffb757e75fef40fb94bc093cbbf49a6bf6e (patch) | |
tree | 987ee0eccbd2b7cb8435c7527344e81d9d4b38b1 /drivers/media/usb/gspca | |
parent | 0408b205f1ae60c1b99c9888ac0326543d96a091 (diff) | |
download | linux-cb3b2ffb757e75fef40fb94bc093cbbf49a6bf6e.tar.xz |
media: vicodec: fix memchr() kernel oops
The size passed to memchr is too large as it assumes the search
starts at the start of the buffer, but it can start at an offset.
Cc: <stable@vger.kernel.org> # for v4.19 and up
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/gspca')
0 files changed, 0 insertions, 0 deletions