From:             [EMAIL PROTECTED]
Operating system: 
PHP version:      4.0CVS-2002-03-14
PHP Bug Type:     Arrays related
Bug description:  array_pop() causes core dump, can be used to reveal information

<?php
array_pop($GLOBALS);
?>
bash-2.04$ ../php rest.php
Segmentation fault (core dumped)
bash-2.04$

No problems with
<?php
        $a=array();
        $a[]=&$a;
        array_pop($a);
?>

-- 
Edit bug report at http://bugs.php.net/?id=16063&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16063&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16063&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16063&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16063&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16063&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16063&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16063&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16063&r=submittedtwice

Reply via email to