Commit 3afaf7ed982 for php
commit 3afaf7ed98200b186c7654d9135bf1b05e7fcb9c
Merge: a787f177920 36c6d1f500f
Author: Arnaud Le Blanc <arnaud.lb@gmail.com>
Date: Mon Nov 16 15:19:01 2026 +0100
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
Fix GH-8739: OPcache restart corrupts SHM in threaded SAPIs (#24276)
diff --cc NEWS
index e401d22db60,95e47d2b34a..1d5dc70a89b
--- a/NEWS
+++ b/NEWS
@@@ -26,121 -34,6 +26,123 @@@ PH
. Fixed bug GH-25311 (Assertion ret == SUCCESS in array_map()/array_filter()
after delayed out-of-memory). (ndossche)
. Fixed AST export of by-reference property hooks. (Jorg Sowa)
+
+- Curl:
+ . Fixed curl_reset() retaining CURLOPT_PRIVATE after reset. (lacatoire)
+
+- DBA:
+ . Fixed dba_close() not closing a database opened with dba_popen().
+ (Ilia Alshanetsky)
+
+- DOM:
+ . Fixed bug GH-25306 (Assertion status == LXB_STATUS_OK in dom_parse_selector
+ when lexbor allocation fails). (ndossche)
+
+- Filter:
+ . Fixed stack overflow in filter_var() and filter_var_array() with deeply
+ nested arrays. (Eyüp Can Akman)
+
+- GD:
+ . Fixed imagecreatefromstring() continuing to decode after throwing for a
+ string longer than INT_MAX. (lacatoire)
+
+- MBString:
+ . Fixed stack overflow in mb_check_encoding() and mb_convert_encoding() with
+ deeply nested arrays. (Eyüp Can Akman)
+
+- Opcache:
+ . Fixed bug GH-25165 (Tracing JIT loops forever once opcache.jit_buffer_size
+ is exhausted while compiling side traces). (Ilia Alshanetsky)
+ . Fixed bug GH-25164 (Function JIT loop calling a user function runs once
+ or never terminates). (Ilia Alshanetsky)
+ . Fixed memory leak in JIT ASSIGN_DIM when the assignment fails. (Jorg Sowa)
+ . Fixed bug GH-16396 (Failed to invoke user error handler during index
+ conversion in JIT). (Jorg Sowa)
+ . Fixed bug GH-24801 (JIT: SIGFPE in ir_fold MUL_OV constant folding).
+ (waroad)
+ . Fixed bug GH-25037 (Function JIT ENTRY live var assertion).
+ (Ilia Alshanetsky)
+ . Fixed bug GH-25195 (smm_shared_globals left dangling without an
+ SHM backend). (Grégoire Pineau)
+ . Fixed bug GH-25269 (JIT: misaligned zval passed to
+ ZEND_ADD_ARRAY_ELEMENT handler). (Jorg Sowa, ndossche)
+ . Fixed bug GH-25253 (JIT reads parent of an unlinked class).
+ (lazerg, mlenarciak)
+ . Fixed JIT ignoring leading-numeric string offsets in isset(), empty() and
+ ??. (Jorg Sowa)
+ . Fixed use-after-free in JIT when the error handler releases a string while
+ an "Undefined variable" warning is raised for its offset in ?? or nested
+ isset()/empty(). (Jorg Sowa)
+ . Fixed bug GH-24622 (Tracing JIT skips spilling inherited register values
+ before property helpers). (ndossche, Alessio Attilio)
++ . Fixed bug GH-8739 (OPcache restart corrupts SHM in threaded SAPIs).
++ (pavimus)
+
+- PDO_Firebird:
+ . Fixed stack buffer overflow with long connection user names, passwords,
+ charsets, or roles. (Ilia Alshanetsky)
+
+- PCRE:
+ . Fixed \C being allowed in patterns enabling UTF mode with (*UTF) instead
+ of the u modifier. (Jorg Sowa)
+
+- SOAP:
+ . Fixed bug GH-25267 (NULL dereference in to_xml_any() with integer key).
+ (lazerg)
+
+- Readline:
+ . Fixed incorrect handling of non-ASCII pending_input bytes in readline_info(),
+ which could cause readline() to return false prematurely. (Weilin Du)
+
+- Reflection:
+ . Fix trampoline leak when object construction fails for lazy object.
+ (ndossche)
+
+- Session:
+ . Fixed session upload progress to respect session.use_only_cookies.
+ (jorgsowa)
+
+- Sockets:
+ . Fixed socket_addrinfo_lookup() rejecting an empty packed hints array.
+ (lacatoire)
+
+- Standard:
+ . Fixed bug GH-25474 (version_compare() treats large numeric parts as equal
+ on 64-bit Windows). (lazerg)
+ . Fixed bug GH-25387 (Uploaded files leak in request_parse_body()).
+ (Kévin Dunglas)
+ . Fixed bug GH-24743 (var_export() ignores exceptions from lazy object
+ initialization). (lazerg)
+
+- Streams:
+ . Fixed in-place URL decoding of interned strings in the HTTP and FTP
+ wrappers. (Alejandro Pacheco)
+ . Fixed bug GH-22063 (Stream filter chain UAF on self-removal during
+ callback). (Ilia Alshanetsky)
+ . Fixed leaks and data loss when user filter leaves buckets on input
+ brigade. (ndossche, Matthias Goergens, Jakub Zelenka)
+ . Fixed bug GH-24175 (Use-after-free when pclose() closes a stream from its
+ user filter). (Edmond)
+ . Fixed bug GH-15701 (Build failure: incompatible funopen() seeker pointer
+ type on 32-bit platforms). (Kamil Tekiela)
+
+19 Nov 2026, PHP 8.5.13
+
+- Core:
+ . Fixed bug GH-24184 (System ID not being reinitialized after an Apache
+ graceful restart, potentially causing incompatible OPcache file cache
+ entries to be reused). (Levi Morrison)
+ . Fixed memory leak when an exception already contains the pending exception
+ in its previous chain. (Edmond)
+ . Fixed bug GH-23979 (Nullsafe operator must not flush delayed oplines of an
+ enclosing function). (ndossche)
+ . Fixed memory manager keeping a block reallocated to exactly the size of
+ the next smaller bin in its larger bin, which efree_size() then freed
+ into the wrong one. (Marc Bennewitz)
+ . Fixed bug GH-24081 (User opcode handlers resume execution against a stale
+ frame under ZEND_VM_KIND_TAILCALL). (devnexen)
+ . Fixed bug GH-24218 (Invalid opcode for count() of a literal array
+ without SCCP). (lazerg)
. Fix throwing behaviour with recursive arrays in VM. (ndossche)
. Fixed skipped catch block when switching fibers during exception unwinding
(Nicolas Grekas)