|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2014-12-28 22:56 UTC] bugreports at internot dot info
Description: ------------ Hi, In /Zend/zend_strtod.c: 1137 z >>= k; But k may be 32. Bitshifting >=32 causes "undefined behavior". Thanks, PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 19 06:00:01 2025 UTC |
zend_strtod.c 1134 if ((y = d1)) { 1135 if ((k = lo0bits(&y))) { 1136 x[0] = y | (z << (32 - k)); 1137 z >>= k; "k" can't be equal to 32, because this means that "y" is equal to zero, but this condition is checked on line 1134.