From: Mark Andrews Date: Thu, 18 Oct 2001 00:38:38 +0000 (+0000) Subject: 1057. [bug] Reloading the server after adding a "file" clause X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a060b4096d81671a970a5545b1d57f86acc3b1ce;p=thirdparty%2Fbind9.git 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. --- diff --git a/CHANGES b/CHANGES index a387c6c746c..b87726a0ffc 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. + 1052. [bug] Journals were not being created in binary mode resulting in "journal format not recognized" error under Windows NT/2000. [RT #1889] diff --git a/bin/named/zoneconf.c b/bin/named/zoneconf.c index 78d3a51141b..f60c0173943 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.78.2.2 2001/09/26 03:42:41 marka Exp $ */ +/* $Id: zoneconf.c,v 1.78.2.3 2001/10/18 00:38:38 marka Exp $ */ #include @@ -507,7 +507,7 @@ ns_zone_reusable(dns_zone_t *zone, dns_c_zone_t *czone) { (void) dns_c_zone_getfile(czone, &cfilename); 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);