mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-17 20:01:10 -04:00
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. |
||
|---|---|---|
| .. | ||
| bind9 | ||
| dns | ||
| irs | ||
| isc | ||
| isccc | ||
| isccfg | ||
| ns | ||
| samples | ||
| win32/bindevt | ||
| .gitignore | ||
| Kyuafile | ||
| Makefile.in | ||