Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/dbus-1.13.18/tools/strtoull.c
Examining data/dbus-1.13.18/tools/strtoll.c
Examining data/dbus-1.13.18/tools/dbus-uuidgen.c
Examining data/dbus-1.13.18/tools/dbus-update-activation-environment.c
Examining data/dbus-1.13.18/tools/test-tool.h
Examining data/dbus-1.13.18/tools/test-tool.c
Examining data/dbus-1.13.18/tools/dbus-spam.c
Examining data/dbus-1.13.18/tools/dbus-echo.c
Examining data/dbus-1.13.18/tools/dbus-send.c
Examining data/dbus-1.13.18/tools/dbus-run-session.c
Examining data/dbus-1.13.18/tools/dbus-print-message.h
Examining data/dbus-1.13.18/tools/dbus-print-message.c
Examining data/dbus-1.13.18/tools/dbus-monitor.c
Examining data/dbus-1.13.18/tools/dbus-launch-win.c
Examining data/dbus-1.13.18/tools/tool-common.h
Examining data/dbus-1.13.18/tools/tool-common.c
Examining data/dbus-1.13.18/tools/dbus-launch.h
Examining data/dbus-1.13.18/tools/dbus-launch-x11.c
Examining data/dbus-1.13.18/tools/dbus-launch.c
Examining data/dbus-1.13.18/tools/dbus-cleanup-sockets.c
Examining data/dbus-1.13.18/test/uid-permissions.c
Examining data/dbus-1.13.18/test/syntax.c
Examining data/dbus-1.13.18/test/spawn-test.c
Examining data/dbus-1.13.18/test/test-sleep-forever.c
Examining data/dbus-1.13.18/test/test-shell-service.c
Examining data/dbus-1.13.18/test/shell-test.c
Examining data/dbus-1.13.18/test/test-service.c
Examining data/dbus-1.13.18/test/test-segfault.c
Examining data/dbus-1.13.18/test/relay.c
Examining data/dbus-1.13.18/test/test-privserver.c
Examining data/dbus-1.13.18/test/test-names.c
Examining data/dbus-1.13.18/test/monitor.c
Examining data/dbus-1.13.18/test/message.c
Examining data/dbus-1.13.18/test/marshal.c
Examining data/dbus-1.13.18/test/loopback.c
Examining data/dbus-1.13.18/test/header-fields.c
Examining data/dbus-1.13.18/test/fdpass.c
Examining data/dbus-1.13.18/test/test-exit.c
Examining data/dbus-1.13.18/test/dbus-daemon-eavesdrop.c
Examining data/dbus-1.13.18/test/dbus-daemon.c
Examining data/dbus-1.13.18/test/corrupt.c
Examining data/dbus-1.13.18/test/containers.c
Examining data/dbus-1.13.18/test/sd-activation.c
Examining data/dbus-1.13.18/test/thread-blocking.c
Examining data/dbus-1.13.18/test/manual-tcp.c
Examining data/dbus-1.13.18/test/manual-paths.c
Examining data/dbus-1.13.18/test/manual-dir-iter.c
Examining data/dbus-1.13.18/test/manual-backtrace.c
Examining data/dbus-1.13.18/test/manual-authz.c
Examining data/dbus-1.13.18/test/test-utils-glib.h
Examining data/dbus-1.13.18/test/test-utils.h
Examining data/dbus-1.13.18/test/test-utils.c
Examining data/dbus-1.13.18/test/disable-crash-handling.h
Examining data/dbus-1.13.18/test/disable-crash-handling.c
Examining data/dbus-1.13.18/test/internals/variant.c
Examining data/dbus-1.13.18/test/internals/syslog.c
Examining data/dbus-1.13.18/test/internals/sysdeps.c
Examining data/dbus-1.13.18/test/internals/spawn-oom.c
Examining data/dbus-1.13.18/test/internals/server-oom.c
Examining data/dbus-1.13.18/test/internals/refs.c
Examining data/dbus-1.13.18/test/internals/printf.c
Examining data/dbus-1.13.18/test/internals/sha.c
Examining data/dbus-1.13.18/test/internals/misc-internals.h
Examining data/dbus-1.13.18/test/internals/misc-internals.c
Examining data/dbus-1.13.18/test/internals/mempool.c
Examining data/dbus-1.13.18/test/internals/dbus-sysdeps-util.c
Examining data/dbus-1.13.18/test/internals/dbus-string-util.c
Examining data/dbus-1.13.18/test/internals/dbus-marshal-validate-util.c
Examining data/dbus-1.13.18/test/internals/dbus-marshal-byteswap-util.c
Examining data/dbus-1.13.18/test/internals/dbus-credentials-util.c
Examining data/dbus-1.13.18/test/internals/dbus-auth-util.c
Examining data/dbus-1.13.18/test/internals/dbus-auth-script.h
Examining data/dbus-1.13.18/test/internals/dbus-auth-script.c
Examining data/dbus-1.13.18/test/internals/address.c
Examining data/dbus-1.13.18/test/internals/message-internals.c
Examining data/dbus-1.13.18/test/internals/dbus-message-util.h
Examining data/dbus-1.13.18/test/internals/dbus-message-util.c
Examining data/dbus-1.13.18/test/internals/dbus-message-factory.h
Examining data/dbus-1.13.18/test/internals/dbus-message-factory.c
Examining data/dbus-1.13.18/test/internals/marshal-recursive.c
Examining data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.h
Examining data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c
Examining data/dbus-1.13.18/test/internals/hash.c
Examining data/dbus-1.13.18/test/internals/desktop-file.c
Examining data/dbus-1.13.18/test/internals/atomic.c
Examining data/dbus-1.13.18/test/internals/assertions.c
Examining data/dbus-1.13.18/test/bus/system.c
Examining data/dbus-1.13.18/test/bus/launch-helper-oom.c
Examining data/dbus-1.13.18/test/bus/dispatch-sha1.c
Examining data/dbus-1.13.18/test/bus/dispatch.c
Examining data/dbus-1.13.18/test/bus/main.c
Examining data/dbus-1.13.18/test/bus/launch-helper-for-tests.c
Examining data/dbus-1.13.18/test/name-test/test-threads-init.c
Examining data/dbus-1.13.18/test/name-test/test-shutdown.c
Examining data/dbus-1.13.18/test/name-test/test-privserver-client.c
Examining data/dbus-1.13.18/test/name-test/test-pending-call-timeout.c
Examining data/dbus-1.13.18/test/name-test/test-pending-call-dispatch.c
Examining data/dbus-1.13.18/test/name-test/test-pending-call-disconnected.c
Examining data/dbus-1.13.18/test/name-test/test-ids.c
Examining data/dbus-1.13.18/test/name-test/test-autolaunch.c
Examining data/dbus-1.13.18/test/test-utils-glib.c
Examining data/dbus-1.13.18/doc/file-boilerplate.c
Examining data/dbus-1.13.18/dbus/dbus-test.h
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-util.c
Examining data/dbus-1.13.18/dbus/dbus-string-util.c
Examining data/dbus-1.13.18/dbus/dbus-spawn.h
Examining data/dbus-1.13.18/dbus/dbus-pollable-set-poll.c
Examining data/dbus-1.13.18/dbus/dbus-pollable-set.c
Examining data/dbus-1.13.18/dbus/dbus-pollable-set.h
Examining data/dbus-1.13.18/dbus/dbus-spawn-win.c
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-util-win.c
Examining data/dbus-1.13.18/dbus/dbus-pollable-set-epoll.c
Examining data/dbus-1.13.18/dbus/dbus-spawn-unix.c
Examining data/dbus-1.13.18/dbus/dbus-userdb-util.c
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-util-unix.c
Examining data/dbus-1.13.18/dbus/dbus-shell.h
Examining data/dbus-1.13.18/dbus/dbus-shell.c
Examining data/dbus-1.13.18/dbus/dbus-message-util.c
Examining data/dbus-1.13.18/dbus/dbus-mainloop.h
Examining data/dbus-1.13.18/dbus/dbus-mainloop.c
Examining data/dbus-1.13.18/dbus/dbus-asv-util.h
Examining data/dbus-1.13.18/dbus/dbus-asv-util.c
Examining data/dbus-1.13.18/dbus/dbus-init-win.cpp
Examining data/dbus-1.13.18/dbus/dbus-test-tap.h
Examining data/dbus-1.13.18/dbus/dbus-test-tap.c
Examining data/dbus-1.13.18/dbus/dbus-valgrind-internal.h
Examining data/dbus-1.13.18/dbus/dbus-sysdeps.h
Examining data/dbus-1.13.18/dbus/dbus-sysdeps.c
Examining data/dbus-1.13.18/dbus/dbus-transport-win.h
Examining data/dbus-1.13.18/dbus/dbus-transport-win.c
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-thread-win.c
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-win.h
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-win.c
Examining data/dbus-1.13.18/dbus/dbus-sockets-win.h
Examining data/dbus-1.13.18/dbus/dbus-pipe-win.c
Examining data/dbus-1.13.18/dbus/dbus-file-win.c
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.h
Examining data/dbus-1.13.18/dbus/dbus-userdb.h
Examining data/dbus-1.13.18/dbus/dbus-userdb.c
Examining data/dbus-1.13.18/dbus/dbus-transport-unix.h
Examining data/dbus-1.13.18/dbus/dbus-transport-unix.c
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-pthread.c
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-unix.h
Examining data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c
Examining data/dbus-1.13.18/dbus/dbus-pipe-unix.c
Examining data/dbus-1.13.18/dbus/dbus-file-unix.c
Examining data/dbus-1.13.18/dbus/dbus-server-launchd.c
Examining data/dbus-1.13.18/dbus/dbus-server-launchd.h
Examining data/dbus-1.13.18/dbus/dbus-string-private.h
Examining data/dbus-1.13.18/dbus/dbus-string.h
Examining data/dbus-1.13.18/dbus/dbus-string.c
Examining data/dbus-1.13.18/dbus/dbus-pipe.h
Examining data/dbus-1.13.18/dbus/dbus-pipe.c
Examining data/dbus-1.13.18/dbus/dbus-mempool.h
Examining data/dbus-1.13.18/dbus/dbus-mempool.c
Examining data/dbus-1.13.18/dbus/dbus-memory.c
Examining data/dbus-1.13.18/dbus/dbus-marshal-basic.h
Examining data/dbus-1.13.18/dbus/dbus-marshal-basic.c
Examining data/dbus-1.13.18/dbus/dbus-list.h
Examining data/dbus-1.13.18/dbus/dbus-list.c
Examining data/dbus-1.13.18/dbus/dbus-internals.h
Examining data/dbus-1.13.18/dbus/dbus-internals.c
Examining data/dbus-1.13.18/dbus/dbus-hash.h
Examining data/dbus-1.13.18/dbus/dbus-hash.c
Examining data/dbus-1.13.18/dbus/dbus-file.h
Examining data/dbus-1.13.18/dbus/dbus-file.c
Examining data/dbus-1.13.18/dbus/dbus-dataslot.h
Examining data/dbus-1.13.18/dbus/dbus-dataslot.c
Examining data/dbus-1.13.18/dbus/dbus-watch.h
Examining data/dbus-1.13.18/dbus/dbus-watch.c
Examining data/dbus-1.13.18/dbus/dbus-transport-socket.h
Examining data/dbus-1.13.18/dbus/dbus-transport-socket.c
Examining data/dbus-1.13.18/dbus/dbus-transport-protected.h
Examining data/dbus-1.13.18/dbus/dbus-transport.h
Examining data/dbus-1.13.18/dbus/dbus-transport.c
Examining data/dbus-1.13.18/dbus/dbus-threads.c
Examining data/dbus-1.13.18/dbus/dbus-threads-internal.h
Examining data/dbus-1.13.18/dbus/dbus-timeout.h
Examining data/dbus-1.13.18/dbus/dbus-timeout.c
Examining data/dbus-1.13.18/dbus/dbus-syntax.c
Examining data/dbus-1.13.18/dbus/dbus-signature.c
Examining data/dbus-1.13.18/dbus/dbus-sha.h
Examining data/dbus-1.13.18/dbus/dbus-sha.c
Examining data/dbus-1.13.18/dbus/dbus-server-win.h
Examining data/dbus-1.13.18/dbus/dbus-server-win.c
Examining data/dbus-1.13.18/dbus/dbus-server-unix.h
Examining data/dbus-1.13.18/dbus/dbus-server-unix.c
Examining data/dbus-1.13.18/dbus/dbus-uuidgen.h
Examining data/dbus-1.13.18/dbus/dbus-uuidgen.c
Examining data/dbus-1.13.18/dbus/dbus-server-socket.h
Examining data/dbus-1.13.18/dbus/dbus-server-socket.c
Examining data/dbus-1.13.18/dbus/dbus-server-protected.h
Examining data/dbus-1.13.18/dbus/dbus-server-debug-pipe.h
Examining data/dbus-1.13.18/dbus/dbus-server-debug-pipe.c
Examining data/dbus-1.13.18/dbus/dbus-server.c
Examining data/dbus-1.13.18/dbus/dbus-resources.h
Examining data/dbus-1.13.18/dbus/dbus-resources.c
Examining data/dbus-1.13.18/dbus/dbus-pending-call-internal.h
Examining data/dbus-1.13.18/dbus/dbus-pending-call.c
Examining data/dbus-1.13.18/dbus/dbus-object-tree.h
Examining data/dbus-1.13.18/dbus/dbus-object-tree.c
Examining data/dbus-1.13.18/dbus/dbus-nonce.c
Examining data/dbus-1.13.18/dbus/dbus-nonce.h
Examining data/dbus-1.13.18/dbus/dbus-misc.c
Examining data/dbus-1.13.18/dbus/dbus-message-private.h
Examining data/dbus-1.13.18/dbus/dbus-message-internal.h
Examining data/dbus-1.13.18/dbus/dbus-message.c
Examining data/dbus-1.13.18/dbus/dbus-marshal-validate.h
Examining data/dbus-1.13.18/dbus/dbus-marshal-validate.c
Examining data/dbus-1.13.18/dbus/dbus-marshal-recursive.h
Examining data/dbus-1.13.18/dbus/dbus-marshal-recursive.c
Examining data/dbus-1.13.18/dbus/dbus-marshal-byteswap.h
Examining data/dbus-1.13.18/dbus/dbus-marshal-byteswap.c
Examining data/dbus-1.13.18/dbus/dbus-marshal-header.h
Examining data/dbus-1.13.18/dbus/dbus-marshal-header.c
Examining data/dbus-1.13.18/dbus/dbus-keyring.h
Examining data/dbus-1.13.18/dbus/dbus-keyring.c
Examining data/dbus-1.13.18/dbus/dbus-errors.c
Examining data/dbus-1.13.18/dbus/dbus-credentials.h
Examining data/dbus-1.13.18/dbus/dbus-credentials.c
Examining data/dbus-1.13.18/dbus/dbus-connection-internal.h
Examining data/dbus-1.13.18/dbus/dbus-connection.c
Examining data/dbus-1.13.18/dbus/dbus-bus.c
Examining data/dbus-1.13.18/dbus/dbus-auth.h
Examining data/dbus-1.13.18/dbus/dbus-auth.c
Examining data/dbus-1.13.18/dbus/dbus-address.c
Examining data/dbus-1.13.18/dbus/dbus-types.h
Examining data/dbus-1.13.18/dbus/dbus-threads.h
Examining data/dbus-1.13.18/dbus/dbus-syntax.h
Examining data/dbus-1.13.18/dbus/dbus-signature.h
Examining data/dbus-1.13.18/dbus/dbus-shared.h
Examining data/dbus-1.13.18/dbus/dbus-server.h
Examining data/dbus-1.13.18/dbus/dbus-protocol.h
Examining data/dbus-1.13.18/dbus/dbus-pending-call.h
Examining data/dbus-1.13.18/dbus/dbus-misc.h
Examining data/dbus-1.13.18/dbus/dbus-message.h
Examining data/dbus-1.13.18/dbus/dbus-memory.h
Examining data/dbus-1.13.18/dbus/dbus-macros.h
Examining data/dbus-1.13.18/dbus/dbus-errors.h
Examining data/dbus-1.13.18/dbus/dbus-connection.h
Examining data/dbus-1.13.18/dbus/dbus-bus.h
Examining data/dbus-1.13.18/dbus/dbus-address.h
Examining data/dbus-1.13.18/dbus/dbus.h
Examining data/dbus-1.13.18/bus/activation-helper-bin.c
Examining data/dbus-1.13.18/bus/activation-helper.c
Examining data/dbus-1.13.18/bus/main.c
Examining data/dbus-1.13.18/bus/activation-helper.h
Examining data/dbus-1.13.18/bus/config-parser-trivial.h
Examining data/dbus-1.13.18/bus/config-parser-trivial.c
Examining data/dbus-1.13.18/bus/utils.h
Examining data/dbus-1.13.18/bus/utils.c
Examining data/dbus-1.13.18/bus/test.h
Examining data/dbus-1.13.18/bus/test.c
Examining data/dbus-1.13.18/bus/stats.h
Examining data/dbus-1.13.18/bus/stats.c
Examining data/dbus-1.13.18/bus/signals.h
Examining data/dbus-1.13.18/bus/signals.c
Examining data/dbus-1.13.18/bus/services.h
Examining data/dbus-1.13.18/bus/services.c
Examining data/dbus-1.13.18/bus/selinux.c
Examining data/dbus-1.13.18/bus/selinux.h
Examining data/dbus-1.13.18/bus/policy.h
Examining data/dbus-1.13.18/bus/policy.c
Examining data/dbus-1.13.18/bus/expirelist.h
Examining data/dbus-1.13.18/bus/expirelist.c
Examining data/dbus-1.13.18/bus/driver.h
Examining data/dbus-1.13.18/bus/driver.c
Examining data/dbus-1.13.18/bus/dispatch.h
Examining data/dbus-1.13.18/bus/dispatch.c
Examining data/dbus-1.13.18/bus/dir-watch.h
Examining data/dbus-1.13.18/bus/dir-watch-kqueue.c
Examining data/dbus-1.13.18/bus/dir-watch-inotify.c
Examining data/dbus-1.13.18/bus/dir-watch-default.c
Examining data/dbus-1.13.18/bus/desktop-file.h
Examining data/dbus-1.13.18/bus/desktop-file.c
Examining data/dbus-1.13.18/bus/containers.h
Examining data/dbus-1.13.18/bus/containers.c
Examining data/dbus-1.13.18/bus/connection.h
Examining data/dbus-1.13.18/bus/connection.c
Examining data/dbus-1.13.18/bus/config-parser-common.h
Examining data/dbus-1.13.18/bus/config-parser-common.c
Examining data/dbus-1.13.18/bus/config-parser.h
Examining data/dbus-1.13.18/bus/config-parser.c
Examining data/dbus-1.13.18/bus/config-loader-expat.c
Examining data/dbus-1.13.18/bus/bus.h
Examining data/dbus-1.13.18/bus/bus.c
Examining data/dbus-1.13.18/bus/audit.h
Examining data/dbus-1.13.18/bus/audit.c
Examining data/dbus-1.13.18/bus/apparmor.h
Examining data/dbus-1.13.18/bus/apparmor.c
Examining data/dbus-1.13.18/bus/activation-exit-codes.h
Examining data/dbus-1.13.18/bus/activation.h
Examining data/dbus-1.13.18/bus/activation.c

FINAL RESULTS:

data/dbus-1.13.18/dbus/dbus-file-unix.c:332:7:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  if (chmod (filename_c, 0644) == -1)
data/dbus-1.13.18/dbus/dbus-spawn-unix.c:1075:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
          if (readlink (proc_self_fd, description, description_length) <= 0)
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:1254:20:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  if (!abstract && chmod (path, 0777) < 0)
data/dbus-1.13.18/bus/activation-helper.c:354:7:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if (execv (argv[0], argv) < 0)
data/dbus-1.13.18/bus/apparmor.c:187:12:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
      goto syslog;
data/dbus-1.13.18/bus/apparmor.c:194:14:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
        goto syslog;
data/dbus-1.13.18/bus/apparmor.c:205:1:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
syslog:
data/dbus-1.13.18/bus/bus.c:75:16:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  unsigned int syslog : 1;
data/dbus-1.13.18/bus/bus.c:332:20:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
      if (context->syslog)
data/dbus-1.13.18/bus/bus.c:1012:20:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
      if (context->syslog)
data/dbus-1.13.18/bus/bus.c:1020:20:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
      if (context->syslog)
data/dbus-1.13.18/bus/bus.c:1435:19:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  return context->syslog;
data/dbus-1.13.18/bus/config-parser.c:120:16:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  unsigned int syslog : 1; /**< TRUE to enable syslog */
data/dbus-1.13.18/bus/config-parser.c:2953:18:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  return parser->syslog;
data/dbus-1.13.18/bus/main.c:151:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (stderr,
data/dbus-1.13.18/bus/selinux.c:116:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(buf, sizeof(buf), fmt, ap);
data/dbus-1.13.18/dbus/dbus-internals.c:319:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy(module_name,last_slash+1);
data/dbus-1.13.18/dbus/dbus-internals.c:493:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, format, args);
data/dbus-1.13.18/dbus/dbus-spawn-win.c:474:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (p, strings[i]);
data/dbus-1.13.18/dbus/dbus-string.c:1119:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf ((char*) (real->str + (real->len - len)),
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:1105:7:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execvp (path, (char * const *) argv);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:3807:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  len = vsnprintf (static_buf, bufsize, format, args_copy);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:3826:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      if (vsnprintf (static_buf, 1, format, args_copy) == 1)
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:3846:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      len = vsnprintf (buf, bufsize, format, args_copy);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:4036:11:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          execv (progpath, (char * const *) argv);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:4045:13:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            execvp (strrchr (progpath, '/')+1, (char * const *) argv);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:4048:9:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execvp (progpath, (char * const *) argv);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:5076:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      vfprintf (stderr, msg, tmp);
data/dbus-1.13.18/dbus/dbus-sysdeps-util-unix.c:561:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  return (access (file, F_OK) == 0);
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:2642:27:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DPRINTF(fmt, ...) fprintf (stderr, fmt, ##__VA_ARGS__)
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:3108:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy( shared_addr, address);
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:3968:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      vfprintf (stderr, msg, tmp);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:231:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (stpcpy (stpcpy (result, tmp), "\\bin\\"), name);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:255:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (stpcpy (stpcpy (result, tmp), "\\"), name);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:278:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (result, dir);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:481:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (lpBuffer, filename);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:1118:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy (lpBuffer, buffer_c);
data/dbus-1.13.18/dbus/dbus-sysdeps.c:148:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (putenv_value, varname);
data/dbus-1.13.18/dbus/dbus-sysdeps.c:179:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (putenv_value, varname);
data/dbus-1.13.18/dbus/dbus-sysdeps.c:181:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (putenv_value + varname_len + 1, value);
data/dbus-1.13.18/dbus/dbus-test-tap.c:55:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (format, ap);
data/dbus-1.13.18/dbus/dbus-test-tap.c:73:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (format, ap);
data/dbus-1.13.18/dbus/dbus-test-tap.c:96:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (format, ap);
data/dbus-1.13.18/dbus/dbus-test-tap.c:115:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (format, ap);
data/dbus-1.13.18/dbus/dbus-test-tap.c:133:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (format, ap);
data/dbus-1.13.18/dbus/dbus-test-tap.c:152:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (format, ap);
data/dbus-1.13.18/dbus/dbus-userdb-util.c:75:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if (access ("/run/systemd/seats/", F_OK) >= 0)
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2761:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (buf, sample_signatures[seed % _DBUS_N_ELEMENTS(sample_signatures)]);
data/dbus-1.13.18/test/name-test/test-privserver-client.c:13:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, message, args);
data/dbus-1.13.18/test/test-privserver.c:40:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, message, args);
data/dbus-1.13.18/tools/dbus-cleanup-sockets.c:130:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (se->name, dir);
data/dbus-1.13.18/tools/dbus-cleanup-sockets.c:132:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat (se->name, fname);
data/dbus-1.13.18/tools/dbus-launch-win.c:44:3:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
  wcscat (dest, src);
