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 /include | |
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 'include')
0 files changed, 0 insertions, 0 deletions