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

Dmitry Semyonov dsemyonov at dins.ru
Wed May 5 12:35:58 CDT 2010


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.



More information about the resiprocate-devel mailing list