[gnutls-devel] GnuTLS | Datum.c cleanup (!1002)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon May 20 22:18:52 CEST 2019

Nikos Mavrogiannopoulos commented on a discussion on lib/datum.c: https://gitlab.com/gnutls/gnutls/merge_requests/1002#note_172473816

>  		return 0;
>  	}
> -	dat->data = gnutls_malloc(data_size);

As these functions predate modern asan and gcc attributes their conservative-ness may not make much sense. If we are to remove that check, I think it makes sense to use gcc attributes or something similar to prevent misuse.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1002#note_172473816
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/20190520/e9e96592/attachment.html>

More information about the Gnutls-devel mailing list