Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
possible memory leak in soter_rsa_priv_key_to_engine_specific() [OpenSSL] #514
In https://github.com/cossacklabs/themis/blob/master/src/soter/openssl/soter_rsa_key.c In function soter_rsa_priv_key_to_engine_specific() when you checking for BIGNUM allocation you don't free previous allocated BIGNUM.
In this case rsa_q, rsa_p, rsa_d, rsa_e will leak.
Thank you, we'll take a deeper look!
Also, we'll look at similar piece for BoringSSL
Have you found it by manual scanning, or using some tool?