[gnutls-devel] GnuTLS | OSCP: Fixed check null pointer OCSP resp to *_read_value() (!963)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Apr 4 10:00:38 CEST 2019

Tim Rühsen started a new discussion on lib/x509/ocsp.c:

>  	time_t rtime, vtime, ntime, now;
>  	int ret;
> +	if (resp == NULL) {

This is an internal function, so I am not sure what the policy for input param checks is (@nmav).

Also a general question to @nmav: Shouldn't we check input params of *all* exposed functions as a general rule ?

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/963#note_157272145
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/20190404/b6f0980e/attachment.html>

More information about the Gnutls-devel mailing list