Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix #12

Closed
wants to merge 2 commits into from
Closed

Bug fix #12

wants to merge 2 commits into from

Conversation

maxime
Copy link

@maxime maxime commented Sep 25, 2012

db = GeoIP::City.new("GeoLiteCity.dat")
look_up = db.look_up("119.236.232.169")

Gives you a:

[BUG] Segmentation fault

Because region_name is empty for that IP. Those 2 commits fix that bug so that it returns an empty string. There are probably a better fix than returning an empty string but at least it fixes my problem.

@yob
Copy link

yob commented May 20, 2013

👍

We were bitten by this today - downgrading to 0.8.0 was a quick fix for us.

@jnunemaker
Copy link

I just hit this as well.

@alindeman alindeman closed this in 5dd6779 Aug 21, 2013
@alindeman
Copy link
Contributor

Released 0.9.0 with a change that should fix this issue.

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.

4 participants