dbus/dbus
Simon McVittie af13ae7e43 _dbus_connect_tcp_socket_with_nonce: don't create an extra fd (which is then leaked)
This block should have been deleted in 2007, when IPv6 support was added:
previously, the fd allocated at the beginning of the function was used
for connect(), but for IPv6 support, the socket() call has to be inside
the loop over getaddrinfo() results so its address family can be changed.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37258
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
2011-07-18 15:11:47 +01:00
..
.gitignore Update a load of .gitignores 2010-10-05 11:45:48 +01:00
dbus-address.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-address.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-arch-deps.h.in Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-auth-script.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-auth-script.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-auth-util.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-auth.c handle_server_data_anonymous_mech: remove unnecessary debug output 2011-05-25 16:13:26 +01:00
dbus-auth.h Merge branch 'fd-passing' 2009-07-16 16:05:16 +02:00
dbus-bus.c dbus_bus_set_unique_name, dbus_bus_get_unique_name: remember to unlock on OOM 2011-02-01 11:41:02 +00:00
dbus-bus.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-connection-internal.h Corrected thread problem causing some calls to hang for 25s 2010-06-11 14:18:55 +02:00
dbus-connection.c DBusConnection: use DBUS_ERROR_OBJECT_PATH_IN_USE instead of DBUS_ERROR_ADDRESS_IN_USE 2011-07-01 14:48:48 +01:00
dbus-connection.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-credentials-util.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-credentials.c [64 bit printf] Update to use DBUS_PID_FORMAT, print (omitted) 2010-03-22 14:35:28 -04:00
dbus-credentials.h Add _dbus_credentials_to_string_append 2010-03-16 15:57:27 -04:00
dbus-dataslot.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-dataslot.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-errors.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-errors.h Minor include file fix. 2010-06-07 15:34:22 +02:00
dbus-file-unix.c Make dbus-uuidgen atomic 2010-09-03 14:29:53 -04:00
dbus-file-win.c Fix typo in creating temp file. 2010-09-09 16:00:34 +02:00
dbus-file.c moved out dbus file related functions from sysdeps into separate files - tested on windows 2009-12-20 11:24:32 +01:00
dbus-file.h Make dbus-uuidgen atomic 2010-09-03 14:29:53 -04:00
dbus-hash.c Don't truncate pointers on Windows x64 platform 2010-05-03 10:48:38 +02:00
dbus-hash.h fix {u}intptr_t usage on wince with msvc 2010-05-05 07:57:28 +02:00
dbus-internals.c Make dbus-uuidgen atomic 2010-09-03 14:29:53 -04:00
dbus-internals.h Do not set DBUS_SESSION_BUS_DEFAULT_ADDRESS unconditional in code, it is already defined in build system. 2010-06-11 10:52:43 +02:00
dbus-keyring.c Don't pretend to free lock if it was never allocated 2010-10-05 14:50:22 +01:00
dbus-keyring.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-list.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-list.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-macros.h Annotate dbus_malloc*() functions with __attribute__ malloc and __attribute__ alloc_size 2011-01-05 13:13:48 +00:00
dbus-mainloop.c _dbus_loop_iterate: if the kernel says a fd is bad, stop watching it 2011-01-21 15:01:37 +00:00
dbus-mainloop.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-marshal-basic.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-marshal-basic.h Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-marshal-byteswap-util.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-marshal-byteswap.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-marshal-byteswap.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-marshal-header.c _dbus_header_byteswap: change the first byte of the message, not just the struct member 2011-06-10 18:09:41 +01:00
dbus-marshal-header.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-marshal-recursive-util.c Cleaned up _dbus_verbose calls: function names and code line numbers are printed by default. 2010-03-27 23:28:00 +01:00
dbus-marshal-recursive.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-marshal-recursive.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-marshal-validate-util.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-marshal-validate.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-marshal-validate.h dbus_message_iter_append_basic: check string-like arguments for validity 2011-03-04 12:39:59 +00:00
dbus-memory.c Revert "Bug 28460 - Refactored dbus configuration access." 2010-06-17 15:14:22 +01:00
dbus-memory.h Annotate dbus_malloc*() functions with __attribute__ malloc and __attribute__ alloc_size 2011-01-05 13:13:48 +00:00
dbus-mempool.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-mempool.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-message-factory.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-message-factory.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-message-internal.h Add an accessor for the loader's corruption reason 2010-01-28 17:01:23 -05:00
dbus-message-private.h Don't report file descriptors as "leaked" if they were already open 2011-04-27 16:28:36 +01:00
dbus-message-util.c _dbus_check_fdleaks_enter, _dbus_check_fdleaks_leave: whitespace 2011-04-27 16:29:05 +01:00
dbus-message.c dbus_message_demarshal_bytes_needed: correct a wrong assertion 2011-06-10 18:10:17 +01:00
dbus-message.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-misc.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-misc.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-nonce.c DBusNonceFile: don't always fail when use_subdir=TRUE, i.e. on Unix 2011-05-25 16:03:31 +01:00
dbus-nonce.h Fixes to the nonce code 2009-12-01 08:43:41 +01:00
dbus-object-tree.c Assert in _dbus_decompose_path if path is NULL or len is wrong 2010-07-16 15:22:47 +01:00
dbus-object-tree.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-pending-call-internal.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-pending-call.c DBusPendingCall: exclusively use atomic operations on the refcount 2011-07-14 16:37:05 +01:00
dbus-pending-call.h Add and use DBUS_TIMEOUT_INFINITE and DBUS_TIMEOUT_USE_DEFAULT 2011-06-10 18:33:04 +01:00
dbus-pipe-unix.c Fix error condition in _dbus_pipe_close 2011-01-04 19:37:19 +00:00
dbus-pipe-win.c Prepare for WinCE port: Convert windows code to native API, avoid errno. 2010-04-13 15:46:35 +02:00
dbus-pipe.c Don't truncate pointers on Windows x64 platform 2010-05-03 10:48:38 +02:00
dbus-pipe.h fix {u}intptr_t usage on wince with msvc 2010-05-05 07:57:28 +02:00
dbus-protocol.h protocol: introduce four new errors 2011-03-10 21:10:31 +01:00
dbus-resources.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-resources.h Merge branch 'fd-passing' 2009-07-16 16:05:16 +02:00
dbus-server-debug-pipe.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-server-debug-pipe.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-server-launchd.c Look up DISPLAY from launchd if not initialized. 2010-12-06 21:33:10 +01:00
dbus-server-launchd.h Add launchd implementation. 2010-12-06 21:33:06 +01:00
dbus-server-protected.h Handle case when autolaunched daemon address is already pulished on windows. 2010-12-14 08:12:59 +01:00
dbus-server-socket.c _dbus_server_new_for_tcp_socket: fix error handling 2011-01-26 18:55:00 +00:00
dbus-server-socket.h Extended autolaunch protocol with scope attribute. 2010-09-27 21:53:32 +02:00
dbus-server-unix.c Enable launchd. 2010-12-06 21:33:14 +01:00
dbus-server-unix.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-server-win.c Handle case when autolaunched daemon address is already pulished on windows. 2010-12-14 08:12:59 +01:00
dbus-server-win.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-server.c DBusServer: exclusively use atomic operations on the refcount 2011-07-14 16:37:46 +01:00
dbus-server.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-sha.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-sha.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-shared.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-shell.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-shell.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-signature.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-signature.h Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-sockets-win.h Windows fix: MSVC 2010 has errno.h. 2010-12-31 16:12:18 +01:00
dbus-spawn-win.c Defensively protect against bogus argv argument on W32CE. 2010-05-03 10:56:31 +02:00
dbus-spawn.c dbus-spawn: don't leave bad file descriptors being watched 2011-01-21 15:00:25 +00:00
dbus-spawn.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-string-private.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-string-util.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
dbus-string.c Cope with platforms whose vsnprintf violates both POSIX and C99 - part 1 2011-07-08 11:00:12 +02:00
dbus-string.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-sysdeps-pthread.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-sysdeps-thread-win.c Avoid live lock in Windows (CE) under some situations due to unfair condition variables. 2010-12-29 22:44:27 +01:00
dbus-sysdeps-unix.c _dbus_connect_tcp_socket_with_nonce: don't create an extra fd (which is then leaked) 2011-07-18 15:11:47 +01:00
dbus-sysdeps-unix.h Enable launchd. 2010-12-06 21:33:14 +01:00
dbus-sysdeps-util-unix.c process_config_first_time_only: initialize syslog as intended. 2011-05-25 18:16:35 +01:00
dbus-sysdeps-util-win.c _dbus_init_system_log: remove FIXME on Windows 2011-05-25 18:16:33 +01:00
dbus-sysdeps-util.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-sysdeps-win.c In Windows _dbus_printf_string_upper_bound, don't crash on malloc failure 2011-07-08 11:00:02 +02:00
dbus-sysdeps-win.h Use absolute session service dir path in bus-test on windows. 2010-12-29 14:43:24 +01:00
dbus-sysdeps-wince-glue.c Wrap OutputDebugString for Windows CE builds, and add cast for MSVC. 2010-07-19 10:32:08 +02:00
dbus-sysdeps-wince-glue.h Wrap OutputDebugString for Windows CE builds, and add cast for MSVC. 2010-07-19 10:32:08 +02:00
dbus-sysdeps.c Revert "Bug 28460 - Refactored dbus configuration access." 2010-06-17 15:14:22 +01:00
dbus-sysdeps.h bus: Raise file descriptor limit to match configuration 2011-02-03 13:25:34 -05:00
dbus-test-main.c Add support for Windows CE to the code base. 2010-04-13 20:38:59 +02:00
dbus-test.c Remove references to dbus-md5, which hasn't been used for at least 8 years 2011-02-17 16:16:12 +00:00
dbus-test.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-threads-internal.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-threads.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-threads.h Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00
dbus-timeout.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-timeout.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-transport-protected.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-transport-socket.c Cleaned up _dbus_verbose calls: function names and code line numbers are printed by default. 2010-03-27 23:28:00 +01:00
dbus-transport-socket.h The current state of the nonce-tcp implementation 2009-12-01 08:43:36 +01:00
dbus-transport-unix.c Enable launchd. 2010-12-06 21:33:14 +01:00
dbus-transport-unix.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-transport-win.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-transport-win.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-transport.c DBusTransport: don't copy DBusAuth's GUID to expected_guid 2011-02-16 14:47:08 +00:00
dbus-transport.h Merge branch 'fd-passing' 2009-07-16 16:05:16 +02:00
dbus-types.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-userdb-util.c Don't truncate pointers on Windows x64 platform 2010-05-03 10:48:38 +02:00
dbus-userdb.c Don't truncate pointers on Windows x64 platform 2010-05-03 10:48:38 +02:00
dbus-userdb.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-uuidgen.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-uuidgen.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-watch.c Add return_if_fail watch != NULL in public DBusWatch API 2010-09-23 20:36:07 +01:00
dbus-watch.h Bug 896 - Avoid race conditions reading message from exited process 2009-07-14 15:41:57 -04:00
dbus.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
Makefile.am Don't force use of -fPIE for the dbus-daemon if apparently supported 2011-04-26 18:47:23 +01:00
sd-daemon.c systemd: update sd-daemon.[ch] from upstream systemd 2010-09-06 03:17:54 +02:00
sd-daemon.h systemd: update sd-daemon.[ch] from upstream systemd 2010-09-06 03:17:54 +02:00
versioninfo.rc.in WIN32: add versioninfo, and export symbols 2009-12-01 08:36:26 +01:00