linux/drivers/net/wireless/brcm80211/brcmsmac
Dan Carpenter c0fb754bd8 brcmsmac: NULL dereferences in brcms_c_detach_mfree()
The brcms_c_attach_malloc() function can call this with a NULL
"wlc->corestate" or "wlc->hw".

Also I threw in a bonus cleanup by deleting an obvious comment and a
no-op NULL assignment.  :)

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-12-01 15:57:21 -05:00
..
phy brcm80211: use container_of to resolve brcms_phy from brcms_phy_pub 2014-09-15 15:00:53 -04:00
aiutils.c brcmsmac: use bcma PCIe up and down functions 2013-08-26 14:09:03 -04:00
aiutils.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
ampdu.c
ampdu.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
antsel.c
antsel.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
brcms_trace_events.c
brcms_trace_events.h
channel.c brcm80211: fix usage of freq_reg_info() 2013-12-05 14:54:49 -05:00
channel.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
d11.h
debug.c brcmsmac: extend hardware info shown in debugfs 2014-12-01 15:57:20 -05:00
debug.h
dma.c brcm80211: use container_of to resolve dma_info from dma_pub 2014-09-15 15:00:53 -04:00
dma.h
led.c
led.h
mac80211_if.c mac80211: allow drivers to support NL80211_SCAN_FLAG_RANDOM_ADDR 2014-11-19 18:46:09 +01:00
mac80211_if.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
main.c brcmsmac: NULL dereferences in brcms_c_detach_mfree() 2014-12-01 15:57:21 -05:00
main.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
Makefile
phy_shim.c
phy_shim.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
pmu.c
pmu.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
pub.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
rate.c
rate.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
scb.h
stf.c
stf.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
types.h
ucode_loader.c
ucode_loader.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00