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

Add a Patch

Pull Requests

Add a Pull Request

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-2018 The PHP Group
All rights reserved.
Last updated: Mon Nov 19 12:01:26 2018 UTC