]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
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:04:31 +0000 (17:04 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 18 Mar 2026 17:04:31 +0000 (17:04 +0000)
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

Merge branch '5820-dns_dtenv-reference-bug-fix' into 'main'

See merge request isc-projects/bind9!11705


Trivial merge