[ruby-cvs:73614] ko1:r66513 (trunk): fix marking T_NONE object bug.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Sun Dec 23 23:58:41 JST 2018


ko1	2018-12-23 23:58:41 +0900 (Sun, 23 Dec 2018)

  New Revision: 66513

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

  Log:
    fix marking T_NONE object bug.
    
    * array.c (rb_ary_splice): do not use RARRAY_PTR() here because it can cause
      GC because of rb_ary_detransient(). Here ary can contain T_NONE object
      because of increasing capacity and not initialized yet.
    
      error log: http://ci.rvm.jp/results/trunk-test@ruby-sky1/1557174

  Modified files:
    trunk/array.c


More information about the ruby-cvs mailing list