Ok, i did manage the secound problem with the suppression file in the attatchment. Memory Leak Problem still remains.
Am 21.03.2014 12:02, schrieb 1...@gmx.net: > Good day, > > can somebody please say me, how to cleanup OpenSSL_add_all_algorithms()? > > I have a constant memory leak with the code in the attatchment. > The valgrind log is also there. > > > My secound problem: > ==32205== Conditional jump or move depends on uninitialised value(s) > ==32205== at 0x51424D9: BN_bin2bn (in /usr/lib/libcrypto.so.1.0.0) > > Is there an ability the mute valgrind for those functions? > > Sincerely yours >
{ ignore_libcrypto_conditional_jump_errors Memcheck:Cond obj:*/libcrypto.so.* } { ignore_libcrypto_conditional_jump_errors Memcheck:Value8 obj:*/libcrypto.so.* } { <insert_a_suppression_name_here> Memcheck:Param write(buf) fun:__write_nocancel fun:sock_write fun:BIO_write fun:buffer_ctrl fun:ssl3_connect fun:sendmail_starttls fun:main } { <insert_a_suppression_name_here> Memcheck:Cond fun:bcmp fun:aes_gcm_cipher } { <insert_a_suppression_name_here> Memcheck:Cond fun:inflate fun:zlib_stateful_expand_block fun:COMP_expand_block fun:ssl3_do_uncompress } { <insert_a_suppression_name_here> Memcheck:Value8 fun:inflate fun:zlib_stateful_expand_block fun:COMP_expand_block fun:ssl3_do_uncompress } { <insert_a_suppression_name_here> Memcheck:Value8 obj:/usr/lib/libz.so.1.2.8 fun:inflate fun:zlib_stateful_expand_block fun:COMP_expand_block fun:ssl3_do_uncompress } { <insert_a_suppression_name_here> Memcheck:Cond fun:ssl3_get_finished fun:ssl3_connect } { <insert_a_suppression_name_here> Memcheck:Param write(buf) fun:__write_nocancel fun:sock_write fun:BIO_write fun:ssl3_write_pending fun:ssl3_write_bytes } { <insert_a_suppression_name_here> Memcheck:Value8 obj:/usr/lib/libz.so.1.2.8 fun:inflate fun:zlib_stateful_expand_block fun:COMP_expand_block fun:ssl3_do_uncompress } { <insert_a_suppression_name_here> Memcheck:Cond obj:/usr/lib/libz.so.1.2.8 fun:inflate fun:zlib_stateful_expand_block fun:COMP_expand_block fun:ssl3_do_uncompress }