bind9/lib/dns/include
Ondřej Surý d76ab69772 Attach to the dns_dispatchmgr in the dns_view object
The dns_dispatchmgr object was only set in the dns_view object making it
prone to use-after-free in the dns_xfrin unit when shutting down named.

Remove dns_view_setdispatchmgr() and optionally pass the dispatchmgr
directly to dns_view_create() when it is attached and not just assigned,
so the dns_dispatchmgr doesn't cease to exist too early.

The dns_view_getdnsdispatchmgr() is now protected by the RCU lock, the
dispatchmgr reference is incremented, so the caller needs to detach from
it, and the function can return NULL in case the dns_view has been
already shut down.
2023-08-15 10:25:37 -07:00
..
dns Attach to the dns_dispatchmgr in the dns_view object 2023-08-15 10:25:37 -07:00
dst Refactor KSK processing 2023-07-20 12:40:52 +02:00
irs Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00