mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-13 00:18:50 +00:00
d7c5a0fc5f
During the roll, "duration" is converted to int, causing overflow on x32 processors. The value may be very small or negative, causing a panic in rand.Intn. |
||
---|---|---|
.. | ||
dice.go | ||
dice_test.go |