linux-stable/drivers/staging/rtl8192u
Dan Carpenter 87107518d7 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
We need to cap len at IW_ESSID_MAX_SIZE (32) to avoid memory corruption.
This can be controlled by the user via the ioctl.

Fixes: 5f53d8ca3d ("Staging: add rtl8192SU wireless usb driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/YEHoAWMOSZBUw91F@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-10 09:23:30 +01:00
..
ieee80211 staging: rtl8192u: Switch from strlcpy to strscpy 2021-02-04 17:16:07 +01:00
authors
changes
Kconfig staging: rtl819x: select CONFIG_CRC32 2021-01-05 15:27:22 +01:00
Makefile staging: rtl8192u: remove unneeded compiler flags 2020-01-10 13:28:15 +01:00
r819xU_cmdpkt.c staging: rtl8192u: clean up comparsions to NULL 2020-09-22 09:51:12 +02:00
r819xU_cmdpkt.h
r819xU_firmware.c staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r819xU_firmware.h
r819xU_firmware_img.c
r819xU_firmware_img.h staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r819xU_phy.c staging: rtl8192u: clean up comparsions to NULL 2020-09-22 09:51:12 +02:00
r819xU_phy.h
r819xU_phyreg.h staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r8180_93cx6.c
r8180_93cx6.h
r8190_rtl8256.c Staging: rtl8192u: use %s and __func__ 2021-01-26 18:44:55 +01:00
r8190_rtl8256.h
r8192U.h
r8192U_core.c staging: rtl8192u: Add null check in rtl8192_usb_initendpoints 2020-12-28 15:11:18 +01:00
r8192U_dm.c staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r8192U_dm.h
r8192U_hw.h staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r8192U_wx.c staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan() 2021-03-10 09:23:30 +01:00
r8192U_wx.h