#26381 [Fbk->Opn]: rand() without srand() doesn't work with certain php.ini
| From: | spam at vrana dot cz | Date: | Tue, 02 Dec 2003 21:35:22 +0000 |
| Subject: | #26381 [Fbk->Opn]: rand() without srand() doesn't work with certain php.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51601@lists.php.net to get a copy of this message | ||
ID: 26381
User updated by: spam at vrana dot cz
Reported By: spam at vrana dot cz
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: Windows XP
PHP Version: 4CVS-2003-12-2
New Comment:
I really don't know which additional information you need. Can you tell
me?
I described the wrong behaviour on 24 Nov 8:21am EST.
I found that the wrong behaviour is most probably bounded with
processing of php.ini and described it on 2 Dec 10:57am EST.
I tested everything on CVS snapshot on 25 Nov 4:53am EST and on 2 Dec
11:18am EST with the same result.
I want to give you all information which you need to fix this bug but I
don't know about anything what wasn't already written here.
Previous Comments:
------------------------------------------------------------------------
[2003-12-02 14:28:31] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2003-12-02 13:10:29] spam at vrana dot cz
Everything is written on http://bugs.php.net/?id=26381.
It seems that by some problem in processing php.ini is caused that
"rand() without srand() doesn't work". It's most probably only
side-effect of something wrong (like buffer-overflow).
------------------------------------------------------------------------
[2003-12-02 12:51:13] sniper@php.net
What problem?
How can we reproduce this?
------------------------------------------------------------------------
[2003-12-02 11:18:28] spam at vrana dot cz
Yes. The problem occurs also with CVS snapshot.
------------------------------------------------------------------------
[2003-12-02 11:04:40] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26381
--
Edit this bug report at http://bugs.php.net/?id=26381&edit=1