From: Wouter Wijngaards Date: Fri, 29 Oct 2010 10:20:40 +0000 (+0000) Subject: - Fix uninit value in dump_infra print. X-Git-Tag: release-1.4.7rc1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba340cd07adeb7a21a6333b8a1f7cb2df483c5fb;p=thirdparty%2Funbound.git - Fix uninit value in dump_infra print. git-svn-id: file:///svn/unbound/trunk@2320 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/remote.c b/daemon/remote.c index fb79722ef..4b10735fd 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -1534,7 +1534,7 @@ dump_infra_lame(struct lruhash_entry* e, void* arg) struct infra_lame_key* k = (struct infra_lame_key*)e->key; struct infra_lame_data* d = (struct infra_lame_data*)e->data; ldns_rdf* rdf; - size_t pos; + size_t pos = 0; char* nm; /* skip expired */ if(d->ttl < a->now) { diff --git a/doc/Changelog b/doc/Changelog index a94467cc1..87a1f1ac2 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +27 October 2010: Wouter + - Fix uninit value in dump_infra print. + 26 October 2010: Wouter - dump_infra and flush_infra commands for unbound-control. - no timeout backoff if meanwhile a query succeeded.