]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4095. [bug] zone->options2 was not being properly initalized.
authorMark Andrews <marka@isc.org>
Fri, 10 Apr 2015 22:04:02 +0000 (08:04 +1000)
committerMark Andrews <marka@isc.org>
Fri, 10 Apr 2015 22:04:02 +0000 (08:04 +1000)
                        [RT #39228]

CHANGES
lib/dns/zone.c

diff --git a/CHANGES b/CHANGES
index 668eb23180f390b4e5639494b25108e5679db88c..5c43c010b87bc3c1435ccee587718f031ab1efe6 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+4095.  [bug]           zone->options2 was not being properly initalized.
+                       [RT #39228]
+
 4094.  [bug]           A race during shutdown or reconfiguration could
                        cause an assertion in mem.c. [RT #38979]
 
index 73f4221f39d9a2106207f87a58a3ecec4ae966f8..e674ac9cf95ac716b0340553c1fd53d88170f032 100644 (file)
@@ -936,6 +936,7 @@ dns_zone_create(dns_zone_t **zonep, isc_mem_t *mctx) {
        zone->type = dns_zone_none;
        zone->flags = 0;
        zone->options = 0;
+       zone->options2 = 0;
        zone->keyopts = 0;
        zone->db_argc = 0;
        zone->db_argv = NULL;