bind9/lib/dns
Aram Sargsyan 5f28dfbb64 Fix a bug in xfrin.c:xfrin_connect_done()
When the connect callback's result is ISC_R_SUCCESS and the callback
changes the result because of some condition, the 'xfr' should not
be detached, because it now belongs to the receive callback.

Detach the reference only if the callback's result is non-success.

(cherry picked from commit fb27599b58)
2026-06-12 15:37:29 +00:00
..
include Add "warn_unused_result" to attributes.h 2026-06-04 09:49:41 -07:00
rdata Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
.gitignore Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
acl.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 08:08:23 +02:00
adb.c Disable UPDATE and NOTIFY for non-IN classes 2026-05-07 13:09:18 +02:00
badcache.c Improve the badcache cleaning by adding LRU and using RCU 2024-11-27 17:07:03 +00:00
byaddr.c Use clang-format-20 to update formatting 2025-06-25 13:32:08 +10:00
cache.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
callbacks.c add setup/commit functions to rdatacallbacks 2024-03-08 15:36:56 -08:00
catz.c Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
client.c Fix memory context leak in dns_client_resolve() error path 2026-03-16 10:50:22 +01:00
clientinfo.c refactor dns_clientinfo_init(); use separate function to set ECS 2023-02-07 23:48:22 -08:00
compress.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
db.c Fix assertion failure in dns_db_findrdataset() for SIG records 2026-04-17 19:24:13 +02:00
db_p.h Rewrite the GLUE cache in QP zone database 2025-01-06 14:00:47 +01:00
dbiterator.c Implement dns_dbiterator_seek3 2025-12-11 13:53:25 +01:00
diff.c Remove name boundary optimization 2026-06-01 13:49:55 +02:00
dispatch.c Switch UDP fetches to TCP on the first response with a wrong query id 2026-05-15 08:49:19 +02:00
dlz.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dns64.c Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
dnsrps.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dnssec.c Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
dnstap.c Take 'env' reference before async calling perform_reopen() 2026-03-18 17:04:56 +00:00
dnstap.proto Update the dnstap protobuf definition 2024-04-26 16:08:46 +03:00
ds.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dst_api.c Enforce strict RSA DNSKEY shape during DNSSEC validation 2026-06-08 20:54:22 +02:00
dst_internal.h Enforce strict RSA DNSKEY shape during DNSSEC validation 2026-06-08 20:54:22 +02:00
dst_openssl.h Report file and line when converting OpenSSL errors 2023-04-03 12:06:04 +10:00
dst_parse.c Use isc__zero_or_more when calling isc_base64_tobuffer 2026-01-28 08:02:06 +11:00
dst_parse.h Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
dyndb.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
ecs.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ede.c Don't copy EDE codes if source is same as destination 2025-04-02 16:42:23 +00:00
fixedname.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
forward.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
gen.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
geoip2.c Fix 'geoip' ACL matching bug 2026-06-11 16:15:45 +00:00
gssapi_link.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
gssapictx.c Fix output token and GSS context leaks in TKEY/GSS-API error paths 2026-05-07 13:09:18 +02:00
hmac_link.c Size HMAC key generation buffers to the maximum block size 2026-04-30 06:00:07 +02:00
ipkeylist.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
iptable.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
journal.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
kasp.c Implement named-checkconf -k (check keys) 2025-09-29 15:13:26 +02:00
key.c Don't check DNS_KEYFLAG_NOAUTH 2025-03-24 23:52:02 -07:00
keydata.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
keymgr.c Make keymgr state machine more robust 2025-12-05 13:22:00 +01:00
keystore.c Fix log level bug in keystore 2026-02-25 16:27:29 +00:00
keytable.c Fix rwlock type mismatch in delete_ds() error path 2026-03-17 23:25:21 +01:00
log.c remove {root-}delegation-only 2023-03-23 12:57:01 -07:00
Makefile.am Add support for parsing DSYNC scheme mnemonics 2025-08-06 13:13:34 +10:00
master.c Fix data race in async master dump/load context publication 2026-05-14 06:53:23 +00:00
masterdump.c Fix data race in async master dump/load context publication 2026-05-14 06:53:23 +00:00
message.c Reject malformed RRSIG records 2026-05-28 09:51:27 +02:00
name.c Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
nametree.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ncache.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
nsec.c Drop single-use RETERR macro 2024-12-10 08:47:25 +00:00
nsec3.c Don't create NSEC3 nodes for unsigned delegations 2025-12-11 13:53:25 +01:00
nta.c Hold a reference to the NTA table for the lifetime of each NTA 2026-05-06 09:33:11 +02:00
openssl_link.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
openssl_shim.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
openssl_shim.h Enforce strict RSA DNSKEY shape during DNSSEC validation 2026-06-08 20:54:22 +02:00
opensslecdsa_link.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
openssleddsa_link.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
opensslrsa_link.c Enforce strict RSA DNSKEY shape during DNSSEC validation 2026-06-08 20:54:22 +02:00
order.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
peer.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
private.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
probes.d Do not destroy IXFR journal in xfrin_end() 2023-12-20 17:21:14 +01:00
qp.c Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
qp_p.h Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
qpcache.c Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
qpcache_p.h rename qpdb to qpcache 2024-03-08 15:36:56 -08:00
qpzone.c Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
qpzone_p.h stub dns_qpmulti-based zone database implementation 2024-03-06 20:57:31 -08:00
rbt-cachedb.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
rbt-zonedb.c Fix formatting 2026-02-02 10:32:38 +01:00
rbt.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
rbtdb.c Fix memory leak in QPcache addnoqname/addclosest mechanism 2026-03-13 13:22:23 +01:00
rbtdb_p.h Expand the usage of mark_ancient() helper functions 2025-02-03 15:53:34 +01:00
rcode.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
rdata.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
rdatalist.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rdataset.c Move setresign to rdataset.c and rename it 2026-01-29 09:13:02 +01:00
rdatasetiter.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rdataslab.c Reject oversized RRsets at slab construction 2026-05-05 19:24:29 +02:00
remote.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
request.c Use sequential per-dispatch message IDs for TCP 2026-05-06 15:05:48 +02:00
resconf.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
resolver.c Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
result.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rootns.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rpz.c Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
rriterator.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rrl.c Fix spelling typos in comments and code 2026-06-01 15:04:31 +00:00
sdlz.c Implement dns_dbiterator_seek3 2025-12-11 13:53:25 +01:00
skr.c Importing invalid SKR file might overflow the stack buffer 2026-02-24 18:45:41 +00:00
soa.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ssu.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ssu_external.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
stats.c Use clang-format-20 to update formatting 2025-06-25 13:32:08 +10:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
time.c Use clang-format-22 to update formatting 2026-03-04 12:18:27 +01:00
tkey.c Fix use-after-free in concurrent dns_tsigkey_delete() 2026-05-28 11:05:34 +02:00
transport.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
tsig.c Fix use-after-free in concurrent dns_tsigkey_delete() 2026-05-28 11:05:34 +02:00
tsig_p.h remove dns__tsig_algallocated() 2023-06-14 08:14:38 +00:00
ttl.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
update.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
validator.c Detect non-advancing alias chains in the validator 2026-05-30 06:13:58 +02:00
view.c Convert dns_dtenv_t reference counting to standard macors 2026-03-18 17:04:56 +00:00
xfrin.c Fix a bug in xfrin.c:xfrin_connect_done() 2026-06-12 15:37:29 +00:00
zone.c Keep our key on update removing DNSKEY RRset 2026-06-11 14:42:41 +00:00
zone_p.h Refactor findzonekeys 2024-01-25 14:48:07 +01:00
zonekey.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
zoneverify.c Use the correct maximal compressed bit map buffer size 2026-04-10 06:23:53 +00:00
zt.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00