oss-sec mailing list archives

Re: libxslt math.random issue


From: Florian Weimer <fweimer () redhat com>
Date: Thu, 6 Apr 2017 08:04:47 +0200

On 04/06/2017 07:44 AM, Marcus Meissner wrote:

FWIW, why is glibc not doing srand(RANDOMVECTOR) during startup... :/

The C standard does not allow it.

”
If rand is called before any calls to srand have been made, the same sequence shall be generated as when srand is first called with a seed value of 1.
”

Thanks,
Florian


Current thread: