Commit 018cf3a791a for php.net
commit 018cf3a791aaafeea3af42ee45c41852147c01f9
Merge: 0d5dc6aee5e 830c9d0f9ee
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date: Tue Aug 18 19:38:07 2026 -0400
Merge branch 'PHP-8.5'
* PHP-8.5:
Fix leak when persistent PDO liveness check fails
diff --cc NEWS
index 2e921b6c26f,185c4799343..494eede7486
--- a/NEWS
+++ b/NEWS
@@@ -28,16 -16,7 +28,20 @@@ PH
. Fixed a use-after-free when Dom\Element::setAttributeNS() replaces the
value of an attribute whose child still has a live wrapper. (iliaal)
++- PDO:
++ . Fixed a leak when a persistent connection failed a liveness check
++ with no other live PDO handle. (iliaal)
++
+- PDO_PGSQL:
+ . Fixed several lazy fetch (PDO::ATTR_PREFETCH => 0) defects: an infinite
+ loop when cleaning up a fetch left in a COPY, a use-after-free when a
+ statement with emulated or disabled prepares is destroyed, a connection
+ left busy for the next fetch, and rows delivered from a result another
+ statement took over. (KentarouTakeda)
+
- Intl:
+ . Fixed grapheme_strrev() treating UBRK_DONE as a byte index and leaving
+ the result without a terminating NUL. (iliaal)
. Fixed a double-free when IntlGregorianCalendar construction fails after
the ICU constructor adopts the TimeZone. (iliaal)
. Fixed bug GH-23094 (NumberFormatter parsing offsets use UTF-16 positions