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/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.h
Examining data/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.c

FINAL RESULTS:

data/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.c:337:15:  [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).
      cur_h = atoi (temp);
data/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.c:339:15:  [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).
      cur_m = atoi (temp);
data/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.c:341:15:  [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).
      cur_s = atoi (temp);
data/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.c:1237:14:  [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).
  conffile = fopen (file, "w");
data/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.c:1287:14:  [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).
  conffile = fopen (pd->configfile, "w");
data/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.c:85:7:  [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 (strlen(alrm->command)>0)
data/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.c:204:10:  [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 (strlen(alrm->command)>0)
data/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.c:211:11:  [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 ((strlen(command) == 0) || !pd->nowin_if_alarm) {
data/xfce4-timer-plugin-1.7.1/panel-plugin/xfcetimer.c:236: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).
			if (strlen(command) > 0) {

ANALYSIS SUMMARY:

Hits = 9
Lines analyzed = 1880 in approximately 0.05 seconds (34290 lines/second)
Physical Source Lines of Code (SLOC) = 1259
Hits@level = [0]   0 [1]   4 [2]   5 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   9 [1+]   9 [2+]   5 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 7.14853 [1+] 7.14853 [2+] 3.97141 [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.