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/c2050-0.3b/c2050.c

FINAL RESULTS:

data/c2050-0.3b/c2050.c:185:10:  [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.
  signed char line[GS_PAGE_WIDTH / 2];
data/c2050-0.3b/c2050.c:187:3:  [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 lex_blkhd[BYTES_PER_HEADER] = {0x1b,0x2a,0x04,0xff,0xff,0x00,0x01,
data/c2050-0.3b/c2050.c:191:3:  [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 lex_colhd[BYTES_PER_HEADER] = {0x1b,0x2a,0x04,0xff,0xff,0x00,0x01,
data/c2050-0.3b/c2050.c:215:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while((line[0] = getc(in)) != EOF)
data/c2050-0.3b/c2050.c:243:51:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (i = 1; i < (GS_PAGE_WIDTH / 2); line[i++] = getc(in));
data/c2050-0.3b/c2050.c:245:51:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (i = 0; i < (GS_PAGE_WIDTH / 2); line[i++] = getc(in));
data/c2050-0.3b/c2050.c:382:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	 nibble = getc(in);

ANALYSIS SUMMARY:

Hits = 7
Lines analyzed = 407 in approximately 0.05 seconds (8331 lines/second)
Physical Source Lines of Code (SLOC) = 280
Hits@level = [0]   1 [1]   4 [2]   3 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   8 [1+]   7 [2+]   3 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 28.5714 [1+]  25 [2+] 10.7143 [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.