diff options
author | Hans Verkuil <[email protected]> | 2024-10-01 11:01:34 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2024-10-15 07:00:58 +0200 |
commit | fa88dc7db176c79b50adb132a56120a1d4d9d18b (patch) | |
tree | cf779a13380d3066f04d977d383df9654788dcd5 /tools/perf/scripts/python/syscall-counts.py | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
media: dvb-core: add missing buffer index check
dvb_vb2_expbuf() didn't check if the given buffer index was
for a valid buffer. Add this check.
Signed-off-by: Hans Verkuil <[email protected]>
Reported-by: Chenyuan Yang <[email protected]>
Closes: https://lore.kernel.org/linux-media/?q=WARNING+in+vb2_core_reqbufs
Fixes: 7dc866df4012 ("media: dvb-core: Use vb2_get_buffer() instead of directly access to buffers array")
Reviewed-by: Benjamin Gaignard <[email protected]>
Cc: <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions