Commit c97689312d5 for php
commit c97689312d55f439f2e5497c4b33abf5a6f5cafa
Merge: 18652e6f4b7 f1ad57d3207
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date: Mon Nov 23 16:08:38 2026 -0500
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
ext/dom: Fix use-after-free in getElementById() after removing an ID attribute
diff --cc NEWS
index fc0c29d71a3,50c49efd5d3..dfec4033c9a
--- a/NEWS
+++ b/NEWS
@@@ -54,8 -58,12 +54,10 @@@ PH
. Fixed crash when registerNodeClass() is given a class with a constant
expression that cannot be evaluated; registerNodeClass() now throws the
evaluation Error instead. (Ilia Alshanetsky)
- . Fixed bug GH-25501 (querySelector() rejects a selector whose identifier
- starts with a non-ASCII character). (David Carlier)
. 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)
- Filter:
. Fixed stack overflow in filter_var() and filter_var_array() with deeply