[ruby-cvs:69304] nobu:r62123 (trunk): io.c: fptr_copy_finalizer

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jan 31 17:17:16 JST 2018


nobu	2018-01-31 17:17:16 +0900 (Wed, 31 Jan 2018)

  New Revision: 62123

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

  Log:
    io.c: fptr_copy_finalizer
    
    * io.c (fptr_copy_finalizer): remove fptr from pipe_list when pipe
      became ordinary file, to fix access after free.  to be finalized
      by pipe_finalize and being in pipe_list must match.

  Modified files:
    trunk/io.c
    trunk/test/ruby/test_process.rb


More information about the ruby-cvs mailing list