php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13153 Some functions calls made Apache Segfault
Submitted: 2001-09-05 14:05 UTC Modified: 2001-09-05 14:10 UTC
From: d dot denis at absyde dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.6 OS: Linux
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: d dot denis at absyde dot com
New email:
PHP Version: OS:

 

 [2001-09-05 14:05 UTC] d dot denis at absyde dot com
Hello all,

Some weird bugs were found playing with Apache 1.3.20 and PHP 4.0.6. Apache reported that some child process died after a Segfault. I have tracked a little the .php files, not all are crashing Apache. I found the nasty sequences in one of them :

this works fine:
setcookie("cookie" ,$date_now , time()+24*3600 , "p.php" ); 

this makes some Apache child process segfault:
setcookie("cookie");

funny isn't it ? :)

I have tried with and without output buffering, removing mysql and mhash modules, nothing changes. After installing 4.0.5 debian packages everything went ok. Other php pages made Apache segfault( without setcookie() calls ). I haven't  
tracked them. Hope this will help :)

 Regards,



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-05 14:10 UTC] rasmus@php.net
This has been fixed in CVS and will be in 4.0.7
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Mar 14 09:01:29 2025 UTC