|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesbuild.patch (last revision 2011-10-15 14:44 UTC by fedora at famillecollet dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-10-15 15:04 UTC] felipe@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: ohill
[2011-10-15 15:04 UTC] felipe@php.net
[2011-10-24 00:22 UTC] ohill@php.net
[2011-10-24 00:22 UTC] ohill@php.net
-Status: Assigned
+Status: Closed
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 13:00:01 2025 UTC |
Description: ------------ Reading the source code (of GeoIP) show that some GeoIPDBFileName are not defined, so this cause a segfault when trying to copy it to result. The trivial attached patch solves this issue. Test script: --------------- php -r 'var_dump(geoip_db_get_all_info());' Expected result: ---------------- array(31) { [1]=> array(3) { ["available"]=> bool(true) ["description"]=> string(21) "GeoIP Country Edition" ["filename"]=> string(26) "/usr/share/GeoIP/GeoIP.dat" } ... Actual result: -------------- Segmentation fault (core dumped)