From: Wouter Wijngaards Date: Tue, 29 Aug 2017 07:31:45 +0000 (+0000) Subject: - zero qinfo in handle_request, this zeroes local_alias and also the X-Git-Tag: release-1.6.6rc1~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5a2cb359397f79eada6352841e62217b4e896c0;p=thirdparty%2Funbound.git - zero qinfo in handle_request, this zeroes local_alias and also the qname member. git-svn-id: file:///svn/unbound/trunk@4317 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/worker.c b/daemon/worker.c index a601a816f..683f93169 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -1009,6 +1009,7 @@ worker_handle_request(struct comm_point* c, void* arg, int error, struct query_info* lookup_qinfo = &qinfo; struct query_info qinfo_tmp; /* placeholdoer for lookup_qinfo */ struct respip_client_info* cinfo = NULL, cinfo_tmp; + memset(&qinfo, 0, sizeof(qinfo)); if(error != NETEVENT_NOERROR) { /* some bad tcp query DNS formats give these error calls */ diff --git a/doc/Changelog b/doc/Changelog index f37104e55..e6c8e1976 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,7 @@ 29 August 2017: Wouter - Fix #1414: fix segfault on parse failure and log_replies. + - zero qinfo in handle_request, this zeroes local_alias and also the + qname member. 28 August 2017: Wouter - Fix #1415: patch to free dnscrypt environment on reload.