aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorLorenzo Bianconi <[email protected]>2021-11-18 11:42:06 +0100
committerFelix Fietkau <[email protected]>2021-12-19 15:23:59 +0100
commitd4f3d1c4d3c2bcce76a96a6562170664b25112f0 (patch)
tree861c6d867ca17069d82f3a7cc4f14295f7de2950 /tools/perf/scripts/python/stat-cpi.py
parent7f96905068ab826b270b41d70d46e2849e5db7df (diff)
mt76: fix possible OOB issue in mt76_calculate_default_rate
Cap max offset value to ARRAY_SIZE(mt76_rates) - 1 in mt76_calculate_default_rate routine in order to avoid possible Out Of Bound accesses. Fixes: 33920b2bf0483 ("mt76: add support for setting mcast rate") Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions