Skip to content

openssl: Fix missing error propagation in openssl_x509_export()#21375

Open
ndossche wants to merge 1 commit intophp:PHP-8.4from
ndossche:clesss-33
Open

openssl: Fix missing error propagation in openssl_x509_export()#21375
ndossche wants to merge 1 commit intophp:PHP-8.4from
ndossche:clesss-33

Conversation

@ndossche
Copy link
Member

@ndossche ndossche commented Mar 7, 2026

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.

The file writes can have failed, but this error isn't visible for the application,
fix it by propagating the error properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant