php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10076 NULL entry calling
Submitted: 2001-03-30 10:25 UTC Modified: 2001-06-01 16:10 UTC
From: vgo at nrd dot lt Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0 Latest CVS (30/03/2001) OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vgo at nrd dot lt
New email:
PHP Version: OS:

 

 [2001-03-30 10:25 UTC] vgo at nrd dot 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; 

 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-07 18:02 UTC] zeev@php.net
Can you please check if this still happens in the latest CVS?
 [2001-06-01 16:10 UTC] sniper@php.net
No feedback. Assumed fixed.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 11:01:29 2025 UTC