Potential memory leak in RSA_private_decrypt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, The memory usage of one of our OpenSSL applications increases quickly. Valgrind detects the only possible leak below. We are using OpenSSL 1.0.2k. ==9721== 520 bytes in 1 blocks are indirectly lost in loss record 1,178 of 1,294 ==9721== at 0x4A0817C: malloc (vg_replace_malloc.c:298) ==9721== by 0x5B29CD0: comn_malloc (comalloc.c:28) ==9721== by 0x58E7DD2: comn__csi_malloc (netenc2.c:52) ==9721== by 0xBBC37EA: local_malloc (csi_provider_common.c:624) ==9721== by 0xBC1747F: default_malloc_ex (mem.c:79) ==9721== by 0xBC17BA6: CRYPTO_malloc (mem.c:350) ==9721== by 0xBC2648F: bn_expand_internal (bn_lib.c:303) ==9721== by 0xBC266AA: bn_expand2 (bn_lib.c:431) ==9721== by 0xBC26FF6: BN_set_bit (bn_lib.c:736) ==9721== by 0xBCE0880: BN_MONT_CTX_set (bn_mont.c:494) ==9721== by 0xBCE0A2F: BN_MONT_CTX_set_locked (bn_mont.c:544) ==9721== by 0xBCED0C0: RSA_eay_mod_exp (rsa_eay.c:763) ==9721== by 0xBCEC747: RSA_eay_private_decrypt (rsa_eay.c:554) ==9721== by 0xBC3B7DE: RSA_private_decrypt (rsa_crpt.c:111) I searched in this forum. I found a post reporting the same issue, but no resolution provided - http://openssl.6102.n7.nabble.com/Memory-issues-with-ssl-handshake-td20851.html#a20854. I wonder if anyone knows how to resolve this issue? Any help is appreciated. Aaron

Sent from the OpenSSL - User mailing list archive at Nabble.com.
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux