[php-src] PR #21360: openssl: Fix missing error propagation for BIO_printf() calls

From: Date: Fri, 06 Mar 2026 17:01:04 +0000
Subject: [php-src] PR #21360: openssl: Fix missing error propagation for BIO_printf() calls
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-35109@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/21360 Author: ndossche Since these go through a file, this can fail. For some of these, the error is already checked but not propagated to userland, causing a "true" return value but an incomplete file. For others, the error is not checked and can also lead to an incomplete file. Solve this by always propagating failure, especially as the other write calls are already checked for failure. This was found by a hybrid static-dynamic analyser that looks for inconsistent handling of error checks in bindings.

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