[php-src] PR #17207: Fix GH-17201: Dom\TokenList issues with interned string replace
| From: | nielsdos | Date: | Tue, 17 Dec 2024 21:29:31 +0000 |
| Subject: | [php-src] PR #17207: Fix GH-17201: Dom\TokenList issues with interned string replace | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30053@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17207
Author: nielsdos
If a bucket previously had a non-interned string, and is now replaced with an interned string, then
the type flags still incorrectly state it's a non-interned string. This leads to the refcount
being edited for interned strings, which in turn can lead to a crash when protect_memory is set.