Backport #9745

backport r45595

Added by Terence Lee 11 months ago. Updated 10 months ago.

[ruby-core:62046]
Status:Closed
Priority:Normal
Assignee:Yui NARUSE

Description

Backport memory leak from [Bug #9743]

Associated revisions

Revision 45821
Added by Tomoyuki Chikanaga 10 months ago

merge revision(s) r45595: [Backport #9743] [Backport #9745]

* 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]

History

#1 Updated by Tomoyuki Chikanaga 10 months ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r45821.


merge revision(s) r45595: [Backport #9743] [Backport #9745]

* 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]

Also available in: Atom PDF