Bug #70536 [Opn->Nab]: Webserver crashes when posix_kill PID is null
| From: | laruence@php.net | Date: | Sun, 20 Sep 2015 16:38:35 +0000 |
| Subject: | Bug #70536 [Opn->Nab]: Webserver crashes when posix_kill PID is null | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-196117@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70536&edit=1
ID: 70536
Updated by: laruence@php.net
Reported by: roberto-1995 at live dot it
Summary: Webserver crashes when posix_kill PID is null
-Status: Open
+Status: Not a bug
Type: Bug
Package: POSIX related
Operating System: Debian GNU/Linux
PHP Version: 5.4.45
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2015-09-20 16:38:11] laruence@php.net
If pid equals 0, then sig is sent to every process in the process group of the calling process.
------------------------------------------------------------------------
[2015-09-20 15:13:33] roberto-1995 at live dot it
Description:
------------
Lighttpd web server: getting a pid from a database. there was no row so I was getting null. when
calling posix_kill(SIGUSR1, $pid) the webserver crashed.
Test script:
---------------
<?php
$pid = NULL;
posix_kill(SIGUSR1, $pid);
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70536&edit=1