#21096 [NEW]: Segmentation fault when adding array element
| From: | scollo at scollo dot com | Date: | Thu, 19 Dec 2002 14:32:54 +0000 |
| Subject: | #21096 [NEW]: Segmentation fault when adding array element | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-28025@lists.php.net to get a copy of this message | ||
From: scollo@scollo.com
Operating system: Linux, Win2K
PHP version: 4.2.3
PHP Bug Type: Reproducible crash
Bug description: Segmentation fault when adding array element
<?php
$arr[-2] = 'a';
$arr[1] = 'b';
$arr[] = 'c'; // Gets index -1
$arr[] = 'd'; // Gets index 0
$arr[] = 'e'; // Segmentation fault!
?>
--
Edit bug report at http://bugs.php.net/?id=21096&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21096&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21096&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21096&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21096&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21096&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21096&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21096&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21096&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21096&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21096&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21096&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21096&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21096&r=isapi