From 282858e217820b1fd6c39a149f4c64c3d9842bb0 Mon Sep 17 00:00:00 2001 From: Youngsoo Kim Date: Mon, 27 Aug 2018 18:29:16 +0900 Subject: [PATCH] [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 --- drivers/net/wireless/scsc/cfg80211_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1