[ruby-cvs:58621] nagachika:r51473 (ruby_2_2): merge revision(s) 50827, 50921: [Backport #11235]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Tue Aug 4 03:39:11 JST 2015


nagachika	2015-08-04 03:39:09 +0900 (Tue, 04 Aug 2015)

  New Revision: 51473

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51473

  Log:
    merge revision(s) 50827,50921: [Backport #11235]
    
    * array.c (ary_ensure_room_for_push): check if array size will
      exceed maxmum size to get rid of buffer overflow.
      [ruby-dev:49043] [Bug #11235]
    
    * array.c (ary_ensure_room_for_unshift, rb_ary_splice): ditto.
      exceed maximum size to get rid of buffer overflow.

  Modified directories:
    branches/ruby_2_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/array.c
    branches/ruby_2_2/test/ruby/test_array.rb
    branches/ruby_2_2/version.h


More information about the ruby-cvs mailing list