[php-src] PR #16596: Fix GH-16593: Assertion failure in DOM->replaceChild
| From: | nielsdos | Date: | Fri, 25 Oct 2024 17:03:35 +0000 |
| Subject: | [php-src] PR #16596: Fix GH-16593: Assertion failure in DOM->replaceChild | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29397@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16596
Author: nielsdos
This is already forbidden by libxml, but this condition isn't properly checked; so the return
value and lack of error makes it seem like it worked while it actually didn't. Furthermore,
this can break assumptions and assertions later on.