Skip to content

Properly propagate failure of X509_STORE_CTX_new()#22625

Open
ndossche wants to merge 1 commit into
php:masterfrom
ndossche:openssl-e-error
Open

Properly propagate failure of X509_STORE_CTX_new()#22625
ndossche wants to merge 1 commit into
php:masterfrom
ndossche:openssl-e-error

Conversation

@ndossche

@ndossche ndossche commented Jul 7, 2026

Copy link
Copy Markdown
Member

Propagating is consistent with other "new" failures, and avoids bailing out, which is inherently problematic anyway as it can cause persistent leaks on its own.

Originally reported as a part of #21643, but the other issues there are all semantic whereas this is specific to ASAN.

Propagating is consistent with other "new" failures, and avoids bailing out,
which is inherently problematic anyway as it can cause persistent leaks
on its own.
@ndossche ndossche requested a review from bukka as a code owner July 7, 2026 11:57
@ndossche ndossche changed the title Properly propagate X509_STORE_CTX_new() Properly propagate failure of X509_STORE_CTX_new() Jul 7, 2026
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