Fix a dangling pointer issue in our RSA keygen code
[tor.git] / changes / rsa_init_bug
blob6b5fb4f2f9257b9e335a80ffbc9b7ccfb1c82317
1   o Major bugfixes (key management):
2     - If OpenSSL fails to generate an RSA key, do not retain a dangling pointer
3       to the previous (uninitialized) key value. The impact here should be
4       limited to a difficult-to-trigger crash, if OpenSSL is running an
5       engine that makes key generation failures possible, or if OpenSSL runs
6       out of memory. Fixes bug 19152; bugfix on 0.2.1.10-alpha. Found by
7       Yuan Jochen Kang, Suman Jana, and Baishakhi Ray.