[gnutls-dev] bugreport: segmentation fault in gnutls_certificate_set_x509_crl()

Max Kellermann max at duempel.org
Mon Dec 11 08:52:02 CET 2006


Hi,

gnutls version 1.4.4 as well as the CVS head crash when a program uses
gnutls_certificate_set_x509_crl().  In the for loop, it calls
_gnutls_x509_crl_cpy() with new and uninitialized elements of the
res->x509_crl_list array.  This leads to a segmentation fault.

I suggest adding gnutls_x509_crl_init() before each
_gnutls_x509_crl_cpy() call.

Max





More information about the Gnutls-devel mailing list