Chris Covell wrote:

Openca 0.9.2.2
Openssl 0.9.7

Integer overflow in hexadecimal number at /usr/local/ca001_pki/modules/perl5/OpenCA/PKCS7.pm line 392.

Do you have a test system where you can try the attached patch? It is only a quick fix for the reported error.

Michael
--
_______________________________________________________________

Michael Bell                    Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482       ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704       Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
_______________________________________________________________
--- PKCS7.pm.orig	2005-10-04 14:36:36.233329121 +0200
+++ PKCS7.pm	2005-10-04 14:43:59.492452499 +0200
@@ -389,7 +389,9 @@
 
 		( $currentDepth, $serial, $dn ) =
 			( $line =~ /depth:([\d]+) serial:([a-fA-F\d]+) subject:(.*)/ );
-		$ret->{$currentDepth}->{SERIAL} = hex ($serial) ;
+                use Math::BigInt;
+                my $serial_obj = Math::BigInt->new ($serial);
+		$ret->{$currentDepth}->{SERIAL} = $serial_obj->bstr();
 		$ret->{$currentDepth}->{DN} = $dn;
 		if ($self->{DEBUG})
 		{

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to