ID:               17433
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Critical
+Status:           Closed
 Bug Type:         *General Issues
 Operating System: Any
 PHP Version:      4.0CVS-2002-05-26
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


Previous Comments:
------------------------------------------------------------------------

[2002-05-26 07:52:31] [EMAIL PROTECTED]

Setting to critical, needs to be fixed before 4.3 release

------------------------------------------------------------------------

[2002-05-26 07:51:53] [EMAIL PROTECTED]

$ php -r "version_compare('', '1.0', 'ge');"
Segmentation fault

#0  0x400e61ce in malloc () from /lib/libc.so.6
#1  0x400e6074 in malloc () from /lib/libc.so.6
#2  0x0815badf in _emalloc (size=1, __zend_filename=0x81b08a0
"/home/mfischer/isrc/cvs/php4/ext/standard/versioning.c",
__zend_lineno=37, __zend_orig_filename=0x0, __zend_orig_lineno=0)
    at /home/mfischer/isrc/cvs/php4/Zend/zend_alloc.c:165
#3  0x0810c448 in php_canonicalize_version (version=0x8d56efc "") at
/home/mfischer/isrc/cvs/php4/ext/standard/versioning.c:37
#4  0x0810c696 in php_version_compare (orig_ver1=0x8d56efc "",
orig_ver2=0x81b08da "#N#") at
/home/mfischer/isrc/cvs/php4/ext/standard/versioning.c:108
#5  0x0810c8e7 in php_version_compare (orig_ver1=0x8d56e8c "",
orig_ver2=0x81b08da "#N#") at
/home/mfischer/isrc/cvs/php4/ext/standard/versioning.c:154
#6  0x0810c8e7 in php_version_compare (orig_ver1=0x8d56e1c "",
orig_ver2=0x81b08da "#N#") at
/home/mfischer/isrc/cvs/php4/ext/standard/versioning.c:154
#7  0x0810c8e7 in php_version_compare (orig_ver1=0x8d56dac "",
orig_ver2=0x81b08da "#N#") at
/home/mfischer/isrc/cvs/php4/ext/standard/versioning.c:154
#8  0x0810c8e7 in php_version_compare (orig_ver1=0x8d56d3c "",
orig_ver2=0x81b08da "#N#") at
/home/mfischer/isrc/cvs/php4/ext/standard/versioning.c:154
#9  0x0810c8e7 in php_version_compare (orig_ver1=0x8d56ccc "",
orig_ver2=0x81b08da "#N#") at
/home/mfischer/isrc/cvs/php4/ext/standard/versioning.c:154



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17433&edit=1

Reply via email to