Jiasheng Jiang commented on a discussion on src/pkcs11.c: 
https://gitlab.com/gnutls/gnutls/-/merge_requests/2002#note_2665626370

 >                      objurl = gnutls_malloc(strlen(output) + strlen(vendor) +
 >                                             1);
 > +                    if (objurl == NULL) {
 > +                            fprintf(stderr, "memory error\n");
 > +                            gnutls_free(output);
 > +                            continue;
 > +                    }
 > +
 >                      strcpy(objurl, output);
 >                      strcat(objurl, vendor);
 >              } else {
 >                      objurl = gnutls_strdup(output);
 > +                    if (objurl == NULL) {
 > +                            fprintf(stderr, "memory error\n");
 > +                            gnutls_free(output);
 > +                            continue;

Thank you. I have fixed it.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnutls/gnutls/-/merge_requests/2002#note_2665626370
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

Reply via email to