Skip to content

Fix for segfaults when GeoIP has no region_name result#11

Closed
keyist wants to merge 1 commit intomtodd:masterfrom
bellroy:master
Closed

Fix for segfaults when GeoIP has no region_name result#11
keyist wants to merge 1 commit intomtodd:masterfrom
bellroy:master

Conversation

@keyist
Copy link

@keyist keyist commented Sep 20, 2012

To replicate segfault:

GeoIP::City.new('/path/to/GeoLiteCity.dat').look_up('121.7.1.1')

with the database downloaded from http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

(md5sum at time of writing: 6ed8c46880fc5579392375fbc5efa375)

@keyist keyist closed this Sep 20, 2012
@keyist
Copy link
Author

keyist commented Sep 20, 2012

Didn't see this already done at #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant