aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-11-07 10:55:43 +0300
committerMoyster <oysterized@gmail.com>2017-06-17 16:05:23 +0200
commit4453483f6e0f4423f97876a009827854ec67ee40 (patch)
tree4ca6e3837d5a8594124b098702fe7ea429cf70f0 /include/linux
parent2ba16eaa90613f12f1342cd7a92eaec284ef07c3 (diff)
Staging: vt6655-6: potential NULL dereference in hostap_disable_hostapd()
commit cb4855b49deb1acce27706ad9509d63c4fe8e988 upstream. We fixed this to use free_netdev() instead of kfree() but unfortunately free_netdev() doesn't accept NULL pointers. Smatch complains about this, it's not something I discovered through testing. Fixes: 3030d40b5036 ('staging: vt6655: use free_netdev instead of kfree') Fixes: 0a438d5b381e ('staging: vt6656: use free_netdev instead of kfree') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> [wt: only vt6656 was converted to free_netdev in 3.10] Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions