Commit e0d4d57ac2d for php
commit e0d4d57ac2de236058a7e2c5cabb61609a621d4f
Merge: 13f75a02aaa c97689312d5
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date: Mon Nov 23 16:10:36 2026 -0500
Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5:
ext/dom: Fix use-after-free in getElementById() after removing an ID attribute
diff --cc NEWS
index 5975696d930,dfec4033c9a..b3e69ae2a35
--- a/NEWS
+++ b/NEWS
@@@ -65,12 -56,9 +65,14 @@@ PH
evaluation Error instead. (Ilia Alshanetsky)
. Fixed a crash and a use-after-free in key() of an attribute or DTD named
node map iterator that has no current item. (Ilia Alshanetsky)
+ . Fixed use-after-free in getElementById() after a removed ID attribute is
+ freed. (Ilia Alshanetsky)
+- Fileinfo:
+ . Fixed bug GH-25051 (TrueType fonts detected as application/octet-stream
+ since libmagic 5.48). (Weilin Du)
+ . Fixed incorrect MIME type detection for HWPX files. (Weilin Du)
+
- Filter:
. Fixed stack overflow in filter_var() and filter_var_array() with deeply
nested arrays. (Eyüp Can Akman)