summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-02 05:19:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-02 05:19:00 +0000
commita9eca1b20d64a6de125506c299aed51bedf43a73 (patch)
tree4b7972d0ac8c3fecaa5255096f2304252417eaa1 /ChangeLog
parentd60c6c8642e0e6193e5d513135b5dfaaf8a58cfd (diff)
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 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cf32934e1d..8a70d3f6e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Oct 2 14:18:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * 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.
+
Tue Oct 1 23:44:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
* vm_core.h: use __attribute__((unused)) in UNINTIALIZED_VAR on clang