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/jackmeter-0.4/jack_meter.c

FINAL RESULTS:

data/jackmeter-0.4/jack_meter.c:265:16:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((opt = getopt(argc, argv, "w:f:r:nhv")) != -1) {
data/jackmeter-0.4/jack_meter.c:198: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 mark[5];
data/jackmeter-0.4/jack_meter.c:210:3:  [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( scale+spos, mark, slen );
data/jackmeter-0.4/jack_meter.c:273:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				rate = atoi(optarg);
data/jackmeter-0.4/jack_meter.c:277:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				console_width = atoi(optarg);
data/jackmeter-0.4/jack_meter.c:163:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	return usleep( secs * 1000000 );
data/jackmeter-0.4/jack_meter.c:206:10:  [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).
		slen = strlen(mark);
data/jackmeter-0.4/jack_meter.c:209:12:  [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 (spos+strlen(mark)>width) spos=width-slen;

ANALYSIS SUMMARY:

Hits = 8
Lines analyzed = 353 in approximately 0.02 seconds (16692 lines/second)
Physical Source Lines of Code (SLOC) = 221
Hits@level = [0]  30 [1]   3 [2]   4 [3]   1 [4]   0 [5]   0
Hits@level+ = [0+]  38 [1+]   8 [2+]   5 [3+]   1 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 171.946 [1+] 36.1991 [2+] 22.6244 [3+] 4.52489 [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.