diff --git a/CHANGES b/CHANGES index e09407e4ab..56e6b9e567 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +1057. [bug] Reloading the server after adding a "file" clause + to a zone statement could cause the server to + crash due to a typo in change 1016. + 1056. [bug] Rndc could catch an assertion failure on SIGINT due to an uninitialized variable. [RT #1908] diff --git a/bin/named/zoneconf.c b/bin/named/zoneconf.c index 3da7ba5a26..4c11220571 100644 --- a/bin/named/zoneconf.c +++ b/bin/named/zoneconf.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zoneconf.c,v 1.94 2001/10/11 01:55:01 gson Exp $ */ +/* $Id: zoneconf.c,v 1.95 2001/10/17 18:57:01 gson Exp $ */ #include @@ -632,7 +632,7 @@ ns_zone_reusable(dns_zone_t *zone, cfg_obj_t *zconfig) { cfilename = NULL; zfilename = dns_zone_getfile(zone); if (!((cfilename == NULL && zfilename == NULL) || - (cfilename != NULL && cfilename != NULL && + (cfilename != NULL && zfilename != NULL && strcmp(cfilename, zfilename) == 0))) return (ISC_FALSE);