[gnutls-devel] GnuTLS | Allocate pathname on heap instead of on stack (!1493)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Dec 10 13:04:13 CET 2021




Tim Rühsen started a new discussion on lib/datum.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/1493#note_763246990

>  {
>  	if (dat != NULL) {
>  		gnutls_free(dat->data);
> +		dat->data = NULL;

`gnutls_free` should already set the argument to NULL.
Though the macro is wrapped into `GNUTLS_INTERNAL_BUILD`, which is currently always set (see `configure.ac`). Not sure how the future plan for this is.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1493#note_763246990
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/20211210/63145b49/attachment.html>


More information about the Gnutls-devel mailing list