Backport memory leak from [Bug #9743]
#1 [ruby-core:62361] Updated by Tomoyuki Chikanaga about 2 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r45821.
* ext/openssl/ossl_pkey.c (ossl_pkey_verify): as EVP_VerifyFinal() finalizes only a copy of the digest context, the context must be cleaned up after initialization by EVP_MD_CTX_cleanup() or a memory leak will occur. [Bug #9743]