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

From: Date: Fri, 18 Feb 2005 13:20:25 +0000
Subject: #32021 [Opn->Asn]: Crash caused by range('', 'z')
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-76855@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:      Open
+Status:      Assigned
 Bug Type:    Reproducible crash
 PHP Version: 5.0.3
-Assigned To: 
+Assigned To: derick


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 (#76855) next »