diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-12-15 02:32:29 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-17 14:24:06 +0100 |
commit | 0b7b9b6c3dee8232c7c6dd2a5a56100e20576717 (patch) | |
tree | 9b0ba9c5b71e21b690fcfaf3318c31f4f59dd1a2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2da56630b1cc422f58408033102b8f91ae97bc91 (diff) |
staging: wilc1000: fix NULL dereference inside wilc_scan()
Added NULL check before accessing 'hidden_net' pointer inside
wilc_scan() to fix the issue found by static code checker.
Fixes: 8f1a0ac1eba7 ("staging: wilc1000: handle scan operation callback from cfg80211 context")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions