bind9/lib/dns/tests
Michał Kępień ec8334fb74 Properly detect MMDB lookup failures
Only comparing the value of the integer passed as the last argument to
MMDB_lookup_sockaddr() against MMDB_SUCCESS is not enough to ensure that
an MMDB lookup was successful - the 'found_entry' field of the
MMDB_lookup_result_s structure returned by that function also needs to
be true or else the remaining contents of that structure should be
ignored as the lookup failed.  Extend the relevant logical condition in
get_entry_for() to ensure the latter does not return incorrect MMDB
entries for IP addresses which do not belong to any subnet defined in a
given GeoIP2 database.
2020-01-13 14:32:19 +01:00
..
testdata check flags for no key in fromwire for *KEY 2019-04-09 13:55:30 +10:00
testkeys Add a framework for dns__zone_updatesigs() unit tests 2018-05-09 13:32:09 +02:00
.gitignore Add lib/dns/tests/testdata/dnstap/dnstap.file to .gitignore 2018-12-11 11:32:24 +01:00
acl_test.c Change the (acl)->node_count macro to dns_acl_node_count(acl) macro to clean the global namespace 2019-12-06 15:47:39 +01:00
db_test.c Use the semantic patch to change the usage isc_mem_create() to new API 2019-09-12 09:26:09 +02:00
dbdiff_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
dbiterator_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
dbversion_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
dh_test.c Unify header ordering in unit tests 2019-07-30 21:25:15 +02:00
dispatch_test.c Convert global variables to atomic to prevent possible data race 2019-10-02 12:09:44 +02:00
dnstap_test.c Refactor the dns_dt API to use ISC_THREAD_LOCAL 2019-12-03 16:27:30 +01:00
dnstest.c optionally associate a netmgr with a task manager when creating 2019-11-07 11:55:37 -08:00
dnstest.h Rename mctx in dnstest.c to dt_mctx to prevent any global/local name clashes 2019-06-19 13:52:19 +02:00
dst_test.c Unify header ordering in unit tests 2019-07-30 21:25:15 +02:00
geoip_test.c Properly detect MMDB lookup failures 2020-01-13 14:32:19 +01:00
Kdh.+002+18602.key [master] add diffie-hellman key unit test 2014-10-17 15:55:37 -07:00
keytable_test.c allow DS trust anchors to be set in keytable 2019-11-15 15:47:56 -08:00
Krsa.+005+29235.key Merged rt43077 (new RSA verify unit test) 2016-08-22 14:10:21 +02:00
Kyuafile convert keytable_test 2018-11-14 20:17:04 -08:00
Makefile.in Fix the ${WRAP} -> $${WRAP} to allow static non-libtool linking again 2019-07-31 16:18:58 +02:00
master_test.c dns_master_indent and dns_master_indentstr must not be global 2019-11-26 13:52:18 +01:00
mkraw.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
name_test.c Make isc_thread_join() assert internally on failure 2019-07-31 11:56:58 +02:00
nsec3_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
peer_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
private_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
rbt_serialize_test.c lib/dns/tests/rbt_serialize_test.c: Fix dereference before DbC check 2019-10-03 09:04:27 +02:00
rbt_test.c Disable benchmark tests when Thread Sanitizer is enabled 2019-10-02 14:09:33 +02:00
rdata_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
rdataset_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
rdatasetstats_test.c No longer have stale tracking in stats module 2019-08-12 10:16:08 +02:00
resolver_test.c Unify header ordering in unit tests 2019-07-30 21:25:15 +02:00
result_test.c Unify header ordering in unit tests 2019-07-30 21:25:15 +02:00
rsa_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
sigs_test.c Unify header ordering in unit tests 2019-07-30 21:25:15 +02:00
time_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
tkey_test.c Tweak lib/dns/tests/tkey_test requirements 2019-09-12 14:25:57 +02:00
tsig_test.c Unify header ordering in unit tests 2019-07-30 21:25:15 +02:00
update_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
zonemgr_test.c Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
zt_test.c Use atomic_bool for variables shared among threads to make zt_test.c thread-safe 2019-11-18 08:39:12 +08:00