linux_dsm_epyc7002/drivers/net/wireless/broadcom
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
..
b43 b43: fix unitialized reads of ret by initializing the array to zero 2017-09-20 15:41:07 +03:00
b43legacy b43legacy: fix unitialized reads of ret by initializing the array to zero 2017-09-20 15:41:08 +03:00
brcm80211 brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices 2017-09-08 12:25:24 +03:00
Kconfig brcm80211: move under broadcom vendor directory 2015-11-18 11:24:22 +02:00
Makefile brcm80211: move under broadcom vendor directory 2015-11-18 11:24:22 +02:00