From:             [EMAIL PROTECTED]
Operating system: Linux 2.2
PHP version:      4.0.4pl1
PHP Bug Type:     Reproduceable crash
Bug description:  $variable = () crashes the server

<? $x = () ?>test

This code would result in a "The Document Contains No Data" page in Netscape and a 
Segmentation Fault error in the Apache log.

gdb backtrace:
#0  0x402239c1 in _zval_ptr_dtor () from /usr/lib/apache/1.3/libphp4.so
#1  0x402228f4 in execute () from /usr/lib/apache/1.3/libphp4.so
#2  0x4021f327 in execute () from /usr/lib/apache/1.3/libphp4.so
#3  0x4021ffca in execute () from /usr/lib/apache/1.3/libphp4.so
#4  0x4022bf1f in zend_execute_scripts () from /usr/lib/apache/1.3/libphp4.so
#5  0x4023d634 in php_execute_script () from /usr/lib/apache/1.3/libphp4.so
#6  0x40239d8f in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so
#7  0x4023a740 in send_php () from /usr/lib/apache/1.3/libphp4.so
#8  0x4023a77e in send_parsed_php () from /usr/lib/apache/1.3/libphp4.so
#9  0x8054064 in ap_invoke_handler ()
#10 0x8062d0c in ap_some_auth_required ()
#11 0x8062d68 in ap_process_request ()
#12 0x805ca49 in ap_child_terminate ()
#13 0x805cbdc in ap_child_terminate ()
#14 0x805ccf9 in ap_child_terminate ()
#15 0x805d1ab in ap_child_terminate ()
#16 0x805d86d in main ()
#17 0x400bedcc in __libc_start_main () from /lib/libc.so.6


-- 
Edit Bug report at: http://bugs.php.net/?id=9051&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to