diff options
| author | 2021-11-18 11:42:06 +0100 | |
|---|---|---|
| committer | 2021-12-19 15:23:59 +0100 | |
| commit | d4f3d1c4d3c2bcce76a96a6562170664b25112f0 (patch) | |
| tree | 861c6d867ca17069d82f3a7cc4f14295f7de2950 /scripts/checkstack.pl | |
| parent | mt76: mt7921: introduce 160 MHz channel bandwidth support (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 <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
