[gnutls-devel] GnuTLS | Always check calloc() return value for NULL (!1552)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Mar 14 00:12:10 CET 2022

Tobias Heider created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/1552

Project:Branches: tobhe/gnutls:calloc to gnutls/gnutls:master
Author:   Tobias Heider

I noticed some calls to `calloc()` in `gnutls_openssl.c` are followed by `NULL` checks, others are not. This MR adds return value checks for the remaining `calloc()` calls.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1552
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/20220313/2ca1d630/attachment.html>

More information about the Gnutls-devel mailing list