Project

General

Profile

« Previous | Next » 

Revision b120f5e3

Added by shyouhei (Shyouhei Urabe) over 5 years ago

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e