[php-src] PR #11344: Fix DOMElement::append() and DOMElement::prepend() hierarchy checks
| From: | nielsdos | Date: | Mon, 29 May 2023 20:55:15 +0000 |
| Subject: | [php-src] PR #11344: Fix DOMElement::append() and DOMElement::prepend() hierarchy checks | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22620@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11344
Author: nielsdos
We could end up in an invalid hierarchy, resulting in infinite loops and eventual crashes if we
don't check for the DOM hierarchy validity.
This is in accordance to the "pre-insertion validity" check from spec.