Geoip: Fix possible buffer overflow.