[gnutls-dev] Overflow check

Fabio.Fiorina@alcatel.it Fabio.Fiorina@alcatel.it
Fri Nov 30 08:14:01 2001


--openmail-part-026e96fb-00000001
Content-Type: text/plain; charset=US-ASCII; name="BDY.TXT"
Content-Disposition: inline; filename="BDY.TXT"
Content-Transfer-Encoding: 7bit

Hi all,
I've committed in cvs these files:
"x509_asn1.c","x509_asn1.h","x509_der.c","x509_der.h",
"x509_ASN.y","ASN1.readme.txt.",. 
Now there's the check on length bytes, so certificates with 
invalid coding don't generate an "overflow error".
Function "asn1_create_der" can return also the value 
"ASN_DER_OVERFLOW". 

bye,  fabio 


--openmail-part-026e96fb-00000001
Content-Type: application/x-openmail-1734; name="WINMAIL.DAT"
Content-Disposition: attachment; filename="WINMAIL.DAT"
Content-Transfer-Encoding: base64

eJ8+IqbpAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5N
aWNyb3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEDkAYADAAAAAEAAAADABcAAQAA
ABwAAQOQBgAMAAAAAQAAAAMANgAAAAAAOgABBIABABAAAAAgT3ZlcmZsb3cgY2hlY2sAkgUB
A5AGAAwAAAABAAAACwACAAEAAAAPAAEDkAYADAAAAAEAAAADAC4AAAAAADIAAQOQBgAkAAAA
AQAAAAIBMQABAAAAEQAAAEgwMDAwMWNkMDBhNDUwMTIAAAAABAQBA5AGABAAAAABAAAAQAA5
APCl5aFuecEBPgUBA5AGACAAAAABAAAAHgBCAAEAAAAPAAAARmlvcmluYSwgRmFiaW8AAGYF
AQOQBgAQAAAAAQAAAEAASADwoqGibnnBAQcFAQOQBgAUAAAAAQAAAB4ATQABAAAAAQAAAAAA
AABuAAEIAAUABAAAAAAAAAAAAAEDkAYAIAAAAAEAAAAeAHAAAQAAABAAAAAgT3ZlcmZsb3cg
Y2hlY2sAMgYBA5AGACgAAAABAAAAAgFxAAEAAAAWAAAAAcF5bqHaak+RQuVeEdWMiQ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