bind9/lib/isc/include
Ondřej Surý 871bce312b Fix assertion failure from arc4random_uniform with invalid limit
When the arc4random_uniform() is called on NetBSD with upper_bound that
makes no sense statistically (0 or 1), the call crashes the calling
program.  Fix this by returning 0 when upper bound is < 2 as does Linux,
FreeBSD and NetBSD.  (Hint: System CSPRNG should never crash.)
2025-10-24 22:20:43 +02:00
..
isc Fix assertion failure from arc4random_uniform with invalid limit 2025-10-24 22:20:43 +02:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00