[php-src] PR #20885: Fix GH-20856: heap-use-after-free in SplDoublyLinkedList iterator when modifying during iteration
| From: | ndossche | Date: | Fri, 09 Jan 2026 16:15:03 +0000 |
| Subject: | [php-src] PR #20885: Fix GH-20856: heap-use-after-free in SplDoublyLinkedList iterator when modifying during iteration | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34488@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20885
Author: ndossche
The element may be still in use in other places, so the linking pointers should be kept consistent.
If not consistent, the "move forward" code in the sample test will read a stale, dangling
pointer.