Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locate memory leak in tls_start_servertls() #3455

Closed
ksmurchison opened this issue Apr 17, 2021 · 3 comments
Closed

Locate memory leak in tls_start_servertls() #3455

ksmurchison opened this issue Apr 17, 2021 · 3 comments

Comments

@ksmurchison
Copy link
Contributor

==3299830== 728 (640 direct, 88 indirect) bytes in 1 blocks are definitely lost in loss record 200 of 282
==3299830== at 0x4839809: malloc (vg_replace_malloc.c:307)
==3299830== by 0x785C8ED: CRYPTO_zalloc (in /usr/lib64/libcrypto.so.1.1.1k)
==3299830== by 0x76BA6BE: SSL_SESSION_new (in /usr/lib64/libssl.so.1.1.1k)
==3299830== by 0x76BAF85: ??? (in /usr/lib64/libssl.so.1.1.1k)
==3299830== by 0x76E8E6D: ??? (in /usr/lib64/libssl.so.1.1.1k)
==3299830== by 0x76CF42B: ??? (in /usr/lib64/libssl.so.1.1.1k)
==3299830== by 0x48F3572: tls_start_servertls (tls.c:1203)
==3299830== by 0x427CDF: cmd_starttls (imapd.c:9048)
==3299830== by 0x431CF3: service_main (imapd.c:992)
==3299830== by 0x40DD64: main (service.c:647)
==3299830==

==3510942== 740 (640 direct, 100 indirect) bytes in 1 blocks are definitely lost in loss record 228 of 320
==3510942== at 0x4839809: malloc (vg_replace_malloc.c:307)
==3510942== by 0x78818ED: CRYPTO_zalloc (in /usr/lib64/libcrypto.so.1.1.1k)
==3510942== by 0x76DF6BE: SSL_SESSION_new (in /usr/lib64/libssl.so.1.1.1k)
==3510942== by 0x76DFF85: ??? (in /usr/lib64/libssl.so.1.1.1k)
==3510942== by 0x770DE6D: ??? (in /usr/lib64/libssl.so.1.1.1k)
==3510942== by 0x76F442B: ??? (in /usr/lib64/libssl.so.1.1.1k)
==3510942== by 0x48F3552: tls_start_servertls (tls.c:1203)
==3510942== by 0x470B12: starttls (httpd.c:1204)
==3510942== by 0x4750F5: service_main (httpd.c:936)
==3510942== by 0x422604: main (service.c:647)
==3510942==

@ksmurchison ksmurchison changed the title Located memory leak in tls_start_servertls() Locate memory leak in tls_start_servertls() May 12, 2021
@dilyanpalauzov
Copy link
Contributor

Maybe #4606 ?

@elliefm
Copy link
Contributor

elliefm commented Sep 10, 2023

Hmm. I think this particular one might have been fixed by a3523d4 in #4444 -- note tls_start_servertls() and SSL_SESSION_new(), rather than tls_init_clientengine()

@dilyanpalauzov
Copy link
Contributor

As this is fixed now, can the case be closed?

@elliefm elliefm closed this as completed Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants