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-glib-0.110/dbus/examples/statemachine/statemachine-server.h
Examining data/dbus-glib-0.110/dbus/examples/statemachine/statemachine.h
Examining data/dbus-glib-0.110/dbus/examples/statemachine/statemachine.c
Examining data/dbus-glib-0.110/dbus/examples/statemachine/sm-marshal.c
Examining data/dbus-glib-0.110/dbus/examples/statemachine/statemachine-server.c
Examining data/dbus-glib-0.110/dbus/examples/example-signal-recipient.c
Examining data/dbus-glib-0.110/dbus/examples/example-signal-emitter.c
Examining data/dbus-glib-0.110/dbus/examples/example-service.c
Examining data/dbus-glib-0.110/dbus/examples/example-client.c
Examining data/dbus-glib-0.110/dbus/dbus-gtest-main.c
Examining data/dbus-glib-0.110/dbus/dbus-glib-tool.c
Examining data/dbus-glib-0.110/dbus/dbus-glib-tool.h
Examining data/dbus-glib-0.110/dbus/dbus-binding-tool-glib.c
Examining data/dbus-glib-0.110/dbus/dbus-binding-tool-glib.h
Examining data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c
Examining data/dbus-glib-0.110/dbus/dbus-gparser.h
Examining data/dbus-glib-0.110/dbus/dbus-gparser.c
Examining data/dbus-glib-0.110/dbus/dbus-gloader-expat.c
Examining data/dbus-glib-0.110/dbus/dbus-gidl.h
Examining data/dbus-glib-0.110/dbus/dbus-gidl.c
Examining data/dbus-glib-0.110/dbus/dbus-gvalue-utils.h
Examining data/dbus-glib-0.110/dbus/dbus-gvalue-utils.c
Examining data/dbus-glib-0.110/dbus/dbus-gsignature.h
Examining data/dbus-glib-0.110/dbus/dbus-gsignature.c
Examining data/dbus-glib-0.110/dbus/dbus-gutils.h
Examining data/dbus-glib-0.110/dbus/dbus-gutils.c
Examining data/dbus-glib-0.110/dbus/dbus-gtype-specialized-priv.h
Examining data/dbus-glib-0.110/dbus/dbus-gtype-specialized.c
Examining data/dbus-glib-0.110/dbus/dbus-gthread.c
Examining data/dbus-glib-0.110/dbus/dbus-gvalue-parse-variant.c
Examining data/dbus-glib-0.110/dbus/dbus-gvalue.h
Examining data/dbus-glib-0.110/dbus/dbus-gvalue.c
Examining data/dbus-glib-0.110/dbus/dbus-gtest.h
Examining data/dbus-glib-0.110/dbus/dbus-gtest.c
Examining data/dbus-glib-0.110/dbus/dbus-gproxy.c
Examining data/dbus-glib-0.110/dbus/dbus-gobject.h
Examining data/dbus-glib-0.110/dbus/dbus-gobject.c
Examining data/dbus-glib-0.110/dbus/dbus-gmarshal.h
Examining data/dbus-glib-0.110/dbus/dbus-gmarshal.c
Examining data/dbus-glib-0.110/dbus/dbus-glib.c
Examining data/dbus-glib-0.110/dbus/dbus-glib-lowlevel.h
Examining data/dbus-glib-0.110/dbus/dbus-glib.h
Examining data/dbus-glib-0.110/dbus/dbus-gvalue-parse-variant.h
Examining data/dbus-glib-0.110/dbus/dbus-gtype-specialized.h
Examining data/dbus-glib-0.110/dbus-gmain/dbus-gmain.h
Examining data/dbus-glib-0.110/dbus-gmain/dbus-gmain.c
Examining data/dbus-glib-0.110/dbus-gmain/tests/test-thread-server.c
Examining data/dbus-glib-0.110/dbus-gmain/tests/test-thread.h
Examining data/dbus-glib-0.110/dbus-gmain/tests/test-thread-client.c
Examining data/dbus-glib-0.110/dbus-gmain/tests/30574.c
Examining data/dbus-glib-0.110/dbus-gmain/tests/util.h
Examining data/dbus-glib-0.110/dbus-gmain/tests/util.c
Examining data/dbus-glib-0.110/test/interfaces/test-server.c
Examining data/dbus-glib-0.110/test/interfaces/test-objects.h
Examining data/dbus-glib-0.110/test/interfaces/test-objects.c
Examining data/dbus-glib-0.110/test/interfaces/test-dup-prop.h
Examining data/dbus-glib-0.110/test/interfaces/test-dup-prop.c
Examining data/dbus-glib-0.110/test/interfaces/test-interfaces.h
Examining data/dbus-glib-0.110/test/interfaces/test-interfaces.c
Examining data/dbus-glib-0.110/test/interfaces/test-client.c
Examining data/dbus-glib-0.110/test/core/test-variant-recursion.c
Examining data/dbus-glib-0.110/test/core/test-types.c
Examining data/dbus-glib-0.110/test/core/shared-bus.c
Examining data/dbus-glib-0.110/test/core/test-service-glib.c
Examining data/dbus-glib-0.110/test/core/registrations.c
Examining data/dbus-glib-0.110/test/core/proxy-peer.c
Examining data/dbus-glib-0.110/test/core/proxy-noc.c
Examining data/dbus-glib-0.110/test/core/test-profile.c
Examining data/dbus-glib-0.110/test/core/private.c
Examining data/dbus-glib-0.110/test/core/peer-on-bus.c
Examining data/dbus-glib-0.110/test/core/test-gvariant.c
Examining data/dbus-glib-0.110/test/core/error-mapping.c
Examining data/dbus-glib-0.110/test/core/test-dbus-glib.c
Examining data/dbus-glib-0.110/test/core/peer-server.c
Examining data/dbus-glib-0.110/test/core/my-object-subclass.h
Examining data/dbus-glib-0.110/test/core/my-object-subclass.c
Examining data/dbus-glib-0.110/test/core/peer-client.c
Examining data/dbus-glib-0.110/test/core/my-object.h
Examining data/dbus-glib-0.110/test/core/my-object.c
Examining data/dbus-glib-0.110/test/core/manual/invalid-usage.c
Examining data/dbus-glib-0.110/test/specialized-types.c
Examining data/dbus-glib-0.110/test/test-service.c
Examining data/dbus-glib-0.110/test/errors.c

