php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16766 pcntl_waitpid segfaults on absence of third parameter
Submitted: 2002-04-23 15:21 UTC Modified: 2002-04-23 17:26 UTC
From: sean at caedmon dot net Assigned:
Status: Closed Package: POSIX related
PHP Version: 4.0CVS-2002-04-23 OS: Linux 2.2.19pre17 i686 (Debian)
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: sean at caedmon dot net
New email:
PHP Version: OS:

 

 [2002-04-23 15:21 UTC] sean at caedmon dot net
Calling pcntl_waitpid without a third parameter causes a secmentation fault. Supplying it with 0 does not. (at least in my trials).

Should be a simple fix. Sorry, I don't have --enable-debug, so I can't backtrace (no core).

S

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-23 17:25 UTC] mfischer@php.net
This bug has been fixed in CVS.


 [2002-04-23 17:26 UTC] mfischer@php.net
And the 4_2_0 branch too.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 09 14:01:27 2024 UTC