Bug #68784 [Opn->Csd]: incorrect expression
| From: | rasmus@php.net | Date: | Sat, 10 Jan 2015 02:17:34 +0000 |
| Subject: | Bug #68784 [Opn->Csd]: incorrect expression | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-189854@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68784&edit=1
ID: 68784
Updated by: rasmus@php.net
Reported by: bugreports at internot dot info
Summary: incorrect expression
-Status: Open
+Status: Closed
Type: Bug
Package: *General Issues
Operating System: Linux Ubuntu 14.04
PHP Version: master-Git-2015-01-10 (Git)
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of rasmus
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e4b3d623a240d882ee6d650fe58f0e74ab1218d6
Log: Fix bug #68784
Previous Comments:
------------------------------------------------------------------------
[2015-01-10 01:37:15] bugreports at internot dot info
Description:
------------
Hi,
In /sapi/cli/php_cli_server.c:
2283 if (server_sock >= -1) {
2284 closesocket(server_sock);
It should be > -1, not >=.
closesocket() cannot be used with -1.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68784&edit=1