Project

General

Profile

« Previous | Next » 

Revision 970ce1fd

Added by yugui (Yuki Sonoda) almost 14 years ago

merges r32050 from trunk into ruby_1_9_2.

  • lib/securerandom.rb (SecureRandom.random_bytes): modify PRNG state
    to prevent random number sequence repeatation at forked child
    process which has same pid.
    reported by Eric Wong. [ruby-core:35765]

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