RE: [PHP-DEV] segfault on adding empty heredoc to string
| From: | Mike Robinson | Date: | Sun, 01 Sep 2002 18:19:01 +0000 |
| Subject: | RE: [PHP-DEV] segfault on adding empty heredoc to string | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87696@lists.php.net to get a copy of this message | ||
No problems with 4.2.2 as apache-1.3.26 dso on RH-7.2
Regards
Mike Robinson
-----Original Message-----
From: Lukas Schroeder [mailto:lukas@kodics.de]
Sent: Sunday, September 01, 2002 1:50 PM
To: php-dev@lists.php.net
Subject: [PHP-DEV] segfault on adding empty heredoc to string
hi,
i can crash my php here by using these lines:
<?php
$a = '';
$a .= <<<EOF
EOF;
?>
can anyone second this?
regards,
-lukas
#0 0x403218b5 in _zval_dtor (zvalue=0xbfffe214,
__zend_filename=0x4038dc80
"/home/azzit/src/cvs/php4/php4/Zend/zend_operators.c",
__zend_lineno=1057)
at /home/azzit/src/cvs/php4/php4/Zend/zend_variables.c:43
#1 0x4031f15f in concat_function (result=0x8296a0c, op1=0x8296a0c,
op2=0xbfffe214) at
/home/azzit/src/cvs/php4/php4/Zend/zend_operators.c:1057
#2 0x40333fc0 in execute (op_array=0x829674c)
at /home/azzit/src/cvs/php4/php4/Zend/zend_execute.c:1165
#3 0x403239e4 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
at /home/azzit/src/cvs/php4/php4/Zend/zend.c:810
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php