[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]
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
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
|
||||
messages. [RT #45617]
|
||||
|
||||
|
||||
+1
-1
@@ -6438,7 +6438,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
for (i = 0; i < nkeys; i++)
|
||||
dst_key_free(&zone_keys[i]);
|
||||
if (version != NULL) {
|
||||
dns_db_closeversion(zone->db, &version, ISC_FALSE);
|
||||
dns_db_closeversion(db, &version, ISC_FALSE);
|
||||
dns_db_detach(&db);
|
||||
} else if (db != NULL)
|
||||
dns_db_detach(&db);
|
||||
|
||||
Reference in New Issue
Block a user