recursive array_walk causes Segmentain fault
| Bug #34066 | recursive array_walk causes Segmentain fault | ||||
|---|---|---|---|---|---|
| Submitted: | 2005-08-10 12:10 UTC | Modified: | 2006-09-19 09:08 UTC | ||
| From: | ondrej at sury dot org | Assigned: | |||
| Status: | Closed | Package: | Reproducible crash | ||
| PHP Version: | 5.0.4 | OS: | Linux | ||
| Private report: | No | CVE-ID: | None | ||
[2005-08-10 12:10 UTC] ondrej at sury dot org
Description: ------------ Paul Slootman reported bug when using array_walk recursively which crashes php 5.0.4 with Segmentation Fault. In php 4.4.0 it ends with: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 138060825 bytes) in /tmp/bug.php on line 252 Reproduce code: --------------- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=245934 Expected result: ---------------- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 138060825 bytes) in /tmp/bug.php on line 252 Actual result: -------------- Segmentation fault Backtrace: Program received signal SIGSEGV, Segmentation fault. 0x081fc929 in zend_call_function ()
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-08-18 01:00 UTC] php-bugs at lists dot php dot net
[2006-09-19 07:39 UTC] seanius at seanius dot net
[2006-09-19 09:08 UTC] tony2001@php.net