Opened 14 years ago
Closed 14 years ago
#15090 closed defect (bug) (maybelater)
wp_rand() max integer is guessed and might fail
Reported by: | hakre | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | 3.0 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
the wp_rand() function returns a (forced) integer value. for this it assumes a maximum of a 32 bit unsigned integer.
wordpress uses signed integer values. the made assumption will fail on 32 bit systems then.
wordpress minimum php requirements prevent the use of constants like PHP_INT_MAX for 3.0.x and 3.1.x.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Related: #15098