[gnutls-devel] GnuTLS | lib: Fix Wunterminated-string-initialization warnings (!2029)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Oct 16 19:30:09 CEST 2025




Samuel Zeter commented on a discussion on lib/accelerated/x86/x86-common.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2029#note_2826791201

 >  
 >  static int check_phe_partial(void)
 >  {
 > -	const char text[64] = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
 > -			      "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
 > +	const char text[64] __attribute__((nonstring)) =

ok i will amend this. I went through several iterations trying to find the best approach.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2029#note_2826791201
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/20251016/babc91ae/attachment-0001.html>


More information about the Gnutls-devel mailing list