diff options
| author | Pan Bian <[email protected]> | 2018-11-29 18:25:19 +0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2018-12-13 16:53:42 +0200 |
| commit | 1dcd9429212b98bea87fc6ec92fb50bf5953eb47 (patch) | |
| tree | 535b65cf3d29d0291cb2c53d90ac9cb3f846c0b5 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 074b145a05835e9f93a52323a4770b70b4b782fd (diff) | |
mwifiex: fix potential NULL dereference and use after free
There are two defects: (1) passing a NULL bss to
mwifiex_save_hidden_ssid_channels will result in NULL dereference,
(2) using bss after dropping the reference to it via cfg80211_put_bss.
To fix them, the patch moves the buggy code to the branch that bss is
not NULL and puts it before cfg80211_put_bss.
Signed-off-by: Pan Bian <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions