Skip to content
New issue

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

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

Already on GitHub? # to your account

fix segfault when incorrect private key #286

Merged
merged 1 commit into from
Jan 19, 2018

Conversation

Lagovas
Copy link
Collaborator

@Lagovas Lagovas commented Jan 19, 2018

added assigning NULL to context pointer to avoid double free (https://github.com/cossacklabs/themis/blob/master/src/soter/openssl/soter_asym_cipher.c#L111)
plus regression tests

@Lagovas Lagovas requested a review from vixentael January 19, 2018 11:41
@Lagovas Lagovas merged commit b98d18b into cossacklabs:master Jan 19, 2018
@vixentael vixentael added core Themis Core written in C, its packages tests Themis test suite labels Jan 26, 2018
@Lagovas Lagovas deleted the lagovas/fix-segfault branch February 6, 2018 14:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
core Themis Core written in C, its packages tests Themis test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants