OT: PHP 32 bit numbers security issue

OT: PHP 32 bit numbers security issue

shimi linux-il at shimi.net
Wed Jan 5 14:19:30 IST 2011


On Wed, Jan 5, 2011 at 1:52 PM, shimi <linux-il at shimi.net> wrote:

>
> It has something to do with the precision attempting algorithm of floating
> point numbers, and the way it is done on fpu87 in 32bit processors. It tries
> to get close to the number below a certain point which is impossible, and
> the algorithm does not check to see if it is not actually progressing in
> getting closer to the minimal precision error. Hence it's an infinite loop.
>
> Compiling with -mfpmath=sse will also solve the problem.
>
>
And a more thorough explanation:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323#c109

 -- Shimi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20110105/73f0976c/attachment-0001.html>


More information about the Linux-il mailing list