479. [func] The test suite can now be run by typing "make check"
or "make test" at the top level.
+ 476. [bug] A zone could expire while a zone transfer was in
+ progress triggering a INSIST failure. [RT #329]
+
475. [bug] query_getzonedb() sometimes returned a non-null version
on failure. This caused assertion failures when
generating query responses where names subject to
* SOFTWARE.
*/
-/* $Id: zone.c,v 1.152.2.12 2000/09/14 20:45:16 gson Exp $ */
+/* $Id: zone.c,v 1.152.2.13 2000/09/21 10:10:05 marka Exp $ */
#include <config.h>
zone->flags |= DNS_ZONEFLG_NEEDNOTIFY;
/*FALLTHROUGH*/
case DNS_R_UPTODATE:
+ /*
+ * Has the zone expired underneath us?
+ */
+ if (zone->db == NULL)
+ goto same_master;
/*
* This is not neccessary if we just performed a AXFR
* however it is necessary for an IXFR / UPTODATE and
default:
zone->curmaster++;
+ same_master:
if (zone->curmaster >= zone->masterscnt)
zone->curmaster = 0;
else {