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/gnunet-gtk-0.13.1/src/peerinfo/gnunet-peerinfo-gtk.c
Examining data/gnunet-gtk-0.13.1/src/peerinfo/gnunet-peerinfo-gtk-flags.h
Examining data/gnunet-gtk-0.13.1/src/peerinfo/gnunet-peerinfo-gtk-flags.c
Examining data/gnunet-gtk-0.13.1/src/peerinfo/gnunet-peerinfo-gtk-about.c
Examining data/gnunet-gtk-0.13.1/src/statistics/gnunet-statistics-gtk.c
Examining data/gnunet-gtk-0.13.1/src/statistics/gtk_statistics.c
Examining data/gnunet-gtk-0.13.1/src/statistics/gtk_statistics.h
Examining data/gnunet-gtk-0.13.1/src/statistics/gnunet-statistics-gtk-about.c
Examining data/gnunet-gtk-0.13.1/src/statistics/gtk_statistics_demo.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.h
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-datastore-plugins.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-datacache-config.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-transport-test.h
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-hostlist-server.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-hostlist-editing.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-transport-plugins.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-namestore-plugins.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-options.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-namestore-config.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup.h
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-transport-http.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-datacache-plugins.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-transport-tcp.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-datastore-config.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-transport-https.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-transport-test.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-transport-udp.c
Examining data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-options.h
Examining data/gnunet-gtk-0.13.1/src/lib/os_installation.c
Examining data/gnunet-gtk-0.13.1/src/lib/about.c
Examining data/gnunet-gtk-0.13.1/src/lib/misc.c
Examining data/gnunet-gtk-0.13.1/src/lib/nls.c
Examining data/gnunet-gtk-0.13.1/src/lib/glade.c
Examining data/gnunet-gtk-0.13.1/src/lib/eventloop.c
Examining data/gnunet-gtk-0.13.1/src/lib/animations.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_log.h
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_contacts.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_import.h
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_visibility.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_phone.h
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_egos.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_log.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_zones.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_history.h
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk.h
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_history.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_contacts.h
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_import.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_get_label.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_phone.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_egos.h
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_zones.h
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_about.c
Examining data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_get_label.h
Examining data/gnunet-gtk-0.13.1/src/include/gnunet_gtk.h
Examining data/gnunet-gtk-0.13.1/src/include/gnunet_gtk_namestore_plugin.h
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_pkey.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_soa.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_gns2dns.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_a.c
Examining data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk_edit.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_mx.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_phone.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_txt.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_vpn.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_aaaa.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_srv.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_leho.c
Examining data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_cname.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_ptr.c
Examining data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_box.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_open-uri.h
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk.h
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_unindex.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_download-save-as.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_anonymity-widgets.h
Examining data/gnunet-gtk-0.13.1/src/fs/metatypes.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_about.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_anonymity-widgets.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_main-window-connection.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_event-handler.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-edit-dialog.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_common.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_unindex.h
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_main-window-meta-data-context-menu.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-edit-dialog.h
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_open-directory.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_open-uri.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_main-window-view-toggles.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_main-window-search.c
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_common.h
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_download-save-as.h
Examining data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_event-handler.h

FINAL RESULTS:

