[gnutls-devel] GnuTLS | Should we check each argument of public gnutls functions to prevent crashes ? (#763)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed May 8 14:29:11 CEST 2019

New Issue was created.

Issue 763: https://gitlab.com/gnutls/gnutls/issues/763
Author:    Tim Rühsen

In GnuTLS public functions, sometimes arguments are checked (e.g. pointers against NULL), sometimes not.

Is there a general rule/policy for this ?

If not, does it make sense to check against invalid values to prevent crashes (and thus hard-to-reproduce reports) ?

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/763
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/20190508/e79c2bb3/attachment-0001.html>

More information about the Gnutls-devel mailing list