#32021 [Asn->Csd]: Crash caused by range('', 'z')

From: Date: Fri, 18 Feb 2005 13:41:40 +0000
Subject: #32021 [Asn->Csd]: Crash caused by range('', 'z')
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-76862@lists.php.net to get a copy of this message
 ID:          32021
 Updated by:  derick@php.net
 Reported By: mueller_rainer at gmx dot de
-Status:      Assigned
+Status:      Closed
 Bug Type:    Reproducible crash
 PHP Version: 5.0.3
 Assigned To: derick
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2005-02-18 14:06:20] mueller_rainer at gmx dot de

Description:
------------
If you use '' as the first parameter and a non-empty string as second
parameter for range() PHP crashes/produces a segfault.

Tested on Windows with 5.0.3 and also on Linux with CVS Snapshot PHP
5.0.4-dev.

Reproduce code:
---------------
$foo = range('', 'z');

Expected result:
----------------
range() should return an empty array.



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


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


Thread (3 messages)

« previous php.bugs (#76862) next »