[ruby-cvs:71717] shyouhei:r64625 (trunk): avoid fork-unsafe arc4random implementations

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Tue Sep 4 10:42:37 JST 2018


shyouhei	2018-09-04 10:42:37 +0900 (Tue, 04 Sep 2018)

  New Revision: 64625

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64625

  Log:
    avoid fork-unsafe arc4random implementations
    
    Some old implementaions of arc4random_buf(3) were ARC4 based, or
    unsafe when forked, or both.  Resort to /dev/urandom for those
    known problematic cases.  Fix [Bug #15039]
    
    Patch from Thomas Hurst <tom at hur.st>

  Modified files:
    trunk/random.c


More information about the ruby-cvs mailing list