[gnutls-devel] GnuTLS | _gnutls_rnd_init allocates memory per thread but does not seem to deallocate it (#1401)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Sep 23 11:33:10 CEST 2022




Zoltán Fridrich commented on a discussion: https://gitlab.com/gnutls/gnutls/-/issues/1401#note_1111937605

Thank you for your contribution. I will review the patch and maybe try to rework it a bit using the gnulib wrappers.

Regarding the leftover context on the main thread. Wouldn't a call to `pthread_key_delete` inside of `_gnutls_rnd_deinit` help? After all, the `_gnutls_rnd_deinit` should be called from the main thread.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1401#note_1111937605
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220923/dad83fde/attachment.html>


More information about the Gnutls-devel mailing list