diff options
author | 2022-08-23 15:22:23 +0200 | |
---|---|---|
committer | 2022-08-25 10:01:16 +0200 | |
commit | 36fe8e4e5cb02131719612aea1e64379670d1846 (patch) | |
tree | 2d2026f1167123ee054e7c16b8e493b744bedf37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: mac80211: Fix UAF in ieee80211_scan_rx() (diff) | |
download | linux-dev-36fe8e4e5cb02131719612aea1e64379670d1846.tar.xz linux-dev-36fe8e4e5cb02131719612aea1e64379670d1846.zip |
wifi: mac80211: always free sta in __sta_info_alloc in case of error
Free sta pointer in __sta_info_alloc routine if sta_info_alloc_link()
fails.
Fixes: 246b39e4a1ba5 ("wifi: mac80211: refactor some sta_info link handling")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/a3d079208684cddbc25289f7f7e0fed795b0cad4.1661260857.git.lorenzo@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions