]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: dev: Take dns_dtenv_t reference before an async function call
authorArаm Sаrgsyаn <aram@isc.org>
Wed, 18 Mar 2026 17:44:23 +0000 (17:44 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 18 Mar 2026 17:44:23 +0000 (17:44 +0000)
commitbe7b811fffcae12c75390fb5e482f383f3e84c2e
tree7b001ec8c31f7ad951189d13ca7126fe674f538c
parentd270709b49964395ba73c6b948a130db201e4032
parent99b583592efe0bd4aecc5028bb2528db8447ad68
[9.20] fix: dev: Take dns_dtenv_t reference before an async function call

A 'dns_dtenv_t' pointer is passed to an async function without taking
a reference first, which can potentially cause a use-after-free error.
Take a reference, then detach in the async function.

Closes #5820

Backport of MR !11705

Merge branch 'backport-5820-dns_dtenv-reference-bug-fix-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11714