diff --git a/CHANGES b/CHANGES index 2a52482057..98391a0bc2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +3220. [bug] Change #3186 was incomplete; dns_db_rpz_findips() + could fail to set the database version correctly, + causing an assertion failure. [RT #26180] + 3218. [security] Cache lookup could return RRSIG data associated with nonexistent records, leading to an assertion failure. [RT #26590] diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index 3b1a00f475..c6e329b333 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rbtdb.c,v 1.310.8.10 2011/11/16 09:56:56 marka Exp $ */ +/* $Id: rbtdb.c,v 1.310.8.11 2011/11/18 19:31:24 each Exp $ */ /*! \file */ @@ -4744,6 +4744,7 @@ rpz_findips(dns_rpz_zone_t *rpz, dns_rpz_type_t rpz_type, dns_db_attachnode(db, node, &st->m.node); } dns_db_attach(db, &st->m.db); + st->m.version = version; dns_zone_attach(zone, &st->m.zone); if (dns_rdataset_isassociated(&zrdataset)) dns_rdataset_disassociate(&zrdataset);