ruby/ext/socket
mame a6ae6a8b17 * ext/socket/ifaddr.c (rsock_getifaddrs): fix possible memory leak.
When a system had no interface, this function used xmalloc for root
  but did not return any reference to it.  This patch fixes it by
  immediately returning an empty array if no interface is found.
  Coverity Scan found this bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-02 12:41:28 +00:00
..
lib fixed wrong document for Socket.tcp by @lann [fix GH-302] 2013-05-12 01:44:06 +00:00
.document * ext/socket/.document: Add ifaddr.c. 2013-05-14 14:48:00 +00:00
addrinfo.h * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ancdata.c * process.c: Remove spaces between SI prefix and unit to follow 2013-09-09 12:33:36 +00:00
basicsocket.c * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError 2013-06-12 14:20:51 +00:00
constants.c constants.c: fix macro name 2013-04-08 15:28:43 +00:00
depend Fix a dependency. 2013-05-16 10:29:05 +00:00
extconf.rb * ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X 2013-06-12 20:32:42 +00:00
getaddrinfo.c {getaddrinfo,getnameinfo}.c: fix for old platforms 2013-05-03 04:35:37 +00:00
getnameinfo.c {getaddrinfo,getnameinfo}.c: fix for old platforms 2013-05-03 04:35:37 +00:00
ifaddr.c * ext/socket/ifaddr.c (rsock_getifaddrs): fix possible memory leak. 2013-10-02 12:41:28 +00:00
init.c * include/ruby/ruby.h: constify RBasic::klass and add 2013-05-13 10:49:11 +00:00
ipsocket.c * ext/socket/ipsocket.c (init_inetsock_internal): Don't try mismached 2013-07-01 15:43:21 +00:00
mkconstants.rb * ext/socket/mkconstants.rb: define MSG_FASTOPEN. 2013-09-15 15:48:38 +00:00
option.c * ext/socket/option.c: rename functions introduced in r41009 2013-06-02 14:24:34 +00:00
raddrinfo.c * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Fix indent. 2013-06-10 12:51:48 +00:00
rubysocket.h socket: fix build error and warnings on mingw 2013-05-14 14:24:42 +00:00
socket.c * ext/socket/unixserver.c: [DOC] Document #accept 2013-08-19 16:54:59 +00:00
sockport.h * ext/socket/extconf.rb: test struct sockaddr_un and its member, 2013-02-15 22:19:05 +00:00
sockssocket.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
tcpserver.c * ext/socket/unixserver.c: [DOC] Document #accept 2013-08-19 16:54:59 +00:00
tcpsocket.c socket: ai_addrlen is socklen_t 2013-02-15 07:54:38 +00:00
udpsocket.c * ext/socket/unixserver.c: [DOC] Document #accept 2013-08-19 16:54:59 +00:00
unixserver.c * ext/socket/unixserver.c: [DOC] Document #accept 2013-08-19 16:54:59 +00:00
unixsocket.c * file.c, ext/etc/etc.c, ext/socket/unixsocket.c, 2013-05-09 12:12:17 +00:00