]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix a use-after-free bug in dns_xfrin_create()
authorAram Sargsyan <aram@isc.org>
Thu, 13 Apr 2023 14:42:29 +0000 (14:42 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Fri, 14 Apr 2023 07:39:38 +0000 (07:39 +0000)
commitd8a207bd00bee66bb8e6cec56048f3b501267e0d
treeafff1a58021145c05d546dae776233bfabdc0176
parent172c678f2b8910098cbef7358b7ae93c31220904
Fix a use-after-free bug in dns_xfrin_create()

'xfr' is used after detaching the only reference, which would
have destroyed the object.

Call dns_xfrin_detach() only after the final use of 'xfr'.
lib/dns/xfrin.c