diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2026-03-03 14:37:39 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-03-06 13:06:06 +0300 |
| commit | bd9121a5e9fa03fcf32afa5f3d238e942ae6045e (patch) | |
| tree | 7c0a41628e82b124d4708fb4cd0fe5fe9920b576 /scripts/const_structs.checkpatch | |
| parent | abacaf559950eec0d99d37ff6b92049409af5943 (diff) | |
| download | linux-bd9121a5e9fa03fcf32afa5f3d238e942ae6045e.tar.xz | |
wifi: mac80211_hwsim: fully initialise PMSR capabilities
Since the recent additions to PMSR capabilities, it's no longer
sufficient to call parse_pmsr_capa() here since the capabilities
that were added aren't represented/filled by it. Always init the
data to zero to avoid using uninitialized memory.
Fixes: 86c6b6e4d187 ("wifi: nl80211/cfg80211: add new FTM capabilities")
Reported-by: syzbot+c686c6b197d10ff3a749@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/69a67aa3.a70a0220.b118c.000a.GAE@google.com/
Link: https://patch.msgid.link/20260303113739.176403-2-johannes@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
