Skip to content

Commit d6c6675

Browse files
committed
ext/sodium: general buffer upper bounds adjustments.
For zend_string allocations, it was tested against SIZE_MAX now using ZSTR_MAX_LEN to take in account zend_string type's metadata. close GH-17588
1 parent f82f602 commit d6c6675

File tree

2 files changed

+55
-51
lines changed

2 files changed

+55
-51
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ PHP NEWS
9595
. Fixed bug #49169 (SoapServer calls wrong function, although "SOAP action"
9696
header is correct). (nielsdos)
9797

98+
- Sodium:
99+
. Fix overall theorical overflows on zend_string buffer allocations.
100+
(David Carlier/nielsdos)
101+
98102
- Sockets:
99103
. Added IPPROTO_ICMP/IPPROTO_ICMPV6 to create raw socket for ICMP usage.
100104
(David Carlier)

0 commit comments

Comments
 (0)