[php-src] PR #17058: Fix GH-17047: UAF on iconv filter failure

From: Date: Thu, 05 Dec 2024 20:19:36 +0000
Subject: [php-src] PR #17058: Fix GH-17047: UAF on iconv filter failure
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29898@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17058 Author: nielsdos The first while loop sets the bucket variable, and this is freed in out_failure. However, when the second "goto out_failure" is triggered then bucket still refers to the bucket from the first while loop, causing a UAF. Fix this by separating the error paths.

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