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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2019 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 14:01:26 2019 UTC