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/tv-fonts-1.1/code/exp-gfx.c
Examining data/tv-fonts-1.1/code/x11font.c
Examining data/tv-fonts-1.1/code/x11font-o.c

FINAL RESULTS:

data/tv-fonts-1.1/code/exp-gfx.c:1175:12:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
			size += snprintf(title + size, sizeof(title) - size - 1,
data/tv-fonts-1.1/code/exp-gfx.c:1180:12:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
			size += snprintf(title + size, sizeof(title) - size - 1,
data/tv-fonts-1.1/code/exp-gfx.c:79:4:  [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(p, wstfont2_bits + (j + i) * wstfont2_width / 8,
data/tv-fonts-1.1/code/exp-gfx.c:82:2:  [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(wstfont2_bits, t, wstfont2_width * wstfont2_height / 8);
data/tv-fonts-1.1/code/exp-gfx.c:90:4:  [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(p, ccfont2_bits + (j + i) * ccfont2_width / 8,
data/tv-fonts-1.1/code/exp-gfx.c:93:2:  [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(ccfont2_bits, t, ccfont2_width * ccfont2_height / 8);
data/tv-fonts-1.1/code/exp-gfx.c:965:2:  [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 title[80];
data/tv-fonts-1.1/code/x11font-o.c:58:7:  [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).
	fp = fopen(filename,"w");
data/tv-fonts-1.1/code/x11font.c:59:7:  [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).
	fp = fopen(filename,"w");

ANALYSIS SUMMARY:

Hits = 9
Lines analyzed = 1524 in approximately 0.06 seconds (25442 lines/second)
Physical Source Lines of Code (SLOC) = 1067
Hits@level = [0]  27 [1]   0 [2]   7 [3]   0 [4]   2 [5]   0
Hits@level+ = [0+]  36 [1+]   9 [2+]   9 [3+]   2 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 33.7395 [1+] 8.43486 [2+] 8.43486 [3+] 1.87441 [4+] 1.87441 [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.