aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorCorentin Labbe <[email protected]>2021-12-14 17:16:32 +0100
committerMauro Carvalho Chehab <[email protected]>2022-01-23 21:18:40 +0100
commite3b86f4e558cea9eed71d894df2f19b10d60a207 (patch)
tree322e379372bc82f2bc493b9e9c07713e2e1e8fa8 /tools/perf/scripts/python/bin
parent4e3edddb9507a28446624144da6be5d1323e6f15 (diff)
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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions