[gnutls-devel] GnuTLS | tests/suite/mini-record-timing.c: Add check for gnutls_malloc (!2001)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Aug 4 02:47:43 CEST 2025




Jiasheng Jiang commented on a discussion on tests/suite/mini-record-timing.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2001#note_2665636524

 >  		   gnutls_datum_t *key)
 >  {
 >  	key->data = gnutls_malloc(4);
 > +	if (key->data == NULL) {
 > +		return GNUTLS_E_MEMORY_ERROR;

Thank you. I have fixed it.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2001#note_2665636524
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/20250804/8903e206/attachment.html>


More information about the Gnutls-devel mailing list