Commit 036305f0 authored by Evan Hunt's avatar Evan Hunt
Browse files

[master] race condition when reloading while resigning

4661.	[bug]		A race condition could occur if a zone was reloaded
			while resigning, triggering a crash in
			rbtdb.c:closeversion(). [RT #45276]
parent 5140501a
4661. [bug] A race condition could occur if a zone was reloaded
while resigning, triggering a crash in
rbtdb.c:closeversion(). [RT #45276]
4660. [bug] Remove spurious "peer" from Windows socket log 4660. [bug] Remove spurious "peer" from Windows socket log
messages. [RT #45617] messages. [RT #45617]
......
...@@ -6438,7 +6438,7 @@ zone_resigninc(dns_zone_t *zone) { ...@@ -6438,7 +6438,7 @@ zone_resigninc(dns_zone_t *zone) {
for (i = 0; i < nkeys; i++) for (i = 0; i < nkeys; i++)
dst_key_free(&zone_keys[i]); dst_key_free(&zone_keys[i]);
if (version != NULL) { if (version != NULL) {
dns_db_closeversion(zone->db, &version, ISC_FALSE); dns_db_closeversion(db, &version, ISC_FALSE);
dns_db_detach(&db); dns_db_detach(&db);
} else if (db != NULL) } else if (db != NULL)
dns_db_detach(&db); dns_db_detach(&db);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment