summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2021-12-14 17:16:32 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-01-23 21:18:40 +0100
commite3b86f4e558cea9eed71d894df2f19b10d60a207 (patch)
tree322e379372bc82f2bc493b9e9c07713e2e1e8fa8 /tools/perf/scripts
parent4e3edddb9507a28446624144da6be5d1323e6f15 (diff)
downloadlinux-e3b86f4e558cea9eed71d894df2f19b10d60a207.tar.gz
linux-e3b86f4e558cea9eed71d894df2f19b10d60a207.zip
media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
On the case tmp_dcim=1, the index of buffer is miscalculated. This generate a NULL pointer dereference later. So let's fix the calcul and add a check to prevent this to reappear. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions