Skip to content

Fix for segfaults when GeoIP has no region_name result#11

Closed
ghost wants to merge 1 commit into
mtodd:masterfrom
bellroy:master
Closed

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

Conversation

@ghost

@ghost ghost commented Sep 20, 2012

Copy link
Copy Markdown

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)

@ghost ghost closed this Sep 20, 2012
@ghost

ghost commented Sep 20, 2012

Copy link
Copy Markdown
Author

Didn't see this already done at #8

This pull request was closed.
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.

0 participants