Bug #14020: socket_bind lacks break in switch statement
| From: | the_real at nerdheaven dot dk | Date: | Mon, 12 Nov 2001 00:27:24 +0000 |
| Subject: | Bug #14020: socket_bind lacks break in switch statement | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-70180@lists.php.net to get a copy of this message | ||
From: the_real@nerdheaven.dk
Operating system: Unix
PHP version: 4.1.0RC1
PHP Bug Type: Sockets related
Bug description: socket_bind lacks break in switch statement
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 bug report at: http://bugs.php.net/?id=14020&edit=1