Update ruby18-base package to 1.8.7.357.
authortaca <taca>
Wed, 28 Dec 2011 16:40:07 +0000 (16:40 +0000)
committertaca <taca>
Wed, 28 Dec 2011 16:40:07 +0000 (16:40 +0000)
commit59241cf7e543c2fb76a88817a06722d7b0e6d453
treea0dad71061e16ac808ed94aed12b6716e014582b
parent31fd55c507b3ca3754aa473f6e50c00085bdb4a6
Update ruby18-base package to 1.8.7.357.
It contains security fix for CVE-2011-4815 (DoS).

Wed Dec 28 21:34:23 2011  URABE Shyouhei  <shyouhei@ruby-lang.org>

* string.c (rb_str_hash): randomize hash to avoid algorithmic
  complexity attacks. CVE-2011-4815

* st.c (strhash): ditto.

* string.c (Init_String): initialization of hash_seed to be at the
  beginning of the process.

* st.c (Init_st): ditto.

Thu Dec  8 11:57:04 2011  Tanaka Akira  <akr@fsij.org>

* inits.c (rb_call_inits): call Init_RandomSeed at first.

* random.c (seed_initialized): defined.
  (fill_random_seed): extracted from random_seed.
  (make_seed_value): extracted from random_seed.
  (rb_f_rand): initialize random seed at first.
  (initial_seed): defined.
  (Init_RandomSeed): defined.
  (Init_RandomSeed2): defined.
  (rb_reset_random_seed): defined.
  (Init_Random): call Init_RandomSeed2.

Sat Dec 10 20:44:23 2011  Tanaka Akira  <akr@fsij.org>

* lib/securerandom.rb: call OpenSSL::Random.seed at the
  SecureRandom.random_bytes call.
  insert separators for array join.
  patch by Masahiro Tomita.  [ruby-dev:44270]

Mon Oct 17 04:20:22 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>

* mkconfig.rb: fix for continued lines.  based on a patch from
  Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420].

Mon Oct 17 04:19:39 2011  Yukihiro Matsumoto  <matz@ruby-lang.org>

* numeric.c (flo_cmp): Infinity is greater than any bignum
  number.  [ruby-dev:38672]

* bignum.c (rb_big_cmp): ditto.

Mon Oct 17 03:56:12 2011  Yusuke Endoh  <mame@tsg.ne.jp>

* ext/openssl/ossl_x509store.c (ossl_x509store_initialize): initialize
  store->ex_data.sk.  [ruby-core:28907] [ruby-core:23971]
  [ruby-core:18121]
lang/ruby/rubyversion.mk
lang/ruby18-base/Makefile
lang/ruby18-base/distinfo
lang/ruby18-base/patches/patch-ew