-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Closed
Labels
issue: bug reportThe issue was opened to report a bugThe issue was opened to report a bug
Description
I tried migration from OpenSSL 3.5.4 of a C++ application , using gsoap and statically linked to openssl
There is no problem with openSSL between 1.1.1 and 3.5.4
With OpenSSL 3.6.0, valgrind error are:
==2955867== 768 bytes in 6 blocks are still reachable in loss record 856 of 1,090
==2955867== at 0x483877F: malloc (vg_replace_malloc.c:307)
==2955867== by 0x173286A: CRYPTO_malloc (mem.c:212)
==2955867== by 0x173286A: CRYPTO_zalloc (mem.c:224)
==2955867== by 0x18A5AE4: alloc_node (sparse_array.c:176)
==2955867== by 0x18A5AE4: ossl_sa_set (sparse_array.c:205)
==2955867== by 0x1752EC9: rand_get0_public (rand_lib.c:845)
==2955867== by 0x1752DB7: RAND_bytes_ex (rand_lib.c:490)
==2955867== by 0x164664D: SSL_CTX_new_ex (ssl_lib.c:4191)
==2955867== by 0xF86AF0: ssl_auth_init(soap*) (stdsoap2.cpp:4435)
==2955867== by 0xF6F92B: soap_ssl_client_context (stdsoap2.cpp:4177)
==2955867== by 0xB61331: soap_ssl_client_setup(soap*, unsigned short, char const*, char const*, char const*, char const*) (ssl_setup.cpp:246)
....
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:CRYPTO_malloc
fun:CRYPTO_zalloc
fun:alloc_node
fun:ossl_sa_set
fun:rand_get0_public
fun:RAND_bytes_ex
fun:SSL_CTX_new_ex
fun:_ZL13ssl_auth_initP4soap
fun:soap_ssl_client_context
fun:_Z21soap_ssl_client_setupP4soaptPKcS2_S2_S2_
...
}
and
==2634327== 32 bytes in 1 blocks are still reachable in loss record 9 of 25
==2634327== at 0x483877F: malloc (vg_replace_malloc.c:307)
==2634327== by 0x17326EA: CRYPTO_malloc (mem.c:212)
==2634327== by 0x17326EA: CRYPTO_zalloc (mem.c:224)
==2634327== by 0x174026B: ossl_sa_CTX_TABLE_ENTRY_new (threads_common.c:110)
==2634327== by 0x174026B: CRYPTO_THREAD_set_local_ex (threads_common.c:379)
==2634327== by 0x1752D49: rand_get0_public (rand_lib.c:845)
==2634327== by 0x1752C37: RAND_bytes_ex (rand_lib.c:490)
==2634327== by 0x16464ED: SSL_CTX_new_ex (ssl_lib.c:4191)
==2634327== by 0xF86990: ssl_auth_init(soap*) (stdsoap2.cpp:4435)
==2634327== by 0xF6F7CB: soap_ssl_client_context (stdsoap2.cpp:4177)
==2634327== by 0xB613B1: soap_ssl_client_setup(soap*, unsigned short, char const*, char const*, char const*, char const*) (ssl_setup.cpp:246)
....
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:CRYPTO_malloc
fun:CRYPTO_zalloc
fun:ossl_sa_CTX_TABLE_ENTRY_new
fun:CRYPTO_THREAD_set_local_ex
fun:rand_get0_public
fun:RAND_bytes_ex
fun:SSL_CTX_new_ex
fun:_ZL13ssl_auth_initP4soap
fun:soap_ssl_client_context
fun:_Z21soap_ssl_client_setupP4soaptPKcS2_S2_S2_
...
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
issue: bug reportThe issue was opened to report a bugThe issue was opened to report a bug
Type
Projects
Status
Done