[PATCH v2] Staging: rtl8723bs: rtw_wlan_util: Add size check of SSID IE

2020-04-21 Thread Denis Straghkov
Add size check of SSID information element in incoming 802.11 frames, to prevent memcpy() of IE in array bssid->Ssid.Ssid, with size more than 32 bytes. Signed-off-by: Denis Straghkov --- Changes in v2: - Replace spaces on tabs. .../staging/rtl8723bs/core/rtw_wlan_util.c|

[PATCH] Staging: rtl8723bs: rtw_wlan_util: Add size check of SSID IE

2020-04-21 Thread Denis Straghkov
Add size check of SSID information element in incoming 802.11 frames, to prevent memcpy() of IE in array bssid->Ssid.Ssid, with size more than 32 bytes. Signed-off-by: Denis Straghkov --- .../staging/rtl8723bs/core/rtw_wlan_util.c| 24 +++ 1 file changed, 9 insertions(+),