summaryrefslogtreecommitdiff
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-02-21 12:41:43 +0300
committerJohannes Berg <johannes.berg@intel.com>2020-02-21 12:50:26 +0300
commit9951ebfcdf2b97dbb28a5d930458424341e61aa2 (patch)
tree1620972f990a1645f2ddfdb054ce8fe8f5773fb9 /net/wireless/reg.c
parent36a44bcdd8df092d76c11bc213e81c5817d4e302 (diff)
downloadlinux-9951ebfcdf2b97dbb28a5d930458424341e61aa2.tar.xz
nl80211: fix potential leak in AP start
If nl80211_parse_he_obss_pd() fails, we leak the previously allocated ACL memory. Free it in this case. Fixes: 796e90f42b7e ("cfg80211: add support for parsing OBBS_PD attributes") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Link: https://lore.kernel.org/r/20200221104142.835aba4cdd14.I1923b55ba9989c57e13978f91f40bfdc45e60cbd@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.c')
0 files changed, 0 insertions, 0 deletions