mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-29 23:53:48 -04:00
Fix a crash due to use-after-free (#38495)
(cherry picked from commitebeb4b3e09) (cherry picked from commitac1ccdd323) Conflicts: CHANGES
This commit is contained in:
parent
a4598f0df5
commit
972cbafea3
3 changed files with 4 additions and 3 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
4087. [bug] Fix a crash due to use-after-free due to sequencing
|
||||
of tasks actions. [RT #38495]
|
||||
|
||||
4085. [bug] ISC_PLATFORM_HAVEXADDQ could be inconsistently set.
|
||||
[RT #38828]
|
||||
|
||||
|
|
|
|||
|
|
@ -1479,6 +1479,7 @@ clean_finds_at_name(dns_adbname_t *name, isc_eventtype_t evtype,
|
|||
ev, task, find);
|
||||
|
||||
isc_task_sendanddetach(&task, (isc_event_t **)&ev);
|
||||
find->flags |= FIND_EVENT_SENT;
|
||||
} else {
|
||||
DP(DEF_LEVEL, "cfan: skipping find %p", find);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9744,9 +9744,6 @@ static void
|
|||
notify_destroy(dns_notify_t *notify, isc_boolean_t locked) {
|
||||
isc_mem_t *mctx;
|
||||
|
||||
/*
|
||||
* Caller holds zone lock.
|
||||
*/
|
||||
REQUIRE(DNS_NOTIFY_VALID(notify));
|
||||
|
||||
if (notify->zone != NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue