aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMikko Rapeli <[email protected]>2024-03-13 15:37:44 +0200
committerUlf Hansson <[email protected]>2024-03-25 12:25:04 +0100
commitcf55a7acd1ed38afe43bba1c8a0935b51d1dc014 (patch)
tree4a1a5656a3c1b7a23c8a06d93cec37c05070074f /tools/perf/scripts/python/export-to-postgresql.py
parent0cdfe5b0bf295c0dee97436a8ed13336933a0211 (diff)
mmc: core: Avoid negative index with array access
Commit 4d0c8d0aef63 ("mmc: core: Use mrq.sbc in close-ended ffu") assigns prev_idata = idatas[i - 1], but doesn't check that the iterator i is greater than zero. Let's fix this by adding a check. Fixes: 4d0c8d0aef63 ("mmc: core: Use mrq.sbc in close-ended ffu") Link: https://lore.kernel.org/all/[email protected]/ Cc: [email protected] Signed-off-by: Mikko Rapeli <[email protected]> Reviewed-by: Avri Altman <[email protected]> Tested-by: Francesco Dolcini <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions