Crashes with latest CVS HEAD here too:

0x828b505 in _zval_dtor (zvalue=0xbfffd540, __zend_filename=0x8376000 
"/usr/src/web/php/php4/Zend/zend_operators.c", 
    __zend_lineno=1057) at /usr/src/web/php/php4/Zend/zend_variables.c:43
43                              CHECK_ZVAL_STRING_REL(zvalue);
(gdb) bt
#0  0x828b505 in _zval_dtor (zvalue=0xbfffd540, 
    __zend_filename=0x8376000 "/usr/src/web/php/php4/Zend/zend_operators.c", 
__zend_lineno=1057)
    at /usr/src/web/php/php4/Zend/zend_variables.c:43
#1  0x8288e23 in concat_function (result=0x84fc4cc, op1=0x84fc4cc, op2=0xbfffd540)
    at /usr/src/web/php/php4/Zend/zend_operators.c:1057
#2  0x829d9f0 in execute (op_array=0x84fcd74) at 
/usr/src/web/php/php4/Zend/zend_execute.c:1174
#3  0x828d564 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at 
/usr/src/web/php/php4/Zend/zend.c:814
#4  0x82541e1 in php_execute_script (primary_file=0xbffff95c) at 
/usr/src/web/php/php4/main/main.c:1524
#5  0x82a69b7 in main (argc=2, argv=0xbffff9c4) at 
/usr/src/web/php/php4/sapi/cli/php_cli.c:683
#6  0x410e39cb in __libc_start_main (main=0x82a5dfc <main>, argc=2, argv=0xbffff9c4, 
init=0x8088bb8 <_init>, 
    fini=0x831c8b4 <_fini>, rtld_fini=0x4000aea0 <_dl_fini>, stack_end=0xbffff9bc)
    at ../sysdeps/generic/libc-start.c:92

    
    p.s. There are dozens of bugs like this in the bug database too..
         iirc, this one is also reported there too. Feel free to submit
         patch to fix this, nobody looks in the "Scripting Engine.." category,
         so I won't expect these to be fixed really soon.


-- 

On Sun, 1 Sep 2002, Lukas Schroeder wrote:

>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

Reply via email to