mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-19 07:32:06 +08:00

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.