< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] ParseBuffer::integer() does not parse negative integers


        Ok, should be taken care of now. Thanks for the heads-up!

Byron Campen

> Hi.
> 
> The functionality was broken by r6512 of /main/rutil/ParseBuffer.cxx
> 
> The following condition is always true, for it is expanded to
> (0 > negative number) for the first digit.
> 
>      if(signum*last > signum*num)
>      {
>         fail(__FILE__, __LINE__,"Overflow detected.");
>      }
> 
> -- 
> ...Bye..Dmitry.

Attachment: smime.p7s
Description: S/MIME cryptographic signature