aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorHangyu Hua <[email protected]>2022-05-19 03:17:43 +0100
committerMauro Carvalho Chehab <[email protected]>2022-09-27 10:24:44 +0200
commit37238699073e7e93f05517e529661151173cd458 (patch)
tree3c117d0d66b38fcd341d45bc225eab5e5ca461ae /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentf0da34f32920c16f34acb692cf1646465bd40c04 (diff)
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 <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions