[gnutls-devel] 3.3.0pre0 - [sparc] Bus error on chainverify test
Andreas Metzler
ametzler at bebt.de
Thu Apr 3 20:12:13 CEST 2014
On 2014-04-02 Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
> On Wed, 2014-04-02 at 19:32 +0200, Andreas Metzler wrote:
>> what I have tried these things without success:
[...]
> 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()?
Like this?
-------------------------------
--- /home/ametzler/GIT/gnutls/lib/x509/x509.c 2014-04-01 19:47:18.934610756 +0200
@@ -200,6 +201,7 @@ gnutls_x509_crt_import(gnutls_x509_crt_t
need_free = 1;
}
+ fprintf(stderr,"[at %s line %d]; %d", __FILE__, __LINE__, cert->expanded);
if (cert->expanded) {
/* Any earlier asn1_der_decoding will modify the ASN.1
structure, so we need to replace it with a fresh
-------------------------------
It results in this:
----------
sid_sparc-dchroot)ametzler at smetana:~/GNUTLS/gnutls28-3.3.0~pre0/tests$ ./chainverify
[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 0[at x509.c line 204]; 1229856835Bus error
----------
hth, cu Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chainverify--verbose.out.gz
Type: application/octet-stream
Size: 3592 bytes
Desc: not available
URL: </pipermail/attachments/20140403/326e01ad/attachment-0001.obj>
More information about the Gnutls-devel
mailing list