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-volman-0.9.5/thunar-volman/tvm-block-device.h
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-context.h
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-device.h
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-pango-extensions.c
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-pango-extensions.h
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-context.c
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-prompt.c
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-run.h
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-input-device.h
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-usb-device.h
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-run.c
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-device.c
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-gio-extensions.h
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-notify.h
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-input-device.c
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-prompt.h
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-block-device.c
Examining data/thunar-volman-0.9.5/thunar-volman/main.c
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-notify.c
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-gio-extensions.c
Examining data/thunar-volman-0.9.5/thunar-volman/tvm-usb-device.c
Examining data/thunar-volman-0.9.5/thunar-volman-settings/tvm-preferences-dialog.c
Examining data/thunar-volman-0.9.5/thunar-volman-settings/tvm-command-entry.c
Examining data/thunar-volman-0.9.5/thunar-volman-settings/tvm-preferences-dialog.h
Examining data/thunar-volman-0.9.5/thunar-volman-settings/tvm-command-entry.h
Examining data/thunar-volman-0.9.5/thunar-volman-settings/main.c

FINAL RESULTS:

data/thunar-volman-0.9.5/thunar-volman/tvm-run.c:123:31:  [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.
      result = g_spawn_async (g_get_home_dir (), argv, NULL, G_SPAWN_SEARCH_PATH, 
data/thunar-volman-0.9.5/thunar-volman/tvm-block-device.c:483:16:  [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 (path_autoopen, "r");

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 4232 in approximately 0.11 seconds (38211 lines/second)
Physical Source Lines of Code (SLOC) = 2617
Hits@level = [0]   0 [1]   0 [2]   1 [3]   1 [4]   0 [5]   0
Hits@level+ = [0+]   2 [1+]   2 [2+]   2 [3+]   1 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.764234 [1+] 0.764234 [2+] 0.764234 [3+] 0.382117 [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.