php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8215 passthru() orphans processes if aborted
Submitted: 2000-12-12 17:19 UTC Modified: 2001-01-20 07:25 UTC
From: dig at cynosure dot com Assigned:
Status: Closed Package: Program Execution
PHP Version: 4.0.3pl1 OS: RH Linux kernel 2.2.14
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: dig at cynosure dot com
New email:
PHP Version: OS:

 

 [2000-12-12 17:19 UTC] dig at cynosure dot com
I have a script that sends large files using:

passthru("cat $filename");

With 4.0.3pl1, if a user aborts the download, the cat process becomes orphaned and cannot be killed.  I just recently upgraded from 4.0RC1 and did not experience this problem until after I upgraded.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-15 08:59 UTC] cynic@php.net
this should be fixed. can you confirm this?
 [2001-01-18 17:50 UTC] dig at cynosure dot com
Checked with 4.0.4pl1 -- still buggy.
 [2001-01-20 07:25 UTC] thies@php.net
it's already fixed in cvs. 

you should be able to replace ext/stadard/exec with the CVS version from http://cvs.php.net/viewcvs.cgi/php4/ext/standard/exec.c

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC