[gnutls-devel] GnuTLS | gnutls_init: Always initialize *session (!1652)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Oct 17 15:07:31 CEST 2022




Eric Blake commented on a discussion: https://gitlab.com/gnutls/gnutls/-/merge_requests/1652#note_1138088534

Of course, now that I've belatedly learned that gnutls_free() is a macro that calls the user's function then slams the pointer to NULL, my audit was wrong; I am less certain whether there are code paths that failed to set the pointer to NULL on all exit paths, and will need to redo the audit...

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1652#note_1138088534
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/20221017/23faa356/attachment.html>


More information about the Gnutls-devel mailing list