[gnutls-devel] GnuTLS | trust: make filesystem path construction flexible (!1493)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Sep 20 08:17:04 CEST 2022



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1493 was reviewed by Daiki Ueno

--
  <!-- Get preloaded note discussion-->
  
Daiki Ueno commented on a discussion on lib/datum.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/1493#note_1106367894

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

Indeed, dropped the commit.

--
  <!-- Get preloaded note discussion-->
  
Daiki Ueno commented on a discussion on lib/fips.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1493#note_1106367905

> -	gnutls_free(data.data);
> -
> +	_gnutls_free_datum(&data);

As the fips.c has been heavily modified since this MR, I've dropped the changes to that file.

--
  <!-- Get preloaded note discussion-->
  
Daiki Ueno commented on a discussion: https://gitlab.com/gnutls/gnutls/-/merge_requests/1493#note_1106367908

Sorry for the delay. After a bit of thinking and learning from the glibc's ftw implementation, I've reworked the logic with helper functions that allocates memory only if PATH_MAX has reached.


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1493
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/20220920/b5c6bbe5/attachment-0001.html>


More information about the Gnutls-devel mailing list