We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33967ae commit 90002f1Copy full SHA for 90002f1
ext/sockets/sockets.c
@@ -917,7 +917,7 @@ PHP_FUNCTION(socket_read)
917
PHP_FUNCTION(socket_getsockname)
918
{
919
zval *arg1, *addr, *port = NULL;
920
- php_sockaddr_storage sa_storage;
+ php_sockaddr_storage sa_storage = {0};
921
php_socket *php_sock;
922
struct sockaddr *sa;
923
struct sockaddr_in *sin;
@@ -994,7 +994,7 @@ PHP_FUNCTION(socket_getsockname)
994
PHP_FUNCTION(socket_getpeername)
995
996
zval *arg1, *arg2, *arg3 = NULL;
997
998
999
1000
0 commit comments