2573. [bug] Replacing a non-CNAME record with a CNAME record in a

single transaction in a signed zone failed. [RT #19397]
This commit is contained in:
Mark Andrews
2009-03-05 04:57:40 +00:00
parent 97fa54f9ce
commit 7808280b34
2 changed files with 10 additions and 11 deletions
+3
View File
@@ -1,3 +1,6 @@
2573. [bug] Replacing a non-CNAME record with a CNAME record in a
single transaction in a signed zone failed. [RT #19397]
2568. [bug] Report when the write to indicate a otherwise
successful start fails. [RT #19360]
+7 -11
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rbtdb.c,v 1.270.12.3 2009/01/28 23:24:19 jinmei Exp $ */
/* $Id: rbtdb.c,v 1.270.12.4 2009/03/05 04:57:40 marka Exp $ */
/*! \file */
@@ -5235,19 +5235,15 @@ cname_and_other_data(dns_rbtnode_t *node, rbtdb_serial_t serial) {
* Look for active extant "other data".
*
* "Other data" is any rdataset whose type is not
* KEY, RRSIG KEY, NSEC, RRSIG NSEC or RRSIG CNAME.
* KEY, NSEC, SIG or RRSIG.
*/
rdtype = RBTDB_RDATATYPE_BASE(header->type);
if (rdtype == dns_rdatatype_rrsig ||
rdtype == dns_rdatatype_sig)
rdtype = RBTDB_RDATATYPE_EXT(header->type);
if (rdtype != dns_rdatatype_nsec &&
rdtype != dns_rdatatype_key &&
rdtype != dns_rdatatype_cname) {
if (rdtype != dns_rdatatype_key &&
rdtype != dns_rdatatype_sig &&
rdtype != dns_rdatatype_nsec &&
rdtype != dns_rdatatype_rrsig) {
/*
* We've found a type that isn't
* NSEC, KEY, CNAME, or one of their
* signatures. Is it active and extant?
* Is it active and extant?
*/
do {
if (header->serial <= serial &&