projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d6e2e4
)
fix uninitialized variable in new resolv.conf parser
author
Rich Felker
<dalias@aerifal.cx>
Fri, 29 Jan 2016 01:50:30 +0000
(20:50 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 29 Jan 2016 01:50:30 +0000
(20:50 -0500)
src/network/resolvconf.c
patch
|
blob
|
history
diff --git
a/src/network/resolvconf.c
b/src/network/resolvconf.c
index 7e4dbe21a13e9519efe74f14736b50ae0baeb0cc..2cf1f47542ab50e38a4588dcb973793e4f308e5a 100644
(file)
--- a/
src/network/resolvconf.c
+++ b/
src/network/resolvconf.c
@@
-10,7
+10,7
@@
int __get_resolv_conf(struct resolvconf *conf, char *search, size_t search_sz)
char line[256];
unsigned char _buf[256];
FILE *f, _f;
- int nns;
+ int nns
= 0
;
conf->ndots = 1;
conf->timeout = 5;