NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/56824 (modulo by 0 in arc4random_uniform())



Synopsis: modulo by 0 in arc4random_uniform()

State-Changed-From-To: open->closed
State-Changed-By: joerg%NetBSD.org@localhost
State-Changed-When: Sun, 08 May 2022 22:40:10 +0000
State-Changed-Why:
This is not a bug. You are asking for a number in the range [0, 0), which is empty.
A domain error is the correct result.





Home | Main Index | Thread Index | Old Index