[wp-trac] [WordPress Trac] #19571: wp_rand() can return a value outside the requested range
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 31 09:45:52 UTC 2012
#19571: wp_rand() can return a value outside the requested range
------------------------------------+---------------------
Reporter: mdawaffe | Owner: westi
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: General | Version: 3.3
Severity: normal | Resolution: fixed
Keywords: has-patch health-check |
------------------------------------+---------------------
Changes (by westi):
* owner: => westi
* status: new => closed
* resolution: => fixed
Comment:
In [21685]:
{{{
#!CommitTicketReference repository="" revision="21685"
Make sure that we always generate random numbers correctly even if the PHP
build is slightly broken and truncates large integers.
Fixes #19571 props mdawaffe.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19571#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list