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/thunar-archive-plugin-0.4.0/thunar-archive-plugin/tap-provider.c
Examining data/thunar-archive-plugin-0.4.0/thunar-archive-plugin/tap-provider.h
Examining data/thunar-archive-plugin-0.4.0/thunar-archive-plugin/thunar-archive-plugin.c
Examining data/thunar-archive-plugin-0.4.0/thunar-archive-plugin/tap-backend.h
Examining data/thunar-archive-plugin-0.4.0/thunar-archive-plugin/tap-backend.c

FINAL RESULTS:

data/thunar-archive-plugin-0.4.0/thunar-archive-plugin/tap-provider.c:39:34:  [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.
#define g_access(filename, mode) access((filename), (mode))
data/thunar-archive-plugin-0.4.0/thunar-archive-plugin/tap-provider.c:319:19:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    default_dir = g_get_home_dir ();
data/thunar-archive-plugin-0.4.0/thunar-archive-plugin/thunar-archive-plugin.c:46:16:  [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.
  const gchar *mismatch;
data/thunar-archive-plugin-0.4.0/thunar-archive-plugin/thunar-archive-plugin.c:50:19:  [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.
  if (G_UNLIKELY (mismatch != NULL))
data/thunar-archive-plugin-0.4.0/thunar-archive-plugin/thunar-archive-plugin.c:52:42:  [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.
      g_warning ("Version mismatch: %s", mismatch);

ANALYSIS SUMMARY:

Hits = 5
Lines analyzed = 1405 in approximately 0.07 seconds (20353 lines/second)
Physical Source Lines of Code (SLOC) = 859
Hits@level = [0]   0 [1]   3 [2]   0 [3]   1 [4]   1 [5]   0
Hits@level+ = [0+]   5 [1+]   5 [2+]   2 [3+]   2 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 5.82072 [1+] 5.82072 [2+] 2.32829 [3+] 2.32829 [4+] 1.16414 [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.