DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37075>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37075 Summary: WINCAPI RSA Signatures Destructor ~WinCAPICryptoKeyRSA does not destroy key Product: Security Version: C++ 1.2.0 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: C++ Signature AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] WINCAPI RSA Signatures memory leak in destructor src\enc\WinCAPI\WinCAPICryptoKeyRSA.cpp WinCAPICryptoKeyRSA::~WinCAPICryptoKeyRSA() { // If we have a RSA, delete it if (m_key == 0) CryptDestroyKey(m_key); if (mp_exponent) delete[] mp_exponent; if (mp_modulus) delete[] mp_modulus; }; Due to a typo, CryptDestroyKey() never gets called :- it should read if(m_key != 0) CryptDestroyKey(m_key); -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
