|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59801 geoip_db_get_all_info() segfault
Submitted: 2011-06-05 14:45 UTC Modified: 2011-06-05 15:02 UTC
From: spam2 at rhsoft dot net Assigned:
Status: Closed Package: geoip (PECL)
PHP Version: 5.3.5 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: spam2 at rhsoft dot net
New email:
PHP Version: OS:


 [2011-06-05 14:45 UTC] spam2 at rhsoft dot net
geoip_db_get_all_info() results in a segfault using the since two months final GeoIP 1.4.7 from which was years available for tests

1.0.7 	stable 	2009-03-11
this is quite outdated

Reproduce code:
call geoip_db_get_all_info() and php will crash

Expected result:
not crashing php


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-05 15:02 UTC]
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

I've fixed the crash, but the error looks like a bug in the libgeoip by missing to set a GeoIPDBFileName related to 'GeoIP CCM Edition'.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Dec 02 13:01:23 2020 UTC