Bug #16063: array_pop() causes core dump, can be used to reveal information
| From: | ahristov at icygen dot com | Date: | Thu, 14 Mar 2002 14:09:05 +0000 |
| Subject: | Bug #16063: array_pop() causes core dump, can be used to reveal information | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-2476@lists.php.net to get a copy of this message | ||
From: ahristov@icygen.com
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