linux/drivers/net/wireless/broadcom/b43legacy
Colin Ian King e3ae1c7720 b43legacy: fix unitialized reads of ret by initializing the array to zero
The u8 char array ret is not being initialized and elements outside
the range start to end contain just garbage values from the stack.
This results in a later scan of the array to read potentially
uninitialized values.  Fix this by initializing the array to zero.
This seems to have been an issue since the very first commit.

Detected by CoverityScan CID#139653 ("Uninitialized scalar variable")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Michael Buesch <m@bues.ch>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-09-20 15:41:08 +03:00
..
b43legacy.h
debugfs.c b43legacy: fix debugfs crash 2016-09-21 12:13:34 +02:00
debugfs.h
dma.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
dma.h
ilt.c
ilt.h
Kconfig
leds.c
leds.h
main.c wireless: Set NL80211_EXT_FEATURE_CQM_RSSI_LIST in multiple drivers 2017-03-06 09:21:39 +01:00
main.h
Makefile
phy.c
phy.h
pio.c
pio.h
radio.c b43legacy: fix unitialized reads of ret by initializing the array to zero 2017-09-20 15:41:08 +03:00
radio.h
rfkill.c
rfkill.h
sysfs.c
sysfs.h
xmit.c
xmit.h