2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Call dns_dbiterator_destroy earlier to prevent potential deadlock.

This commit is contained in:
Mark Andrews 2019-12-16 18:13:05 +11:00
parent dafb1eb8bb
commit 9d8f9cc8f2

View File

@ -15623,6 +15623,8 @@ receive_secure_db(isc_task_t *task, isc_event_t *event) {
dns_db_detachnode(db, &node);
}
dns_dbiterator_destroy(&dbiterator);
/*
* Call restore_nsec3param() to create private-type records from
* the old nsec3 parameters and insert them into db