bind9/lib/dns
Tony Finch 3c333d02a0 More dns_qpkey_t safety checks
My original idea had been that the core qp-trie code would be mostly
independent of the storage for keys, so I did not make it check at run
time that key lengths are sensible. However, the qp-trie search
routines need to get keys out of leaf objects, for which they provide
storage on the stack, which is particularly dangerous for unchecked
buffer overflows. So this change checks that key lengths are in bounds
at the API boundary between the qp-trie code and the rest of BIND, and
there is no more pretence that keys might be longer.
2023-04-03 15:10:47 +00:00
..
include More dns_qpkey_t safety checks 2023-04-03 15:10:47 +00:00
rdata Replace DE_CONST(k, v) with v = UNCONST(k) macro 2023-04-03 10:25:56 +00:00
.gitignore 4394. [func] Add rndc command "dnstap-reopen" to close and 2016-06-24 09:37:04 +10:00
acl.c Add the reader-writer synchronization with modified C-RW-WP 2023-02-15 09:30:04 +01:00
adb.c Apply the semantic patch to remove isc_stdtime_get() 2023-03-31 13:32:56 +02:00
badcache.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
byaddr.c remove isc_task completely 2023-02-16 18:35:32 +01:00
cache.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
callbacks.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
catz.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
client.c add dns_view_addtrustedkey() 2023-03-28 12:38:27 -07:00
clientinfo.c refactor dns_clientinfo_init(); use separate function to set ECS 2023-02-07 23:48:22 -08:00
compress.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
db.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
dbiterator.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
diff.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
dispatch.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
dlz.c Add the reader-writer synchronization with modified C-RW-WP 2023-02-15 09:30:04 +01:00
dns64.c Add isc_rwlock around dns_aclenv .localhost and .localnets member 2022-04-04 19:27:00 +02:00
dnsrps.c import libdummyrpz test library for DNSRPS 2023-03-28 15:44:31 -07:00
dnssec.c Apply the semantic patch to remove isc_stdtime_get() 2023-03-31 13:32:56 +02:00
dnstap.c Replace DE_CONST(k, v) with v = UNCONST(k) macro 2023-04-03 10:25:56 +00:00
dnstap.proto Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ds.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 08:33:43 +01:00
dst_api.c Eliminate the dead code in dst_api.c 2023-04-03 14:09:13 +02:00
dst_internal.h Probe if ED448 and ED25519 are supported 2023-04-03 12:06:04 +10:00
dst_openssl.h Report file and line when converting OpenSSL errors 2023-04-03 12:06:04 +10:00
dst_parse.c Replace isc_fsaccess API with more secure file creation 2023-03-31 12:52:59 +00:00
dst_parse.h Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
dyndb.c switch to using isc_loopmgr_pause() instead of task exclusive 2023-02-16 17:51:55 +01:00
ecs.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
fixedname.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
forward.c Add the reader-writer synchronization with modified C-RW-WP 2023-02-15 09:30:04 +01:00
gen.c Remove unused support for fromwire(DNS_NAME_DOWNCASE) 2023-02-06 13:26:36 +00:00
geoip2.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
gssapi_link.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
gssapictx.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
hmac_link.c Test whether the crypto library supports the HMAC algorithm 2023-04-03 12:44:27 +10:00
ipkeylist.c remove nonfunctional DSCP implementation 2023-01-09 12:15:21 -08:00
iptable.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
journal.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
kasp.c Suppress duplicate digest types 2023-02-28 09:38:17 +01:00
key.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +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 do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
keytable.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
log.c remove {root-}delegation-only 2023-03-23 12:57:01 -07:00
Makefile.am Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
master.c Apply the semantic patch to remove isc_stdtime_get() 2023-03-31 13:32:56 +02:00
masterdump.c Apply the semantic patch to remove isc_stdtime_get() 2023-03-31 13:32:56 +02:00
message.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
name.c Squash dns_name_fullhash() and dns_name_hash() 2023-03-31 12:43:30 +00:00
ncache.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
nsec.c Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
nsec3.c Remove unused support for fromwire(DNS_NAME_DOWNCASE) 2023-02-06 13:26:36 +00:00
nta.c Apply the semantic patch to remove isc_stdtime_get() 2023-03-31 13:32:56 +02:00
openssl_link.c Report file and line when converting OpenSSL errors 2023-04-03 12:06:04 +10:00
openssl_shim.c Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
openssl_shim.h Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
opensslecdsa_link.c Introduce dst__openssl_keypair_{compare,isprivate,destroy} 2023-03-08 13:50:46 +01:00
openssleddsa_link.c Probe if ED448 and ED25519 are supported 2023-04-03 12:06:04 +10:00
opensslrsa_link.c Remove redundant NULL checks in OpenSSL RSA glue 2023-03-08 13:50:46 +01:00
order.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
peer.c remove nonfunctional DSCP implementation 2023-01-09 12:15:21 -08:00
private.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
qp.c More dns_qpkey_t safety checks 2023-04-03 15:10:47 +00:00
qp_p.h More dns_qpkey_t safety checks 2023-04-03 15:10:47 +00:00
rbt.c Squash dns_name_fullhash() and dns_name_hash() 2023-03-31 12:43:30 +00:00
rbtdb.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
rbtdb.h Remove remaining checks for rbt64 2022-05-03 00:41:42 +01:00
rcode.c Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
rdata.c Add additional contraints to dns_rdata_checksvcb 2023-03-08 21:47:14 +00:00
rdatalist.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
rdataset.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
rdatasetiter.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
rdataslab.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
remote.c remove nonfunctional DSCP implementation 2023-01-09 12:15:21 -08:00
request.c on connect error, send the actual result to the caller 2023-03-28 12:39:05 -07:00
resconf.c Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00
resolver.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
result.c Remove some remnants of bitstring labels 2023-02-06 13:22:30 +00:00
rootns.c Apply the semantic patch to remove isc_stdtime_get() 2023-03-31 13:32:56 +02:00
rpz.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
rriterator.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
rrl.c Squash dns_name_fullhash() and dns_name_hash() 2023-03-31 12:43:30 +00:00
sdlz.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
soa.c Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:33:43 +01:00
ssu.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
ssu_external.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
stats.c Remove obsolete code from dns_stats 2023-04-03 12:08:05 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
time.c Remove isc_stdtime_get() macro 2023-03-31 13:33:16 +02:00
tkey.c Apply the semantic patch to remove isc_stdtime_get() 2023-03-31 13:32:56 +02:00
transport.c Add the reader-writer synchronization with modified C-RW-WP 2023-02-15 09:30:04 +01:00
tsig.c Replace DE_CONST(k, v) with v = UNCONST(k) macro 2023-04-03 10:25:56 +00:00
tsig_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ttl.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
update.c Apply the semantic patch to remove isc_stdtime_get() 2023-03-31 13:32:56 +02:00
validator.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
view.c Replace DE_CONST(k, v) with v = UNCONST(k) macro 2023-04-03 10:25:56 +00:00
xfrin.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
zone.c Make checkds yes the default 2023-04-03 14:01:22 +00: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 sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
zoneverify.c Replace DE_CONST(k, v) with v = UNCONST(k) macro 2023-04-03 10:25:56 +00:00
zt.c remove isc_task completely 2023-02-16 18:35:32 +01:00