From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.0 Latest CVS (30/03/2001)
PHP Bug Type:     Reproduceable crash
Bug description:  NULL entry calling

File output.c

No checks whether it is possible to call this php_body_write or not. During shutdown 
of server calling from oci_debug( ... ) causes crash on the Win32 system by coalling 
NULL entry.
PHPAPI int php_body_write(const char *str, uint str_length)
 return OG(php_body_write)(str, str_length); 
sugest to change it to:
 if( OG(php_body_write) )
    return OG(php_body_write)(str, str_length); 
 return 0; 


Edit Bug report at:

PHP Development Mailing List <>
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