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/openarena-088-data-0.8.8/pak6-patch088/botfiles/fw_weap.c
Examining data/openarena-088-data-0.8.8/pak6-patch088/botfiles/fw_items.c
Examining data/openarena-088-data-0.8.8/debian/qvmbrute.c

FINAL RESULTS:

data/openarena-088-data-0.8.8/debian/qvmbrute.c:27:11:  [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.
	unsigned char qvm[1024] = { 0 };
data/openarena-088-data-0.8.8/debian/qvmbrute.c:89: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 (qvm + fixed_len + 4, &i, 4);
data/openarena-088-data-0.8.8/debian/qvmbrute.c:103: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).
		f = fopen (argv[2], "w");
data/openarena-088-data-0.8.8/debian/qvmbrute.c:42:14:  [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).
	fixed_len = strlen (subdir) + 8;

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 229 in approximately 0.18 seconds (1262 lines/second)
Physical Source Lines of Code (SLOC) = 131
Hits@level = [0]   8 [1]   1 [2]   3 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  12 [1+]   4 [2+]   3 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 91.6031 [1+] 30.5344 [2+] 22.9008 [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.