dbus/dbus
Ralf Habacker 77e1b3110a reader_init: Initialize all fields of struct DBusTypeReader (CID 54754, 54772, 54773).
This patch is based on the fix for 'Field reader.array_len_offset is
uninitialized'

Reported by Coverity: CID 54754, 54772, 54773: Uninitialized scalar
variable (UNINIT)

[smcv: also re-order how the class is set when we recurse, so that
the sub-reader's class doesn't end up NULL]

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=90021
2015-05-08 15:54:42 +01:00
..
.gitignore Rename dbus-test to test-dbus to match common test application naming scheme. 2014-01-17 16:17:02 +00:00
dbus-address.c Merge branch 'dbus-1.6' 2013-07-01 12:16:05 +01: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 Remove support for platforms with no 64-bit integer type 2013-09-16 15:31:02 +01:00
dbus-asv-util.c Convert a{sv} helpers from Stats into generic utility code 2013-06-25 12:25:51 +01:00
dbus-asv-util.h Convert a{sv} helpers from Stats into generic utility code 2013-06-25 12:25:51 +01:00
dbus-auth-script.c _dbus_auth_return_buffer(): remove unused argument 2014-01-06 15:58:11 +00: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 tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-auth.c _dbus_auth_return_buffer(): remove unused argument 2014-01-06 15:58:11 +00:00
dbus-auth.h _dbus_auth_return_buffer(): remove unused argument 2014-01-06 15:58:11 +00:00
dbus-bus.c Remove unnecessary dbus_setenv() 2013-11-01 12:08:33 +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 DBusConnection: implements _dbus_connection_set_pending_fds_function 2014-09-15 12:30:30 +01:00
dbus-connection.c DBusConnection: implements _dbus_connection_set_pending_fds_function 2014-09-15 12:30:30 +01:00
dbus-connection.h DBusSocketSet: new abstraction for struct pollfd[] or whatever 2011-06-13 17:30:31 +01:00
dbus-credentials-util.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-credentials.c Rename the term 'unix_pid' to 'pid' in variables and functions. 2013-03-08 23:29:22 +01:00
dbus-credentials.h Rename the term 'unix_pid' to 'pid' in variables and functions. 2013-03-08 23:29:22 +01:00
dbus-dataslot.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-dataslot.h Replace individual global-lock variables with an array of DBusRMutex * 2013-06-17 16:53:51 +01:00
dbus-errors.c Remove invoke of va_end before va_start 2013-06-28 11:35:49 +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 tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-hash.h DBUS_HASH_TWO_STRINGS, DBUS_HASH_POINTER: remove, unused 2012-02-10 14:37:44 +00:00
dbus-init-win.cpp dbus_threads_init_default, dbus_threads_init: be safe to call at any time 2013-05-10 11:35:08 +01:00
dbus-internals.c Add newline to verbose output in _dbus_trace_ref(). 2015-04-13 15:31:17 +02:00
dbus-internals.h Add _DBUS_GNUC_UNUSED, and use it in _DBUS_STATIC_ASSERT 2014-09-15 12:31:04 +01:00
dbus-keyring.c Doc: fix incorrect param names, missing params, non-exist params 2013-08-22 20:01:08 +01:00
dbus-keyring.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-list.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-list.h _dbus_list_pop_last_link: remove, unused 2012-02-13 17:37:02 +00:00
dbus-macros.h Add _DBUS_GNUC_UNUSED, and use it in _DBUS_STATIC_ASSERT 2014-09-15 12:31:04 +01:00
dbus-mainloop.c dbus-mainloop.c: undeclared variable n_fds if define MAINLOOP_SPEW. 2013-09-16 14:55:10 +01:00
dbus-mainloop.h Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
dbus-marshal-basic.c Remove support for platforms with no 64-bit integer type 2013-09-16 15:31:02 +01:00
dbus-marshal-basic.h Remove support for platforms with no 64-bit integer type 2013-09-16 15:31:02 +01:00
dbus-marshal-byteswap-util.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-marshal-byteswap.c Remove support for platforms with no 64-bit integer type 2013-09-16 15:31:02 +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 Doc: fix incorrect param names, missing params, non-exist params 2013-08-22 20:01:08 +01:00
dbus-marshal-header.h Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
dbus-marshal-recursive-util.c Merge branch 'dbus-1.6' 2013-11-04 12:00:24 +00:00
dbus-marshal-recursive.c reader_init: Initialize all fields of struct DBusTypeReader (CID 54754, 54772, 54773). 2015-05-08 15:54:42 +01:00
dbus-marshal-recursive.h dbus-marshal-recursive: make some internal functions static 2012-02-08 19:10:30 +00:00
dbus-marshal-validate-util.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-marshal-validate.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
dbus-marshal-validate.h Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
dbus-memory.c Fix dbus_shutdown API document: returns --> frees 2013-11-27 14:43:08 +00: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 Fix incorrect sizeof in a Valgrind hint macro call. 2013-09-16 13:07:41 +01:00
dbus-mempool.h Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
dbus-message-factory.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-message-factory.h tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-message-internal.h DBusConnection: implements _dbus_connection_set_pending_fds_function 2014-09-15 12:30:30 +01:00
dbus-message-private.h DBusConnection: implements _dbus_connection_set_pending_fds_function 2014-09-15 12:30:30 +01:00
dbus-message-util.c Test: add test cases for message parsing 2013-11-01 11:27:29 +00:00
dbus-message.c dbus_message_demarshal: Fix calling _dbus_string_append_len without checking return value (CID 54690). 2015-05-06 12:10:18 +02:00
dbus-message.h Use iface instead of interface in function parameters 2013-09-05 13:08:22 +01:00
dbus-misc.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-misc.h Export dbus_setenv() as a utility function 2013-08-23 11:40:50 +01:00
dbus-nonce.c do_check_nonce: Fix of calling _dbus_string_append_len without checking return value (CID 54720). 2015-05-06 12:10:59 +02:00
dbus-nonce.h Fixes to the nonce code 2009-12-01 08:43:41 +01:00
dbus-object-tree.c Merge remote-tracking branch 'fitzsim/fix-parent-removal-fixme' 2013-09-13 15:47:19 +01:00
dbus-object-tree.h Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
dbus-pending-call-internal.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-pending-call.c Cleanup: polish verbose mode checking 2013-08-23 11:51:18 +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 Make dbus-daemon.exe --print-address work under Windows 2012-02-28 12:37:41 +00:00
dbus-pipe-win.c Make dbus-daemon.exe --print-address work under Windows 2012-02-28 12:37:41 +00:00
dbus-pipe.c Make dbus-daemon.exe --print-address work under Windows 2012-02-28 12:37:41 +00:00
dbus-pipe.h Make dbus-daemon.exe --print-address work under Windows 2012-02-28 12:37:41 +00:00
dbus-protocol.h dbus-protocol.h: compile under C++11 2012-02-20 11:23:15 +00:00
dbus-resources.c DBusCounter: add a mutex to protect the refcount and notify function 2015-05-05 12:30:30 +01:00
dbus-resources.h Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
dbus-server-debug-pipe.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +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 Export dbus_setenv() as a utility function 2013-08-23 11:40:50 +01:00
dbus-server-launchd.h Add launchd implementation. 2010-12-06 21:33:06 +01:00
dbus-server-protected.h Stop listening on DBusServer sockets when reaching max_incomplete_connections 2014-09-15 12:28:37 +01:00
dbus-server-socket.c Merge branch 'dbus-1.6' 2013-09-16 12:55:13 +01:00
dbus-server-socket.h Extended autolaunch protocol with scope attribute. 2010-09-27 21:53:32 +02:00
dbus-server-unix.c Set correct address when using --address=systemd: 2012-10-08 16:58:10 -04:00
dbus-server-unix.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-server-win.c Remove duplicate nonce-tcp (service-side) transport on Windows 2012-06-05 12:18:23 +01:00
dbus-server-win.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-server.c dbus_server_set_auth_mechanisms: Fix returning without unlocking server->mutex->lock (CID 54749). 2015-04-28 22:57:45 +02: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 tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +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 Doc: fix invalid usage of doxygen @param command 2013-06-20 13:15:22 +01:00
dbus-shell.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-signature.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-signature.h Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
dbus-socket-set-epoll.c Use epoll in a backwards-compatible way on Linux < 2.6.27 2011-06-13 17:30:47 +01:00
dbus-socket-set-poll.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-socket-set.c Add an implementation of DBusSocketSet using epoll 2011-06-13 17:30:40 +01:00
dbus-socket-set.h Add an implementation of DBusSocketSet using epoll 2011-06-13 17:30:40 +01:00
dbus-sockets-win.h Windows fix: MSVC 2010 has errno.h. 2010-12-31 16:12:18 +01:00
dbus-spawn-win.c DBusBabysitter: change executable to log_name 2013-11-01 12:40:41 +00:00
dbus-spawn.c Fix compile error on opensuse 12.2 with systemd 44 and glibc-2.15. 2014-01-10 15:34:11 +01:00
dbus-spawn.h DBusBabysitter: change executable to log_name 2013-11-01 12:40:41 +00:00
dbus-string-private.h Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
dbus-string-util.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-string.c Remove support for platforms with no 64-bit integer type 2013-09-16 15:31:02 +01:00
dbus-string.h Fix: a non ascii byte will trigger BadAddress error 2013-07-01 12:09:02 +01:00
dbus-syntax.c Doc: fix incorrect param names, missing params, non-exist params 2013-08-22 20:01:08 +01:00
dbus-syntax.h Add dbus-syntax.[ch] 2012-02-24 12:43:55 +00:00
dbus-sysdeps-pthread.c Revert "Add a statically-initialized implementation of _dbus_lock() on glibc systems" 2013-08-30 17:31:16 +01:00
dbus-sysdeps-thread-win.c dbus_threads_init_default, dbus_threads_init: be safe to call at any time 2013-05-10 11:35:08 +01:00
dbus-sysdeps-unix.c _dbus_read_socket_with_unix_fds: do not accept extra fds in cmsg padding 2014-09-15 12:31:14 +01:00
dbus-sysdeps-unix.h Set correct address when using --address=systemd: 2012-10-08 16:58:10 -04:00
dbus-sysdeps-util-unix.c CVE-2014-7824: set fd rlimit to 64k for the system dbus-daemon 2014-11-06 15:31:07 +00:00
dbus-sysdeps-util-win.c CVE-2014-7824: set fd rlimit to 64k for the system dbus-daemon 2014-11-06 15:31:07 +00:00
dbus-sysdeps-util.c tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-sysdeps-win.c Fix 'dbus-daemon on Windows: Failed to bind socket "localhost:xxxx": Address already in use'. 2015-02-09 23:08:24 +01:00
dbus-sysdeps-win.h Define WIN32_LEAN_AND_MEAN in Windows port 2014-01-06 17:09:43 +01:00
dbus-sysdeps-wince-glue.c Doc: fix incorrect param names, missing params, non-exist params 2013-08-22 20:01:08 +01: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 Handle ETOOMANYREFS when sending recursive fds (SCM_RIGHTS) 2014-06-30 14:09:21 +01:00
dbus-sysdeps.h CVE-2014-7824: set fd rlimit to 64k for the system dbus-daemon 2014-11-06 15:31:07 +00: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 Rename dbus-test to test-dbus to match common test application naming scheme. 2014-01-17 16:17:02 +00:00
dbus-test.h transport: add new unixexec transport on Unix 2012-03-12 16:38:56 +00:00
dbus-threads-internal.h Revert "Add a statically-initialized implementation of _dbus_lock() on glibc systems" 2013-08-30 17:31:16 +01:00
dbus-threads.c Revert "Add a statically-initialized implementation of _dbus_lock() on glibc systems" 2013-08-30 17:31:16 +01:00
dbus-threads.h Allow both recursive and non-recursive mutexes to be supplied 2012-02-21 14:41:28 +00: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 Revert "Factor out DBusAuthorization from DBusTransport" 2013-08-23 11:10:41 +01:00
dbus-transport-socket.c Handle ETOOMANYREFS when sending recursive fds (SCM_RIGHTS) 2014-06-30 14:09:21 +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 tests to embedded tests: replaced in libdbus 2013-06-28 12:15:53 +01:00
dbus-transport-unix.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-transport-win.c Remove duplicate nonce-tcp (client side) transport on Windows 2012-06-05 12:17:58 +01:00
dbus-transport-win.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-transport.c extend lock's range in live_messages_notify() 2015-05-05 12:27:15 +01:00
dbus-transport.h DBusConnection: implements _dbus_connection_set_pending_fds_function 2014-09-15 12:30:30 +01:00
dbus-types.h Remove support for platforms with no 64-bit integer type 2013-09-16 15:31:02 +01:00
dbus-userdb-util.c Make userdb cache as a built-in feature 2013-09-13 14:59:20 +01:00
dbus-userdb.c Make userdb cache as a built-in feature 2013-09-13 14:59:20 +01:00
dbus-userdb.h Make taking a global lock automatically initialize locking if needed 2013-06-17 17:00:00 +01: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-valgrind-internal.h Fix building with newer Valgrind 2012-11-09 14:04:27 +00:00
dbus-watch.c Stop listening on DBusServer sockets when reaching max_incomplete_connections 2014-09-15 12:28:37 +01:00
dbus-watch.h Stop listening on DBusServer sockets when reaching max_incomplete_connections 2014-09-15 12:28:37 +01:00
dbus.h Add dbus-syntax.[ch] 2012-02-24 12:43:55 +00:00
Makefile.am Rename dbus-test to test-dbus to match common test application naming scheme. 2014-01-17 16:17:02 +00:00
sd-daemon.c sd-daemon.c: update from systemd for better portability 2013-04-16 17:40:41 +01:00
sd-daemon.h Update sd-daemon.[ch] from systemd 2013-02-12 11:14:55 +00:00
versioninfo.rc.in WIN32: add versioninfo, and export symbols 2009-12-01 08:36:26 +01:00