diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2014-11-27 17:26:56 +0100 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2014-11-27 17:27:52 +0100 |
| commit | 601555cd75ddfc2b95ebbb5eb1224c6a995e8203 (patch) | |
| tree | b5074513c5a1c1aa5ab4f07aab6332a1407b1db1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 98f0334263f177dd22ca7c685cde04b47cc57b05 (diff) | |
nl80211: don't crash sending invalid chandef
One of the cases for an invalid channel definition is that
the channel pointer is NULL, in which case the warning is
a bit late since we'll dereference the pointer. Bail out
of the function upon warning about this.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions
