Searched hist:37238699 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/dvb-core/ |
H A D | dvb_vb2.c | 37238699 Wed May 18 21:17:43 CDT 2022 Hangyu Hua <hbh25y@gmail.com> media: dvb_vb2: fix possible out of bound access
vb2_core_qbuf and vb2_core_querybuf don't check the range of b->index controlled by the user.
Fix this by adding range checking code before using them.
Fixes: 57868acc369a ("media: videobuf2: Add new uAPI for DVB streaming I/O") Signed-off-by: Hangyu Hua <hbh25y@gmail.com> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|