From: Youngsoo Kim Date: Mon, 27 Aug 2018 09:29:16 +0000 (+0900) Subject: [9610] wlbt: fix prevent issue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dd5603e6a2be15faafa79f9522bac505e9191ecc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] wlbt: fix prevent issue CID 237209 Uninitialized pointer read (UNINIT) 35. uninit_use_in_call: Using uninitialized value ht_operation_ie when calling slsi_modify_ies_on_channel_switch. Change-Id: Id1913c5a9b92e4ec77c7ecac4ea21e1d82a0633c --- diff --git a/drivers/net/wireless/scsc/cfg80211_ops.c b/drivers/net/wireless/scsc/cfg80211_ops.c index 54bf3a13f840..d481bba93f9d 100755 --- a/drivers/net/wireless/scsc/cfg80211_ops.c +++ b/drivers/net/wireless/scsc/cfg80211_ops.c @@ -1876,7 +1876,7 @@ int slsi_start_ap(struct wiphy *wiphy, struct net_device *dev, u8 *ds_params_ie = NULL; struct ieee80211_mgmt *mgmt; u16 beacon_ie_head_len; - u8 *ht_operation_ie; + u8 *ht_operation_ie = NULL; struct netdev_vif *ndev_sta_vif; #endif struct ieee80211_channel *channel = NULL;