]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix for #24: Fix abort due to scan of auth zone masters using old
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 17 Jun 2019 12:15:36 +0000 (14:15 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 17 Jun 2019 12:15:36 +0000 (14:15 +0200)
  address from previous scan.

doc/Changelog
services/authzone.c

index 3215249c1f6713afcbd0905087752571c0e93bc8..6d67cc166d45a4e733b08fe80d7d3e07d8f00dc3 100644 (file)
@@ -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.
index 1426f423a1b2e193fffe5af114525faf7129a54f..312abad8beb1ac9b1b32fc7b5c6824d239d8daa6 100644 (file)
@@ -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 */