bind9/lib/dns
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
..
include Make dns_catz_get_iterator() return void 2022-03-08 14:51:55 +01:00
rdata Return ISC_R_NOTIMPLEMENTED rather than ISC_R_UNEXPECTEDEND 2022-02-25 21:06:16 -08:00
tests Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-08 23:55:10 +01:00
.gitignore 4394. [func] Add rndc command "dnstap-reopen" to close and 2016-06-24 09:37:04 +10:00
acl.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
adb.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
badcache.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
byaddr.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
cache.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
callbacks.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
catz.c Refactor isc_timer_reset() use with semantic patch 2022-03-14 13:00:05 -07:00
client.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
clientinfo.c allow dns_clientinfo to store client ECS data 2022-01-27 13:53:59 -08:00
compress.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
db.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dbiterator.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
diff.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dispatch.c correct TCP error handling in dispatch and resolver 2022-02-17 09:59:12 +01:00
dlz.c Fix a memory leak in dns_dlzcreate() 2022-01-25 08:21:50 +00:00
dns64.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dnsrps.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dnssec.c remove error handling code around dns_dnsseckey_create() 2022-01-31 10:39:04 -08:00
dnstap.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dnstap.proto Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ds.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dst_api.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dst_internal.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dst_openssl.h Use autoconf check for BN_GENCB_new() 2022-03-02 10:48:09 +00:00
dst_parse.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dst_parse.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dyndb.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ecs.c allow dns_clientinfo to store client ECS data 2022-01-27 13:53:59 -08:00
fixedname.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
forward.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
gen.c Merge lib/dns/gen.h contents to lib/dns/gen.c 2022-03-04 14:13:58 +01:00
geoip2.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
gssapi_link.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
gssapictx.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
hmac_link.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ipkeylist.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
iptable.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
journal.c Use unsigned arithmetic when shifting by 24 2022-03-01 23:36:00 +00:00
kasp.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
key.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
keydata.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
keymgr.c remove error handling code around dns_dnsseckey_create() 2022-01-31 10:39:04 -08:00
keytable.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
lookup.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Merge lib/dns/gen.h contents to lib/dns/gen.c 2022-03-04 14:13:58 +01:00
master.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
masterdump.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
message.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
name.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ncache.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
nsec.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
nsec3.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
nta.c Refactor isc_timer_reset() use with semantic patch 2022-03-14 13:00:05 -07:00
openssl_link.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
openssl_shim.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
openssl_shim.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
openssldh_link.c Use autoconf check for BN_GENCB_new() 2022-03-02 10:48:09 +00:00
opensslecdsa_link.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
openssleddsa_link.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
opensslrsa_link.c Use autoconf check for BN_GENCB_new() 2022-03-02 10:48:09 +00:00
order.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
peer.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
private.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rbt.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rbtdb.c Skip calling find_coveringnsec if we found a DNAME 2022-03-16 22:11:49 +01:00
rbtdb.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rcode.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdata.c mem_maybedup() can no longer fail 2022-02-25 20:57:08 -08:00
rdatalist.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdatalist_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdataset.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdatasetiter.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdataslab.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
request.c Fix a function cleanup bug in dns_request_createraw 2022-03-07 11:24:09 +00:00
resolver.c Check if the fetch is shutting down in resume_dslookup() 2022-03-16 22:11:49 +01:00
result.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rootns.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rpz.c Refactor isc_timer_reset() use with semantic patch 2022-03-14 13:00:05 -07:00
rriterator.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rrl.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
sdb.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
sdlz.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
soa.c Use unsigned arithmetic when shifting by 24 2022-03-01 23:36:00 +00:00
ssu.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ssu_external.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stats.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
time.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tkey.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
transport.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tsec.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tsig.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tsig_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ttl.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
update.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
validator.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
view.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
xfrin.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zone.c Implement isc_interval_t on top of isc_time_t 2022-03-14 13:00:05 -07:00
zone_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zonekey.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zoneverify.c Make isc_heap_create() and isc_heap_insert() return void 2022-03-08 11:19:34 +01:00
zt.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00