Skip to content

Commit b412fd6

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
2 parents b34e838 + ba4c82f commit b412fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/sockets/sockets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ int inet_ntoa_lock = 0;
225225

226226
static bool php_open_listen_sock(php_socket *sock, int port, int backlog) /* {{{ */
227227
{
228-
struct sockaddr_in la;
228+
struct sockaddr_in la = {0};
229229
struct hostent *hp;
230230

231231
#ifndef PHP_WIN32

0 commit comments

Comments
 (0)