[GIT-PULLS] [php-src] PR #23140: Fix GH-23120: DOMNode::isEqualNode stack overflow on deeply nested trees
[email protected] (LamentXU123)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
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