diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-12-06 15:52:29 +0300 |
---|---|---|
committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2024-12-11 20:18:54 +0300 |
commit | 58fa8109fa8dae2947567e8f56dbd55ad81bc35c (patch) | |
tree | de6368f684aa7e16f47c99c8f9fc43fbabc24196 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 02f41c8aa643b0d329ee9fa3f3341919bf86b759 (diff) | |
download | linux-58fa8109fa8dae2947567e8f56dbd55ad81bc35c.tar.xz |
wifi: ath12k: Off by one in ath12k_wmi_process_csa_switch_count_event()
The ahvif->vif->link_conf[] array has IEEE80211_MLD_MAX_NUM_LINKS elements
so this should be >= instead of > to avoid an out of bounds access.
Fixes: 3952657848c0 ("wifi: ath12k: Use mac80211 vif's link_conf instead of bss_conf")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/755becb1-819b-484d-8fac-9a2db53ced1b@stanley.mountain
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions