[php-src] PR #21039: Fix memory leak regression in openssl_pbkdf2()

From: Date: Sun, 25 Jan 2026 22:26:02 +0000
Subject: [php-src] PR #21039: Fix memory leak regression in openssl_pbkdf2()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34667@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/21039 Author: ndossche We're fetching the digest using the new method, but if an alias is used, the method is fetched via EVP_MD_fetch() which requires lifetime management. This is observable when using "sha-256" instead of "sha256" as an algorithm name. This is a regression in comparison to PHP 8.4. This was found by a hybrid static-dynamic analyser that looks for inconsistent handling of error checks in bindings.

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