php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68784 incorrect expression
Submitted: 2015-01-10 01:37 UTC Modified: -
From: bugreports at internot dot info Assigned:
Status: Closed Package: *General Issues
PHP Version: master-Git-2015-01-10 (Git) OS: Linux Ubuntu 14.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bugreports at internot dot info
New email:
PHP Version: OS:

 

 [2015-01-10 01:37 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-10 02:17 UTC] rasmus@php.net
Automatic comment on behalf of rasmus
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e4b3d623a240d882ee6d650fe58f0e74ab1218d6
Log: Fix bug #68784
 [2015-01-10 02:17 UTC] rasmus@php.net
-Status: Open +Status: Closed
 [2015-01-10 02:17 UTC] rasmus@php.net
Automatic comment on behalf of rasmus
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5065505c935913e124d647df6f80f5efddae39a9
Log: Fix bug #68784
 [2015-01-10 02:17 UTC] rasmus@php.net
Automatic comment on behalf of rasmus
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dbd02ad23bfbe0b0dc703c68774e397fc0a8b1ef
Log: Fix bug #68784
 [2015-01-12 12:01 UTC] ab@php.net
Automatic comment on behalf of rasmus
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e4b3d623a240d882ee6d650fe58f0e74ab1218d6
Log: Fix bug #68784
 [2015-01-12 12:01 UTC] ab@php.net
Automatic comment on behalf of rasmus
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5065505c935913e124d647df6f80f5efddae39a9
Log: Fix bug #68784
 [2015-01-12 12:01 UTC] ab@php.net
Automatic comment on behalf of rasmus
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e4b3d623a240d882ee6d650fe58f0e74ab1218d6
Log: Fix bug #68784
 [2016-07-20 11:40 UTC] davey@php.net
Automatic comment on behalf of rasmus
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dbd02ad23bfbe0b0dc703c68774e397fc0a8b1ef
Log: Fix bug #68784
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 07:01:31 2024 UTC