php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10903 Output buffering crashs PHP when mail function is invoked
Submitted: 2001-05-16 10:24 UTC Modified: 2002-01-02 13:55 UTC
From: carlos dot a dot viana at pop3si dot com Assigned:
Status: Closed Package: Output Control
PHP Version: 4.0.5 OS: Win98
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: carlos dot a dot viana at pop3si dot com
New email:
PHP Version: OS:

 

 [2001-05-16 10:24 UTC] carlos dot a dot viana at pop3si dot com
This will crash PHP:

ob_start("ob_gzhandler");
echo "something";
mail (.....);

but this will not:

ob_start("ob_gzhandler");
echo "something";
ob_end_flush();
mail (.....);

Note: I don't have any mail server installed. The mail function should report an error, but PHP crashes instead.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 04:20 UTC] yohgaki@php.net
Does this happen with 4.1.0? 
 [2002-01-02 13:55 UTC] lobbin@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Nov 13 12:01:28 2024 UTC