projects
/
project
/
iwinfo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
813f61e
)
nl80211: fix possible unitialized memory access in nl80211_get_hardware_id()
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 29 Oct 2015 09:40:40 +0000
(10:40 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 29 Oct 2015 09:40:40 +0000
(10:40 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
iwinfo_nl80211.c
patch
|
blob
|
history
diff --git
a/iwinfo_nl80211.c
b/iwinfo_nl80211.c
index
a65ed1e
..
4add5f4
100644
(file)
--- a/
iwinfo_nl80211.c
+++ b/
iwinfo_nl80211.c
@@
-2698,7
+2698,7
@@
static int nl80211_get_mbssid_support(const char *ifname, int *buf)
static int nl80211_get_hardware_id(const char *ifname, char *buf)
{
- int rv;
+ int rv
= -1
;
char *res;
/* Got a radioX pseudo interface, find some interface on it or create one */