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/xcolmix-1.07/src/callbacks.c
Examining data/xcolmix-1.07/src/design.h
Examining data/xcolmix-1.07/src/initforms.c
Examining data/xcolmix-1.07/src/makecolor.c
Examining data/xcolmix-1.07/src/version.h
Examining data/xcolmix-1.07/src/loadlookupbrowser.c
Examining data/xcolmix-1.07/src/xcolmix.c
Examining data/xcolmix-1.07/src/design.c
Examining data/xcolmix-1.07/src/usage.c
Examining data/xcolmix-1.07/src/xcolmix.h

FINAL RESULTS:

data/xcolmix-1.07/src/xcolmix.c:64:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access (argv [1], R_OK))
data/xcolmix-1.07/src/loadlookupbrowser.c:65:5:  [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
data/xcolmix-1.07/src/loadlookupbrowser.c:71:16:  [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).
    if (! (f = fopen (rgbfile, "r")) )
data/xcolmix-1.07/src/makecolor.c:33:5:  [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
data/xcolmix-1.07/src/makecolor.c:49:5:  [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 (buf, "Hex fg: #%2.2X%2.2X%2.2X\n", fg_red, fg_green, fg_blue);
data/xcolmix-1.07/src/makecolor.c:51:5:  [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 (buf, "Hex bg: #%2.2X%2.2X%2.2X\n", bg_red, bg_green, bg_blue);

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 822 in approximately 0.04 seconds (18785 lines/second)
Physical Source Lines of Code (SLOC) = 419
Hits@level = [0]   3 [1]   0 [2]   5 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   9 [1+]   6 [2+]   6 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 21.4797 [1+] 14.3198 [2+] 14.3198 [3+] 2.38663 [4+] 2.38663 [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.