[php-src] PR #23140: Fix GH-23120: DOMNode::isEqualNode stack overflow on deeply nested trees
| From: | LamentXU123 | Date: | Sat, 08 Aug 2026 08:40:05 +0000 |
| Subject: | [php-src] PR #23140: Fix GH-23120: DOMNode::isEqualNode stack overflow on deeply nested trees | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37649@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23140
Author: LamentXU123
DOMNode::isEqualNode() recursively compared ordered child lists.
Compare each node without descending into its children first to solve this and we walk both subtrees
in tree order to compare descendants iteratively.
Fix GH-23120