diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-28 15:42:09 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-28 15:42:09 +0000 |
commit | eb9f446ebf64dde94f69daa5cdbc2d84ce68eb4d (patch) | |
tree | f19b6b36f83c848b1facfb153fb7cf5460794c02 /ChangeLog | |
parent | b73eaef7a802b0fdbaa5b700e79e6fe477b67efa (diff) | |
download | ruby-eb9f446ebf64dde94f69daa5cdbc2d84ce68eb4d.tar.gz |
* ext/socket/unixsocket.c (rsock_init_unixsock): Open a socket
after path length check.
This fixes a fd leak by TestSocket_UNIXSocket#test_too_long_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Thu May 29 00:28:56 2014 Tanaka Akira <akr@fsij.org> + + * ext/socket/unixsocket.c (rsock_init_unixsock): Open a socket + after path length check. + This fixes a fd leak by TestSocket_UNIXSocket#test_too_long_path. + Wed May 28 23:04:35 2014 Tanaka Akira <akr@fsij.org> * test/ruby/test_io.rb (test_flush_in_finalizer1): Use |