diff options
| author | 2021-12-14 17:16:32 +0100 | |
|---|---|---|
| committer | 2022-01-23 21:18:40 +0100 | |
| commit | e3b86f4e558cea9eed71d894df2f19b10d60a207 (patch) | |
| tree | 322e379372bc82f2bc493b9e9c07713e2e1e8fa8 /tools/perf/scripts/python | |
| parent | media: staging: media: zoran: fix counting buffer in reserve (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 <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/python')
0 files changed, 0 insertions, 0 deletions
