[ruby-cvs:58745] usa:r51597 (ruby_2_1): merge revision(s) 50827, 50921: [Backport #11235]

usa at ruby-lang.org usa at ruby-lang.org
Mon Aug 17 16:21:30 JST 2015


usa	2015-08-17 16:21:29 +0900 (Mon, 17 Aug 2015)

  New Revision: 51597

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

  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_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/array.c
    branches/ruby_2_1/test/ruby/test_array.rb
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list