[gnutls-devel] Avoid segmentation fault on wrong crt files
anisimkov at ada-ru.org
Sat Feb 15 07:14:04 CET 2014
In gnutls_pcert_list_import_x509_raw call
If data does not contain any certificate, the call
gnutls_x509_crt_list_import returns error,
and than failure happening inside gnutls_x509_crt_deinit, because the
crt array was not
zero initialized and looks like initialized by certificates.
Do I need to create small test program demonstrating the faulure fixed
by this patch ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 740 bytes
Desc: not available
More information about the Gnutls-devel