Project

General

Profile

« Previous | Next » 

Revision 677751e1

Added by rhenium (Kazuki Yamaguchi) almost 8 years ago

hash.c: fix possible crash in Hash#transform_keys!

Fix up r59328. It is possible that the given block abuses
ObjectSpace.each_object to shrink the temporary array.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e