OpenCloudOS-Kernel/drivers/staging/rtl8188eu
Dan Carpenter 74b6b20df8 staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
This code has a check to prevent read overflow but it needs another
check to prevent writing beyond the end of the ->ssid[] array.

Fixes: a2c60d42d9 ("staging: r8188eu: Add files for new driver - part 16")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/YEHymwsnHewzoam7@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-10 09:23:30 +01:00
..
core staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data() 2021-03-10 09:23:30 +01:00
hal staging: rtl8188eu: clean up the useless code 2020-11-23 17:59:52 +01:00
include staging:r8188eu: use IEEE80211_FCTL_* kernel definitions 2021-02-13 22:37:50 +01:00
os_dep staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan() 2021-03-10 09:23:30 +01:00
Kconfig staging: rtl8188eu: use help instead of ---help--- in Kconfig 2019-05-20 10:49:07 +02:00
Makefile staging: rtl8188eu: rename odm_HWConfig 2018-10-02 15:20:40 -07:00
TODO staging: rtl8188eu: Fix spelling mistake 2018-08-27 19:29:39 +02:00