]> git.ipfire.org Git - thirdparty/bind9.git/commit
Address use after free between view, resolver and nta.
authorMark Andrews <marka@isc.org>
Fri, 7 Aug 2020 08:00:41 +0000 (18:00 +1000)
committerMark Andrews <marka@isc.org>
Tue, 11 Aug 2020 01:00:49 +0000 (11:00 +1000)
commit0b2555e8cfc187cb481080c06229a4eac416355d
tree8b3d1e6077620cdc8755843b1c780067cfb52b21
parentf9537a6f2ac28ffe4c75d32f8aa865cf48b437c3
Address use after free between view, resolver and nta.

Hold a weak reference to the view so that it can't go away while
nta is performing its lookups.  Cancel nta timers once all external
references to the view have gone to prevent them triggering new work.
CHANGES
doc/man/dnssec-importkey.1in
lib/dns/include/dns/nta.h
lib/dns/nta.c
lib/dns/view.c
lib/dns/win32/libdns.def.in