|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-10-02 10:49 UTC] sniper@php.net
[2001-10-20 23:05 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 05:00:01 2025 UTC |
At line 113 in ext/standard/crypt.c a calculation is made for the argument to php_srand() that creates an invalid result with gcc 2.7.2 on a Cobalt Mips system. httpd exits with a floating point exception when PHP is invoked. Changed php_srand(time(0) * getpid() * (php_combined_lcg() * 10000.0)); to php_srand(time(0) * getpid() * (unsigned long) (php_combined_lcg() * 10000.0));