[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 02:29:38 CEST 2022




Sam James commented on a discussion on lib/pkcs11_privkey.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1652#note_1137210346

>  	(*key)->uinfo = p11_kit_uri_new();
>  	if ((*key)->uinfo == NULL) {
>  		free(*key);

I wonder how far one would get by just defining gnutls_malloc, giving it the malloc attribute (not the extended one I've used above, but the normal one), and calling normal malloc.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1652#note_1137210346
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/2c76adf9/attachment-0001.html>


More information about the Gnutls-devel mailing list