Bug #16063 Updated: array_pop() causes core dump, can be used to reveal information
| From: | sander@php.net | Date: | Thu, 14 Mar 2002 14:39:35 +0000 |
| Subject: | Bug #16063 Updated: array_pop() causes core dump, can be used to reveal information | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2487@lists.php.net to get a copy of this message | ||
ID: 16063
Updated by: sander@php.net
Reported By: ahristov@icygen.com
-Status: Open
+Status: Feedback
Bug Type: Arrays related
PHP Version: 4.0CVS-2002-03-14
New Comment:
To properly diagnose this bug, we need a backtrace to see what is
happening behind the scenes. To find out how to generate a backtrace,
please read http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-03-14 09:09:05] ahristov@icygen.com
<?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 this bug report at http://bugs.php.net/?id=16063&edit=1