[gnutls-devel] 3.3.0pre0 - [sparc] Bus error on chainverify test
Nikos Mavrogiannopoulos
nmav at gnutls.org
Wed Apr 2 20:58:43 CEST 2014
On Wed, 2014-04-02 at 19:32 +0200, Andreas Metzler wrote:
> what I have tried these things without success:
> -O0 -> no change
>
> -------------------
> --- /home/ametzler/GIT/gnutls/lib/x509/x509.c 2014-04-01 19:47:18.934610756 +0200
> +++ lib/x509/x509.c 2014-04-02 19:26:31.562655272 +0200
> @@ -51,6 +51,7 @@ int gnutls_x509_crt_init(gnutls_x509_crt
>
> tmp =
> gnutls_calloc(1, sizeof(gnutls_x509_crt_int));
> + memset(tmp, '\0', sizeof(gnutls_x509_crt_int));
> int result;
Thanks, could you add a fprintf(stderr,"%d", cert->expanded); just
before the return of crt_init() and before the "if (cert->expanded)" in
gnutls_x509_crt_import()?
More information about the Gnutls-devel
mailing list