1
0
Fork 0
alistair23-linux/drivers/staging/vt6655
Dan Carpenter cb4855b49d Staging: vt6655-6: potential NULL dereference in hostap_disable_hostapd()
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: 3030d40b50 ('staging: vt6655: use free_netdev instead of kfree')
Fixes: 0a438d5b38 ('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>
2013-11-25 09:14:29 -08:00
..
80211hdr.h Staging: vt6655: Fixed ERROR: do not use C99 // comments in vt6655/80211hdr.h 2013-05-16 15:52:00 -07:00
80211mgr.c Staging: vt6655: 80211mgr: Cleanup of brace coding style issues 2013-09-30 18:34:00 -07:00
80211mgr.h Staging: vt6655: Fixed ERROR: do not use C99 // comments in vt6655/80211mgr.h 2013-05-16 15:51:58 -07:00
IEEE11h.c
IEEE11h.h
Kconfig
Makefile
TODO
aes_ccmp.c staging: vt6655: Fix Sparse Warning for Static Declarations 2013-10-17 09:09:36 -07:00
aes_ccmp.h Staging: vt6655: Fixed ERROR: do not use C99 // comments in vt6655/aes_ccmp.h. 2013-05-16 15:52:00 -07:00
baseband.c staging: vt6655: fixed use of unnecessary braces in baseband.c 2013-10-27 06:54:54 -07:00
baseband.h
bssdb.c Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
bssdb.h
card.c
card.h
channel.c
channel.h
country.h
datarate.c
datarate.h
desc.h
device.h
device_cfg.h
device_main.c staging: vt6655: Remove redundant pci_set_drvdata 2013-09-25 16:45:18 -07:00
dpc.c Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
dpc.h
hostap.c Staging: vt6655-6: potential NULL dereference in hostap_disable_hostapd() 2013-11-25 09:14:29 -08:00
hostap.h
iocmd.h
ioctl.c staging: vt6655: inherit addr_assign_type along with dev_addr 2013-09-03 20:57:50 -04:00
ioctl.h
iowpa.h
iwctl.c Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
iwctl.h
key.c Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
key.h
mac.c
mac.h
mib.c
mib.h
michael.c
michael.h staging: vt6655: Fix C99 commenting style in michael.h 2013-10-19 14:51:05 -07:00
power.c
power.h
rc4.c
rc4.h
rf.c Staging: vt6655: Removal of Unused Function 2013-10-16 18:49:19 -07:00
rf.h
rxtx.c
rxtx.h
srom.c
srom.h
tcrc.c
tcrc.h
test
tether.c
tether.h
tkip.c Staging: vt6655: Fix Sparse Warning for Static Declarations in tkip.c 2013-10-27 06:52:31 -07:00
tkip.h
tmacro.h
ttype.h
upc.h
vntconfiguration.dat
vntwifi.c staging: vt6655: Remove commented out block with compare_ether_addr 2013-09-17 07:47:44 -07:00
vntwifi.h
wcmd.c staging: vt6655: vt6656: Fix typo in comments 2013-09-25 16:25:40 -07:00
wcmd.h
wctl.c Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
wctl.h
wmgr.c Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
wmgr.h
wpa.c Staging: vt6655: Fix Sparse Warning for Static Declarations in wpa.c 2013-10-27 06:52:31 -07:00
wpa.h
wpa2.c
wpa2.h
wpactl.c Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
wpactl.h
wroute.c staging: vt6655: Use NULL instead of 0 2013-10-11 15:36:31 -07:00
wroute.h staging: vt6655: Removed C99 style comments 2013-10-14 09:15:26 -07:00