On Tue, Oct 04, 2005 at 02:46:12PM +0200, Michael Bell wrote:
> Date: Tue, 04 Oct 2005 14:46:12 +0200
> From: Michael Bell <[EMAIL PROTECTED]>
> Reply-To: [email protected]
> Subject: Re: [OpenCA-Devel] Integer overflow
>
> 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.
> + my $serial_obj = Math::BigInt->new ($serial);
^^^^^ - I think
this is not quite correct. IMHO it should be:
Math::BigInt->new ('0x'.$serial);
> + $ret->{$currentDepth}->{SERIAL} = $serial_obj->bstr();
> $ret->{$currentDepth}->{DN} = $dn;
> if ($self->{DEBUG})
> {
Best wishes
--
Alexei Chetroi
Smile... Tomorrow will be worse. (c) Murphy's Law
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
OpenCA-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-devel