diff options
| author | Lorenzo Bianconi <[email protected]> | 2021-11-18 11:42:06 +0100 |
|---|---|---|
| committer | Felix Fietkau <[email protected]> | 2021-12-19 15:23:59 +0100 |
| commit | d4f3d1c4d3c2bcce76a96a6562170664b25112f0 (patch) | |
| tree | 861c6d867ca17069d82f3a7cc4f14295f7de2950 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 7f96905068ab826b270b41d70d46e2849e5db7df (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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions