php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14020 socket_bind lacks break in switch statement
Submitted: 2001-11-11 19:27 UTC Modified: 2001-11-11 20:06 UTC
From: the_real at nerdheaven dot dk Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.1.0RC1 OS: Unix
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: the_real at nerdheaven dot dk
New email:
PHP Version: OS:

 

 [2001-11-11 19:27 UTC] the_real at nerdheaven dot 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-11 20:06 UTC] mfischer@php.net
Thanks for spotting this, fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 22:01:29 2024 UTC