data/dbus-1.13.18/tools/dbus-launch-win.c:53:3:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
  wcscpy (dest, src);
data/dbus-1.13.18/tools/dbus-launch-x11.c:163:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (result, home);
data/dbus-1.13.18/tools/dbus-launch-x11.c:164:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat (result, prefix);
data/dbus-1.13.18/tools/dbus-launch-x11.c:165:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat (result, machine);
data/dbus-1.13.18/tools/dbus-launch-x11.c:167:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat (result, display);
data/dbus-1.13.18/tools/dbus-launch-x11.c:190:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (dir, home);
data/dbus-1.13.18/tools/dbus-launch-x11.c:192:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat (dir, DBUS_DIR);
data/dbus-1.13.18/tools/dbus-launch-x11.c:202:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat (dir, DBUS_SESSION_BUS_DIR);
data/dbus-1.13.18/tools/dbus-launch-x11.c:268:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (atom_name, selection_prefix);
data/dbus-1.13.18/tools/dbus-launch-x11.c:269:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat (atom_name, user_name);
data/dbus-1.13.18/tools/dbus-launch-x11.c:271:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat (atom_name, machine);
data/dbus-1.13.18/tools/dbus-launch-x11.c:275:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (atom_name, address_prefix);
data/dbus-1.13.18/tools/dbus-launch-x11.c:279:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (atom_name, pid_prefix);
data/dbus-1.13.18/tools/dbus-launch.c:162:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, format, args);
data/dbus-1.13.18/tools/dbus-launch.c:791:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat (envvar, bus_address);
data/dbus-1.13.18/tools/dbus-launch.c:794:7:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execvp (runprog, args);
data/dbus-1.13.18/tools/dbus-launch.c:1259:13:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            execl (test_daemon,
data/dbus-1.13.18/tools/dbus-launch.c:1277:7:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execl (DBUS_DAEMONDIR"/dbus-daemon",
data/dbus-1.13.18/tools/dbus-launch.c:1297:7:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execlp ("dbus-daemon",
data/dbus-1.13.18/tools/dbus-run-session.c:207:3:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execlp (dbus_daemon,
data/dbus-1.13.18/tools/dbus-run-session.c:224:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp (argv[prog_arg], argv + prog_arg);
data/dbus-1.13.18/tools/dbus-update-activation-environment.c:93:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, format, ap);
data/dbus-1.13.18/tools/tool-common.h:30:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define VERBOSE fprintf
data/dbus-1.13.18/dbus/dbus-sysdeps-thread-win.c:47:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&init_lock);
data/dbus-1.13.18/dbus/dbus-sysdeps-thread-win.c:174:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&cond->lock);
data/dbus-1.13.18/dbus/dbus-sysdeps-thread-win.c:203:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&cond->lock);
data/dbus-1.13.18/dbus/dbus-sysdeps-thread-win.c:221:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
      EnterCriticalSection (&cond->lock);
data/dbus-1.13.18/dbus/dbus-sysdeps-thread-win.c:234:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&cond->lock);
data/dbus-1.13.18/dbus/dbus-sysdeps-thread-win.c:263:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&cond->lock);
data/dbus-1.13.18/dbus/dbus-sysdeps-thread-win.c:297:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&init_lock);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:3883:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        tmpdir = getenv("TMPDIR");
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:3889:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        tmpdir = getenv("TMP");
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:3891:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        tmpdir = getenv("TEMP");
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:122:21:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  HMODULE hModule = LoadLibrary ("iphlpapi.dll");
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:288:1:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
getenv (const char *name)
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.h:89:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
#define getenv _dbus_wince_getenv
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.h:90:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
char *getenv (const char *name);
data/dbus-1.13.18/dbus/dbus-sysdeps.c:202:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv (varname);
data/dbus-1.13.18/test/name-test/test-shutdown.c:27:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  session_addr_no_guid = strdup (getenv ("DBUS_SESSION_BUS_ADDRESS"));
data/dbus-1.13.18/tools/dbus-launch-win.c:96:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *s = getenv("DBUS_VERBOSE");
data/dbus-1.13.18/tools/dbus-launch-x11.c:72:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  home = getenv ("HOME");
data/dbus-1.13.18/tools/dbus-launch-x11.c:107:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  display = xstrdup (getenv ("DISPLAY"));
data/dbus-1.13.18/tools/dbus-launch-x11.c:422:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
           getenv ("DISPLAY"),
data/dbus-1.13.18/tools/dbus-launch.c:153:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      verbose = getenv ("DBUS_VERBOSE") != NULL;
data/dbus-1.13.18/tools/dbus-launch.c:644:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  s = getenv ("DBUS_DEBUG_OUTPUT");
data/dbus-1.13.18/tools/dbus-launch.c:993:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if ((shname = getenv ("SHELL")) != NULL)
data/dbus-1.13.18/tools/dbus-launch.c:1243:35:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        const char *test_daemon = getenv ("DBUS_TEST_DAEMON");
data/dbus-1.13.18/tools/dbus-launch.c:1247:40:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            if (config_file == NULL && getenv ("DBUS_TEST_DATA") != NULL)
data/dbus-1.13.18/tools/dbus-launch.c:1249:40:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                config_file = concat2 (getenv ("DBUS_TEST_DATA"),
data/dbus-1.13.18/tools/dbus-spam.c:346:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand (seed);
data/dbus-1.13.18/tools/dbus-update-activation-environment.c:102:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *xdg_runtime_dir = getenv ("XDG_RUNTIME_DIR");
data/dbus-1.13.18/tools/dbus-update-activation-environment.c:303:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
              val = getenv (var);
data/dbus-1.13.18/bus/activation.c:2493:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  file = fopen (_dbus_string_get_const_data (&full_path), "w");
data/dbus-1.13.18/bus/apparmor.c:141:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  mask_file = open (_dbus_string_get_const_data (&aa_dbus),
data/dbus-1.13.18/bus/desktop-file.c:77:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char valid[256] = { 
data/dbus-1.13.18/bus/dir-watch-inotify.c:51:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *dirs[MAX_DIRS_TO_WATCH];
data/dbus-1.13.18/bus/dir-watch-inotify.c:60:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[INOTIFY_BUF_LEN];
data/dbus-1.13.18/bus/dir-watch-inotify.c:99:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *new_dirs[MAX_DIRS_TO_WATCH];
data/dbus-1.13.18/bus/dir-watch-kqueue.c:48:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *dirs[MAX_DIRS_TO_WATCH];
data/dbus-1.13.18/bus/dir-watch-kqueue.c:202:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *new_dirs[MAX_DIRS_TO_WATCH];
data/dbus-1.13.18/bus/dir-watch-kqueue.c:267:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fd = open (new_dirs[i], O_RDONLY | O_CLOEXEC);
data/dbus-1.13.18/bus/dir-watch-kqueue.c:273:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
              fd = open (new_dirs[i], O_RDONLY);
data/dbus-1.13.18/bus/dispatch.c:4137:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[7] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL};
data/dbus-1.13.18/bus/main.c:79:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char action[2] = { ACTION_RELOAD, '\0' };
data/dbus-1.13.18/bus/main.c:113:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char action[2] = { ACTION_QUIT, '\0' };
data/dbus-1.13.18/bus/selinux.c:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[PATH_MAX*2];
data/dbus-1.13.18/dbus/dbus-address.c:294:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[3];
data/dbus-1.13.18/dbus/dbus-bus.c:96:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *bus_connection_addresses[N_BUS_TYPES] = { NULL, NULL, NULL };
data/dbus-1.13.18/dbus/dbus-credentials.c:558:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (gids, other_credentials->unix_gids,
data/dbus-1.13.18/dbus/dbus-file-unix.c:70:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (filename_c, O_RDONLY | O_BINARY);
data/dbus-1.13.18/dbus/dbus-file-unix.c:215:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (tmp_filename_c, O_WRONLY | O_BINARY | O_EXCL | O_CREAT,
data/dbus-1.13.18/dbus/dbus-file-unix.c:361:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (filename_c, O_WRONLY | O_BINARY | O_EXCL | O_CREAT,
data/dbus-1.13.18/dbus/dbus-internals.c:299:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char module_name[1024];
data/dbus-1.13.18/dbus/dbus-internals.c:320:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(module_name,": ");
data/dbus-1.13.18/dbus/dbus-internals.c:603:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (copy, str, len + 1);
data/dbus-1.13.18/dbus/dbus-internals.c:626:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (copy, mem, n_bytes);
data/dbus-1.13.18/dbus/dbus-internals.h:435:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char as_bytes[DBUS_UUID_LENGTH_BYTES];                /**< guid as 16 single-byte values */
data/dbus-1.13.18/dbus/dbus-internals.h:460:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { char _assertion[(expr) ? 1 : -1]; } \
data/dbus-1.13.18/dbus/dbus-marshal-basic.c:1671:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char array1[5] = { 3, 4, 0, 1, 9 };
data/dbus-1.13.18/dbus/dbus-marshal-header.c:299:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[2];
data/dbus-1.13.18/dbus/dbus-memory.c:137:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  fail_nth = atoi (_dbus_getenv ("DBUS_MALLOC_FAIL_NTH"));
data/dbus-1.13.18/dbus/dbus-memory.c:144:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          fail_size = atoi (_dbus_getenv ("DBUS_MALLOC_FAIL_GREATER_THAN"));
data/dbus-1.13.18/dbus/dbus-mempool.c:94:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char elements[ELEMENT_PADDING]; /**< the block data, actually allocated to required size */
data/dbus-1.13.18/dbus/dbus-message.c:1892:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[2];
data/dbus-1.13.18/dbus/dbus-nonce.c:134:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[17];
data/dbus-1.13.18/dbus/dbus-nonce.c:144:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (_dbus_string_get_const_data (fname), "rb");
data/dbus-1.13.18/dbus/dbus-object-tree.c:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                               name[1]; /**< Allocated as large as necessary */
data/dbus-1.13.18/dbus/dbus-object-tree.c:1121:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (subtree->name, name, len + 1);
data/dbus-1.13.18/dbus/dbus-object-tree.c:1599:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *result[20];
data/dbus-1.13.18/dbus/dbus-sha.c:364:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
sha_finish (DBusSHAContext *context, unsigned char digest[20])
data/dbus-1.13.18/dbus/dbus-sha.c:459:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char digest[20];
data/dbus-1.13.18/dbus/dbus-spawn-unix.c:1067:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char description[256] = { 0 };
data/dbus-1.13.18/dbus/dbus-spawn-unix.c:1068:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char proc_self_fd[256] = { 0 };
data/dbus-1.13.18/dbus/dbus-spawn-unix.c:1375:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd_out = open ("/dev/null", O_RDONLY);
data/dbus-1.13.18/dbus/dbus-spawn-unix.c:1451:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fd = open ("/proc/self/oom_score_adj", O_WRONLY | O_CLOEXEC);
data/dbus-1.13.18/dbus/dbus-spawn-unix.c:1456:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
              fd = open ("/proc/self/oom_score_adj", O_WRONLY);
data/dbus-1.13.18/dbus/dbus-string.c:706:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (*data_return, real->str, real->len + 1);
data/dbus-1.13.18/dbus/dbus-string.c:730:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buffer, real->str, real->len);
data/dbus-1.13.18/dbus/dbus-string.c:752:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buffer, real->str, real->len+1);
data/dbus-1.13.18/dbus/dbus-string.c:944:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (real->str + (real->len - buffer_len),
data/dbus-1.13.18/dbus/dbus-string.c:998:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                               const unsigned char octets[2])
data/dbus-1.13.18/dbus/dbus-string.c:1022:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                               const unsigned char octets[4])
data/dbus-1.13.18/dbus/dbus-string.c:1046:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                               const unsigned char octets[8])
data/dbus-1.13.18/dbus/dbus-string.c:1496:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char byte_string[2] = "";
data/dbus-1.13.18/dbus/dbus-string.c:2278:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char hexdigits[16] = {
data/dbus-1.13.18/dbus/dbus-string.h:227:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                                  const unsigned char octets[2]);
data/dbus-1.13.18/dbus/dbus-string.h:230:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                                  const unsigned char octets[4]);
data/dbus-1.13.18/dbus/dbus-string.h:234:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                                  const unsigned char octets[8]);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:177:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        devnull = open ("/dev/null", O_RDWR);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:492:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (fds, payload, fds_to_use * sizeof (int));
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:621:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(CMSG_DATA(cm), fds, n_fds * sizeof(int));
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:1752:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char portbuf[50];
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:1856:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1] = { '\0' };
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:1860:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char cred[CMSG_SPACE (sizeof (struct cmsgcred))];
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:2205:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cred[CMSG_SPACE (sizeof (struct cmsgcred))];
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:3437:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open ("/dev/urandom", O_RDONLY);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:3801:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char static_buf[1024];
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:4153:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[6];
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:4327:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *argv[4];
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:4895:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hostip[INET6_ADDRSTRLEN];
data/dbus-1.13.18/dbus/dbus-sysdeps-util-unix.c:190:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (cfilename, O_WRONLY|O_CREAT|O_EXCL|O_BINARY, 0644);
data/dbus-1.13.18/dbus/dbus-sysdeps-util-unix.c:1175:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (_dbus_string_get_const_data (&path), O_RDONLY);
data/dbus-1.13.18/dbus/dbus-sysdeps-util-win.c:88:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pidstr[20];
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:735:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:789:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  n = MultiByteToWideChar (CP_UTF8, 0, str, -1, NULL, 0);
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:805:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  if (MultiByteToWideChar (CP_UTF8, 0, str, -1, retval, n) != n)
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:1942:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char portbuf[NI_MAXSERV];
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:2542:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[1000];
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:2722:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[sizeof(SYMBOL_INFO) + MAX_SYM_NAME * sizeof(char)];
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:3228:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dbus_exe_path[MAX_PATH];
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:3229:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dbus_args[MAX_PATH * 2];
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:3255:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char dbus_module_path[MAX_PATH];
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:266:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir[MAX_PATH + 1];
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:285:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *environ[MAX_ENV + 1];
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:509:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buf, asid, sizeof (asid));
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:956:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (data, data_c, data_c_len);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:967:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (lpData, data, data_len);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:1007:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (lpBuffer, &buffer_new, sizeof (buffer_new));
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:1073:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t dummy[1];
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:1129:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t path[MAX_PATH];
data/dbus-1.13.18/dbus/dbus-sysdeps.c:817:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&addr, sockaddr_pointer, len);
data/dbus-1.13.18/dbus/dbus-sysdeps.c:889:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char string[INET6_ADDRSTRLEN];
data/dbus-1.13.18/dbus/dbus-transport-unix.c:292:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char t[4+20+1]; /* "argv" plus space for a formatted base 10 64bit integer, plus NUL */
data/dbus-1.13.18/dbus/dbus-transport-unix.c:311:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char t[4+20+1];
data/dbus-1.13.18/dbus/dbus-types.h:139:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char bytes[8]; /**< as 8 individual bytes */
data/dbus-1.13.18/dbus/dbus-userdb-util.c:419:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (*group_ids, info->group_ids, info->n_group_ids * sizeof (dbus_gid_t));
data/dbus-1.13.18/test/fdpass.c:293:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f->fd_before = open ("/dev/null", O_RDONLY);
data/dbus-1.13.18/test/header-fields.c:118:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (data, bytes, len);
data/dbus-1.13.18/test/header-fields.c:158:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char weird_header[8] = {
data/dbus-1.13.18/test/header-fields.c:295:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&header_fields_length, &blob[FIELDS_ARRAY_LENGTH_OFFSET], 4);
data/dbus-1.13.18/test/header-fields.c:341:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&header_fields_length, &blob[FIELDS_ARRAY_LENGTH_OFFSET], 4);
data/dbus-1.13.18/test/header-fields.c:364:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&header_fields_length, &blob[FIELDS_ARRAY_LENGTH_OFFSET], 4);
data/dbus-1.13.18/test/internals/dbus-auth-script.c:217:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (array[k],
data/dbus-1.13.18/test/internals/dbus-credentials-util.c:102:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (copy, group_vectors[group_vector - 1].gids,
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:1924:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (_dbus_getenv ("DBUS_TEST_SLOW")) < 1)
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2005:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atoi (_dbus_getenv ("DBUS_TEST_SLOW")) < 2)
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2436:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_SAMPLE_STRING_LEN + 1]="";
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2454:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_SAMPLE_STRING_LEN + 1];
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2477:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_SAMPLE_STRING_LEN + 1];
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2700:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_SAMPLE_OBJECT_PATH_LEN + 1];
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2716:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_SAMPLE_OBJECT_PATH_LEN + 1];
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2736:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_SAMPLE_OBJECT_PATH_LEN + 1];
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2770:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_SAMPLE_SIGNATURE_LEN + 1];
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2786:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_SAMPLE_SIGNATURE_LEN + 1];
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2807:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_SAMPLE_SIGNATURE_LEN + 1];
data/dbus-1.13.18/test/internals/dbus-message-factory.c:435:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char long_sig[DBUS_MAXIMUM_TYPE_RECURSION_DEPTH+2];
data/dbus-1.13.18/test/internals/dbus-message-factory.c:471:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char long_sig[DBUS_MAXIMUM_TYPE_RECURSION_DEPTH*2+4];
data/dbus-1.13.18/test/internals/dbus-message-factory.c:691:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char long_sig[DBUS_MAXIMUM_TYPE_RECURSION_DEPTH*4+10];
data/dbus-1.13.18/test/internals/dbus-message-util.c:1082:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sig[64];
data/dbus-1.13.18/test/internals/dbus-message-util.c:1461:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char garbage_header[DBUS_MINIMUM_HEADER_SIZE] = "xxx";
data/dbus-1.13.18/test/internals/dbus-string-util.c:120:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[512];
data/dbus-1.13.18/test/internals/hash.c:152:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      len = sprintf (keys[i], "Hash key %d", i);
data/dbus-1.13.18/test/internals/refs.c:216:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (dbus_test_slow == NULL || atoi (dbus_test_slow) < 1)
data/dbus-1.13.18/test/internals/sha.c:458:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char all_bytes[256];
data/dbus-1.13.18/test/internals/spawn-oom.c:63:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[4] = { NULL, NULL, NULL, NULL };
data/dbus-1.13.18/test/internals/spawn-oom.c:106:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *argv[4] = { NULL, NULL, NULL, NULL };
data/dbus-1.13.18/test/internals/spawn-oom.c:162:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *argv[4] = { NULL, NULL, NULL, NULL };
data/dbus-1.13.18/test/internals/spawn-oom.c:214:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *argv[4] = { NULL, NULL, NULL, NULL };
data/dbus-1.13.18/test/internals/variant.c:194:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&value, value_p, 4);
data/dbus-1.13.18/test/internals/variant.c:245:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&value, value_p, 8);
data/dbus-1.13.18/test/internals/variant.c:296:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&length, value, 4);
data/dbus-1.13.18/test/internals/variant.c:359:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&value, value_p, 4);
data/dbus-1.13.18/test/internals/variant.c:366:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&value, value_p, 4);
data/dbus-1.13.18/test/marshal.c:263:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (aligned_le_blob, le_blob, sizeof (le_blob));
data/dbus-1.13.18/test/marshal.c:265:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (aligned_be_blob, be_blob, sizeof (be_blob));  
data/dbus-1.13.18/tools/dbus-echo.c:182:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          sleep_ms = atoi (arg + strlen ("--sleep-ms="));
data/dbus-1.13.18/tools/dbus-launch-win.c:87:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t dbusDaemonPath[MAX_PATH * 2 + 1];
data/dbus-1.13.18/tools/dbus-launch-win.c:88:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t command[MAX_PATH * 2 + 1];
data/dbus-1.13.18/tools/dbus-launch-x11.c:408:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen (session_file, "w");
data/dbus-1.13.18/tools/dbus-launch.c:207:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (copy, str, len + 1);
data/dbus-1.13.18/tools/dbus-launch.c:228:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ret, a, la);
data/dbus-1.13.18/tools/dbus-launch.c:229:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ret + la, b, lb + 1);
data/dbus-1.13.18/tools/dbus-launch.c:581:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char discard[512];
data/dbus-1.13.18/tools/dbus-launch.c:790:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (envvar, "DBUS_SESSION_BUS_ADDRESS=");
data/dbus-1.13.18/tools/dbus-launch.c:1152:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char write_pid_fd_as_string[MAX_FD_LEN];
data/dbus-1.13.18/tools/dbus-launch.c:1153:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char write_address_fd_as_string[MAX_FD_LEN];
data/dbus-1.13.18/tools/dbus-launch.c:1222:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (write_pid_fd_as_string,
data/dbus-1.13.18/tools/dbus-launch.c:1225:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (write_address_fd_as_string,
data/dbus-1.13.18/tools/dbus-launch.c:1317:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char bus_address[MAX_ADDR_LEN];
data/dbus-1.13.18/tools/dbus-launch.c:1318:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MAX_PID_LEN];
data/dbus-1.13.18/tools/dbus-print-message.c:164:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (copy, bytes, len);
data/dbus-1.13.18/tools/dbus-print-message.c:188:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hostip[INET6_ADDRSTRLEN];
data/dbus-1.13.18/tools/dbus-run-session.c:187:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
exec_dbus_daemon (const char *dbus_daemon,
data/dbus-1.13.18/tools/dbus-run-session.c:193:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char write_address_fd_as_string[MAX_FD_LEN];
data/dbus-1.13.18/tools/dbus-run-session.c:205:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (write_address_fd_as_string, "%d", bus_address_pipe[PIPE_WRITE_END]);
data/dbus-1.13.18/tools/dbus-run-session.c:384:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *dbus_daemon_argv[4];
data/dbus-1.13.18/tools/dbus-run-session.c:517:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char bus_address[MAX_ADDR_LEN] = { 0 };
data/dbus-1.13.18/tools/dbus-send.c:579:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char sig[5];
data/dbus-1.13.18/tools/dbus-send.c:602:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char sig[2];
data/dbus-1.13.18/tools/dbus-spam.c:203:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          count = atoi (arg + strlen ("--count="));
data/dbus-1.13.18/tools/dbus-spam.c:324:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          queue_len = atoi (arg + strlen ("--queue="));
data/dbus-1.13.18/tools/dbus-spam.c:335:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          messages_per_conn = atoi (arg + strlen ("--messages-per-conn="));
data/dbus-1.13.18/bus/config-parser.c:3535:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  dbus_bool_t equal;
data/dbus-1.13.18/bus/config-parser.c:3604:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	  if (! equal)
data/dbus-1.13.18/bus/config-parser.c:3630:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  dbus_bool_t equal;
data/dbus-1.13.18/bus/config-parser.c:3683:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (!equal)
data/dbus-1.13.18/bus/containers.c:783:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  (int) strlen (type) +
data/dbus-1.13.18/bus/containers.c:784:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  (int) strlen (name);
data/dbus-1.13.18/bus/containers.c:945:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                             &path, strlen (path) + 1))
data/dbus-1.13.18/bus/dir-watch-inotify.c:66:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ret = read (inotify_fd, buffer, INOTIFY_BUF_LEN);
data/dbus-1.13.18/bus/dir-watch-kqueue.c:65:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(500000);
data/dbus-1.13.18/bus/dispatch.c:3403:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (machine_id == NULL || strlen (machine_id) != 32)
data/dbus-1.13.18/bus/dispatch.c:5246:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(one[1].fd, &r, 1) != 1 || r != 'X')
data/dbus-1.13.18/bus/dispatch.c:5248:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(two[1].fd, &r, 1) != 1 || r != 'Y')
data/dbus-1.13.18/bus/dispatch.c:5250:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(two[1].fd, &r, 1) != 1 || r != 'Z')
data/dbus-1.13.18/bus/driver.c:2024:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                     strlen (linux_security_label) + 1))
data/dbus-1.13.18/bus/main.c:101:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (write (STDERR_FILENO, message, strlen (message)) !=
data/dbus-1.13.18/bus/main.c:102:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                (ssize_t) strlen (message))
data/dbus-1.13.18/bus/main.c:126:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (write (STDERR_FILENO, message, strlen (message)) !=
data/dbus-1.13.18/bus/main.c:127:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                (ssize_t) strlen (message))
data/dbus-1.13.18/bus/selinux.c:653:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				 strlen (context),
data/dbus-1.13.18/bus/signals.c:852:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int len1 = strlen ("path");
data/dbus-1.13.18/bus/signals.c:1771:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  prefix_len = strlen (prefix);
data/dbus-1.13.18/bus/signals.c:1953:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (rule->path);
data/dbus-1.13.18/bus/signals.c:2004:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              actual_length = strlen (actual_arg);
data/dbus-1.13.18/dbus/dbus-connection.c:5716:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!_dbus_decompose_path (path, strlen (path), &decomposed_path, NULL))
data/dbus-1.13.18/dbus/dbus-connection.c:5892:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!_dbus_decompose_path (path, strlen (path), &decomposed_path, NULL))
data/dbus-1.13.18/dbus/dbus-connection.c:5927:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!_dbus_decompose_path (path, strlen (path), &decomposed_path, NULL))
data/dbus-1.13.18/dbus/dbus-connection.c:5963:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!_dbus_decompose_path (parent_path, strlen (parent_path), &decomposed_path, NULL))
data/dbus-1.13.18/dbus/dbus-internals.c:344:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *p = (char *)file + strlen(file);
data/dbus-1.13.18/dbus/dbus-internals.c:449:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (format);
data/dbus-1.13.18/dbus/dbus-internals.c:597:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (str);
data/dbus-1.13.18/dbus/dbus-marshal-basic.c:793:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        strlen (value),
data/dbus-1.13.18/dbus/dbus-marshal-basic.c:805:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        strlen (value),
data/dbus-1.13.18/dbus/dbus-message.c:3418:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (!_dbus_decompose_path (v, strlen (v),
data/dbus-1.13.18/dbus/dbus-message.c:5471:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  _dbus_assert (strlen (ret) == len);
data/dbus-1.13.18/dbus/dbus-object-tree.c:1114:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (name);
data/dbus-1.13.18/dbus/dbus-object-tree.c:1628:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                 strlen (decompose_tests[i].path),
data/dbus-1.13.18/dbus/dbus-spawn-unix.c:106:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      chunk = read (fd,
data/dbus-1.13.18/dbus/dbus-spawn-unix.c:161:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      chunk = read (fd,
data/dbus-1.13.18/dbus/dbus-spawn-unix.c:1234:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          if (read (sigchld_pipe[READ_END], &b, 1) == -1)
data/dbus-1.13.18/dbus/dbus-spawn-win.c:466:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n += strlen (strings[i]) + 1;
data/dbus-1.13.18/dbus/dbus-spawn-win.c:475:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      p += strlen (strings[i]);
data/dbus-1.13.18/dbus/dbus-string-util.c:63:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  c_str_len = strlen (c_str);
data/dbus-1.13.18/dbus/dbus-string.c:203:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               strlen (value));
data/dbus-1.13.18/dbus/dbus-string.c:967:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  buffer_len = strlen (buffer);
data/dbus-1.13.18/dbus/dbus-string.c:2262:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  next_char = data[strlen (c_str)];
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:753:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bytes_read = read (fd, data, count);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:960:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  path_len = strlen (path);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:976:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (&addr.sun_path[1], path, sizeof (addr.sun_path) - 2);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:995:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (addr.sun_path, path, sizeof (addr.sun_path) - 1);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:1167:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  path_len = strlen (path);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:1186:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (&addr.sun_path[1], path, sizeof (addr.sun_path) - 2);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:1223:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (addr.sun_path, path, sizeof (addr.sun_path) - 1);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:2119:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (_dbus_string_get_const_data (&buf)) != len)
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:3395:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep (milliseconds * MICROSECONDS_PER_MILLISECOND);
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:4004:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (write (errors_pipe[WRITE_END], error_str, strlen (error_str)) < 0 ||
data/dbus-1.13.18/dbus/dbus-sysdeps-unix.c:4012:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (write (errors_pipe[WRITE_END], error_str, strlen (error_str)) < 0)
data/dbus-1.13.18/dbus/dbus-sysdeps-util-unix.c:143:11:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
          umask (022);
data/dbus-1.13.18/dbus/dbus-sysdeps-util-win.c:120:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  bytes_to_write = strlen (pidstr);;
data/dbus-1.13.18/dbus/dbus-sysdeps-util-win.c:1446:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            path, 0, strlen (DBUS_PREFIX) + 1))
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:344:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (msg[strlen (msg) - 1] == '\n')
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:345:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    msg[strlen (msg) - 1] = '\0';
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:346:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (msg[strlen (msg) - 1] == '\r')
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:347:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    msg[strlen (msg) - 1] = '\0';
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:2990:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else if (strlen(scope) > 0)
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:3097:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (address) + 1;
data/dbus-1.13.18/dbus/dbus-sysdeps-win.c:3515:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    _dbus_string_set_length (str, strlen ((char *) prefix));
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:224:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result = malloc (strlen (tmp) + 5 + strlen (name) + 1);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:224:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result = malloc (strlen (tmp) + 5 + strlen (name) + 1);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:248:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result = malloc (strlen (tmp) + 1 + strlen (name) + 1);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:248:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result = malloc (strlen (tmp) + 1 + strlen (name) + 1);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:275:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result = malloc (strlen (dir) + 1);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:474:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  filename_len = strlen (filename) + 1;
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:734:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (fda->cFileName, filename, len);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:954:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      data_c_len = strlen (data_c) + 1;
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:1016:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (buffer_new, buffer_c, buffer_new_len);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:1024:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen (buffer_new);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:1061:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (lpFilename, filename_c, nSize);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:1066:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen (lpFilename);
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:1114:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len_c = strlen (buffer_c) + 1;
data/dbus-1.13.18/dbus/dbus-sysdeps-wince-glue.c:1142:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (lpszPath, path_c, MAX_PATH);
data/dbus-1.13.18/dbus/dbus-sysdeps.c:138:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (varname);
data/dbus-1.13.18/dbus/dbus-sysdeps.c:150:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat (putenv_value, "=");
data/dbus-1.13.18/dbus/dbus-sysdeps.c:166:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      varname_len = strlen (varname);
data/dbus-1.13.18/dbus/dbus-sysdeps.c:167:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      value_len = strlen (value);
data/dbus-1.13.18/dbus/dbus-sysdeps.c:180:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      strcpy (putenv_value + varname_len, "=");
data/dbus-1.13.18/test/containers.c:346:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  g_assert_null (strchr (f->socket_dbus_address + strlen ("unix:"), ':'));
data/dbus-1.13.18/test/dbus-daemon.c:572:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          g_assert_cmpuint (strlen (label) + 1, ==, len);
data/dbus-1.13.18/test/dbus-daemon.c:1302:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  g_assert_cmpuint (strlen (what_daemon_thinks), ==, 32);
data/dbus-1.13.18/test/internals/dbus-auth-script.c:547:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                     (int) strlen ("WRONG_USERID_HEX"));
data/dbus-1.13.18/test/internals/dbus-auth-script.c:579:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                _dbus_string_delete (&to_send, where, (int) strlen ("USERID_HEX"));
data/dbus-1.13.18/test/internals/dbus-auth-script.c:610:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                     (int) strlen ("WRONG_USERNAME_HEX"));
data/dbus-1.13.18/test/internals/dbus-auth-script.c:644:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                _dbus_string_delete (&to_send, where, (int) strlen ("USERNAME_HEX"));
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2488:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  v_string, strlen (v_string), old, strlen (old));
data/dbus-1.13.18/test/internals/dbus-marshal-recursive-util.c:2488:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  v_string, strlen (v_string), old, strlen (old));
data/dbus-1.13.18/test/internals/dbus-message-util.c:1510:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (i = strlen (basic_types) - 1; i > 0; i--)
data/dbus-1.13.18/test/internals/dbus-string-util.c:55:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen (data);
data/dbus-1.13.18/test/internals/dbus-string-util.c:286:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  _dbus_assert (((int)strlen (s)) == i);
data/dbus-1.13.18/test/internals/sha.c:74:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return check_sha_binary ((unsigned char *) input, strlen (input), expected);
data/dbus-1.13.18/test/internals/sysdeps.c:130:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (_dbus_command_for_pid (pid, &string, strlen (argv[0]) + 1024, &d_error))
data/dbus-1.13.18/test/internals/sysdeps.c:142:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen (expected));
data/dbus-1.13.18/test/internals/variant.c:287:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                   (int) strlen (expected_value) + 9);
data/dbus-1.13.18/test/internals/variant.c:297:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  g_assert_cmpuint (length, ==, (int) strlen (expected_value));
data/dbus-1.13.18/test/loopback.c:327:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  g_assert_cmpuint (strlen (guid), >=, 5 + 32);
data/dbus-1.13.18/test/name-test/test-ids.c:57:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (server_id) != 32)
data/dbus-1.13.18/test/name-test/test-ids.c:70:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (id) != 32)
data/dbus-1.13.18/test/test-utils-glib.c:246:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bytes = read (address_fd, buf, sizeof (buf));
data/dbus-1.13.18/tools/dbus-cleanup-sockets.c:127:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (dir) + strlen (fname) + 2; /* 2 = nul and '/' */
data/dbus-1.13.18/tools/dbus-cleanup-sockets.c:127:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (dir) + strlen (fname) + 2; /* 2 = nul and '/' */
data/dbus-1.13.18/tools/dbus-cleanup-sockets.c:131:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat (se->name, "/");
data/dbus-1.13.18/tools/dbus-cleanup-sockets.c:251:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (saddr.sun_path, se->name, sizeof (saddr.sun_path) - 1);
data/dbus-1.13.18/tools/dbus-echo.c:178:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          name = arg + strlen ("--name=");
data/dbus-1.13.18/tools/dbus-echo.c:182:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          sleep_ms = atoi (arg + strlen ("--sleep-ms="));
data/dbus-1.13.18/tools/dbus-echo.c:223:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          name = arg + strlen ("--name=");
data/dbus-1.13.18/tools/dbus-launch-win.c:43:31:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert (sizeof (wchar_t) * (wcslen (dest) + wcslen (src) + 1) <= size);
data/dbus-1.13.18/tools/dbus-launch-win.c:43:47:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert (sizeof (wchar_t) * (wcslen (dest) + wcslen (src) + 1) <= size);
data/dbus-1.13.18/tools/dbus-launch-win.c:52:31:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert (sizeof (wchar_t) * (wcslen (src) + 1) <= size);
data/dbus-1.13.18/tools/dbus-launch-x11.c:59:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  plen = strlen (prefix);
data/dbus-1.13.18/tools/dbus-launch-x11.c:63:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      memmove (s, s + plen, strlen (s) - plen + 1);
data/dbus-1.13.18/tools/dbus-launch-x11.c:154:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result = malloc (strlen (home) + strlen (prefix) + strlen (machine) +
data/dbus-1.13.18/tools/dbus-launch-x11.c:154:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result = malloc (strlen (home) + strlen (prefix) + strlen (machine) +
data/dbus-1.13.18/tools/dbus-launch-x11.c:154:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result = malloc (strlen (home) + strlen (prefix) + strlen (machine) +
data/dbus-1.13.18/tools/dbus-launch-x11.c:155:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                   strlen (display) + 2);
data/dbus-1.13.18/tools/dbus-launch-x11.c:166:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat (result, "-");
data/dbus-1.13.18/tools/dbus-launch-x11.c:183:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dir = malloc (strlen (home) + strlen (DBUS_DIR) + strlen (DBUS_SESSION_BUS_DIR) + 3);
data/dbus-1.13.18/tools/dbus-launch-x11.c:183:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dir = malloc (strlen (home) + strlen (DBUS_DIR) + strlen (DBUS_SESSION_BUS_DIR) + 3);
data/dbus-1.13.18/tools/dbus-launch-x11.c:183:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dir = malloc (strlen (home) + strlen (DBUS_DIR) + strlen (DBUS_SESSION_BUS_DIR) + 3);
data/dbus-1.13.18/tools/dbus-launch-x11.c:191:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat (dir, "/");
data/dbus-1.13.18/tools/dbus-launch-x11.c:201:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat (dir, "/");
data/dbus-1.13.18/tools/dbus-launch-x11.c:256:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  atom_name = malloc (strlen (machine) + strlen (user_name) + 2 +
data/dbus-1.13.18/tools/dbus-launch-x11.c:256:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  atom_name = malloc (strlen (machine) + strlen (user_name) + 2 +
data/dbus-1.13.18/tools/dbus-launch-x11.c:257:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      MAX (strlen (selection_prefix),
data/dbus-1.13.18/tools/dbus-launch-x11.c:258:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                           MAX (strlen (address_prefix),
data/dbus-1.13.18/tools/dbus-launch-x11.c:259:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                strlen (pid_prefix))));
data/dbus-1.13.18/tools/dbus-launch-x11.c:270:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat (atom_name, "_");
data/dbus-1.13.18/tools/dbus-launch-x11.c:375:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                   (unsigned char *)address, strlen (address));
data/dbus-1.13.18/tools/dbus-launch.c:106:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (uuid_arg) != 32)
data/dbus-1.13.18/tools/dbus-launch.c:201:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (str);
data/dbus-1.13.18/tools/dbus-launch.c:220:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  la = strlen (a);
data/dbus-1.13.18/tools/dbus-launch.c:221:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  lb = strlen (b);
data/dbus-1.13.18/tools/dbus-launch.c:265:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      chunk = read (fd,
data/dbus-1.13.18/tools/dbus-launch.c:318:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      chunk = read (fd,
data/dbus-1.13.18/tools/dbus-launch.c:427:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      do_write (1, bus_address, strlen (bus_address) + 1);
data/dbus-1.13.18/tools/dbus-launch.c:585:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
              bytes_read = read (tty_fd, discard, sizeof (discard));
data/dbus-1.13.18/tools/dbus-launch.c:766:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      envvar = malloc (strlen ("DBUS_SESSION_BUS_ADDRESS=") +
data/dbus-1.13.18/tools/dbus-launch.c:767:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          strlen (bus_address) + 1);
data/dbus-1.13.18/tools/dbus-launch.c:778:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          size_t len = strlen (argv[remaining_args+i-1])+1;
data/dbus-1.13.18/tools/dbus-launch.c:786:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy (args[i], argv[remaining_args+i-1], len);
data/dbus-1.13.18/tools/dbus-launch.c:995:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         if (!strncmp (shname + strlen (shname) - 3, "csh", 3))
data/dbus-1.13.18/tools/dbus-monitor.c:435:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          filter_len = strlen (EAVESDROPPING_RULE) + 1 + strlen (arg) + 1;
data/dbus-1.13.18/tools/dbus-monitor.c:435:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          filter_len = strlen (EAVESDROPPING_RULE) + 1 + strlen (arg) + 1;
data/dbus-1.13.18/tools/dbus-monitor.c:523:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              offset = strlen (EAVESDROPPING_RULE) + 1;
data/dbus-1.13.18/tools/dbus-run-session.c:153:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      chunk = read (fd,
data/dbus-1.13.18/tools/dbus-spam.c:203:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          count = atoi (arg + strlen ("--count="));
data/dbus-1.13.18/tools/dbus-spam.c:214:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          destination = arg + strlen ("--dest=");
data/dbus-1.13.18/tools/dbus-spam.c:218:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          payload = arg + strlen ("--payload=");
data/dbus-1.13.18/tools/dbus-spam.c:324:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          queue_len = atoi (arg + strlen ("--queue="));
data/dbus-1.13.18/tools/dbus-spam.c:331:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          seed = strtoul (arg + strlen ("--seed="), NULL, 10);
data/dbus-1.13.18/tools/dbus-spam.c:335:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          messages_per_conn = atoi (arg + strlen ("--messages-per-conn="));
data/dbus-1.13.18/tools/dbus-spam.c:351:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      payload_len = strlen (payload);
data/dbus-1.13.18/tools/dbus-uuidgen.c:63:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(arg) < strlen(option))
data/dbus-1.13.18/tools/dbus-uuidgen.c:63:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(arg) < strlen(option))
data/dbus-1.13.18/tools/dbus-uuidgen.c:66:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  fn = arg + strlen(option);
data/dbus-1.13.18/tools/dbus-uuidgen.c:106:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strncmp (arg, "--ensure", strlen("--ensure")) == 0)
data/dbus-1.13.18/tools/dbus-uuidgen.c:111:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      else if (strncmp (arg, "--get", strlen("--get")) == 0)

ANALYSIS SUMMARY:

Hits = 429
Lines analyzed = 159380 in approximately 3.62 seconds (44018 lines/second)
Physical Source Lines of Code (SLOC) = 105889
Hits@level = [0] 472 [1] 164 [2] 160 [3]  29 [4]  73 [5]   3
Hits@level+ = [0+] 901 [1+] 429 [2+] 265 [3+] 105 [4+]  76 [5+]   3
Hits/KSLOC@level+ = [0+] 8.50891 [1+] 4.05141 [2+] 2.50262 [3+] 0.991604 [4+] 0.717733 [5+] 0.0283316
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.