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 d44206f commit ad9e1daCopy full SHA for ad9e1da
ext/sockets/sockets.c
@@ -1086,7 +1086,7 @@ PHP_FUNCTION(socket_getsockname)
1086
struct sockaddr_in6 *sin6;
1087
#endif
1088
#ifdef HAVE_INET_NTOP
1089
- char addrbuf[INET6_ADDRSTRLEN+1];
+ char addrbuf[INET6_ADDRSTRLEN];
1090
1091
struct sockaddr_un *s_un;
1092
const char *addr_string;
@@ -1163,7 +1163,7 @@ PHP_FUNCTION(socket_getpeername)
1163
1164
1165
1166
1167
1168
1169
0 commit comments