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
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: 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: Sat Dec 21 16:01:28 2024 UTC