[php-src] PR #16060: Fix GH-16054: Segmentation fault when resizing hash table iterator list while adding

From: Date: Wed, 25 Sep 2024 16:54:20 +0000
Subject: [php-src] PR #16060: Fix GH-16054: Segmentation fault when resizing hash table iterator list while adding
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28796@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16060 Author: nielsdos zend_array_dup_ht_iterators() loops over the hash table iterators and can call zend_hash_iterator_add(). zend_hash_iterator_add() can resize the array causing a crash in zend_array_dup_ht_iterators(). We solve this by refetching the iter pointer after an add happened.

« previous php.git-pulls (#28796) next »