diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-02 05:19:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-02 05:19:00 +0000 |
commit | a9eca1b20d64a6de125506c299aed51bedf43a73 (patch) | |
tree | 4b7972d0ac8c3fecaa5255096f2304252417eaa1 /common.mk | |
parent | d60c6c8642e0e6193e5d513135b5dfaaf8a58cfd (diff) | |
download | ruby-a9eca1b20d64a6de125506c299aed51bedf43a73.tar.gz |
io.c: keep fptr read-closed
* io.c (rb_io_close_read): keep fptr in write_io to be discarded, to
fix freed pointer access when it is in use by other threads, and get
rid of potential memory/fd leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
0 files changed, 0 insertions, 0 deletions