[php-src] PR #26062: Fix GH-25922: UAF in WeakMap destruction when value destructor trigge…

From: Date: Fri, 04 Dec 2026 09:43:48 +0000
Subject: [php-src] PR #26062: Fix GH-25922: UAF in WeakMap destruction when value destructor trigge…
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-41409@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/26062 Author: chenshengyou170-wq …rs bailout Move wm->ht into a local HashTable and re-initialize wm->ht to an empty table before invoking zend_hash_destroy(&tmp), ensuring wm->ht remains valid and empty if a value destructor triggers a bailout (e.g., E_USER_ERROR). Fixes GH-25922.

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