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

programs/pkey/rsa_decrypt.c doesn't initialize rsa structure -- crash #788

Closed
guidovranken opened this issue Feb 4, 2017 · 2 comments
Closed
Labels

Comments

@guidovranken
Copy link
Contributor

This file does not call mbedtls_rsa_init and thus may crash if mbedtls_rsa_free is called before the structure is fully initialized (for example if rsa_priv.txt is missing and it jumps to the exit label).

@simonbutcher
Copy link
Contributor

I think this is a duplicate of #691, which has a fix in #728 that's pending merge. Please reopen or reply if you disagree.

@guidovranken
Copy link
Contributor Author

Woops, didn't see.

yanesca added a commit that referenced this issue Dec 11, 2020
Prepare Release Candidate for Mbed TLS 2.7.18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants