[gnutls-devel] GnuTLS | lib/nettle/pk.c: Add check for gnutls_malloc() (!1986)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Sun Jul 20 23:14:00 CEST 2025
Jiasheng Jiang commented on a discussion on lib/nettle/pk.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1986#note_2640075368
> me = _gnutls_dsa_q_to_hash(params, &hash_len);
> spki.dsa_dig = MAC_TO_DIG(me->id);
> gen_data = gnutls_malloc(hash_len);
> + if (gen_data == NULL) {
Thank you. I have submitted a new commit to replace with a statically allocated buffer.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1986#note_2640075368
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/20250720/9bae8391/attachment-0001.html>
More information about the Gnutls-devel
mailing list