[gnutls-devel] GnuTLS | Release 3.8.10 (!1979)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Jul 8 11:48:02 CEST 2025




Daiki Ueno commented on a discussion on src/certtool-cfg.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1979#note_2611294166

 >  	if (val != NULL) {                                                 \
 >  		if (s_name == NULL) {                                      \
 >  			i = 0;                                             \
 > -			s_name = malloc(sizeof(char *) * MAX_ENTRIES);     \
 > +			s_name = malloc(MAX_ENTRIES + 1);                  \

Good catch; fixed it and added a test.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1979#note_2611294166
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/20250708/7cbcfe4f/attachment.html>


More information about the Gnutls-devel mailing list