Blame bind-9.5-transfer-segv.patch
|
Adam Tkac |
62d611 |
diff -up bind-9.5.0b1/lib/dns/rbtdb.c.segv bind-9.5.0b1/lib/dns/rbtdb.c
|
|
Adam Tkac |
bbeea4 |
--- bind-9.5.0b1/lib/dns/rbtdb.c.segv 2008-02-11 14:52:12.000000000 +0100
|
|
Adam Tkac |
bbeea4 |
+++ bind-9.5.0b1/lib/dns/rbtdb.c 2008-02-11 14:55:58.000000000 +0100
|
|
Adam Tkac |
bbeea4 |
@@ -1633,7 +1633,8 @@ decrement_reference(dns_rbtdb_t *rbtdb,
|
|
Adam Tkac |
bbeea4 |
"decrement_reference: "
|
|
Adam Tkac |
bbeea4 |
"dns_rbt_deletenode: %s",
|
|
Adam Tkac |
bbeea4 |
isc_result_totext(result));
|
|
Adam Tkac |
bbeea4 |
- } else if (dns_rbtnode_refcurrent(node) == 0) {
|
|
Adam Tkac |
bbeea4 |
+ } else if (rbtdb->deadnodes != NULL &&
|
|
Adam Tkac |
bbeea4 |
+ dns_rbtnode_refcurrent(node) == 0) {
|
|
Adam Tkac |
bbeea4 |
INSIST(!ISC_LINK_LINKED(node, deadlink));
|
|
Adam Tkac |
bbeea4 |
ISC_LIST_APPEND(rbtdb->deadnodes[bucket], node, deadlink);
|
|
Adam Tkac |
62d611 |
}
|