Bug #14020 Updated: socket_bind lacks break in switch statement
| From: | mfischer@php.net | Date: | Mon, 12 Nov 2001 01:06:13 +0000 |
| Subject: | Bug #14020 Updated: socket_bind lacks break in switch statement | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70187@lists.php.net to get a copy of this message | ||
ID: 14020
Updated by: mfischer
Reported By: the_real@nerdheaven.dk
Old Status: Open
Status: Closed
Bug Type: Sockets related
Operating System: Unix
PHP Version: 4.1.0RC1
New Comment:
Thanks for spotting this, fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2001-11-11 19:27:23] the_real@nerdheaven.dk
the switch block in the socket_bind function (ext/sockets/sockets.c) is missing the break statement.
If php_sock->type == AF_UNIX both the AF_UNIX block and the AF_INET block are executed.
/The_Real
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14020&edit=1