Fix small buffer issue when java tries to read over the EOF
Fix small buffer issue when java tries to read over the EOF

maxmind/geoip-api-java,davipt/geoip-api-java,davipt/geoip-api-java,maxmind/geoip-api-java