bind9/lib
Aram Sargsyan f0f3370e14 Check if the fetch is shutting down in resume_dslookup()
The fetch can be in the shutting down state when resume_dslookup() is
trying to operate on it.

This is also a security issue, because a malicious actor can set up a
name server which delays certain queries in such a way that the fetch
will time out and shut down, which will cause named to crash.

Add a check to see if the fetch has the shutting down attribute set,
and cancel any further operations on it in such case.

A similar bug had been fixed earlier for the resume_qmin() function,
see [GL #966].
2022-03-16 22:11:49 +01:00
..
bind9 Remove the keep-response-order ACL map 2022-02-18 09:16:03 +01:00
dns Check if the fetch is shutting down in resume_dslookup() 2022-03-16 22:11:49 +01:00
irs Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
isc Run .closehandle_cb asynchrounosly in nmhandle_detach_cb() 2022-03-16 22:11:49 +01:00
isccc Use ISC_R_SHUTTINGDOWN to detect netmgr shutting down 2022-01-13 09:14:12 +01:00
isccfg Check dnssec-policy key roles for validity 2022-03-08 13:23:14 +11:00
ns Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-08 23:55:10 +01:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00
unit-test-driver.sh.in Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00