diff options
| author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-27 12:26:59 +0000 |
|---|---|---|
| committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-27 12:26:59 +0000 |
| commit | 62a02670ecbad7e931c6c5b6d1bcec423ac7b81d (patch) | |
| tree | beb224190c58b10f783a9df0c907ee88774cb9a6 /test/ruby/test_rubyvm.rb | |
| parent | f8f026c4d60a284ffeb03f9804bea85dab5ff4fa (diff) | |
merge revision(s) 57121: [Backport #13053]
array.c: do not resize to less than 0
Shrinking the Array from the block invoked by Array#select! or
Array#reject! causes the Array to be a negative number size. Ensure that
the resulting Array won't be smaller than 0.
[ruby-core:78739] [Bug #13053]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyvm.rb')
0 files changed, 0 insertions, 0 deletions
