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/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.h
Examining data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.cc
Examining data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.h
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/checklist.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/dialog.h
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/inputbox.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/menubox.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/textbox.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/yesno.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/expr.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/expr.h
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lconf.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/list.h
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lkc.h
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lkc_proto.h
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/menu.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/util.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c
Examining data/kconfig-frontends-4.11.0.1+dfsg/utils/gettext.c

FINAL RESULTS:

data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:780:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf, sizeof(buf), fmt, ap);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:1034:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr, N_("Your display is too small to run Menuconfig!\n"));
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:1035:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr, N_("It must be at least 19 lines by 80 columns.\n"));
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:542:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(k_menu_items[items_num].str,
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:576:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(new_str, sizeof(new_str), fmt, ap);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:1217:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf, sizeof(buf), fmt, ap);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.cc:1094:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					head += QString().sprintf("<a href=\"s%p\">", sym);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.cc:1103:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				head += QString().sprintf("<a href=\"s%p\">", sym);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.cc:1131:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		debug += QString().sprintf("defined at %s:%d<br><br>", _menu->file->name, _menu->lineno);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.cc:1154:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			debug += QString().sprintf("prompt: <a href=\"m%p\">", prop->menu);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.cc:1227:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		*text += QString().sprintf("<a href=\"s%p\">", sym);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.cc:1829:2:  [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.
	printf(_("%s [-s] <config>\n").toLatin1().constData(), progname);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/inputbox.c:56:3:  [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(instr, init);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:388:2:  [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(tempstr, prompt);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:619:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(item_cur->node.str, sizeof(item_cur->node.str), fmt, ap);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:631:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(item_cur->node.str + strlen(item_cur->node.str),
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:25:26:  [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.
	__attribute__ ((format (printf, 1, 2)));
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:28:26:  [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.
	__attribute__ ((format (printf, 1, 2)));
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:40: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, ap);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:49:2:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vprintf(fmt, ap);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:102:3:  [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(res_value, sym_get_string_value(sym));
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:105:2:  [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(res_value, in);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:119:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(fullname, "%s/%s", env, name);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:757: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(dirname, name);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:773:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(newname, "%s%s", dirname, basename);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:776:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:827:3:  [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(dirname, basename);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lconf.c:2391:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(fullname, "%s/%s", env, name);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/menu.c:26: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, ap);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/menu.c:36: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, ap);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:708:2:  [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(val, newval);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:940:3:  [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(res, symval);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:943:2:  [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(res, in);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/util.c:110:3:  [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(gs->s, s);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/util.c:120:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(s, sizeof(s), fmt, ap);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c:89:51:  [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.
#define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt)
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c:872:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define YYFPRINTF fprintf
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c:2332: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, err, ap);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c:2344: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, err, ap);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c:505: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 ((opt = getopt_long(ac, av, "s", long_opts, NULL)) != -1) {
data/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c:532:15:  [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.
			seed_env = getenv("KCONFIG_SEED");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c:541:4:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			srand(seed);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c:604:10:  [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.
		name = getenv("KCONFIG_ALLCONFIG");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c:638:11:  [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.
			name = getenv("KCONFIG_NOSILENTUPDATE");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:1466:8:  [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.
	env = getenv(SRCTREE);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:1027:9:  [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.
	mode = getenv("MENUCONFIG_MODE");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:1495:9:  [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.
	mode = getenv("NCONFIG_MODE");
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:331:14:  [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.
	color_setup(getenv("MENUCONFIG_COLOR"));
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:72:15:  [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.
	char *name = getenv("KCONFIG_CONFIG");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:79:15:  [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.
	char *name = getenv("KCONFIG_AUTOCONFIG");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:117:8:  [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.
	env = getenv(SRCTREE);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:774:8:  [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.
	env = getenv("KCONFIG_OVERWRITECONFIG");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:1007:9:  [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.
	name = getenv("KCONFIG_AUTOHEADER");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:1012:9:  [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.
	name = getenv("KCONFIG_TRISTATE");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:1136:15:  [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.
		char *env = getenv("KCONFIG_PROBABILITY");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lconf.c:2389:9:  [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.
		env = getenv(SRCTREE);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lkc.h:42:9:  [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.
	return getenv( "CONFIG_" ) ?: CONFIG_;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:1409:6:  [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.
	p = getenv(env);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/util.c:65:11:  [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.
		value = getenv(env_sym->name);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c:2270:6:  [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.
	if (getenv("ZCONF_DEBUG"))
data/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c:45: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 line[PATH_MAX];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c:324:11:  [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).
				cnt = atoi(line);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:84: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 buf[256];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:89:3:  [2] (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). Risk is low because the
  source is a constant string.
		strcat(buf, "const/");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:91:3:  [2] (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). Risk is low because the
  source is a constant string.
		strcat(buf, "check/");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:93:3:  [2] (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). Risk is low because the
  source is a constant string.
		strcat(buf, "choice/");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:95:3:  [2] (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). Risk is low because the
  source is a constant string.
		strcat(buf, "choiceval/");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:97:3:  [2] (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). Risk is low because the
  source is a constant string.
		strcat(buf, "valid/");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:99:3:  [2] (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). Risk is low because the
  source is a constant string.
		strcat(buf, "optional/");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:101:3:  [2] (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). Risk is low because the
  source is a constant string.
		strcat(buf, "write/");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:103:3:  [2] (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). Risk is low because the
  source is a constant string.
		strcat(buf, "changed/");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:105:3:  [2] (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). Risk is low because the
  source is a constant string.
		strcat(buf, "auto/");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:1168:44:  [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.
	pix = gdk_pixbuf_new_from_xpm_data((const char **)
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:1229: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(&found, child, sizeof(GtkTreeIter));
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:1286:5:  [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(&tmp, child2, sizeof(GtkTreeIter));
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:1311:5:  [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(&tmp, child2, sizeof(GtkTreeIter));
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:296: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 filename[PATH_MAX+1];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:299: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 menu_backtitle[PATH_MAX+128];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:372:4:  [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 header[4];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:377:5:  [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(header, "(%c)", key);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:382:5:  [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(header, "   ");
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:385: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 + pos->offset, header, sizeof(header) - 1);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:778: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[PATH_MAX+1];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:250: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 str[256];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:548: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(k_menu_items[items_num].str, "XXX", 3);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:569: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 new_str[256];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:570: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 tmp_str[256];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:628: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 filename[PATH_MAX+1];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:629: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 menu_backtitle[PATH_MAX+128];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:1014: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 pattern[256];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:1215: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];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.c:224: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 tmp[x+10];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.cc:990:34:  [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).
void ConfigList::setAllOpen(bool open)
data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.cc:995:22:  [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).
		(*it)->setExpanded(open);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.cc:1350: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 title[256];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/qconf/qconf.h:100:23:  [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).
	void setAllOpen(bool open);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/dialog.h:173: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 str[MAXITEMSTR];	/* prompt displayed */
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/inputbox.c:24:1:  [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 dialog_input_result[MAX_LEN + 1];
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/textbox.c:372: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 line[MAX_LEN + 1];
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:386: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 tempstr[MAX_LEN + 1], *word, *sp, *sp2, *newline_separator = 0;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:88: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 res_value[SYMBOL_MAXLENGTH];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:89: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 *dst, name[SYMBOL_MAXLENGTH];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:113: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 fullname[PATH_MAX+1];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:653: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[256];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:674:8:  [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).
	out = fopen(filename, "w");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:748: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 dirname[PATH_MAX+1], tmpname[PATH_MAX+1], newname[PATH_MAX+1];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:762: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(dirname, name, size);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:777:9:  [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).
		out = fopen(tmpname, "w");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:780:9:  [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).
		out = fopen(newname, "w");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:828:3:  [2] (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). Risk is low because the
  source is a constant string.
		strcat(dirname, ".old");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:844: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 path[PATH_MAX+1];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:916:3:  [2] (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). Risk is low because the source is a constant string.
		strcpy(d, ".h");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:919:8:  [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(path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:939:9:  [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(path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:968:8:  [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).
	out = fopen(".tmpconfig", "w");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:972:13:  [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).
	tristate = fopen(".tmpconfig_tristate", "w");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:978:10:  [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).
	out_h = fopen(".tmpconfig.h", "w");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/expr.c:73: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(e, org, sizeof(*org));
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/expr.c:1153: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 buf[32];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/expr.c:1154:3:  [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(buf, "<unknown type %d>", e->type);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:93:5:  [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 kconf_id_strings_str2[sizeof("if")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:94:5:  [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 kconf_id_strings_str3[sizeof("int")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:95:5:  [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 kconf_id_strings_str5[sizeof("endif")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:96:5:  [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 kconf_id_strings_str7[sizeof("default")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:97:5:  [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 kconf_id_strings_str8[sizeof("tristate")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:98:5:  [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 kconf_id_strings_str9[sizeof("endchoice")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:99:5:  [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 kconf_id_strings_str10[sizeof("---help---")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:100:5:  [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 kconf_id_strings_str12[sizeof("def_tristate")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:101:5:  [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 kconf_id_strings_str13[sizeof("def_bool")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:102:5:  [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 kconf_id_strings_str14[sizeof("defconfig_list")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:103:5:  [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 kconf_id_strings_str17[sizeof("on")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:104:5:  [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 kconf_id_strings_str18[sizeof("optional")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:105:5:  [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 kconf_id_strings_str21[sizeof("option")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:106:5:  [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 kconf_id_strings_str22[sizeof("endmenu")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:107:5:  [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 kconf_id_strings_str23[sizeof("mainmenu")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:108:5:  [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 kconf_id_strings_str25[sizeof("menuconfig")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:109:5:  [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 kconf_id_strings_str27[sizeof("modules")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:110:5:  [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 kconf_id_strings_str28[sizeof("allnoconfig_y")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:111:5:  [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 kconf_id_strings_str29[sizeof("menu")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:112:5:  [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 kconf_id_strings_str31[sizeof("select")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:113:5:  [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 kconf_id_strings_str32[sizeof("comment")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:114:5:  [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 kconf_id_strings_str33[sizeof("env")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:115:5:  [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 kconf_id_strings_str35[sizeof("range")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:116:5:  [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 kconf_id_strings_str36[sizeof("choice")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:117:5:  [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 kconf_id_strings_str39[sizeof("bool")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:118:5:  [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 kconf_id_strings_str41[sizeof("source")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:119:5:  [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 kconf_id_strings_str42[sizeof("visible")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:120:5:  [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 kconf_id_strings_str43[sizeof("hex")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:121:5:  [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 kconf_id_strings_str46[sizeof("config")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:122:5:  [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 kconf_id_strings_str47[sizeof("boolean")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:123:5:  [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 kconf_id_strings_str50[sizeof("imply")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:124:5:  [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 kconf_id_strings_str51[sizeof("string")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:125:5:  [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 kconf_id_strings_str54[sizeof("help")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:126:5:  [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 kconf_id_strings_str56[sizeof("prompt")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/hconf.c:127:5:  [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 kconf_id_strings_str72[sizeof("depends")];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lconf.c:836: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(text + text_size, str, size);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lconf.c:844: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(text, str, size);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lconf.c:2384: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 *env, fullname[PATH_MAX+1];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lconf.c:2387: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(name, "r");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lconf.c:2392:8:  [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(fullname, "r");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:160: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 str[64];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:183:3:  [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(str, "%lld", val2);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:185:3:  [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(str, "0x%llx", val2);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:915: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 *p, name[SYMBOL_MAXLENGTH];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/util.c:44:8:  [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).
	out = fopen("..config.tmp", "w");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/util.c:118: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 s[10000]; /* big enough... */
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c:1118: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c:1343: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 yymsgbuf[128];
data/kconfig-frontends-4.11.0.1+dfsg/utils/gettext.c:153: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 bf[16384];
data/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c:65: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).
	l = strlen(p);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c:159: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).
			line[strlen(line)-1] = 0;
data/kconfig-frontends-4.11.0.1+dfsg/frontends/conf/conf.c:341:23:  [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 (line[0] && line[strlen(line) - 1] == '?') {
data/kconfig-frontends-4.11.0.1+dfsg/frontends/gconf/gconf.c:107: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).
	buf[strlen(buf) - 1] = '\0';
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:424:48:  [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 (strncasecmp(dialog_input_result, CONFIG_, strlen(CONFIG_)) == 0)
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:425: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).
		dialog_input += strlen(CONFIG_);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/mconf/mconf.c:616:15:  [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).
				tmp = 2 + strlen(sym_get_string_value(sym)); /* () = 2 */
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:378:13:  [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).
		offset += strlen(function_keys[i].key_str);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:382:13:  [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).
		offset += strlen(function_keys[i].func) + skip;
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:580:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(k_menu_items[index].str,
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:722:48:  [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 (strncasecmp(dialog_input_result, CONFIG_, strlen(CONFIG_)) == 0)
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:723: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).
		dialog_input += strlen(CONFIG_);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:890:15:  [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).
				tmp = 2 + strlen(sym_get_string_value(sym));
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:1038:18:  [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).
		state->pattern[strlen(state->pattern)] = c;
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:1039:18:  [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).
		state->pattern[strlen(state->pattern)] = '\0';
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.c:1052:18:  [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).
		state->pattern[strlen(state->pattern)-1] = '\0';
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.c:167: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).
	length = strlen(string);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.c:227:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(tmp, line, min(len, x));
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.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).
		btns_width += strlen(btn)+1;
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.c:369:24:  [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 cursor_position = strlen(init);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.c:375: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).
	if (strlen(init)+1 > *result_len) {
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.c:376: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).
		*result_len = strlen(init)+1;
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.c:389:36:  [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).
		prompt_width = max(prompt_width, strlen(title));
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.c:400:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(result, init, *result_len);
data/kconfig-frontends-4.11.0.1+dfsg/frontends/nconf/nconf.gui.c:434:13:  [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 len = strlen(result);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/checklist.c:36:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(list_item, item_str(), list_width - item_x);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/checklist.c:182:26:  [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).
		check_x = MAX(check_x, strlen(item_str()) + 4);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/inputbox.c:101: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(instr);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/menubox.c:72:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(menu_item, item, menu_width - item_x);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/textbox.c:167: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).
			page = buf + strlen(buf);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/textbox.c:346: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).
	line += MIN(strlen(line), hscroll);	/* Scroll horizontally */
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/textbox.c:349:26:  [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).
	waddnstr(win, line, MIN(strlen(line), width - 2));
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/textbox.c:405:33:  [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).
	percent = (page - buf) * 100 / strlen(buf);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:273: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).
			len += strlen(pos->text) + 3;
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:280: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).
			skip = len - (columns - 2 - strlen(ellipsis));
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:294:15:  [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 (skip < strlen(pos->text)) {
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:298:13:  [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).
				skip -= strlen(pos->text);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:368:29:  [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 tlen = MIN(width - 2, strlen(title));
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:390:15:  [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).
	prompt_len = strlen(tempstr);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:412: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).
			wlen = strlen(word);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:415:23:  [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).
			     && wlen + 1 + strlen(sp) > room
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:536:18:  [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).
	for (i = 0; i < strlen(string); i++) {
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:628: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).
	avail = sizeof(item_cur->node.str) - strlen(item_cur->node.str);
data/kconfig-frontends-4.11.0.1+dfsg/libs/lxdialog/util.c:631:33:  [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).
	vsnprintf(item_cur->node.str + strlen(item_cur->node.str),
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:94:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(res_value, in, src - in);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:169:24:  [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).
			memmove(p2, p2 + 1, strlen(p2));
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:223:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		int c = getc(stream);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:318: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 (memcmp(line + 2, CONFIG_, strlen(CONFIG_)))
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:320:26:  [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).
			p = strchr(line + 2 + strlen(CONFIG_), ' ');
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:327:31:  [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).
				sym = sym_find(line + 2 + strlen(CONFIG_));
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:333:33:  [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).
				sym = sym_lookup(line + 2 + strlen(CONFIG_), 0);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:349:36:  [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).
		} else if (memcmp(line, CONFIG_, strlen(CONFIG_)) == 0) {
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:350:22:  [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).
			p = strchr(line + strlen(CONFIG_), '=');
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:361:27:  [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).
				sym = sym_find(line + strlen(CONFIG_));
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:367:29:  [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).
				sym = sym_lookup(line + strlen(CONFIG_), 0);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/confdata.c:758:4:  [1] (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). Risk is low because the
  source is a constant character.
			strcat(dirname, "/");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/expr.c:1165:15:  [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).
	xfwrite(str, strlen(str), 1, data);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/expr.c:1182:27:  [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).
		unsigned extra_length = strlen(str);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/expr.c:1187:24:  [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).
			extra_length += 4 + strlen(sym_str);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/expr.c:1192:22:  [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).
		last_line_length = strlen(gs->s) - (last_cr - gs->s);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lconf.c:964:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ( (result = (int) read( fileno(zconfin), buf, max_size )) < 0 ) \
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/lconf.c:2114:38:  [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).
	return zconf_scan_bytes(yystr,(int) strlen(yystr) );
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/menu.c:598:20:  [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).
				jump->offset = strlen(r->s);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:697: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).
	size = strlen(newval) + 1;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:910: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).
	reslen = strlen(in) + 1;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:920:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(res, in, src - in);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:934: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).
		newlen = strlen(res) + strlen(symval) + strlen(src) + 1;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:934:26:  [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).
		newlen = strlen(res) + strlen(symval) + strlen(src) + 1;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:934: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).
		newlen = strlen(res) + strlen(symval) + strlen(src) + 1;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:955: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).
	reslen = strlen(in) + strlen("\"\"") + 1;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:955:24:  [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).
	reslen = strlen(in) + strlen("\"\"") + 1;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:972:2:  [1] (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). Risk is low because the
  source is a constant character.
	strcat(res, "\"");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:977:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(res, p, l);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:983:3:  [1] (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). Risk is low because the
  source is a constant character.
		strcat(res, "\\");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:984:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(res, p++, 1);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:987:2:  [1] (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). Risk is low because the
  source is a constant character.
	strcat(res, "\"");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:1015: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).
	exact1 = (s1->eo - s1->so) == strlen(s1->sym->name);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:1016: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).
	exact2 = (s2->eo - s2->so) == strlen(s2->sym->name);
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/symbol.c:1036: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).
	if (strlen(pattern) == 0)
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/util.c:87:2:  [1] (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). Risk is low because the source is a constant character.
	strcpy(gs.s, "\0");
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/util.c:105: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(gs->s) + strlen(s) + 1;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/util.c:105:23:  [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(gs->s) + strlen(s) + 1;
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c:1018:21:  [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).
#   define yystrlen strlen
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c:1687:66:  [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).
	const struct kconf_id *id = kconf_id_lookup((yyvsp[-1].string), strlen((yyvsp[-1].string)));
data/kconfig-frontends-4.11.0.1+dfsg/libs/parser/yconf.c:2451:13:  [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 len = strlen(menu->help);
data/kconfig-frontends-4.11.0.1+dfsg/utils/gettext.c:17:16:  [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 textlen = strlen(text);
data/kconfig-frontends-4.11.0.1+dfsg/utils/gettext.c:222: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(m->msg) > sizeof("\"\""))

ANALYSIS SUMMARY:

Hits = 256
Lines analyzed = 21255 in approximately 0.51 seconds (41653 lines/second)
Physical Source Lines of Code (SLOC) = 16790
Hits@level = [0] 177 [1]  87 [2] 109 [3]  21 [4]  39 [5]   0
Hits@level+ = [0+] 433 [1+] 256 [2+] 169 [3+]  60 [4+]  39 [5+]   0
Hits/KSLOC@level+ = [0+] 25.7892 [1+] 15.2472 [2+] 10.0655 [3+] 3.57356 [4+] 2.32281 [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.