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/wmclock-1.0.16/dynlist.c
Examining data/wmclock-1.0.16/dynlist.h
Examining data/wmclock-1.0.16/wmclock.c

FINAL RESULTS:

data/wmclock-1.0.16/wmclock.c:270:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
   status = system(command);
data/wmclock-1.0.16/wmclock.c:297:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char              ledBright[64];
data/wmclock-1.0.16/wmclock.c:298:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char              ledDim[64];
data/wmclock-1.0.16/wmclock.c:316:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf(ledBright, "%c      c #%04X%04X%04X", LED_XPM_BRIGHT_CHAR,
data/wmclock-1.0.16/wmclock.c:323:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf(&ledDim[0], "%c      c #%04X%04X%04X", LED_XPM_DIM_CHAR,
data/wmclock-1.0.16/wmclock.c:811:21:  [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).
	   blinkInterval = atoi(argv[i]);
data/wmclock-1.0.16/dynlist.c:83: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).
   n = strlen(s);
data/wmclock-1.0.16/dynlist.c:103:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
   strncat(*buf, s, n);

ANALYSIS SUMMARY:

Hits = 8
Lines analyzed = 1269 in approximately 0.07 seconds (19342 lines/second)
Physical Source Lines of Code (SLOC) = 1028
Hits@level = [0]  11 [1]   2 [2]   5 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]  19 [1+]   8 [2+]   6 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 18.4825 [1+] 7.7821 [2+] 5.83658 [3+] 0.972763 [4+] 0.972763 [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.