mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/sockets: socket_create_listen clearing socket data before binding.
Close GH-13855
This commit is contained in:
@@ -219,7 +219,7 @@ int inet_ntoa_lock = 0;
|
||||
|
||||
static int php_open_listen_sock(php_socket *sock, int port, int backlog) /* {{{ */
|
||||
{
|
||||
struct sockaddr_in la;
|
||||
struct sockaddr_in la = {0};
|
||||
struct hostent *hp;
|
||||
|
||||
#ifndef PHP_WIN32
|
||||
|
||||
Reference in New Issue
Block a user