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/keyutils-1.6.1/dns.afsdb.c
Examining data/keyutils-1.6.1/key.dns.h
Examining data/keyutils-1.6.1/key.dns_resolver.c
Examining data/keyutils-1.6.1/keyctl.c
Examining data/keyutils-1.6.1/keyutils.c
Examining data/keyutils-1.6.1/keyutils.h
Examining data/keyutils-1.6.1/request-key.c

FINAL RESULTS:

data/keyutils-1.6.1/key.dns.h:50:30:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern __attribute__((format(printf, 1, 2), noreturn))
data/keyutils-1.6.1/key.dns.h:52:30:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern __attribute__((format(printf, 1, 2)))
data/keyutils-1.6.1/key.dns.h:54:30:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern __attribute__((format(printf, 1, 2)))
data/keyutils-1.6.1/key.dns.h:59:30:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern __attribute__((format(printf, 1, 2)))
data/keyutils-1.6.1/key.dns_resolver.c:71:3:  [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, va);
data/keyutils-1.6.1/key.dns_resolver.c:100:3:  [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, va);
data/keyutils-1.6.1/key.dns_resolver.c:121:3:  [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(stdout, fmt, va);
data/keyutils-1.6.1/key.dns_resolver.c:196:3:  [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(stdout, fmt, va);
data/keyutils-1.6.1/key.dns_resolver.c:335:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(buf, port);
data/keyutils-1.6.1/keyctl.c:1185:3:  [4] (shell) execl:
  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.
		execl(q, q, NULL);
data/keyutils-1.6.1/keyctl.c:1190: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/keyutils-1.6.1/keyutils.c:645:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		n = sscanf(buf, "%x %*s %*u %*s %*x %*d %*d %s %n",
data/keyutils-1.6.1/request-key.c:87:63:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
static void debug(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
data/keyutils-1.6.1/request-key.c:94:3:  [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, va);
data/keyutils-1.6.1/request-key.c:109:73:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
static void error(const char *fmt, ...) __attribute__((noreturn, format(printf, 1, 2)));
data/keyutils-1.6.1/request-key.c:116:3:  [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, va);
data/keyutils-1.6.1/request-key.c:461:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cmd_conffile, conffile);
data/keyutils-1.6.1/request-key.c:708:2:  [4] (shell) execv:
  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.
	execv(prog, argv);
data/keyutils-1.6.1/request-key.c:747:3:  [4] (shell) execv:
  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.
		execv(prog, argv);
data/keyutils-1.6.1/key.dns_resolver.c:461:16:  [3] (buffer) getopt_long:
  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 ((ret = getopt_long(argc, argv, "vDV", long_options, NULL)) != -1) {
data/keyutils-1.6.1/keyctl.c:1182:7:  [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.
		q = getenv("SHELL");
data/keyutils-1.6.1/request-key.c:162: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 (opt = getopt(argc, argv, "D:dlnv"),
data/keyutils-1.6.1/dns.afsdb.c:47: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 *vllist[MAX_VLS];	/* list of name servers	*/
data/keyutils-1.6.1/dns.afsdb.c:105: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.
			     (char *)payload[payload_index - 1].iov_base,
data/keyutils-1.6.1/dns.afsdb.c:126: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 *vllist[MAX_VLS];	/* list of name servers	*/
data/keyutils-1.6.1/dns.afsdb.c:133: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 sport[8];
data/keyutils-1.6.1/dns.afsdb.c:171:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(sport, "+%hu", port);
data/keyutils-1.6.1/dns.afsdb.c:194: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.
			     (char *)payload[payload_index - 1].iov_base,
data/keyutils-1.6.1/dns.afsdb.c:258: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 name[1024];
data/keyutils-1.6.1/key.dns_resolver.c:227: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(copy, addr, sz);
data/keyutils-1.6.1/key.dns_resolver.c:270: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(p, payload[loop].iov_base, n);
data/keyutils-1.6.1/key.dns_resolver.c:285: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 buf[INET6_ADDRSTRLEN + 8 + 1];
data/keyutils-1.6.1/keyctl.c:261:9:  [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.
	static char input[1024 * 1024 + 1];
data/keyutils-1.6.1/keyctl.c:355:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(pretty, "--%c%c%c%c%c%c",
data/keyutils-1.6.1/keyctl.c:503: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 *args[6];
data/keyutils-1.6.1/keyctl.c:845: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 *buffer, pretty_mask[9];
data/keyutils-1.6.1/keyctl.c:1864:29:  [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.
static void pkey_parse_info(char **argv, char info[4096])
data/keyutils-1.6.1/keyctl.c:1864:42:  [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.
static void pkey_parse_info(char **argv, char info[4096])
data/keyutils-1.6.1/keyctl.c:1885: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(info + i_len, argv[0], n);
data/keyutils-1.6.1/keyctl.c:1899: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 info[4096];
data/keyutils-1.6.1/keyctl.c:1936: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 info[4096];
data/keyutils-1.6.1/keyctl.c:1976: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 info[4096];
data/keyutils-1.6.1/keyctl.c:2016: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 info[4096];
data/keyutils-1.6.1/keyctl.c:2054: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 info[4096];
data/keyutils-1.6.1/keyctl.c:2127: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 caps[256];
data/keyutils-1.6.1/keyctl.c:2227:7:  [2] (misc) open:
  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).
	fd = open(name, O_RDONLY);
data/keyutils-1.6.1/keyctl.c:2256:9:  [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.
	static char dumpindent[64];
data/keyutils-1.6.1/keyctl.c:2261: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 *desc, type[255], pretty_mask[9];
data/keyutils-1.6.1/keyutils.c:219:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			p = memcpy(p, payload_iov[loop].iov_base, seg) + seg;
data/keyutils-1.6.1/keyutils.c:540: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 *desc, type[255];
data/keyutils-1.6.1/keyutils.c:620: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 buf[1024], typebuf[40], rdesc[1024], *kdesc, *cp;
data/keyutils-1.6.1/keyutils.c:633:6:  [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("/proc/keys", "r");
data/keyutils-1.6.1/keyutils.c:785: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(buf, errstr, n - 1);
data/keyutils-1.6.1/keyutils.c:791: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(buf, errstr, len);
data/keyutils-1.6.1/keyutils.c:835: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(buf, errstr, n - 1);
data/keyutils-1.6.1/keyutils.c:841: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(buf, errstr, len);
data/keyutils-1.6.1/request-key.c:62:8:  [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.
static char conffile[PATH_MAX + 1];
data/keyutils-1.6.1/request-key.c:66:8:  [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.
static char cmd[4096 + 2], cmd_conffile[PATH_MAX + 1];
data/keyutils-1.6.1/request-key.c:189:7:  [2] (misc) open:
  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).
	fd = open("/dev/null", O_RDWR);
data/keyutils-1.6.1/request-key.c:213:18:  [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).
	params.key_id = atoi(params.key);
data/keyutils-1.6.1/request-key.c:335: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 buf[4096 + 2], *p, *q;
data/keyutils-1.6.1/request-key.c:460: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(cmd, p, cmd_len + 1);
data/keyutils-1.6.1/request-key.c:550: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 *argv[256];
data/keyutils-1.6.1/request-key.c:721: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 errbuf[512], payload[32768 + 1], *pp, *pc, *pe;
data/keyutils-1.6.1/key.dns_resolver.c:209: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).
	size_t sz = strlen(addr);
data/keyutils-1.6.1/key.dns_resolver.c:372:19:  [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).
				options = k + strlen(k);
data/keyutils-1.6.1/keyctl.c:179:6:  [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).
	n = strlen(*argv);
data/keyutils-1.6.1/keyctl.c:184:7:  [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 (strlen(cmd->name) > n)
data/keyutils-1.6.1/keyctl.c:266:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		tmp = read(0, input + n, sizeof(input) - 1 - n);
data/keyutils-1.6.1/keyctl.c:405:43:  [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).
	ret = add_key(argv[1], argv[2], argv[3], strlen(argv[3]), dest);
data/keyutils-1.6.1/keyctl.c:533:34:  [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 (keyctl_update(key, argv[2], strlen(argv[2])) < 0)
data/keyutils-1.6.1/keyctl.c:1209:39:  [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 (keyctl_instantiate(key, argv[2], strlen(argv[2]), dest) < 0)
data/keyutils-1.6.1/keyctl.c:1576:19:  [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).
	purge.type_len	= strlen(purge.type);
data/keyutils-1.6.1/keyctl.c:1577:32:  [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).
	purge.desc_len	= purge.desc ? strlen(purge.desc) : 0;
data/keyutils-1.6.1/keyctl.c:1872:11:  [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).
		int n = strlen(argv[0]);
data/keyutils-1.6.1/keyctl.c:2236:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = read(fd, p, st.st_size);
data/keyutils-1.6.1/keyutils.c:631:9:  [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).
	dlen = strlen(desc);
data/keyutils-1.6.1/keyutils.c:781:8:  [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).
	len = strlen(errstr) + 1;
data/keyutils-1.6.1/keyutils.c:831:8:  [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).
	len = strlen(errstr) + 1;
data/keyutils-1.6.1/request-key.c:263:17:  [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).
	params.oplen = strlen(params.op);
data/keyutils-1.6.1/request-key.c:264:17:  [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).
	params.ktlen = strlen(params.key_type);
data/keyutils-1.6.1/request-key.c:265:17:  [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).
	params.kdlen = strlen(params.key_desc);
data/keyutils-1.6.1/request-key.c:266:17:  [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).
	params.cilen = strlen(params.callout_info);
data/keyutils-1.6.1/request-key.c:318:7:  [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).
		l = strlen(d->d_name);
data/keyutils-1.6.1/request-key.c:363:9:  [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).
		len = strlen(buf);
data/keyutils-1.6.1/request-key.c:835:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			tmp = read(FROMSTDOUT, pp, npay);
data/keyutils-1.6.1/request-key.c:857:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			tmp = read(FROMSTDERR, pe, espace);

ANALYSIS SUMMARY:

Hits = 87
Lines analyzed = 5449 in approximately 0.51 seconds (10688 lines/second)
Physical Source Lines of Code (SLOC) = 3772
Hits@level = [0] 129 [1]  23 [2]  42 [3]   3 [4]  19 [5]   0
Hits@level+ = [0+] 216 [1+]  87 [2+]  64 [3+]  22 [4+]  19 [5+]   0
Hits/KSLOC@level+ = [0+] 57.2641 [1+] 23.0647 [2+] 16.9671 [3+] 5.83245 [4+] 5.03712 [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.