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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 14 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 08:01:28 2024 UTC