[php-src] PR #20725: Fix GH-17935: ArrayObject unserialize assertion failure on later modification
| From: | alexandre-daubois | Date: | Thu, 18 Dec 2025 10:31:41 +0000 |
| Subject: | [php-src] PR #20725: Fix GH-17935: ArrayObject unserialize assertion failure on later modification | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34308@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20725
Author: alexandre-daubois
Fix #17935
The crash is caused by
ZVAL_COPY being used during unserialization. Instead, we can
duplicate the array to avoid addref.