[ruby-cvs:69746] k0kubun:r62570 (trunk): process.c: guard eargp against GC

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Sun Feb 25 11:12:25 JST 2018


k0kubun	2018-02-25 11:12:25 +0900 (Sun, 25 Feb 2018)

  New Revision: 62570

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

  Log:
    process.c: guard eargp against GC
    
    `rb_str_append` may trigger GC, and in that case eargp might be GCed.
    Probably for protecting it, `RB_GC_GUARD(execarg_obj)` can be seen in
    other places.
    
    Hoping to fix:
    http://ci.rvm.jp/results/trunk_gcc5@silicon-docker/569818

  Modified files:
    trunk/process.c


More information about the ruby-cvs mailing list