mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '3646-use-after-free-triggers-a-crash-in-reactivate_node' into 'main'
Don't cleanup the dead nodes when pruning the tree Closes #3646 See merge request isc-projects/bind9!7018
This commit is contained in:
commit
52cf8205a0
1 changed files with 0 additions and 6 deletions
|
|
@ -2254,12 +2254,6 @@ prune_tree(isc_task_t *task, isc_event_t *event) {
|
|||
decrement_reference(rbtdb, node, 0, &nlocktype, &tlocktype,
|
||||
true);
|
||||
|
||||
/*
|
||||
* We have both write locks, we might as well do a light
|
||||
* dead nodes cleaning.
|
||||
*/
|
||||
cleanup_dead_nodes(rbtdb, locknum);
|
||||
|
||||
if (parent != NULL && parent->down == NULL) {
|
||||
/*
|
||||
* node was the only down child of the parent and has
|
||||
|
|
|
|||
Loading…
Reference in a new issue