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/timelimit-1.9.0/autoconfig/try-err.c
Examining data/timelimit-1.9.0/autoconfig/try-errno.c
Examining data/timelimit-1.9.0/autoconfig/try-setitimer.c
Examining data/timelimit-1.9.0/autoconfig/try-sigaction.c
Examining data/timelimit-1.9.0/autoconfig/try-sysexits.c
Examining data/timelimit-1.9.0/config.h
Examining data/timelimit-1.9.0/timelimit.c

FINAL RESULTS:

data/timelimit-1.9.0/timelimit.c:140:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, v);
data/timelimit-1.9.0/timelimit.c:152:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, v);
data/timelimit-1.9.0/timelimit.c:164:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, v);
data/timelimit-1.9.0/timelimit.c:459:2:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	execvp(argv[0], argv);
data/timelimit-1.9.0/timelimit.c:246:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		const char * const s = getenv(envopts[i].name);
data/timelimit-1.9.0/timelimit.c:256:15:  [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 ((ch = getopt(argc, argv, "+lqpS:s:T:t:-:")) != -1) {

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 743 in approximately 0.04 seconds (18517 lines/second)
Physical Source Lines of Code (SLOC) = 473
Hits@level = [0]   4 [1]   0 [2]   0 [3]   2 [4]   4 [5]   0
Hits@level+ = [0+]  10 [1+]   6 [2+]   6 [3+]   6 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 21.1416 [1+] 12.685 [2+] 12.685 [3+] 12.685 [4+] 8.45666 [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.