data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c:2601: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 (&hashbuf[0], last_id);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c:2603: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 (&hashbuf[last_id_len], next_id);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c:2605: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 (&hashbuf[last_id_len + next_id_len], uristring);
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_box.c:102:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
      sscanf (n_value, "%u %u %u %s", &protocol, &service, &record_type, rest))
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:206:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  if (7 != sscanf (n_value,
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup.c:486:12:  [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 (0 != access (option_cfg_name, W_OK))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup.c:499: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.
      if (0 != access (dirname, X_OK | W_OK | R_OK))
data/gnunet-gtk-0.13.1/src/lib/eventloop.c:195:25:  [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 (NULL == (plugid = getenv (env_name)))
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_import.c:133: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 cname[256];
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_import.c:236: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 (rd_new, rd, sizeof (struct GNUNET_GNSRECORD_Data) * rd_count);
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_import.c:313: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 (my_rd_data, rd->data, rd->data_size);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk.c:500: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 (p, list[i].name, l);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_common.c:70: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 data_copy[data_len + 1];
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_common.c:72: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_copy, data, data_len);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_event-handler.c:424: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, dirname, copy_bytes);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_event-handler.c:480: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[FILENAME_MAX];
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c:2607: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 (&hashbuf[last_id_len + next_id_len + urilen], mdbuf, mdsize);
data/gnunet-gtk-0.13.1/src/lib/eventloop.c:658:24:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define FD_COPY(s, d) (memcpy ((d), (s), sizeof (fd_set)))
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:912: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 (rd_new, rd, rd_count * sizeof (struct GNUNET_GNSRECORD_Data));
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:1068: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 (rd_new,
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:1097: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 (rd_new,
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:1115: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 (rd_new,
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:1163: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 (rd_new,
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:1493: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 fancydate[128];
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:2223: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 (rd_new,
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:2880: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 (rd_new, rd_old, sizeof (struct GNUNET_GNSRECORD_Data) * rd_count);
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_box.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 rest[slen];
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_mx.c:59: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 result[253 + 1];
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_soa.c:76: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 soa_rname[253 + 1];
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_soa.c:77: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 soa_mname[253 + 1];
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_srv.c:92: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 target_name[253 + 1];
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:204: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 cert_data[slen];
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:571: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[4092];
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:594: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 san[256];
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:777: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 (&v4, addr, addrlen);
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:783: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 (&v6, addr, addrlen);
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_vpn.c:59: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 s_peer[53 + 1];
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_vpn.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 s_serv[253 + 1];
data/gnunet-gtk-0.13.1/src/peerinfo/gnunet-peerinfo-gtk.c:659: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 (&pa[1], addr->address, addr->address_length);
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:123: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).
        local_port = atoi (redirect);
data/gnunet-gtk-0.13.1/src/statistics/gtk_statistics.c:306:5:  [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 (label, "%llu t", num / 1000LL / 1000LL / 1000LL / 1000LL);
data/gnunet-gtk-0.13.1/src/statistics/gtk_statistics.c:308:5:  [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 (label, "%llu g", num / 1000LL / 1000LL / 1000LL);
data/gnunet-gtk-0.13.1/src/statistics/gtk_statistics.c:310:5:  [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 (label, "%llu m", num / 1000LL / 1000LL);
data/gnunet-gtk-0.13.1/src/statistics/gtk_statistics.c:312:5:  [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 (label, "%llu k", num / 1000LL);
data/gnunet-gtk-0.13.1/src/statistics/gtk_statistics.c:314:5:  [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 (label, "%llu", num);
data/gnunet-gtk-0.13.1/src/statistics/gtk_statistics.c:338: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 label[64];
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_contacts.c:363: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 (0 != strncasecmp ("gnunet://gns/", text, strlen ("gnunet://gns/")))
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_contacts.c:368: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).
  name = GNUNET_strdup (&text[strlen ("gnunet://gns/")]);
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_egos.c:182: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).
  GNUNET_break ((NULL != label) && (0 != strlen (label)));
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_import.c:151: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).
      ((0 == strncasecmp (address, "phone.", strlen ("phone."))) &&
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_import.c:153:49:  [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).
        GNUNET_GNSRECORD_zkey_to_pkey (&address[strlen ("phone.")], &rvalue))))
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_import.c:274: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).
  if (0 == strlen (phone_label))
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_import.c:437: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).
  if (0 == strlen (phone_label))
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_phone.c:563: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).
  if (0 == strlen (gtk_entry_get_text (address_entry)))
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_phone.c:1632:49:  [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 ((NULL == ego) || (NULL == label) || (0 == strlen (label)))
data/gnunet-gtk-0.13.1/src/conversation/gnunet-conversation-gtk_phone.c:1656: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).
  if ((NULL == label) || (0 == strlen (label)))
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk.c:361: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 (text) == 0)
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk.c:472: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 (header) + 1;
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk.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).
    len += strlen (listheader);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk.c:477: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).
      len += strlen (list[i].name) + 1;
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk.c:499: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).
      size_t l = strlen (list[i].name);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk.c:944: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).
      unique_message_data_set_text (msg, argv[arge], strlen (argv[arge]) + 1);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_common.c:271: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).
                                                  strlen (desc) + 1);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_event-handler.c:419: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).
  dirname_len = strlen (dirname);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_event-handler.c:620: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).
    tmplen = strlen (tmp);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_event-handler.c:1578: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).
                     strlen (tab->query_txt) > 20 ? "..." : "",
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_event-handler.c:1585: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).
                     strlen (tab->query_txt) > 20 ? "..." : "");
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_event-handler.c:2589: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).
          gchar *relname = &filename[strlen (dirname)];
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_main-window-meta-data-context-menu.c:99: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).
    total_len += strlen ((gchar *) type->data) +
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_main-window-meta-data-context-menu.c:100: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).
                 strlen ((gchar *) value->data) + 2 /* ": " */ +
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_main-window-search.c:231:30:  [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 ((NULL != nsid) && (0 < strlen (nsid)))
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_main-window-search.c:454: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).
  if ((NULL == nick) || (0 == strlen (nick)))
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_open-directory.c:89:40:  [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 (acc->filename) + 1);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c:595: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 (name) + 1);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c:2218: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 (sks_uri_string) + 1);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c:2574: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).
    next_id_len = strlen (next_id);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c:2579: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).
    last_id_len = strlen (last_id);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c:2585: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).
    urilen = strlen (uristring);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-dialog.c:2711: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).
      (strlen (next_id) > 0))
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-edit-dialog.c:508: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).
    slen = strlen (avalue);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-edit-dialog.c:516: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).
    if ((new_text[strlen (new_text) - 1] != '/') &&
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-edit-dialog.c:669: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 (keyword) > 0) ? TRUE : FALSE);
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-edit-dialog.c:742: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 (keyword) == 0)
data/gnunet-gtk-0.13.1/src/fs/gnunet-fs-gtk_publish-edit-dialog.c:1087: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).
                                           strlen (value) + 1);
