[php-src] PR #20616: Fix GH-20614: SplFixedArray incorrectly handles references in deserialization
| From: | ndossche | Date: | Sat, 29 Nov 2025 11:08:42 +0000 |
| Subject: | [php-src] PR #20616: Fix GH-20614: SplFixedArray incorrectly handles references in deserialization | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34171@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20616
Author: ndossche
All other code caters to dereferencing array elements, except the unserialize handler. This causes
references to be present in the fixed array even though this seems not intentional as reference
assign is otherwise impossible.
On 8.5+ this causes an assertion failure. On 8.3+ this causes references to be present where they
shouldn't be.