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/zenity-3.32.0/src/tree.c
Examining data/zenity-3.32.0/src/option.c
Examining data/zenity-3.32.0/src/password.c
Examining data/zenity-3.32.0/src/option.h
Examining data/zenity-3.32.0/src/color.c
Examining data/zenity-3.32.0/src/progress.c
Examining data/zenity-3.32.0/src/msg.c
Examining data/zenity-3.32.0/src/text.c
Examining data/zenity-3.32.0/src/fileselection.c
Examining data/zenity-3.32.0/src/util.h
Examining data/zenity-3.32.0/src/calendar.c
Examining data/zenity-3.32.0/src/zenity.h
Examining data/zenity-3.32.0/src/scale.c
Examining data/zenity-3.32.0/src/forms.c
Examining data/zenity-3.32.0/src/entry.c
Examining data/zenity-3.32.0/src/util.c
Examining data/zenity-3.32.0/src/main.c
Examining data/zenity-3.32.0/src/notification.c
Examining data/zenity-3.32.0/src/about.c

FINAL RESULTS:

data/zenity-3.32.0/src/tree.c:832:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		index = atoi (tmp[i]);
data/zenity-3.32.0/src/util.c:133:6:  [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).
	f = fopen (filename, "r");
data/zenity-3.32.0/src/util.c:309:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		retval = atoi (env_var);
data/zenity-3.32.0/src/fileselection.c:114:22:  [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 (file_data->uri[strlen (file_data->uri) - 1] != '/') {
data/zenity-3.32.0/src/progress.c:174:40:  [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).
				match = g_strstr_len (string->str, strlen (string->str), "#");
data/zenity-3.32.0/src/util.c:112:8:  [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).
	len = strlen (string);

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 7319 in approximately 0.20 seconds (36401 lines/second)
Physical Source Lines of Code (SLOC) = 5694
Hits@level = [0]  12 [1]   3 [2]   3 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  18 [1+]   6 [2+]   3 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 3.16122 [1+] 1.05374 [2+] 0.52687 [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.