Commit 5266eaa998f for php
commit 5266eaa998f0136360d8b4fd0d3bfe7685535ef0
Merge: 0862a59e751 622f5802fb9
Author: Weilin Du <weilindu@php.net>
Date: Fri Oct 30 00:57:36 2026 +0800
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
Fix GH-24668: zend_set_local_var() leaks the previous CV value (#24670)
diff --cc NEWS
index 0d4838421d8,f74b0b57f67..186d729a28a
--- a/NEWS
+++ b/NEWS
@@@ -23,8 -21,17 +23,10 @@@ PH
. Fix escape analysis for objects implementing ArrayAccess. (ndossche, Arnaud)
. Fix UAF for resolved callable zval. (EdmondDantes)
. Fix memory leak for nested HTTP calls. (EdmondDantes)
- . Fixed pthread attribute leak in zend_call_stack_get_netbsd_pthread().
- (David Carlier)
- . Fixed bug GH-24321 (ZTS: global_map_ptr_last survives zend_shutdown(),
- so an in-process engine restart keeps growing the map_ptr table).
- (David Carlier)
. Fix function and constant imports in compile_to_ast and add support
for grouping. (Klaas Skelte van der Werf)
- . Fixed bug GH-24265 (Unwind/GracefulExit discarded in
- zend_fiber_execute()). (David Carlier)
+ . Fixed bug GH-24668 (zend_set_local_var() leaks the previous value of an
+ existing CV). (yasu20200121web-prog, lazerg)
. Fixed unmapping of an unrelated range when the aligned chunk mmap fails
(Marti2203).
diff --cc ext/zend_test/test_arginfo.h
index 820ac82fb01,e2a388659ec..d35ae490d8d
Binary files differ