From: Wouter Wijngaards Date: Thu, 26 Apr 2018 06:59:49 +0000 (+0000) Subject: - Fix for crash in daemon_cleanup with dnstap during reload, X-Git-Tag: release-1.7.1rc1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2951f21dabae4b6d27c1ff9487888c289c66f556;p=thirdparty%2Funbound.git - Fix for crash in daemon_cleanup with dnstap during reload, from Saksham Manchanda. - Also that for dnscrypt. git-svn-id: file:///svn/unbound/trunk@4663 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/daemon.c b/daemon/daemon.c index f68bd981b..85ae1e0a1 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -706,9 +706,11 @@ daemon_cleanup(struct daemon* daemon) daemon->num = 0; #ifdef USE_DNSTAP dt_delete(daemon->dtenv); + daemon->dtenv = NULL; #endif #ifdef USE_DNSCRYPT dnsc_delete(daemon->dnscenv); + daemon->dnscenv = NULL; #endif daemon->cfg = NULL; } diff --git a/doc/Changelog b/doc/Changelog index c48609b97..6e404cdf9 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,8 @@ +26 April 2018: Wouter + - Fix for crash in daemon_cleanup with dnstap during reload, + from Saksham Manchanda. + - Also that for dnscrypt. + 25 April 2018: Ralph - Fix memory leak when caching wildcard records for aggressive NSEC use