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/nautilus-wipe-0.3.1/nautilus-wipe/nw-path-list.h
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-path-list.c
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-api-impl.h
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-operation.c
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-fill-operation.h
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-type-utils.h
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-extension.c
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-operation.h
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-progress-dialog.c
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-progress-dialog.h
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-delete-operation.h
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/extension.c
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-operation-manager.c
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-delete-operation.c
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-compat.h
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-operation-manager.h
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-fill-operation.c
Examining data/nautilus-wipe-0.3.1/nautilus-wipe/nw-extension.h

FINAL RESULTS:

data/nautilus-wipe-0.3.1/nautilus-wipe/nw-path-list.c:52:24:  [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.
      path = g_strdup (g_get_home_dir ());
data/nautilus-wipe-0.3.1/nautilus-wipe/nw-path-list.c:67:24:  [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.
      path = g_strdup (g_get_home_dir ());

ANALYSIS SUMMARY:

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