[php-src] PR #23651: ext/openssl: Defer pkcs7/cms verify output writes until verification succeeds

From: Date: Thu, 10 Sep 2026 22:13:41 +0000
Subject: [php-src] PR #23651: ext/openssl: Defer pkcs7/cms verify output writes until verification succeeds
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38426@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23651 Author: iliaal openssl_pkcs7_verify() and openssl_cms_verify() opened the output paths in write mode before verification, emptying existing files on failure. Verified content is buffered in memory and written only on success; the extra PKCS7/CMS output file is created only in that same success branch.

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