bind9/lib
Michał Kępień 814da1c808 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.

(cherry picked from commit ec8334fb74)
2020-01-13 14:36:58 +01:00
..
bind9 prep 9.14.8 2019-11-06 21:29:08 +00:00
dns Properly detect MMDB lookup failures 2020-01-13 14:36:58 +01:00
irs Make VS solution upgrading unnecessary 2019-09-27 09:16:02 +02:00
isc prep 9.14.9 2019-12-12 06:09:19 +00:00
isccc Make VS solution upgrading unnecessary 2019-09-27 09:16:02 +02:00
isccfg Change the (acl)->node_count macro to dns_acl_node_count(acl) macro to clean the global namespace 2019-12-18 11:11:31 +11:00
ns Bind to random port numbers in unit tests 2020-01-09 10:44:28 +01:00
samples Replace RUNTIME_CHECK(dns_name_copy(..., NULL)) with dns_name_copynf() 2019-10-04 14:08:26 +10:00
win32/bindevt Make VS solution upgrading unnecessary 2019-09-27 09:16:02 +02:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00