1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext
Tim Düsterhus cbb024cb3d Select rand_rangeXX() variant only based on the requested range (#9418)
This fixes an incompatibility when wrapping native 32-bit engines with a userland
engine. The latter always used the 64-bit range function which then used two
32-bit numbers from the underlying engine to fill the 64-bit range, whereas the
native implementation used only one.

Now the selection of the range variant only depends on the requested range. A
32-bit range uses the 32-bit variant (even for 64-bit engines), whereas a
larger range uses the 64-bit variant.

This was found in https://github.com/php/php-src/pull/9410#discussion_r953213000
2022-08-25 09:42:32 +02:00
..
2022-06-25 07:40:19 +01:00
2022-08-21 18:04:33 +02:00
2022-08-11 16:26:46 +01:00
2022-08-04 16:23:26 +02:00
2022-08-19 18:14:48 +02:00
2022-08-11 09:32:18 +03:00
2022-08-24 13:40:16 +02:00
2022-08-12 16:25:46 +02:00
2022-08-16 20:47:04 +02:00
2022-06-10 12:45:30 -04:00
2022-07-28 21:09:18 +02:00
2022-08-17 19:50:58 +01:00
2022-08-24 14:40:01 +02:00
2022-07-28 21:09:18 +02:00
2022-06-09 13:42:45 +02:00
2022-08-24 14:39:45 +02:00
2022-06-13 14:44:49 +02:00
2022-07-27 13:11:58 +02:00
2022-07-28 19:36:04 +01:00
2022-07-29 12:15:38 +02:00
2022-05-16 14:47:02 +02:00