ID: 10076
Updated by: zeev
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Old-Bug Type: Reproducible Crash
Bug Type: *General Issues
Operating system: 
PHP Version: 4.0 Latest CVS (30/03/2001)
Assigned To: 
Comments:

Can you please check if this still happens in the latest CVS?

Previous Comments:
---------------------------------------------------------------------------

[2001-03-30 10:25:35] [EMAIL PROTECTED]
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)
{
 OLS_FETCH();
 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; 

 

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10076&edit=2


-- 
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