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/gcolor3-2.3.1/src/gcolor3-application.c
Examining data/gcolor3-2.3.1/src/gcolor3-application.h
Examining data/gcolor3-2.3.1/src/gcolor3-color-item.h
Examining data/gcolor3-2.3.1/src/gcolor3-color-row.h
Examining data/gcolor3-2.3.1/src/gcolor3-color-selection.c
Examining data/gcolor3-2.3.1/src/gcolor3-color-selection.h
Examining data/gcolor3-2.3.1/src/gcolor3-color-store.c
Examining data/gcolor3-2.3.1/src/gcolor3-color-store.h
Examining data/gcolor3-2.3.1/src/gcolor3-hsv.c
Examining data/gcolor3-2.3.1/src/gcolor3-hsv.h
Examining data/gcolor3-2.3.1/src/gcolor3-window.h
Examining data/gcolor3-2.3.1/src/main.c
Examining data/gcolor3-2.3.1/src/utils.c
Examining data/gcolor3-2.3.1/src/utils.h
Examining data/gcolor3-2.3.1/src/gcolor3-color-item.c
Examining data/gcolor3-2.3.1/src/gcolor3-color-row.c
Examining data/gcolor3-2.3.1/src/gcolor3-window.c

FINAL RESULTS:

data/gcolor3-2.3.1/src/gcolor3-color-selection.c:1273:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (colors, tmp_colors, sizeof (GdkRGBA) * tmp_n_colors);
data/gcolor3-2.3.1/src/gcolor3-color-selection.c:1173:23:  [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).
      gint n_dashes = strlen ((gchar *)dash_list);
data/gcolor3-2.3.1/src/gcolor3-color-store.c:291:6:  [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 (new_name) <= 0 || !g_strcmp0 (old_name, new_name)) {
data/gcolor3-2.3.1/src/gcolor3-window.c:66:6:  [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 (key) == 0) {

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 6681 in approximately 0.16 seconds (42820 lines/second)
Physical Source Lines of Code (SLOC) = 4688
Hits@level = [0]   0 [1]   3 [2]   1 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   4 [1+]   4 [2+]   1 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.853242 [1+] 0.853242 [2+] 0.213311 [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.