data/gnunet-gtk-0.13.1/src/lib/nls.c:102:49:  [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).
    str_utf8 = GNUNET_STRINGS_to_utf8 (str_loc, strlen (str_loc), loc_charset);
data/gnunet-gtk-0.13.1/src/lib/nls.c:128: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).
      GNUNET_STRINGS_to_utf8 (filename, strlen (filename), filename_charset);
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:539: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).
                            strlen (upper),
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:542:40:  [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).
       QRinput_append (qri, QR_MODE_8, strlen (str), (unsigned char *) str)))
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:1822: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).
                      strlen (n_name),
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:1884: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).
                      strlen (name_str),
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:1957: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).
                      strlen (new_text),
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:2161: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).
  GNUNET_CRYPTO_hash (name, strlen (name), &name_hash);
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:2353: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).
  GNUNET_CRYPTO_hash (ri->name, strlen (ri->name), &name_hash);
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:2413: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).
  GNUNET_CRYPTO_hash (name, strlen (name), &name_hash);
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:2673: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).
  if ((NULL == label) || (0 == strlen (label)))
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:2886: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 ((NULL == new_name) || (0 == strlen (new_name)))
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:2897: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).
      rd_new[off].data_size = strlen (new_name) + 1;
data/gnunet-gtk-0.13.1/src/namestore/gnunet-namestore-gtk.c:3234:45:  [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).
      GNUNET_STRINGS_string_to_data (value, strlen (value), &pk, sizeof (pk)))
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_box.c:98: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).
  size_t slen = strlen (n_value) + 1;
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_mx.c:61:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  if (2 != sscanf (n_value, "%hu,%253s", &mx_pref, result))
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_phone.c:135:52:  [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 (preedit),
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_pkey.c:110:52:  [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 (preedit),
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_soa.c:84:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  if (7 != sscanf (n_value,
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_srv.c:95:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  if (7 != sscanf (n_value,
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:203: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).
  size_t slen = strlen (n_value) + 1;
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:433: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).
  if (0 == strlen (value))
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:436: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).
    size_t slen = strlen (value);
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:619: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).
          (('\0' == cn[4 + strlen (ic->name)]) ||
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:620: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).
           (',' == cn[4 + strlen (ic->name)])) &&
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:621: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).
          (0 == strncasecmp (cn + 4, ic->name, strlen (ic->name))))
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:818: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).
                          strlen (ic->name));
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:897: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).
  if ((NULL == name) || (0 == strlen (name)) ||
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_tlsa.c:934: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).
  if ((NULL == preedit) || (0 == strlen (preedit)) ||
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_vpn.c:63:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  if (3 != sscanf (n_value, "%u %53s %253s", &proto, s_peer, s_serv))
data/gnunet-gtk-0.13.1/src/namestore/plugin_gtk_namestore_vpn.c:155:52:  [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 (preedit),
data/gnunet-gtk-0.13.1/src/peerinfo/gnunet-peerinfo-gtk-flags.c:90: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 (cc) > 2)
data/gnunet-gtk-0.13.1/src/peerinfo/gnunet-peerinfo-gtk-flags.c:100: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).
  for (i = 0; i < strlen (mcc); i++)
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:95: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).
  if ((8 > strlen (section)) ||
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:96:45:  [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).
      (0 != strcmp (".gnunet.", section + ((strlen (section) - 8)))))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:99: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).
  sld[strlen (section) - 8] = '\0';
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:231: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).
  if ((8 > strlen (section)) ||
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:232:45:  [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).
      (0 != strcmp (".gnunet.", section + ((strlen (section) - 8)))))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:253: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).
  if ((8 > strlen (section)) ||
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:254:45:  [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).
      (0 != strcmp (".gnunet.", section + ((strlen (section) - 8)))))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:296: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).
      if (0 != strlen (name))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:341: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).
    if (strlen (pos->udpred) > 0)
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:346: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).
    if (strlen (pos->tcpred) > 0)
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:402: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).
  if ((0 != strlen (old)) && (0 == strlen (new_text)))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:402: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 ((0 != strlen (old)) && (0 == strlen (new_text)))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:415: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).
  if ((0 == strlen (old)) && (0 != strlen (new_text)))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:415: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 ((0 == strlen (old)) && (0 != strlen (new_text)))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:655:50:  [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).
       GNUNET_STRINGS_to_address_ipv4 (new_text, strlen (new_text), &v4)))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-exit-services.c:664:50:  [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).
       GNUNET_STRINGS_to_address_ipv6 (new_text, strlen (new_text), &v6)))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-hostlist-editing.c:67: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).
  if (0 == strlen (oldtext))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-options.c:566: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).
    ((strlen (text) > 0) && ((NULL == r) || (text[strlen (text) - 1] != ';')));
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-options.c:566: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).
    ((strlen (text) > 0) && ((NULL == r) || (text[strlen (text) - 1] != ';')));
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-options.c:625: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).
    ((strlen (text) > 0) && ((NULL == r) || (text[strlen (text) - 1] != ';')));
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-options.c:625: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).
    ((strlen (text) > 0) && ((NULL == r) || (text[strlen (text) - 1] != ';')));
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup-options.c:882: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 (0 < strlen (val))
data/gnunet-gtk-0.13.1/src/setup/gnunet-setup.c:495: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 (dirname) - 1;

ANALYSIS SUMMARY:

Hits = 140
Lines analyzed = 37773 in approximately 0.92 seconds (41002 lines/second)
Physical Source Lines of Code (SLOC) = 22560
Hits@level = [0]   8 [1]  94 [2]  38 [3]   1 [4]   7 [5]   0
Hits@level+ = [0+] 148 [1+] 140 [2+]  46 [3+]   8 [4+]   7 [5+]   0
Hits/KSLOC@level+ = [0+] 6.56028 [1+] 6.20567 [2+] 2.03901 [3+] 0.35461 [4+] 0.310284 [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.