[reSIProcate] ParseBuffer::integer() does not parse negative integers
Byron Campen
bcampen at estacado.net
Wed May 5 14:28:43 CDT 2010
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2482 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20100505/f5430457/attachment.bin>
More information about the resiprocate-devel
mailing list