segfault on adding empty heredoc to string

From: Date: Sun, 01 Sep 2002 17:50:07 +0000
Subject: segfault on adding empty heredoc to string
Groups: php.dev 
Request: Send a blank email to php-dev+get-87693@lists.php.net to get a copy of this message
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

« previous php.dev (#87693) next »