linux/drivers/staging/rtl8192u
Dan Carpenter a311b6a7f0 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
commit 87107518d7a93fec6cdb2559588862afeee800fb upstream.

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-17 17:03:53 +01:00
..
ieee80211 staging: rtl8192u: Do not use GFP_KERNEL in atomic context 2020-10-29 09:57:36 +01:00
Kconfig staging: rtl8192u: ieee80211: ieee80211_crypt_ccmp.c: Use crypto API ccm(aes) 2019-08-18 08:51:11 +02:00
Makefile
authors
changes
copying
r819xU_cmdpkt.c
r819xU_cmdpkt.h
r819xU_firmware.c staging: rtl8192u: Fix indentation 2019-08-28 22:22:13 +02:00
r819xU_firmware.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_phy.c staging: rtl8192u: remove code under TO_DO_LIST 2019-08-25 10:27:39 +02:00
r819xU_phy.h
r819xU_phyreg.h
r8180_93cx6.c staging: rtl8192u: Add space around binary operators 2019-08-25 10:27:39 +02:00
r8180_93cx6.h
r8190_rtl8256.c staging: rtl8192u: Add or remove blank lines as required 2019-08-27 19:01:26 +02:00
r8190_rtl8256.h
r8192U.h
r8192U_core.c staging: rtl8192u: fix a dubious looking mask before a shift 2020-08-19 08:16:13 +02:00
r8192U_dm.c drivers/staging/rtl8192u: fix indentation issue, remove extra tab 2019-07-25 09:58:26 +02:00
r8192U_dm.h staging: rtl8192u: Remove function dm_backup_dynamic_mechanism_state() 2019-07-01 09:11:23 +02:00
r8192U_hw.h staging: rtl8192u: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00
r8192U_wx.c staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan() 2021-03-17 17:03:53 +01:00
r8192U_wx.h staging: rtl8192u: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00