[php-src] PR #16178: Fix bugs GH-16150 and GH-16152: intern document mismanagement
| From: | nielsdos | Date: | Wed, 02 Oct 2024 20:52:21 +0000 |
| Subject: | [php-src] PR #16178: Fix bugs GH-16150 and GH-16152: intern document mismanagement | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28955@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16178
Author: nielsdos
The reference counts of the internal document pointer are mismanaged. In the case of fragments the
refcount may be increased too much, while for other cases the document reference may not be applied
to all children.
This bug existed for a long time and this doesn't reproduce (easily) on 8.2 due to other bugs.
Furthermore 8.2 will enter security mode soon, and this change may be too risky.