From bc8ca96401269b0977107d774336c5e1e749d909 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Wed, 11 Apr 2018 10:30:23 -0500 Subject: [PATCH] rtl8188eu: Fix out-of-bounds reference Signed-off-by: Larry Finger --- core/rtw_wlan_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rtw_wlan_util.c b/core/rtw_wlan_util.c index fe9372b..e97b694 100644 --- a/core/rtw_wlan_util.c +++ b/core/rtw_wlan_util.c @@ -2003,7 +2003,7 @@ void update_bmc_sta_support_rate(struct adapter *padapter, u32 mac_id) } else { - memcpy((pmlmeinfo->FW_sta_info[mac_id].SupportedRates), rtw_basic_rate_ofdm, 4); + memcpy((pmlmeinfo->FW_sta_info[mac_id].SupportedRates), rtw_basic_rate_ofdm, 3); } }