On Fri, 22 Mar 2019, Bruce Evans wrote:
On Thu, 21 Mar 2019, Conrad Meyer wrote:
Log:
arc4random: Adjust example code to use uniform() API
This changes the example from correct to broken.
I see 4 bugs:
I see many more (old but related) bugs.
1. The log message says that the example use
On Thu, 21 Mar 2019, Conrad Meyer wrote:
Log:
arc4random: Adjust example code to use uniform() API
This changes the example from correct to broken.
I see 4 bugs:
1. The log message says that the example uses uniform(), but it actually
uses arc4random_uniform().
PR:236678
Author: cem
Date: Thu Mar 21 14:45:08 2019
New Revision: 345380
URL: https://svnweb.freebsd.org/changeset/base/345380
Log:
arc4random: Adjust example code to use uniform() API
PR: 236678
Reported by: Andras Farkas
Modified:
head/lib/libc/gen/arc4random.3
Modified: head/lib