[ruby-cvs:66512] rhe:r59334 (trunk): hash.c: fix possible crash in Hash#transform_keys!

rhe at ruby-lang.org rhe at ruby-lang.org
Fri Jul 14 18:41:05 JST 2017


rhe	2017-07-14 18:41:05 +0900 (Fri, 14 Jul 2017)

  New Revision: 59334

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

  Log:
    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.

  Modified files:
    trunk/hash.c


More information about the ruby-cvs mailing list