[gnutls-devel] GnuTLS | src/pkcs11.c: Add check for gnutls_malloc and gnutls_strdup (!2002)
    Read-only notification of GnuTLS library development activities 
    gnutls-devel at lists.gnutls.org
       
    Sun Aug  3 03:54:31 CEST 2025
    
    
  
Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/2002 was reviewed by Daiki Ueno
--
  
Daiki Ueno started a new discussion on src/pkcs11.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2002#note_2665232389
 > +				fprintf(stderr, "memory error\n");
 > +				gnutls_free(output);
 > +				continue;
I would suggest aborting here with `app_exit(1)`, as the following logic wouldn't work without `objurl`.
--
  
Daiki Ueno started a new discussion on src/pkcs11.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2002#note_2665232398
 > +				fprintf(stderr, "memory error\n");
 > +				gnutls_free(output);
 > +				continue;
Same as above, let's just exit.
-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2002
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/20250803/2e5239ac/attachment.html>
    
    
More information about the Gnutls-devel
mailing list