summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2024-10-01 12:01:34 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-10-15 08:00:58 +0300
commitfa88dc7db176c79b50adb132a56120a1d4d9d18b (patch)
treecf779a13380d3066f04d977d383df9654788dcd5 /tools/perf/scripts/python/exported-sql-viewer.py
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
downloadlinux-fa88dc7db176c79b50adb132a56120a1d4d9d18b.tar.xz
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 <hverkuil-cisco@xs4all.nl> Reported-by: Chenyuan Yang <chenyuan0y@gmail.com> 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 <benjamin.gaignard@collabora.com> Cc: <stable@vger.kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions