Re: Infinite Loop / Segfault in ob_*()
| From: | Yasuo Ohgaki | Date: | Sun, 24 Mar 2002 01:32:03 +0000 |
| Subject: | Re: Infinite Loop / Segfault in ob_*() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81694@lists.php.net to get a copy of this message | ||
Ok. I got what it is doing.
If you create bug report, I'll fix it when I have time.
Including following bug.
Any access to output buffer will cause problem.
For example,
<?php
function test($buf) {
$buf = "ABC';
return $buf;
}
ob_start('test');
?>
segfualts.
--
Yasuo Ohgaki
Sebastian Bergmann wrote:
Hi, I think I found the root of my previous segfault:<?php function test() { ob_end_clean(); } ob_start('test'); ?>segfaults, stacktrace is herehttp://www.sebastian-bergmann.de/stacktrace.txt