linux_dsm_epyc7002/drivers/net/wireless
Dan Carpenter e186967865 mwifiex: Prevent memory corruption handling keys
The length of the key comes from the network and it's a 16 bit number.  It
needs to be capped to prevent a buffer overflow.

Fixes: 5e6e3a92b9 ("wireless: mwifiex: initial commit for Marvell mwifiex driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Ganapathi Bhat <ganapathi.bhat@nxp.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200708115857.GA13729@mwanda
2020-07-15 12:13:30 +03:00
..
admtek treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ath Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2020-06-15 20:18:39 +03:00
atmel treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
broadcom brcm80211: brcmsmac: Move LEDs to GPIO descriptors 2020-07-14 12:51:22 +03:00
cisco treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
intel First set of patches intended for v5.9 2020-06-15 20:23:23 +03:00
intersil Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-06-13 16:27:13 -07:00
marvell mwifiex: Prevent memory corruption handling keys 2020-07-15 12:13:30 +03:00
mediatek treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
microchip wilc1000: let wilc_mac_xmit() return NETDEV_TX_OK 2020-07-14 20:53:29 +03:00
quantenna One batch of changes, containing: 2020-05-26 20:17:35 -07:00
ralink treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
realtek rtw88: 8822c: add new RFE type 6 2020-07-15 12:11:31 +03:00
rsi treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
st treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ti wlcore: Remove pointless spinlock 2020-07-15 12:12:31 +03:00
zydas treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Kconfig wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
mac80211_hwsim.c mac80211_hwsim: report the WIPHY_FLAG_SUPPORTS_5_10_MHZ capability 2020-05-27 10:03:27 +02:00
mac80211_hwsim.h mac80211_hwsim: notify wmediumd of used MAC addresses 2020-04-24 11:45:47 +02:00
Makefile wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
ray_cs.c ray_cs: use true,false for bool variable 2020-05-06 11:33:23 +03:00
ray_cs.h
rayctl.h ray_cs: Replace zero-length array with flexible-array member 2020-03-23 19:18:27 +02:00
rndis_wlan.c rndis_wlan: Replace zero-length array with flexible-array 2020-05-12 11:56:55 +03:00
virt_wifi.c virt_wifi: implement ndo_get_iflink 2020-03-20 14:42:20 +01:00
wl3501_cs.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
wl3501.h wl3501_cs: Replace zero-length array with flexible-array member 2020-03-23 19:21:21 +02:00