PHP 4.0 Bug #3201: Re: putting --enable-force-cgi-redirect into action causes sig 11
| From: | makler at man dot torun dot pl | Date: | Thu, 13 Jan 2000 10:22:54 +0000 |
| Subject: | PHP 4.0 Bug #3201: Re: putting --enable-force-cgi-redirect into action causes sig 11 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14584@lists.php.net to get a copy of this message | ||
From: makler@man.torun.pl
Operating system: Solaris 2.6
PHP version: 4.0 Beta 3
PHP Bug Type: Reproduceable crash
Bug description: Re: putting --enable-force-cgi-redirect into action causes sig 11
I want to report a similar bug as that reported by togg in #3010.
php does SIGSEGV in output.c:148 because structure
"output_globals" has uninitialized "php_body_write" function:
$1 = {php_body_write = 0, php_header_write = 0, ob_buffer = 0x0, ob_size = 0, ob_block_size = 0,
ob_text_length = 0}
To reproduce it try to run "php" while REDIRECT_STATUS
is not set, and e.g. SERVER_SOFTWARE is set to any string.