diff options
| author | Lee Gibson <[email protected]> | 2021-03-19 08:58:36 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-20 13:40:15 +0100 |
| commit | 105949497a559adfd36d3e583eda3b2cd8bbd6d1 (patch) | |
| tree | 93cacf9b50d6cc8ed02a44861268467868e77c71 /tools/perf/scripts/python/flamegraph.py | |
| parent | 62a19328c4b5753ed087672c1415828748a59d97 (diff) | |
staging: rtl8712: Fix a possible NULL pointer dereference in function r8712_joinbss_event_callback
GCC 10 analyzer reports a warning: dereference of NULL
The function r8712_find_network can return NULL and is usually checked but
no check is present is this case.
Fix by adding the check.
Signed-off-by: Lee Gibson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions