linux/drivers/net/wireless/ti
Lee Gibson c5e4a10d7b wl1251: Fix possible buffer overflow in wl1251_cmd_scan
[ Upstream commit d10a87a353 ]

Function wl1251_cmd_scan calls memcpy without checking the length.
Harden by checking the length is within the maximum allowed size.

Signed-off-by: Lee Gibson <leegib@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210428115508.25624-1-leegib@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-19 09:44:50 +02:00
..
wl12xx wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP 2021-07-19 09:44:50 +02:00
wl18xx treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
wl1251 wl1251: Fix possible buffer overflow in wl1251_cmd_scan 2021-07-19 09:44:50 +02:00
wlcore wlcore: Fix buffer overrun by snprintf due to incorrect buffer size 2021-05-14 09:50:42 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wilink_platform_data.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00