Hello.

I'm a OpenSSL user.
I found openssl's bug.
I send a bug-fix patch.
It is a fix for an infinte length SEQUENCE.

infinite length SEQUENCE:   0x30 0x80 ...Contents... 0x00 0x00

And also, I send a pkcs#7 data: cert.p7.
Using openssl-0.9.6 on FreeBSD system, 

   $ /somewhere/openssl pkcs7 -inform DER -in <this pkcs#7 data>
   56451:error:0D091008:asn1 encoding routines:d2i_PKCS7:asn1 length 
mismatch:p7_lib.c:321:address=135442432 offset=19

I think this pkcs#7 data is a valid data.
But cannot parse it.

If this fix is right, would you like to merge it?

# Two files are encoded by base64 format.

Thanks!
--- shige
Shigeyuki Fukushima <[EMAIL PROTECTED]>

openssl-0.9.6-infinite-length-sequence-bugfix.diff

cert.p7

Reply via email to