[php-src] PR #21375: openssl: Fix missing error propagation in openssl_x509_export()
| From: | ndossche | Date: | Sat, 07 Mar 2026 14:26:04 +0000 |
| Subject: | [php-src] PR #21375: openssl: Fix missing error propagation in openssl_x509_export() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35124@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21375
Author: ndossche
The file writes can have failed, but this error isn't visible for the application, fix it by
propagating the error properly.
This was found by a hybrid static-dynamic analyser that looks for inconsistent handling of error
checks in bindings.