[gnutls-devel] GnuTLS | mp_set_memory_functions (#1367)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed May 18 07:51:02 CEST 2022

Jeremy Whiting commented:

I took a couple stabs at this, first one I added a gnutls_allocate function that just does malloc. It was a shot in the dark since __gmp_default_allocate does the same (besides just reporting an error if it gives 0 back). With that alkimia tests still fail.

Second attempt I just commented out the mp_set_memory_functions in lib/nettle/init.c and with that all alkimia tests pass again.  I still don't understand why zeroing the memory before freeing causes free to assert though.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1367#note_950551819
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/20220518/74bdaee7/attachment.html>

More information about the Gnutls-devel mailing list