зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
eadc639598
Коммит
e271684d2f
|
@ -1,3 +1,8 @@
|
|||
Sat Dec 25 18:30:34 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* thread.c (rb_thread_atfork): Add small comment why we need
|
||||
reset random seed.
|
||||
|
||||
Sat Dec 25 17:33:55 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/csv/base.rb (TestCSV.with_diffrent_ofs): give name to
|
||||
|
|
2
thread.c
2
thread.c
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче