aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-10-30 09:17:45 +0100
committerJohannes Berg <johannes.berg@intel.com>2018-11-09 08:57:40 +0100
commit03b738625b1e58f4ae2bddf04706ab85c677af2d (patch)
tree78f4a7bbf918086d214f5ddb5b2e1a81059b056f /net/wireless
parentcfg80211/mac80211: fix FTM settings across CSA (diff)
downloadwireguard-linux-03b738625b1e58f4ae2bddf04706ab85c677af2d.tar.xz
wireguard-linux-03b738625b1e58f4ae2bddf04706ab85c677af2d.zip
mac80211: fix CSA beacon allocation size
If the FTM responder settings are changed simultaneously with the CSA beacon, the buffer size allocated isn't sufficient and we'll have a heap overrun. Fix this. While at it, also clean up the ftm_responder assignment, doing it only if ftm_responder is non-zero is valid as it's 0 to start with, but not really useful to understand the code. Fixes: bc847970f432 ("mac80211: support FTM responder configuration/statistics") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions