projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix uninitialized variable in new resolv.conf parser
[oweals/musl.git]
/
src
/
network
/
resolvconf.c
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;