linux_dsm_epyc7002/drivers/net/wireless/marvell
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
..
libertas treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
libertas_tf treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
mwifiex mwifiex: Prevent memory corruption handling keys 2020-07-15 12:13:30 +03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mwl8k.c mwl8k: Replace zero-length array with flexible-array 2020-05-12 11:55:22 +03:00