From: Rich Felker Date: Fri, 29 Jan 2016 01:50:30 +0000 (-0500) Subject: fix uninitialized variable in new resolv.conf parser X-Git-Tag: v1.1.13~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dcad020c9cb450c61ece604d11941ef6e7945330;p=oweals%2Fmusl.git fix uninitialized variable in new resolv.conf parser --- diff --git a/src/network/resolvconf.c b/src/network/resolvconf.c index 7e4dbe21..2cf1f475 100644 --- 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;