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.


_______________________________________________
Gnutls-devel mailing list
Gnutls-devel@lists.gnutls.org
http://lists.gnupg.org/mailman/listinfo/gnutls-devel
  • [gnutls-de... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities
    • Re: [... Read-only notification of GnuTLS library development activities

Reply via email to