diff options
| author | John Crispin <[email protected]> | 2019-08-13 09:07:12 +0200 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2019-08-21 10:58:32 +0200 |
| commit | 5db16ba82f38849a78ae932c0b7eada4cd2eb919 (patch) | |
| tree | dc70edc5f66fea813a164eeac3764408fbfc89fe /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 9cf02338880dfc5928e98e3a1200d5aacfa6d1c6 (diff) | |
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 <[email protected]>
Signed-off-by: John Crispin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions