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-sendto-3.8.6/src/nautilus-sendto.c

FINAL RESULTS:

data/nautilus-sendto-3.8.6/src/nautilus-sendto.c:256:35:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';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.
	tmp_work_dir = g_build_filename (g_get_tmp_dir (),
data/nautilus-sendto-3.8.6/src/nautilus-sendto.c:412: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).
	str = g_malloc0 (strlen (url) - i + 3 * i + 1);

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 579 in approximately 0.04 seconds (13062 lines/second)
Physical Source Lines of Code (SLOC) = 449
Hits@level = [0]   0 [1]   1 [2]   0 [3]   1 [4]   0 [5]   0
Hits@level+ = [0+]   2 [1+]   2 [2+]   1 [3+]   1 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 4.45434 [1+] 4.45434 [2+] 2.22717 [3+] 2.22717 [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.