[EMAIL PROTECTED] - Fri Mar 17 18:31:13 2006]: > > The opensll gives a segment violation as shown below. I tested this crash > with 0.9.8a/0.9.7g. Fortunately 0.9.7d crash does not happen which I am > using for my application. I do not know about 0.9.7h/0.9.7i versions. > > > > [Thread debugging using libthread_db enabled] > > [New Thread 2305843009213969632 (LWP 2576)] > > > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 2305843009213969632 (LWP 2576)] > > 0x40000000001e90a0 in x509_name_ex_d2i () > > (gdb) where > > #0 0x40000000001e90a0 in x509_name_ex_d2i () > > #1 0x4000000000197a40 in ASN1_item_ex_d2i () > > #2 0x4000000000196b80 in asn1_template_noexp_d2i () > > #3 0x40000000001971d0 in asn1_template_ex_d2i () > > #4 0x4000000000197630 in ASN1_item_ex_d2i () > > #5 0x4000000000196b80 in asn1_template_noexp_d2i () > > #6 0x40000000001971d0 in asn1_template_ex_d2i () > > #7 0x4000000000197630 in ASN1_item_ex_d2i () > > #8 0x40000000001985f0 in ASN1_item_d2i () > > #9 0x40000000001e36b0 in ASN1_item_d2i_bio () > > #10 0x400000000019fe40 in d2i_X509_bio () > > #11 0x400000000000a8d0 in srbOpensslVerifyDERBuffer > (certificateDERBuffer=0x6000000000004b80 "0\202\002,0\202\001Ö\002\001", > > certificateDERBufferLen=560, >
Unfortunately OpenSSL hasn't been compiled with debugging symbols so that doesn't help much. There seems to be a crash when its reading a certificate DN but that's about all I can tell. What would help is if you could dump the 560 bytes at certificateDERBuffer to a file and then see if you get a crash with: openssl x509 -inform DER -in buffer.der ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
