From: W.C.A. Wijngaards Date: Mon, 17 Jun 2019 12:15:36 +0000 (+0200) Subject: - Fix for #24: Fix abort due to scan of auth zone masters using old X-Git-Tag: release-1.9.3rc1~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf2307ca971f31db6820296b95a74fe1fc0481c5;p=thirdparty%2Funbound.git - Fix for #24: Fix abort due to scan of auth zone masters using old address from previous scan. --- diff --git a/doc/Changelog b/doc/Changelog index 3215249c1..6d67cc166 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,8 @@ 17 June 2019: Wouter - Master contains version 1.9.3 in development. - Fix #39: In libunbound, leftover logfile is close()d unpredictably. + - Fix for #24: Fix abort due to scan of auth zone masters using old + address from previous scan. 12 June 2019: Wouter - Fix another spoolbuf storage code point, in prefetch. diff --git a/services/authzone.c b/services/authzone.c index 1426f423a..312abad8b 100644 --- a/services/authzone.c +++ b/services/authzone.c @@ -3698,6 +3698,7 @@ static void xfr_transfer_start_lookups(struct auth_xfer* xfr) { /* delete all the looked up addresses in the list */ + xfr->task_transfer->scan_addr = NULL; xfr_masterlist_free_addrs(xfr->task_transfer->masters); /* start lookup at the first master */ @@ -3728,6 +3729,7 @@ static void xfr_probe_start_lookups(struct auth_xfer* xfr) { /* delete all the looked up addresses in the list */ + xfr->task_probe->scan_addr = NULL; xfr_masterlist_free_addrs(xfr->task_probe->masters); /* start lookup at the first master */