aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-08-13 09:07:12 +0200
committerJohannes Berg <johannes.berg@intel.com>2019-08-21 10:58:32 +0200
commit5db16ba82f38849a78ae932c0b7eada4cd2eb919 (patch)
treedc70edc5f66fea813a164eeac3764408fbfc89fe /include/net/cfg80211.h
parentmac80211: add assoc-at support (diff)
downloadwireguard-linux-5db16ba82f38849a78ae932c0b7eada4cd2eb919.tar.xz
wireguard-linux-5db16ba82f38849a78ae932c0b7eada4cd2eb919.zip
mac80211: fix possible NULL pointerderef in obss pd code
he_spr_ie_elem is dereferenced before the NULL check. fix this by moving the assignment after the check. fixes commit 697f6c507c74 ("mac80211: propagate HE operation info into bss_conf") This was reported by the static code checker. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John Crispin <john@phrozen.org> Link: https://lore.kernel.org/r/20190813070712.25509-1-john@phrozen.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
0 files changed, 0 insertions, 0 deletions