Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

streams: openssl: Handle error in SSL_CTX_new #4701

Merged
merged 1 commit into from
Jun 29, 2018
Merged

Conversation

nikital
Copy link
Contributor

@nikital nikital commented Jun 25, 2018

SIGSEGV otherwise...

I saw the segfault on Fedora when using libgit2 with nodegit. The segfault was in in SSL_CTX_set_verify because it was the first function that tried to actually write to the NULL pointer.

@pks-t pks-t merged commit 01574d4 into libgit2:master Jun 29, 2018
@pks-t
Copy link
Member

pks-t commented Jun 29, 2018

Thanks for your fix! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants