#32021 [NEW]: Crash caused by range('', 'z')
| From: | mueller_rainer at gmx dot de | Date: | Fri, 18 Feb 2005 13:06:20 +0000 |
| Subject: | #32021 [NEW]: Crash caused by range('', 'z') | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-74271@lists.php.net to get a copy of this message | ||
From: mueller_rainer at gmx dot de
Operating system:
PHP version: 5.0.3
PHP Bug Type: Reproducible crash
Bug description: Crash caused by range('', 'z')
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 bug report at http://bugs.php.net/?id=32021&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32021&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32021&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32021&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32021&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32021&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32021&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32021&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32021&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32021&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32021&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32021&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32021&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32021&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32021&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32021&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32021&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32021&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32021&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32021&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32021&r=mysqlcfg