[php-src] PR #19399: Fix GH-16649: Avoid UAF when using array_splice
| From: | alexandre-daubois | Date: | Thu, 07 Aug 2025 07:58:50 +0000 |
| Subject: | [php-src] PR #19399: Fix GH-16649: Avoid UAF when using array_splice | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32830@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19399
Author: alexandre-daubois
Fix UAF in array_splice when destructors modify the array during splicing. This PR adds a refresh to
array pointers to prevent access to stale memory after triggered reallocations.