[gnutls-devel] Avoid segmentation fault on wrong crt files

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat Feb 15 10:16:49 CET 2014


On 02/15/2014 07:14 AM, Dmitriy Anisimkov wrote:
> 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.

Thank you. I've committed a little different fix in master.

regards,
Nikos





More information about the Gnutls-devel mailing list