Skip to content

streams: openssl: Handle error in SSL_CTX_new#4701

Merged
pks-t merged 1 commit intolibgit2:masterfrom
nikital:master
Jun 29, 2018
Merged

streams: openssl: Handle error in SSL_CTX_new#4701
pks-t merged 1 commit intolibgit2:masterfrom
nikital:master

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.

2 participants