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/filetea-0.1.18/filetea/file-source.c
Examining data/filetea-0.1.18/filetea/file-source.h
Examining data/filetea-0.1.18/filetea/file-transfer.c
Examining data/filetea-0.1.18/filetea/file-transfer.h
Examining data/filetea-0.1.18/filetea/filetea-node.c
Examining data/filetea-0.1.18/filetea/filetea-node.h
Examining data/filetea-0.1.18/filetea/main.c

FINAL RESULTS:

data/filetea-0.1.18/filetea/filetea-node.c:306: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).
  _depth = depth - strlen (instance_id);
data/filetea-0.1.18/filetea/filetea-node.c:320: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).
          _depth = depth - strlen (instance_id);
data/filetea-0.1.18/filetea/filetea-node.c:745: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).
    (g_strstr_len (user_agent, strlen (mozilla), mozilla) == user_agent) ||
data/filetea-0.1.18/filetea/filetea-node.c:746: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).
    (g_strstr_len (user_agent, strlen (opera), opera) == user_agent);
data/filetea-0.1.18/filetea/filetea-node.c:865: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).
          if ((action == NULL || (strlen (action) == 0)) &&
data/filetea-0.1.18/filetea/filetea-node.c:1172: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).
                                   strlen (entry),
data/filetea-0.1.18/filetea/filetea-node.c:1195: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 (copy),
data/filetea-0.1.18/filetea/filetea-node.c:1247: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).
      MIN (self->priv->source_id_start_depth, 16 + strlen (self->priv->id));

ANALYSIS SUMMARY:

Hits = 8
Lines analyzed = 2500 in approximately 0.10 seconds (24857 lines/second)
Physical Source Lines of Code (SLOC) = 1830
Hits@level = [0]   0 [1]   8 [2]   0 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   8 [1+]   8 [2+]   0 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 4.37158 [1+] 4.37158 [2+]   0 [3+]   0 [4+]   0 [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.