There are several functions in geoipdb library that accept an ip string parameter. If called with empty string, they try to do their job without questioning.
This can lead to misbehaviour (eg. LibGeoipLookup() returning ASN of the local public address of the host), or data corruption (eg. a cache entry for an empty IP).
There are several functions in geoipdb library that accept an
ip
string parameter. If called with empty string, they try to do their job without questioning.This can lead to misbehaviour (eg.
LibGeoipLookup()
returning ASN of the local public address of the host), or data corruption (eg. a cache entry for an empty IP).