lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 1 Sep 2014 07:54:27 -0400 From: Shakil A Khan <shakilk1729@...il.com> To: linux-wireless@...r.kernel.org Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org, davem@...emloft.net, linville@...driver.com, johannes@...solutions.net, Shakil A Khan <shakilk1729@...il.com> Subject: [PATCH 2/2] nl80211.c: Fixed the wdev_id being used uninitialized. Signed-off-by: Shakil A Khan <shakilk1729@...il.com> --- net/wireless/nl80211.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index df7b133..6cd7df2 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -76,7 +76,7 @@ __cfg80211_wdev_from_attrs(struct net *netns, struct nlattr **attrs) struct wireless_dev *result = NULL; bool have_ifidx = attrs[NL80211_ATTR_IFINDEX]; bool have_wdev_id = attrs[NL80211_ATTR_WDEV]; - u64 wdev_id; + u64 wdev_id = 0; int wiphy_idx = -1; int ifidx = -1; -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists