Hello,
I can confirm the bugfix works and that arc4random now functions
correctly in Cygwin 3.5 after fork().
- Johnothan King
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe i
Hi Johnothan,
On Jan 26 22:06, Johnothan King via Cygwin wrote:
> Hello,
>
> While testing ksh93u+m's recently added SRANDOM variable[1], I have
> discovered a bug in Cygwin's arc4random function. After using fork(),
> arc4random does not reseed itself, which causes the results to become
> predic
> FYI: There was a thread in Nov 2023 about rand() which might be related.
>
> rand is not ISO C compliant in Cygwin
> https://cygwin.com/pipermail/cygwin/2023-November/254735.html
>
> conclusion of that thread:
> https://cygwin.com/pipermail/cygwin/2023-November/254764.html
I don't think that h
On 2024-01-26 16:50, Glenn Strauss via Cygwin wrote:
While testing ksh93u+m's recently added SRANDOM variable[1], I have
discovered a bug in Cygwin's arc4random function. After using fork(),
arc4random does not reseed itself, which causes the results to become
predictable[2]. Below is a test case
> While testing ksh93u+m's recently added SRANDOM variable[1], I have
> discovered a bug in Cygwin's arc4random function. After using fork(),
> arc4random does not reseed itself, which causes the results to become
> predictable[2]. Below is a test case C program exhibiting the bug:
>
> ...
>
> [1
5 matches
Mail list logo