[ruby-cvs:71011] tenderlove:r63920 (trunk): Fix crash when loading iseq from an array

tenderlove at ruby-lang.org tenderlove at ruby-lang.org
Tue Jul 10 02:47:37 JST 2018


tenderlove	2018-07-10 02:47:37 +0900 (Tue, 10 Jul 2018)

  New Revision: 63920

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

  Log:
    Fix crash when loading iseq from an array
    
    Objects loaded during iseq deserialization using arrays need to be added
    to the compile time mark array so that they stay alive until iseqs
    finish loading.

  Modified files:
    trunk/compile.c
    trunk/test/-ext-/iseq_load/test_iseq_load.rb


More information about the ruby-cvs mailing list