Skip to content

Commit 08387ff

Browse files
committed
Merge branch 'issue-9356' of https://github.com/lucasnetau/php-src into issue-9356
2 parents 7d75f50 + 71d9355 commit 08387ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/xp_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
/* Used for IPv6 Address peer verification */
119119
#define EXPAND_IPV6_ADDRESS(_str, _bytes) \
120120
do { \
121-
snprintf(_str, 39, "%X:%X:%X:%X:%X:%X:%X:%X", \
121+
snprintf(_str, 40, "%X:%X:%X:%X:%X:%X:%X:%X", \
122122
_bytes[0] << 8 | _bytes[1], \
123123
_bytes[2] << 8 | _bytes[3], \
124124
_bytes[4] << 8 | _bytes[5], \

0 commit comments

Comments
 (0)