3220. [bug] Change #3186 was incomplete; dns_db_rpz_findips()

could fail to set the database version correctly,
                        causing an assertion failure. [RT #26180]
This commit is contained in:
Evan Hunt
2011-11-18 19:31:24 +00:00
parent 38dd968919
commit 521101bc07
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -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]
+2 -1
View File
@@ -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);