diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-25 08:50:53 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-25 08:50:53 +0000 |
commit | e271684d2fc7d0d3b6a86a46e2c34c7593dcb35d (patch) | |
tree | 5ff0918c1d0a8b5d9755e111342b1037c601ff2a /thread.c | |
parent | eadc639598670c1ae04bbd2f73250eef1b1463a8 (diff) | |
download | ruby-e271684d2fc7d0d3b6a86a46e2c34c7593dcb35d.tar.gz |
* thread.c (rb_thread_atfork): Add small comment why we need
reset random seed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2800,6 +2800,8 @@ rb_thread_atfork(void) { rb_thread_atfork_internal(terminate_atfork_i); GET_THREAD()->join_list_head = 0; + + /* We don't want reproduce CVE-2003-0900. */ rb_reset_random_seed(); } |