2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

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.
This commit is contained in:
Andreas Gustafsson
2001-10-17 18:57:01 +00:00
parent 42f61e5c46
commit 0cf9ce19cc
2 changed files with 6 additions and 2 deletions

View File

@@ -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]

View File

@@ -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 <config.h>
@@ -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);