]> granicus.if.org Git - php/commitdiff
Fix bug #53632 with x87 fpu
authorScott MacVicar <scottmac@php.net>
Tue, 4 Jan 2011 22:36:23 +0000 (22:36 +0000)
committerScott MacVicar <scottmac@php.net>
Tue, 4 Jan 2011 22:36:23 +0000 (22:36 +0000)
NEWS
Zend/zend_strtod.c

diff --git a/NEWS b/NEWS
index e3f181021ffc23faecdfa6bf2aefc7b5e24001ac..8cd674e669a3bf8413a7dd3f7aaf1f7733286de3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@
   . Indirect reference to $this fails to resolve if direct $this is never used
     in method. (Scott)
   . Fixed Bug #53629 (memory leak inside highlight_string()). (Hannes, Ilia)
+  . Fixed Bug #53632 (infinite loop with x87 fpu). (Scott, Rasmus)
 
 - Core:
   . Fixed bug #48484 (array_product() always returns 0 for an empty array).
index bc2ca97b19b413e882261f06cc4dad1558f0c6e6..311d4385d3138a26905529ab3d89f38554d7fd06 100644 (file)
@@ -2035,7 +2035,7 @@ ZEND_API double zend_strtod (CONST char *s00, char **se)
        int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, dsign,
                e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign;
        CONST char *s, *s0, *s1;
-       double aadj, aadj1, adj;
+       volatile double aadj, aadj1, adj;
        volatile _double rv, rv0;
        Long L;
        ULong y, z;