diff options
author | Hangyu Hua <hbh25y@gmail.com> | 2022-05-19 05:17:43 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-09-27 11:24:44 +0300 |
commit | 37238699073e7e93f05517e529661151173cd458 (patch) | |
tree | 3c117d0d66b38fcd341d45bc225eab5e5ca461ae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f0da34f32920c16f34acb692cf1646465bd40c04 (diff) | |
download | linux-37238699073e7e93f05517e529661151173cd458.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions