PHP 4.0 Bug #6978: Segfault in sendmail with CGI version
| From: | graeme at inetix dot com dot au | Date: | Mon, 02 Oct 2000 23:30:43 +0000 |
| Subject: | PHP 4.0 Bug #6978: Segfault in sendmail with CGI version | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33971@lists.php.net to get a copy of this message | ||
From: graeme@inetix.com.au
Operating system: Linux i386 2.2.12
PHP version: 4.0 Latest CVS (02/10/2000)
PHP Bug Type: Reproduceable crash
Bug description: Segfault in sendmail with CGI version
Appears to also show up when used as Apache module but not fully tested.
Configured with defaults all defauilts './configure' and sendmail was found on system.
Script:
<?
error_reporting(63);
$to = "graeme@inetix.com.au";
$subject="Hello";
$body = "XXYY\n";
mail($to,$subject,$body);
?>
Core backtrace:
#0 0x80b53ed in _zval_ptr_dtor (zval_ptr=0x8129518) at zend_execute_API.c:259
#1 0x80bbc03 in zend_execute_scripts (type=8, file_count=3) at zend.c:718
#2 0x805d8f1 in php_execute_script (primary_file=0xbffffcd4) at main.c:1199
#3 0x805c289 in main (argc=2, argv=0xbffffd34) at cgi_main.c:706