FINAL RESULTS:

data/dbus-glib-0.110/dbus/dbus-gidl.c:72:23:  [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.
  PropertyAccessFlags access;
data/dbus-glib-0.110/dbus/dbus-gidl.c:644:41:  [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.
                   PropertyAccessFlags  access)
data/dbus-glib-0.110/dbus/dbus-gidl.c:657:18:  [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.
  info->access = access;
data/dbus-glib-0.110/dbus/dbus-gidl.c:696:16:  [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 info->access;
data/dbus-glib-0.110/dbus/dbus-gidl.h:130:73:  [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.
                                                   PropertyAccessFlags  access);
data/dbus-glib-0.110/dbus/dbus-glib-tool.c:225: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, str, args);
data/dbus-glib-0.110/dbus/dbus-gparser.c:517:15:  [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.
  const char *access;
data/dbus-glib-0.110/dbus/dbus-gparser.c:541:38:  [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.
                          "access", &access,
data/dbus-glib-0.110/dbus/dbus-gparser.c:577:15:  [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 (strcmp (access, "readwrite") == 0)
data/dbus-glib-0.110/dbus/dbus-gparser.c:579:20:  [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.
  else if (strcmp (access, "read") == 0)
data/dbus-glib-0.110/dbus/dbus-gparser.c:581:20:  [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.
  else if (strcmp (access, "write") == 0)
data/dbus-glib-0.110/dbus/dbus-gparser.c:588:20:  [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.
                   access, element_name);
data/dbus-glib-0.110/dbus/examples/example-client.c:17: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, str, args);
data/dbus-glib-0.110/dbus/examples/example-service.c:17: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, str, args);
data/dbus-glib-0.110/dbus/examples/example-signal-emitter.c:17: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, str, args);
data/dbus-glib-0.110/dbus/examples/example-signal-recipient.c:17: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, str, args);
data/dbus-glib-0.110/test/core/peer-client.c:21: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, str, args);
data/dbus-glib-0.110/test/core/test-types.c:15: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, str, args);
data/dbus-glib-0.110/dbus/examples/statemachine/statemachine.c:220:35:  [3] (random) g_random_double_range:
  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.
  object->acquisition_progress += g_random_double_range (0.20, 0.7);
data/dbus-glib-0.110/dbus/examples/statemachine/statemachine.c:258:11:  [3] (random) g_random_int_range:
  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.
      if (g_random_int_range (0, 2) == 0)
data/dbus-glib-0.110/test/core/test-dbus-glib.c:749: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.
  if (getenv ("DBUS_GLIB_TEST_SLEEP_AFTER_ACTIVATION"))
data/dbus-glib-0.110/test/core/test-dbus-glib.c:1849: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.
  if (getenv ("DBUS_GLIB_TEST_SLEEP_AFTER_ACTIVATION1"))
data/dbus-glib-0.110/test/core/test-dbus-glib.c:1894: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.
  if (getenv ("DBUS_GLIB_TEST_SLEEP_AFTER_ACTIVATION2"))
data/dbus-glib-0.110/dbus/dbus-binding-tool-glib.c:842: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[4096];
data/dbus-glib-0.110/dbus/dbus-gproxy.c:124: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[4]; /**< name (empty string for none), nul byte,
data/dbus-glib-0.110/dbus/dbus-gproxy.c:406:5:  [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 (&tri[len], name, name_len);
data/dbus-glib-0.110/dbus/dbus-gproxy.c:414: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 (&tri[len], path, path_len);
data/dbus-glib-0.110/dbus/dbus-gproxy.c:421: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 (&tri[len], interface, iface_len);
data/dbus-glib-0.110/test/core/test-profile.c:612: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 not_allocated[512+PAYLOAD_SIZE];
data/dbus-glib-0.110/test/core/test-profile.c:670: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 not_allocated[512+PAYLOAD_SIZE] = { '\0', };
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:107: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).
          if (strlen (tokens[n]) > strlen (option))
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:107: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 (strlen (tokens[n]) > strlen (option))
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:108: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).
            *value = tokens[n] + strlen (option);
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:143:59:  [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).
  root = description_load_from_string (introspection_xml, strlen (introspection_xml), NULL);
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:196:59:  [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).
  root = description_load_from_string (introspection_xml, strlen (introspection_xml), NULL);
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:232:59:  [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).
  root = description_load_from_string (introspection_xml, strlen (introspection_xml), NULL);
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:270: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).
  if (s == NULL || strlen (s) < 2 || s - method < 1)
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:289:59:  [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).
  root = description_load_from_string (introspection_xml, strlen (introspection_xml), NULL);
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:438: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).
          (strlen (tokens[object_path_index + 1]) > 0) &&
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:494: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 (argv[2]) < strlen (argv[1]) + 1)
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:494: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).
  if (strlen (argv[2]) < strlen (argv[1]) + 1)
data/dbus-glib-0.110/dbus/dbus-bash-completion-helper.c:500: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).
  cur = argv[2] + strlen (argv[1]) + 1;
data/dbus-glib-0.110/dbus/dbus-glib.c:252: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).
  return error->message + strlen (error->message) + 1;
data/dbus-glib-0.110/dbus/dbus-gloader-expat.c:199: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 (str);
data/dbus-glib-0.110/dbus/dbus-gobject.c:169: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).
  return (table + (strlen (table) + 1));
data/dbus-glib-0.110/dbus/dbus-gobject.c:596:56:  [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 (lookup_data->fallback && (!lookup_data->iface || strlen (lookup_data->iface) == 0))
data/dbus-glib-0.110/dbus/dbus-gproxy.c:343: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).
  a_len = strlen (a);
data/dbus-glib-0.110/dbus/dbus-gproxy.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).
  b_len = strlen (b);
data/dbus-glib-0.110/dbus/dbus-gproxy.c:393: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).
    name_len = strlen (name);
data/dbus-glib-0.110/dbus/dbus-gproxy.c:397: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-glib-0.110/dbus/dbus-gproxy.c:399: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).
  iface_len = strlen (interface);
data/dbus-glib-0.110/dbus/dbus-gproxy.c:1340: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).
               tri + strlen (tri) + 1,
data/dbus-glib-0.110/dbus/dbus-gproxy.c:1341: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).
               tri + strlen (tri) + 1 + strlen (tri + strlen (tri) + 1) + 1,
data/dbus-glib-0.110/dbus/dbus-gproxy.c:1341: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).
               tri + strlen (tri) + 1 + strlen (tri + strlen (tri) + 1) + 1,
data/dbus-glib-0.110/dbus/dbus-gproxy.c:1341:55:  [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).
               tri + strlen (tri) + 1 + strlen (tri + strlen (tri) + 1) + 1,
data/dbus-glib-0.110/dbus/dbus-gproxy.c:1790:11:  [1] (buffer) mismatch:
  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.
	    goto mismatch;
data/dbus-glib-0.110/dbus/dbus-gproxy.c:1793:7:  [1] (buffer) mismatch:
  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.
	goto mismatch;
data/dbus-glib-0.110/dbus/dbus-gproxy.c:1807:2:  [1] (buffer) mismatch:
  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.
 mismatch:
data/dbus-glib-0.110/dbus/dbus-gutils.c:37: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 (path);
data/dbus-glib-0.110/test/core/my-object.c:586: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).
  *count += (strlen (keystr) + strlen (valstr));
data/dbus-glib-0.110/test/core/my-object.c:586: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).
  *count += (strlen (keystr) + strlen (valstr));
data/dbus-glib-0.110/test/core/test-dbus-glib.c:1992: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).
    node = description_load_from_string (v_STRING_2, strlen (v_STRING_2), &error);
data/dbus-glib-0.110/test/core/test-gvariant.c:75:14:  [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.
      while (equal && (child = g_variant_iter_next_value (&iter)))
data/dbus-glib-0.110/test/core/test-gvariant.c:99:14:  [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.
      return equal;
data/dbus-glib-0.110/test/core/test-gvariant.c:111:19:  [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.
      for (i = 0; equal && i < size; i++)
data/dbus-glib-0.110/test/core/test-gvariant.c:124:14:  [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.
      return equal;
data/dbus-glib-0.110/test/core/test-profile.c:633:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      val = read (fd, buf + bytes_read, count - bytes_read);                  
data/dbus-glib-0.110/test/core/test-profile.c:853:3:  [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, _DBUS_MAX_SUN_PATH_LENGTH - 1);
data/dbus-glib-0.110/test/core/test-profile.c:963:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (addr.sun_path, plain_sockets_address, _DBUS_MAX_SUN_PATH_LENGTH - 1);
data/dbus-glib-0.110/test/interfaces/test-client.c:215:47:  [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).
    node = description_load_from_string (str, strlen (str), &error);

ANALYSIS SUMMARY:

Hits = 70
Lines analyzed = 32436 in approximately 0.74 seconds (44035 lines/second)
Physical Source Lines of Code (SLOC) = 23096
Hits@level = [0]  69 [1]  40 [2]   7 [3]   5 [4]  18 [5]   0
Hits@level+ = [0+] 139 [1+]  70 [2+]  30 [3+]  23 [4+]  18 [5+]   0
Hits/KSLOC@level+ = [0+] 6.01836 [1+] 3.03083 [2+] 1.29893 [3+] 0.995843 [4+] 0.779356 [5+]   0
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.