Commit 29647e67c57 for php.net

commit 29647e67c574c0a99ff4111f83d00154193f01cd
Merge: 3a40e29e084 c9f28005e8d
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date:   Tue Jul 14 16:20:32 2026 -0400

    Merge branch 'PHP-8.5'

    * PHP-8.5:
      Fix GH-22665: pdo_odbc OOB write on oversized diagnostic length

diff --cc NEWS
index 367860feb47,7e138fcc2bb..6b1e857a870
--- a/NEWS
+++ b/NEWS
@@@ -1,34 -1,14 +1,36 @@@
  PHP                                                                        NEWS
  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 -?? ??? ????, PHP 8.5.9
 +?? ??? ????, PHP 8.6.0alpha3
 +
 +- ODBC:
 +  . Fixed bug GH-22668 (Heap buffer over-read when a column value exceeds the
 +    driver-reported display size). (iliaal)
 +
 +- PDO_ODBC:
 +  . Fixed bug GH-22667 (Heap buffer over-read when a column value exceeds the
 +    driver-reported display size). (iliaal)
 +  . Fixed bug GH-22666 (Heap buffer overflow when an output parameter value is
 +    longer than the declared maxlen). (iliaal)
++  . Fixed bug GH-22665 (Out-of-bounds write when the ODBC driver reports a
++    diagnostic message length beyond the error buffer). (iliaal)
 +
 +- Reflection:
 +  . Fixed bug GH-22681 (Reflection*::__toString() truncates on null bytes).
 +    (DanielEScherzer)
 +
 +16 Jul 2026, PHP 8.6.0alpha2

  - Core:
 -  . Fixed bug GH-22290 (AST pretty printing does not correctly handle strings
 -    containing NUL). (iliaal)
 -  . Fixed bug GH-22206 (missing return in global register detection).
 -    (P3p111n0)
 +  . Sync Boost.Context assembly with 1.91.0. (kn1g78)
 +  . Fixed bug GH-22387 (AST pretty-printing drops meaningful parentheses around
 +    RHS of instanceof). (timwolla)
 +  . Fixed bug GH-15672 and GH-15911 (Stack overflow when an internal function
 +    recurses through zend_call_function, such as a self-attached SPL
 +    iterator). (iliaal)
    . Lock unmodified readonly properties for modification after clone-with.
      (NickSdot)
 +  . abort() instead of exit() on hard OOM. (realFlowControl)
 +  . perf: ZTS: move AG and SCNG into native __thread storage. (henderkes)

  - Calendar:
    . Fixed bug GH-22602 (gregoriantojd() and juliantojd() integer overflow with