bind9/tests
Ondřej Surý bff3025396 Resolve violation of weak referencing dns_view
The dns_view implements weak and strong reference counting.  When strong
reference counting reaches zero, the adb, ntatable and resolver objects
are shut down and detached.

In dns_zone and dns_nta the dns_view was weakly attached, but the
view->resolver reference was accessed directly leading to dereferencing
the NULL pointer.

Add dns_view_getresolver() method which attaches to view->resolver
object under the lock (if it still exists) ensuring the dns_resolver
will be kept referenced until not needed.
2022-10-05 11:59:36 -07:00
..
bench Suppress division by zero warning 2022-10-05 12:31:42 +01:00
dns Resolve violation of weak referencing dns_view 2022-10-05 11:59:36 -07:00
include/tests Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
isc Replace isc_mem_*_aligned(..., alignment) with isc_mem_*x(..., flags) 2022-10-05 16:44:05 +02:00
isccfg Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
libtest Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
ns Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Tests and benchmark for isc_ascii 2022-09-12 12:23:39 +01:00
unit-test-driver.sh.in Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00