Bug #10076 Updated: NULL entry calling
| From: | zeev@php.net | Date: | Mon, 07 May 2001 22:02:20 +0000 |
| Subject: | Bug #10076 Updated: NULL entry calling | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54311@lists.php.net to get a copy of this message | ||
ID: 10076
Updated by: zeev
Reported By: vgo@nrd.lt
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] vgo@nrd.lt
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