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/undertaker-1.6.1/python/validation/coverage-3.c
Examining data/undertaker-1.6.1/python/validation/coverage-1.c
Examining data/undertaker-1.6.1/python/validation/coverage-2.c
Examining data/undertaker-1.6.1/python/validation/coverage-4.c
Examining data/undertaker-1.6.1/python/validation/include/clang-analyze-error.h
Examining data/undertaker-1.6.1/python/validation/coverage-5.c
Examining data/undertaker-1.6.1/scripts/docproc.c
Examining data/undertaker-1.6.1/scripts/basic/fixdep.c
Examining data/undertaker-1.6.1/scripts/kconfig/lkc_proto.h
Examining data/undertaker-1.6.1/scripts/kconfig/nconf.gui.c
Examining data/undertaker-1.6.1/scripts/kconfig/lxdialog/inputbox.c
Examining data/undertaker-1.6.1/scripts/kconfig/lxdialog/checklist.c
Examining data/undertaker-1.6.1/scripts/kconfig/lxdialog/dialog.h
Examining data/undertaker-1.6.1/scripts/kconfig/lxdialog/textbox.c
Examining data/undertaker-1.6.1/scripts/kconfig/lxdialog/menubox.c
Examining data/undertaker-1.6.1/scripts/kconfig/lxdialog/yesno.c
Examining data/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c
Examining data/undertaker-1.6.1/scripts/kconfig/symbol.c
Examining data/undertaker-1.6.1/scripts/kconfig/gconf.c
Examining data/undertaker-1.6.1/scripts/kconfig/qconf.h
Examining data/undertaker-1.6.1/scripts/kconfig/dumpconf.c
Examining data/undertaker-1.6.1/scripts/kconfig/mconf.c
Examining data/undertaker-1.6.1/scripts/kconfig/kxgettext.c
Examining data/undertaker-1.6.1/scripts/kconfig/nconf.c
Examining data/undertaker-1.6.1/scripts/kconfig/expr.c
Examining data/undertaker-1.6.1/scripts/kconfig/conf.c
Examining data/undertaker-1.6.1/scripts/kconfig/expr.h
Examining data/undertaker-1.6.1/scripts/kconfig/confdata.c
Examining data/undertaker-1.6.1/scripts/kconfig/menu.c
Examining data/undertaker-1.6.1/scripts/kconfig/qconf.cc
Examining data/undertaker-1.6.1/scripts/kconfig/lkc.h
Examining data/undertaker-1.6.1/scripts/kconfig/nconf.h
Examining data/undertaker-1.6.1/scripts/kconfig/kconfig_load.c
Examining data/undertaker-1.6.1/scripts/kconfig/images.c
Examining data/undertaker-1.6.1/scripts/kconfig/util.c
Examining data/undertaker-1.6.1/tailor/src/constants.h
Examining data/undertaker-1.6.1/tailor/src/hashset.h
Examining data/undertaker-1.6.1/tailor/src/hashset.c
Examining data/undertaker-1.6.1/tailor/src/traceutil-boost.cc
Examining data/undertaker-1.6.1/tailor/src/traceutil-native.c
Examining data/undertaker-1.6.1/tailor/src/traceutil-native.h
Examining data/undertaker-1.6.1/tailor/src/traceutil-stdio.c
Examining data/undertaker-1.6.1/tailor/src/traceutil-stdio.h
Examining data/undertaker-1.6.1/tailor/flipper/kernel/include/uapi/linux/flipper.h
Examining data/undertaker-1.6.1/tailor/flipper/kernel/include/linux/flipper.h
Examining data/undertaker-1.6.1/tailor/flipper/kernel/drivers/misc/flipper/flipper.c
Examining data/undertaker-1.6.1/ziz/Zizler.h
Examining data/undertaker-1.6.1/ziz/Zizler.cpp
Examining data/undertaker-1.6.1/ziz/Ziz.h
Examining data/undertaker-1.6.1/ziz/Ziz.cpp
Examining data/undertaker-1.6.1/ziz/test/in/structure.c
Examining data/undertaker-1.6.1/ziz/test/in/test07-comment-in-expr.c
Examining data/undertaker-1.6.1/ziz/test/in/test05-else.c
Examining data/undertaker-1.6.1/ziz/test/in/test04.c
Examining data/undertaker-1.6.1/ziz/test/in/test01a.c
Examining data/undertaker-1.6.1/ziz/test/in/structure-02.c
Examining data/undertaker-1.6.1/ziz/test/in/test08.c
Examining data/undertaker-1.6.1/ziz/test/in/test01b.c
Examining data/undertaker-1.6.1/ziz/test/in/test06-if-elif-else.c
Examining data/undertaker-1.6.1/ziz/test/in/test02.c
Examining data/undertaker-1.6.1/ziz/test/in/test03.c
Examining data/undertaker-1.6.1/undertaker/test-PicosatCNF.cpp
Examining data/undertaker-1.6.1/undertaker/KconfigSymbolSet.h
Examining data/undertaker-1.6.1/undertaker/ExpressionVisitor.h
Examining data/undertaker-1.6.1/undertaker/BoolExpSymbolSet.cpp
Examining data/undertaker-1.6.1/undertaker/Tools.cpp
Examining data/undertaker-1.6.1/undertaker/ModelContainer.cpp
Examining data/undertaker-1.6.1/undertaker/SatChecker.cpp
Examining data/undertaker-1.6.1/undertaker/Kconfig.h
Examining data/undertaker-1.6.1/undertaker/CNFBuilder.cpp
Examining data/undertaker-1.6.1/undertaker/test-CNFBuilder.cpp
Examining data/undertaker-1.6.1/undertaker/test-ConditionalBlock.cpp
Examining data/undertaker-1.6.1/undertaker/BoolExpSymbolSet.h
Examining data/undertaker-1.6.1/undertaker/test-Bool.cpp
Examining data/undertaker-1.6.1/undertaker/PicosatCNF.h
Examining data/undertaker-1.6.1/undertaker/PicosatCNF.cpp
Examining data/undertaker-1.6.1/undertaker/StringJoiner.h
Examining data/undertaker-1.6.1/undertaker/timer.h
Examining data/undertaker-1.6.1/undertaker/KconfigAssumptionMap.cpp
Examining data/undertaker-1.6.1/undertaker/RsfReader.h
Examining data/undertaker-1.6.1/undertaker/bool.h
Examining data/undertaker-1.6.1/undertaker/Logging.h
Examining data/undertaker-1.6.1/undertaker/SatChecker.h
Examining data/undertaker-1.6.1/undertaker/rsf2cnf.cpp
Examining data/undertaker-1.6.1/undertaker/CnfConfigurationModel.cpp
Examining data/undertaker-1.6.1/undertaker/RsfConfigurationModel.cpp
Examining data/undertaker-1.6.1/undertaker/ExpressionTranslator.cpp
Examining data/undertaker-1.6.1/undertaker/SymbolParser.h
Examining data/undertaker-1.6.1/undertaker/predator.cpp
Examining data/undertaker-1.6.1/undertaker/validation/cppsym-count-rewritten-model.c
Examining data/undertaker-1.6.1/undertaker/validation/cppsym-missing-symbols_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-trivial-ifdefs-cmin_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-minimaltest-cmin.c
Examining data/undertaker-1.6.1/undertaker/validation/normalize-expressions3.c
Examining data/undertaker-1.6.1/undertaker/validation/mus_test.c
Examining data/undertaker-1.6.1/undertaker/validation/recursive-include.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-ifdefs-simple_decision.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-ifdefs-cmin_decision.c
Examining data/undertaker-1.6.1/undertaker/validation/sched.c
Examining data/undertaker-1.6.1/undertaker/validation/makro_replace.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-minimaltest-cmin_decision.c
Examining data/undertaker-1.6.1/undertaker/validation/inference_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-cat-devnull.c
Examining data/undertaker-1.6.1/undertaker/validation/cppsym-missing-symbols.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-trivial-ifdefs-simple_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-handle-defined.c
Examining data/undertaker-1.6.1/undertaker/validation/preconditions-model.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-elif-cascade.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-cat-devnull_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-depth-define.c
Examining data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/choice_always_on_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-minimaltest-simple_decision.c
Examining data/undertaker-1.6.1/undertaker/validation/multicloud_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/block_range.c
Examining data/undertaker-1.6.1/undertaker/validation/cppsym-nonlinux-ifdefs.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-cppcheck.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-nested-blocks.c
Examining data/undertaker-1.6.1/undertaker/validation/cppsym-count-rewritten-model_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/skip_no_kconfig_items.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-handle-toplevelmacro.c
Examining data/undertaker-1.6.1/undertaker/validation/b00-dead_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/mergeblockconf_lists_conflict.c
Examining data/undertaker-1.6.1/undertaker/validation/define-null-dead.c
Examining data/undertaker-1.6.1/undertaker/validation/busybox-httpd.c
Examining data/undertaker-1.6.1/undertaker/validation/multicloud.c
Examining data/undertaker-1.6.1/undertaker/validation/checkexpr_3.c
Examining data/undertaker-1.6.1/undertaker/validation/checkexpr_1.c
Examining data/undertaker-1.6.1/undertaker/validation/cppcheck-define.c
Examining data/undertaker-1.6.1/undertaker/validation/multicloud-dead.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-def-undef.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-complex.c
Examining data/undertaker-1.6.1/undertaker/validation/cppsym-nested-symbols.c
Examining data/undertaker-1.6.1/undertaker/validation/mergeblockconf.c
Examining data/undertaker-1.6.1/undertaker/validation/busybox-syslogd.c
Examining data/undertaker-1.6.1/undertaker/validation/always_on.c
Examining data/undertaker-1.6.1/undertaker/validation/symbol_precondition.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-cond-define.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-define.c
Examining data/undertaker-1.6.1/undertaker/validation/blockconf_noblocks.c
Examining data/undertaker-1.6.1/undertaker/validation/normalize-expressions1.c
Examining data/undertaker-1.6.1/undertaker/validation/always_on_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/choice_always_on.c
Examining data/undertaker-1.6.1/undertaker/validation/guarded-include.c
Examining data/undertaker-1.6.1/undertaker/validation/no_kconfig_items.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-trivial-ifdefs-simple.c
Examining data/undertaker-1.6.1/undertaker/validation/busybox-top.c
Examining data/undertaker-1.6.1/undertaker/validation/checkexpr_complex.c
Examining data/undertaker-1.6.1/undertaker/validation/interessting_items.c
Examining data/undertaker-1.6.1/undertaker/validation/b00-dead.c
Examining data/undertaker-1.6.1/undertaker/validation/comparator.c
Examining data/undertaker-1.6.1/undertaker/validation/checkexpr_2.c
Examining data/undertaker-1.6.1/undertaker/validation/normalize-expressions5.c
Examining data/undertaker-1.6.1/undertaker/validation/zero-worklist.c
Examining data/undertaker-1.6.1/undertaker/validation/mergeblockconf_fail.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-complex-expressions.c
Examining data/undertaker-1.6.1/undertaker/validation/include/guarded-expression.h
Examining data/undertaker-1.6.1/undertaker/validation/include/recursive-expression.h
Examining data/undertaker-1.6.1/undertaker/validation/include/simple-expression.h
Examining data/undertaker-1.6.1/undertaker/validation/omapfb_main-structure.c
Examining data/undertaker-1.6.1/undertaker/validation/exec.c
Examining data/undertaker-1.6.1/undertaker/validation/simple-include.c
Examining data/undertaker-1.6.1/undertaker/validation/blockconf_inblocks.c
Examining data/undertaker-1.6.1/undertaker/validation/defect-identification_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/cppsym-nonlinux-ifdefs_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-minimaltest-simple.c
Examining data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic.c
Examining data/undertaker-1.6.1/undertaker/validation/multi-line-macros.c
Examining data/undertaker-1.6.1/undertaker/validation/sb1250-mac.c
Examining data/undertaker-1.6.1/undertaker/validation/comparator_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/non_existing_file.c
Examining data/undertaker-1.6.1/undertaker/validation/defect-identification.c
Examining data/undertaker-1.6.1/undertaker/validation/intc.c
Examining data/undertaker-1.6.1/undertaker/validation/normalize-expressions4.c
Examining data/undertaker-1.6.1/undertaker/validation/sb1250-mac_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/cpppc-define-null.c
Examining data/undertaker-1.6.1/undertaker/validation/normalize-expressions2.c
Examining data/undertaker-1.6.1/undertaker/validation/inference.c
Examining data/undertaker-1.6.1/undertaker/validation/mergeblockconf_lists.c
Examining data/undertaker-1.6.1/undertaker/validation/cppsym-count-rewritten.c
Examining data/undertaker-1.6.1/undertaker/validation/preconditions.c
Examining data/undertaker-1.6.1/undertaker/validation/multicloud-dead_cnf.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-trivial-ifdefs-cmin.c
Examining data/undertaker-1.6.1/undertaker/validation/coverage-wl.c
Examining data/undertaker-1.6.1/undertaker/SymbolTools.h
Examining data/undertaker-1.6.1/undertaker/ExpressionTranslator.h
Examining data/undertaker-1.6.1/undertaker/PredatorVisitor.h
Examining data/undertaker-1.6.1/undertaker/RsfReader.cpp
Examining data/undertaker-1.6.1/undertaker/SymbolTranslator.cpp
Examining data/undertaker-1.6.1/undertaker/CoverageAnalyzer.cpp
Examining data/undertaker-1.6.1/undertaker/ConditionalBlock.cpp
Examining data/undertaker-1.6.1/undertaker/CNFBuilder.h
Examining data/undertaker-1.6.1/undertaker/BoolExpLexer.h
Examining data/undertaker-1.6.1/undertaker/test-SatChecker.cpp
Examining data/undertaker-1.6.1/undertaker/SymbolParser.cpp
Examining data/undertaker-1.6.1/undertaker/KconfigWhitelist.cpp
Examining data/undertaker-1.6.1/undertaker/test-BoolExpSymbolSet.cpp
Examining data/undertaker-1.6.1/undertaker/satyr.cpp
Examining data/undertaker-1.6.1/undertaker/ConfigurationModel.h
Examining data/undertaker-1.6.1/undertaker/BoolExpGC.h
Examining data/undertaker-1.6.1/undertaker/RsfConfigurationModel.h
Examining data/undertaker-1.6.1/undertaker/PumaConditionalBlock.h
Examining data/undertaker-1.6.1/undertaker/coverage-tests/cpppc-nested-blocks.c
Examining data/undertaker-1.6.1/undertaker/coverage-tests/blacklist.c
Examining data/undertaker-1.6.1/undertaker/coverage-tests/coverage-cat.c
Examining data/undertaker-1.6.1/undertaker/coverage-tests/sb1250-mac.c
Examining data/undertaker-1.6.1/undertaker/coverage-tests/test3.c
Examining data/undertaker-1.6.1/undertaker/KconfigAssumptionMap.h
Examining data/undertaker-1.6.1/undertaker/ModelContainer.h
Examining data/undertaker-1.6.1/undertaker/Tools.h
Examining data/undertaker-1.6.1/undertaker/BlockDefectAnalyzer.h
Examining data/undertaker-1.6.1/undertaker/cpp14.h
Examining data/undertaker-1.6.1/undertaker/exceptions/InvalidNodeException.h
Examining data/undertaker-1.6.1/undertaker/exceptions/BoolExpParserException.h
Examining data/undertaker-1.6.1/undertaker/exceptions/CNFBuilderError.h
Examining data/undertaker-1.6.1/undertaker/exceptions/IOException.h
Examining data/undertaker-1.6.1/undertaker/exceptions/UnsupportedFeatureException.h
Examining data/undertaker-1.6.1/undertaker/BoolVisitor.h
Examining data/undertaker-1.6.1/undertaker/bool.cpp
Examining data/undertaker-1.6.1/undertaker/SymbolTranslator.h
Examining data/undertaker-1.6.1/undertaker/KconfigWhitelist.h
Examining data/undertaker-1.6.1/undertaker/CoverageAnalyzer.h
Examining data/undertaker-1.6.1/undertaker/test-ConfigurationModel.cpp
Examining data/undertaker-1.6.1/undertaker/BoolExpSimplifier.cpp
Examining data/undertaker-1.6.1/undertaker/BoolExpSimplifier.h
Examining data/undertaker-1.6.1/undertaker/ConfigurationModel.cpp
Examining data/undertaker-1.6.1/undertaker/BoolExpGC.cpp
Examining data/undertaker-1.6.1/undertaker/CnfConfigurationModel.h
Examining data/undertaker-1.6.1/undertaker/SymbolTools.cpp
Examining data/undertaker-1.6.1/undertaker/def-tests/test4.c
Examining data/undertaker-1.6.1/undertaker/def-tests/test9.c
Examining data/undertaker-1.6.1/undertaker/def-tests/test9c.c
Examining data/undertaker-1.6.1/undertaker/def-tests/test11.c
Examining data/undertaker-1.6.1/undertaker/def-tests/cpppc-depth-define.c
Examining data/undertaker-1.6.1/undertaker/def-tests/cppcheck-define.c
Examining data/undertaker-1.6.1/undertaker/def-tests/multicloud-dead.c
Examining data/undertaker-1.6.1/undertaker/def-tests/test9b.c
Examining data/undertaker-1.6.1/undertaker/def-tests/cpppc-cond-define.c
Examining data/undertaker-1.6.1/undertaker/def-tests/test6.c
Examining data/undertaker-1.6.1/undertaker/def-tests/test10.c
Examining data/undertaker-1.6.1/undertaker/def-tests/test12.c
Examining data/undertaker-1.6.1/undertaker/def-tests/multicloud-b.c
Examining data/undertaker-1.6.1/undertaker/def-tests/multicloud-a.c
Examining data/undertaker-1.6.1/undertaker/def-tests/test8.c
Examining data/undertaker-1.6.1/undertaker/def-tests/test5.c
Examining data/undertaker-1.6.1/undertaker/def-tests/test3.c
Examining data/undertaker-1.6.1/undertaker/BoolExpStringBuilder.h
Examining data/undertaker-1.6.1/undertaker/Logging.cpp
Examining data/undertaker-1.6.1/undertaker/BlockDefectAnalyzer.cpp
Examining data/undertaker-1.6.1/undertaker/PredatorVisitor.cpp
Examining data/undertaker-1.6.1/undertaker/ConditionalBlock.h
Examining data/undertaker-1.6.1/undertaker/PumaConditionalBlock.cpp
Examining data/undertaker-1.6.1/undertaker/undertaker.cpp
Examining data/undertaker-1.6.1/version.h
Examining data/undertaker-1.6.1/picosat/picomus.c
Examining data/undertaker-1.6.1/picosat/picosat.c
Examining data/undertaker-1.6.1/picosat/version.c
Examining data/undertaker-1.6.1/picosat/main.c
Examining data/undertaker-1.6.1/picosat/picosat.h
Examining data/undertaker-1.6.1/picosat/app.c

FINAL RESULTS:

data/undertaker-1.6.1/scripts/docproc.c:121:4:  [5] (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. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
			strncat(real_filename, kernsrctree, PATH_MAX);
data/undertaker-1.6.1/scripts/docproc.c:202:3:  [5] (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. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
		strncat(real_filename, srctree, PATH_MAX);
data/undertaker-1.6.1/scripts/docproc.c:380:4:  [5] (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. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
			strncat(real_filename, kernsrctree, PATH_MAX);
data/undertaker-1.6.1/picosat/app.c:11:8:  [4] (shell) popen:
  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.
FILE * popen (const char *, const char*);
data/undertaker-1.6.1/picosat/app.c:321:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (cmd, GZIP, name);
data/undertaker-1.6.1/picosat/app.c:322:14:  [4] (shell) popen:
  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.
      file = popen (cmd, "w");
data/undertaker-1.6.1/picosat/app.c:725:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	  sprintf (cmd, GUNZIP, argv[i]);
data/undertaker-1.6.1/picosat/app.c:726:16:  [4] (shell) popen:
  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.
	  if ((file = popen (cmd, "r")))
data/undertaker-1.6.1/picosat/picomus.c:59: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, ap);
data/undertaker-1.6.1/picosat/picomus.c:128: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, ap);
data/undertaker-1.6.1/picosat/picomus.c:161:7:  [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 (
data/undertaker-1.6.1/picosat/picomus.c:199:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (cmd, "gunzip -c %s 2>/dev/null", input_name);
data/undertaker-1.6.1/picosat/picomus.c:200:20:  [4] (shell) popen:
  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.
      input_file = popen (cmd, "r");
data/undertaker-1.6.1/picosat/picosat.c:1125: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 (prefix, str);
data/undertaker-1.6.1/picosat/picosat.c:1188:15:  [4] (shell) popen:
  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.
  fviscores = popen (
data/undertaker-1.6.1/picosat/picosat.c:1197:3:  [4] (shell) system:
  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.
  system ("rm -rf /tmp/picosat-viscores");
data/undertaker-1.6.1/picosat/picosat.c:1198:3:  [4] (shell) system:
  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.
  system ("mkdir /tmp/picosat-viscores");
data/undertaker-1.6.1/picosat/picosat.c:1199:3:  [4] (shell) system:
  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.
  system ("mkdir /tmp/picosat-viscores/data");
data/undertaker-1.6.1/picosat/picosat.c:1201:3:  [4] (shell) system:
  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.
  system ("mkdir /tmp/picosat-viscores/gif");
data/undertaker-1.6.1/picosat/picosat.c:3273:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (rline[1], "%6s", "");
data/undertaker-1.6.1/picosat/picosat.c:3285:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (rline[x] + y, fmt, name, "");
data/undertaker-1.6.1/picosat/picosat.c:4409:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (cmd, "sort -n|nl>%s", name);
data/undertaker-1.6.1/picosat/picosat.c:4411:10:  [4] (shell) popen:
  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.
  data = popen (cmd, "w");
data/undertaker-1.6.1/picosat/picosat.c:4425:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (cmd, "awk '$3%%8==%d' %s>%s.%d", i, name, name, i);
data/undertaker-1.6.1/picosat/picosat.c:4426:7:  [4] (shell) system:
  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.
      system (cmd);
data/undertaker-1.6.1/picosat/picosat.c:7529: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 (out, fmt, ap);
data/undertaker-1.6.1/scripts/docproc.c:124:4:  [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(real_filename, svec);
data/undertaker-1.6.1/scripts/docproc.c:383:4:  [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(real_filename, vec);
data/undertaker-1.6.1/scripts/kconfig/confdata.c:20: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/undertaker-1.6.1/scripts/kconfig/confdata.c:23: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/undertaker-1.6.1/scripts/kconfig/confdata.c:35: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/undertaker-1.6.1/scripts/kconfig/confdata.c:44: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/undertaker-1.6.1/scripts/kconfig/confdata.c:96: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/undertaker-1.6.1/scripts/kconfig/confdata.c:99: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/undertaker-1.6.1/scripts/kconfig/confdata.c:113: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/undertaker-1.6.1/scripts/kconfig/confdata.c:571: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/undertaker-1.6.1/scripts/kconfig/confdata.c:587: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/undertaker-1.6.1/scripts/kconfig/confdata.c:590: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/undertaker-1.6.1/scripts/kconfig/confdata.c:645: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/undertaker-1.6.1/scripts/kconfig/lxdialog/inputbox.c:55: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:335: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:563: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:575: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/undertaker-1.6.1/scripts/kconfig/mconf.c:819: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/undertaker-1.6.1/scripts/kconfig/mconf.c:820: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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/nconf.c:545: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/undertaker-1.6.1/scripts/kconfig/nconf.c:579: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/undertaker-1.6.1/scripts/kconfig/nconf.c:1219: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/undertaker-1.6.1/scripts/kconfig/qconf.cc:1024:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					head += QString().sprintf("<a href=\"s%p\">", sym);
data/undertaker-1.6.1/scripts/kconfig/qconf.cc:1033:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				head += QString().sprintf("<a href=\"s%p\">", sym);
data/undertaker-1.6.1/scripts/kconfig/qconf.cc:1061: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/undertaker-1.6.1/scripts/kconfig/qconf.cc:1084: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/undertaker-1.6.1/scripts/kconfig/qconf.cc:1157:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		*text += QString().sprintf("<a href=\"s%p\">", sym);
data/undertaker-1.6.1/scripts/kconfig/symbol.c:661: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/undertaker-1.6.1/scripts/kconfig/symbol.c:888: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/undertaker-1.6.1/scripts/kconfig/symbol.c:891: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/undertaker-1.6.1/scripts/kconfig/util.c:118: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/undertaker-1.6.1/scripts/kconfig/util.c:128: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/undertaker-1.6.1/undertaker/undertaker.cpp:881:22:  [4] (shell) system:
  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.
            if (std::system("which picomus > /dev/null") == 0)
data/undertaker-1.6.1/undertaker/validation/exec.c:1490:9:  [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.
	need = vsnprintf(NULL, 0, fmt, arg);
data/undertaker-1.6.1/undertaker/validation/exec.c:1503: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(cur, need + 1, fmt, arg);
data/undertaker-1.6.1/undertaker/validation/makro_replace.c:4:6:  [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.
void printf(char *in) {
data/undertaker-1.6.1/undertaker/validation/sched.c:3533:44:  [4] (shell) system:
  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.
		cpustat->system = cputime64_add(cpustat->system, tmp);
data/undertaker-1.6.1/picosat/picosat.c:1493: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.
  assert (getenv ("LEAK") || !current_bytes);	/* found leak if failing */
data/undertaker-1.6.1/scripts/docproc.c:504:12:  [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.
	srctree = getenv("SRCTREE");
data/undertaker-1.6.1/scripts/docproc.c:507:16:  [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.
	kernsrctree = getenv("KBUILD_SRC");
data/undertaker-1.6.1/scripts/kconfig/conf.c:469: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, "", long_opts, NULL)) != -1) {
data/undertaker-1.6.1/scripts/kconfig/conf.c:491: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/undertaker-1.6.1/scripts/kconfig/conf.c:544: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/undertaker-1.6.1/scripts/kconfig/conf.c:568: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/undertaker-1.6.1/scripts/kconfig/confdata.c:66: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/undertaker-1.6.1/scripts/kconfig/confdata.c:73: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/undertaker-1.6.1/scripts/kconfig/confdata.c:111: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/undertaker-1.6.1/scripts/kconfig/confdata.c:588: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/undertaker-1.6.1/scripts/kconfig/confdata.c:870: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/undertaker-1.6.1/scripts/kconfig/confdata.c:875: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/undertaker-1.6.1/scripts/kconfig/dumpconf.c:275: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 *arch = getenv("ARCH");
data/undertaker-1.6.1/scripts/kconfig/gconf.c:1526: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:283: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/undertaker-1.6.1/scripts/kconfig/mconf.c:809: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/undertaker-1.6.1/scripts/kconfig/nconf.c:1497: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/undertaker-1.6.1/scripts/kconfig/symbol.c:1255: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/undertaker-1.6.1/scripts/kconfig/util.c:63: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/undertaker-1.6.1/undertaker/rsf2cnf.cpp:133:19:  [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, "m:r:c:W:B:vh")) != -1) {
data/undertaker-1.6.1/undertaker/satyr.cpp:86:19:  [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, "Vvc:a:")) != -1) {
data/undertaker-1.6.1/undertaker/satyr.cpp:126:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *arch = getenv("ARCH");
data/undertaker-1.6.1/undertaker/satyr.cpp:127:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *srcarch = getenv("SRCARCH");
data/undertaker-1.6.1/undertaker/undertaker.cpp:847:19:  [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, "ucb:M:m:t:i:B:W:sj:O:C:I:Vhvq")) != -1) {
data/undertaker-1.6.1/picosat/app.c:21: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 buffer[100];
data/undertaker-1.6.1/picosat/app.c:29: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 page[4096];
data/undertaker-1.6.1/picosat/app.c:206:7:  [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.
  l = sprintf (bhead, " %d", i);
data/undertaker-1.6.1/picosat/app.c:296: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).
    lit = atoi (sargv[i]);
data/undertaker-1.6.1/picosat/app.c:328:14:  [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).
      file = fopen (name, "w");
data/undertaker-1.6.1/picosat/app.c:471:23:  [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).
	    decision_limit = atoi (argv[i]);
data/undertaker-1.6.1/picosat/app.c:507:14:  [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).
	  else if (!atoi (argv[i]))
data/undertaker-1.6.1/picosat/app.c:527:13:  [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).
	    seed = atoi (argv[i]);
data/undertaker-1.6.1/picosat/app.c:544:22:  [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).
	  else if (!(file = fopen (argv[i], "w")))
data/undertaker-1.6.1/picosat/app.c:635:22:  [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).
	  else if (!(file = fopen (argv[i], "w")))
data/undertaker-1.6.1/picosat/app.c:741:25:  [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).
      else if (!(file = fopen (argv[i], "r")))	/* TODO .gz ? */
data/undertaker-1.6.1/picosat/app.c:821: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).
		  assumption = atoi (argv[i]);
data/undertaker-1.6.1/picosat/picomus.c:203:25:  [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).
    } else input_file = fopen (input_name, "r"), fclose_input = 1;
data/undertaker-1.6.1/picosat/picomus.c:319:19:  [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).
    output_file = fopen (output_name, "w");
data/undertaker-1.6.1/picosat/picosat.c:460: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 data[BLK_FILL_BYTES];
data/undertaker-1.6.1/picosat/picosat.c:539: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 *rline[2];
data/undertaker-1.6.1/picosat/picosat.c:2222: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 (res->znt, buffer, count);
data/undertaker-1.6.1/picosat/picosat.c:2312: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 line[80];
data/undertaker-1.6.1/picosat/picosat.c:2315: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 (line, "%%RUPD32 %u %u", rupvariables, rupclauses);
data/undertaker-1.6.1/picosat/picosat.c:2328: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.
  static char write_int_buffer[16];
data/undertaker-1.6.1/picosat/picosat.c:3519:12:  [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).
  unsigned open, minlevel, siglevels, l, old, i, orig;
data/undertaker-1.6.1/picosat/picosat.c:3615:12:  [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).
     if ((!open && level) || !c)
data/undertaker-1.6.1/picosat/picosat.c:4394: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 name[100], cmd[200];
data/undertaker-1.6.1/picosat/picosat.c:4408: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 (name, "/tmp/picosat-viscores/data/%08u", conflicts);
data/undertaker-1.6.1/picosat/picosat.c:6115: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.
  static char write_unsigned_buffer[20];
data/undertaker-1.6.1/scripts/basic/fixdep.c:145: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[0];
data/undertaker-1.6.1/scripts/basic/fixdep.c:187: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(aux->name, name, len);
data/undertaker-1.6.1/scripts/basic/fixdep.c:287: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(filename, O_RDONLY);
data/undertaker-1.6.1/scripts/basic/fixdep.c:322: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[PATH_MAX];
data/undertaker-1.6.1/scripts/basic/fixdep.c:330: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(s, m, p-m); s[p-m] = 0;
data/undertaker-1.6.1/scripts/basic/fixdep.c:345: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(s, m, p-m); s[p-m] = 0;
data/undertaker-1.6.1/scripts/basic/fixdep.c:375: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(depfile, O_RDONLY);
data/undertaker-1.6.1/scripts/docproc.c:112: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 real_filename[PATH_MAX + 1];
data/undertaker-1.6.1/scripts/docproc.c:198: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 line[MAXLINESZ];
data/undertaker-1.6.1/scripts/docproc.c:200: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 real_filename[PATH_MAX + 1];
data/undertaker-1.6.1/scripts/docproc.c:207: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).
		fp = fopen(real_filename, "r");
data/undertaker-1.6.1/scripts/docproc.c:293: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 *vec[200]; /* Enough for specific functions */
data/undertaker-1.6.1/scripts/docproc.c:329: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 *vec[6]; /* kerneldoc -docbook -function "section" file NULL */
data/undertaker-1.6.1/scripts/docproc.c:354: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 *vec[4]; /* kerneldoc -list file NULL */
data/undertaker-1.6.1/scripts/docproc.c:357: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 real_filename[PATH_MAX + 1];
data/undertaker-1.6.1/scripts/docproc.c:442: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 line[MAXLINESZ];
data/undertaker-1.6.1/scripts/docproc.c:515:11:  [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).
	infile = fopen(argv[2], "r");
data/undertaker-1.6.1/scripts/kconfig/conf.c:44: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[128];
data/undertaker-1.6.1/scripts/kconfig/conf.c:318: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/undertaker-1.6.1/scripts/kconfig/confdata.c:82: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/undertaker-1.6.1/scripts/kconfig/confdata.c:83: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/undertaker-1.6.1/scripts/kconfig/confdata.c:107: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/undertaker-1.6.1/scripts/kconfig/confdata.c:185: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 line[1024];
data/undertaker-1.6.1/scripts/kconfig/confdata.c:488: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/undertaker-1.6.1/scripts/kconfig/confdata.c:562: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/undertaker-1.6.1/scripts/kconfig/confdata.c:576: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/undertaker-1.6.1/scripts/kconfig/confdata.c:591: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/undertaker-1.6.1/scripts/kconfig/confdata.c:594: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/undertaker-1.6.1/scripts/kconfig/confdata.c:646: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/undertaker-1.6.1/scripts/kconfig/confdata.c:662: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/undertaker-1.6.1/scripts/kconfig/confdata.c:733: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/undertaker-1.6.1/scripts/kconfig/confdata.c:736: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/undertaker-1.6.1/scripts/kconfig/confdata.c:756: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/undertaker-1.6.1/scripts/kconfig/confdata.c:786: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/undertaker-1.6.1/scripts/kconfig/confdata.c:790: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/undertaker-1.6.1/scripts/kconfig/confdata.c:796: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/undertaker-1.6.1/scripts/kconfig/dumpconf.c:33: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[20];
data/undertaker-1.6.1/scripts/kconfig/dumpconf.c:96: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/undertaker-1.6.1/scripts/kconfig/dumpconf.c:97: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/undertaker-1.6.1/scripts/kconfig/dumpconf.c:120: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[12];
data/undertaker-1.6.1/scripts/kconfig/dumpconf.c:174: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 itemname[50];
data/undertaker-1.6.1/scripts/kconfig/expr.c:77: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/undertaker-1.6.1/scripts/kconfig/expr.c:1122: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/undertaker-1.6.1/scripts/kconfig/expr.c:1123: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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/gconf.c:1225: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/undertaker-1.6.1/scripts/kconfig/gconf.c:1286: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/undertaker-1.6.1/scripts/kconfig/gconf.c:1345: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/undertaker-1.6.1/scripts/kconfig/gconf.c:1370: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/undertaker-1.6.1/scripts/kconfig/kxgettext.c:154: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/undertaker-1.6.1/scripts/kconfig/lxdialog/dialog.h:166: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];	/* promtp displayed */
data/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/lxdialog/textbox.c:353: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:333: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;
data/undertaker-1.6.1/scripts/kconfig/mconf.c:286: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/undertaker-1.6.1/scripts/kconfig/mconf.c:289: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/undertaker-1.6.1/scripts/kconfig/nconf.c:257: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/undertaker-1.6.1/scripts/kconfig/nconf.c:551: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/undertaker-1.6.1/scripts/kconfig/nconf.c:572: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/undertaker-1.6.1/scripts/kconfig/nconf.c:573: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/undertaker-1.6.1/scripts/kconfig/nconf.c:631: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/undertaker-1.6.1/scripts/kconfig/nconf.c:632: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/undertaker-1.6.1/scripts/kconfig/nconf.c:698: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 dialog_input_result[100];
data/undertaker-1.6.1/scripts/kconfig/nconf.c:1011: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/undertaker-1.6.1/scripts/kconfig/nconf.c:1217: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/undertaker-1.6.1/scripts/kconfig/nconf.c:1363: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 dialog_input_result[256];
data/undertaker-1.6.1/scripts/kconfig/nconf.c:1407: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 dialog_input_result[256];
data/undertaker-1.6.1/scripts/kconfig/nconf.c:1439: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 dialog_input_result[256];
data/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/qconf.cc:926: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/undertaker-1.6.1/scripts/kconfig/qconf.cc:931:25:  [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.current()->setOpen(open);
data/undertaker-1.6.1/scripts/kconfig/qconf.cc:1274: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/undertaker-1.6.1/scripts/kconfig/qconf.h:116: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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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, "%d", val2);
data/undertaker-1.6.1/scripts/kconfig/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%x", val2);
data/undertaker-1.6.1/scripts/kconfig/symbol.c:863: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/undertaker-1.6.1/scripts/kconfig/util.c:42: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/undertaker-1.6.1/scripts/kconfig/util.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 s[10000]; /* big enough... */
data/undertaker-1.6.1/tailor/flipper/kernel/drivers/misc/flipper/flipper.c:33: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 flipper_bitfield_cached[FLIPPER_ENTRIES / CHARSIZE
data/undertaker-1.6.1/tailor/src/traceutil-boost.cc:50:16:  [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).
    moduleFile.open(modulePath, ios::in);
data/undertaker-1.6.1/tailor/src/traceutil-boost.cc:133:20:  [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).
        ignoreFile.open(ignorePath,ios::app);
data/undertaker-1.6.1/tailor/src/traceutil-boost.cc:244:16:  [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).
    outputFile.open(outputPath, ios::trunc);
data/undertaker-1.6.1/tailor/src/traceutil-boost.cc:251:16:  [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).
    ignoreFile.open(ignorePath,ios::app);
data/undertaker-1.6.1/tailor/src/traceutil-boost.cc:255:15:  [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).
    traceFile.open(tracePath, ios::in);
data/undertaker-1.6.1/tailor/src/traceutil-native.c:43: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 outputBuffer[INPUTBUFFERSIZE+ADDRLENGTH+MODULENAMELENGTH+3];
data/undertaker-1.6.1/tailor/src/traceutil-native.c:47: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 moduleNameBuffer[INPUTBUFFERSIZE+3];
data/undertaker-1.6.1/tailor/src/traceutil-native.c:51: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 numberBuffer[ADDRLENGTH+3];
data/undertaker-1.6.1/tailor/src/traceutil-native.c:63: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).
    int moduleFile = open(modulePath,O_RDONLY);
data/undertaker-1.6.1/tailor/src/traceutil-native.c:281:32:  [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).
        else if ((ignoreFile = open(ignorePath, O_WRONLY | O_CREAT | O_APPEND,
data/undertaker-1.6.1/tailor/src/traceutil-native.c:384: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 inputBuffer[INPUTBUFFERSIZE+3];
data/undertaker-1.6.1/tailor/src/traceutil-native.c:386: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 callerBuffer[FUNCNAMELENGTH+3];
data/undertaker-1.6.1/tailor/src/traceutil-native.c:415:21:  [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).
    int inputFile = open(tracePath,O_RDONLY);
data/undertaker-1.6.1/tailor/src/traceutil-native.c:423:18:  [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).
    outputFile = open(outputPath, O_WRONLY | O_CREAT | O_NONBLOCK,
data/undertaker-1.6.1/tailor/src/traceutil-native.c:432:18:  [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).
    ignoreFile = open(ignorePath, O_WRONLY | O_CREAT,
data/undertaker-1.6.1/tailor/src/traceutil-native.h:70: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 name[MODULENAMELENGTH+3];
data/undertaker-1.6.1/tailor/src/traceutil-native.h:75: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 decToHexChar[16];
data/undertaker-1.6.1/tailor/src/traceutil-stdio.c:46:18:  [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).
    moduleFile = fopen (modulePath,"r");
data/undertaker-1.6.1/tailor/src/traceutil-stdio.c:141:22:  [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).
        ignoreFile = fopen (ignorePath,"a");
data/undertaker-1.6.1/tailor/src/traceutil-stdio.c:234: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 name[1024];
data/undertaker-1.6.1/tailor/src/traceutil-stdio.c:261:18:  [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).
    outputFile = fopen(outputPath,"a");
data/undertaker-1.6.1/tailor/src/traceutil-stdio.c:262:17:  [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).
    traceFile = fopen (tracePath,"r");
data/undertaker-1.6.1/tailor/src/traceutil-stdio.c:263:18:  [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).
    ignoreFile = fopen (ignorePath,"a");
data/undertaker-1.6.1/tailor/src/traceutil-stdio.h:40: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 name[MODULENAMELENGTH+3];
data/undertaker-1.6.1/undertaker/coverage-tests/sb1250-mac.c:268: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		sbm_hwaddr[ETHER_ADDR_LEN];
data/undertaker-1.6.1/undertaker/undertaker.cpp:356:18:  [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).
            outf.open(outfstream.str(), std::ios_base::trunc);
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic.c:1348: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(elf->e_ident, ELFMAG, SELFMAG);
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic_cnf.c:1348: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(elf->e_ident, ELFMAG, SELFMAG);
data/undertaker-1.6.1/undertaker/validation/exec.c:65: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 core_pattern[CORENAME_MAX_SIZE] = "core";
data/undertaker-1.6.1/undertaker/validation/exec.c:1027: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 tcomm[sizeof(current->comm)];
data/undertaker-1.6.1/undertaker/validation/sb1250-mac.c:268: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		sbm_hwaddr[ETHER_ADDR_LEN];
data/undertaker-1.6.1/undertaker/validation/sb1250-mac_cnf.c:268: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		sbm_hwaddr[ETHER_ADDR_LEN];
data/undertaker-1.6.1/undertaker/validation/sched.c:740: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[64];
data/undertaker-1.6.1/undertaker/validation/sched.c:3239:23:  [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 const unsigned char
data/undertaker-1.6.1/undertaker/validation/sched.c:3241:23:  [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 const unsigned char
data/undertaker-1.6.1/undertaker/validation/sched.c:5977: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[32];
data/undertaker-1.6.1/undertaker/validation/sched.c:6002: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[32];
data/undertaker-1.6.1/undertaker/validation/sched.c:6204: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/undertaker-1.6.1/undertaker/validation/sched.c:7650:9:  [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.
	return sprintf(page, "%u\n", sched_mc_power_savings);
data/undertaker-1.6.1/undertaker/validation/sched.c:7668:9:  [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.
	return sprintf(page, "%u\n", sched_smt_power_savings);
data/undertaker-1.6.1/picosat/app.c:243: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).
  return str + strlen (str) - strlen (suffix) == tmp;
data/undertaker-1.6.1/picosat/app.c:243: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).
  return str + strlen (str) - strlen (suffix) == tmp;
data/undertaker-1.6.1/picosat/app.c:320: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).
      cmd = malloc (strlen (GZIP) + strlen (name));
data/undertaker-1.6.1/picosat/app.c:320:37:  [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).
      cmd = malloc (strlen (GZIP) + strlen (name));
data/undertaker-1.6.1/picosat/app.c:724: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).
	  char *cmd = malloc (strlen (GUNZIP) + strlen (argv[i]));
data/undertaker-1.6.1/picosat/app.c:724:42:  [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).
	  char *cmd = malloc (strlen (GUNZIP) + strlen (argv[i]));
data/undertaker-1.6.1/picosat/picomus.c:49:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int res = fgetc (input_file);
data/undertaker-1.6.1/picosat/picomus.c:196: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 (input_name);
data/undertaker-1.6.1/picosat/picosat.c:1115: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).
  delete (prefix, strlen (prefix) + 1);
data/undertaker-1.6.1/picosat/picosat.c:1124: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).
  prefix = new (strlen (str) + 1);
data/undertaker-1.6.1/picosat/picosat.c:2318: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 = 255 - strlen (line); i >= 0; i--)
data/undertaker-1.6.1/picosat/picosat.c:3242: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).
	  p = rline[x] + strlen (rline[x]);
data/undertaker-1.6.1/picosat/picosat.c:3275: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).
      len = strlen (name);
data/undertaker-1.6.1/picosat/picosat.c:4440:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep (50000);		/* refresh rate of 20 Hz */
data/undertaker-1.6.1/scripts/basic/fixdep.c:272: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 slen = strlen(s);
data/undertaker-1.6.1/scripts/basic/fixdep.c:273: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).
	int sublen = strlen(sub);
data/undertaker-1.6.1/scripts/docproc.c:122:4:  [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(real_filename, "/" KERNELDOCPATH KERNELDOC,
data/undertaker-1.6.1/scripts/docproc.c:123: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).
					PATH_MAX - strlen(real_filename));
data/undertaker-1.6.1/scripts/docproc.c:203: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. Risk is low because the source is a
  constant character.
		strncat(real_filename, "/", PATH_MAX - strlen(real_filename));
data/undertaker-1.6.1/scripts/docproc.c:203:42:  [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).
		strncat(real_filename, "/", PATH_MAX - strlen(real_filename));
data/undertaker-1.6.1/scripts/docproc.c:204: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(real_filename, filename,
data/undertaker-1.6.1/scripts/docproc.c:205: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).
				PATH_MAX - strlen(real_filename));
data/undertaker-1.6.1/scripts/docproc.c:381:4:  [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(real_filename, "/" KERNELDOCPATH KERNELDOC,
data/undertaker-1.6.1/scripts/docproc.c:382: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).
					PATH_MAX - strlen(real_filename));
data/undertaker-1.6.1/scripts/docproc.c:391:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				while ((ret = read(pipefd[0],
data/undertaker-1.6.1/scripts/kconfig/conf.c:64: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/undertaker-1.6.1/scripts/kconfig/conf.c:154: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/undertaker-1.6.1/scripts/kconfig/conf.c:335: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/undertaker-1.6.1/scripts/kconfig/confdata.c:88: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/undertaker-1.6.1/scripts/kconfig/confdata.c:159: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/undertaker-1.6.1/scripts/kconfig/confdata.c:250: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/undertaker-1.6.1/scripts/kconfig/confdata.c:252: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/undertaker-1.6.1/scripts/kconfig/confdata.c:259: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/undertaker-1.6.1/scripts/kconfig/confdata.c:265: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/undertaker-1.6.1/scripts/kconfig/confdata.c:281: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/undertaker-1.6.1/scripts/kconfig/confdata.c:282: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/undertaker-1.6.1/scripts/kconfig/confdata.c:293: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/undertaker-1.6.1/scripts/kconfig/confdata.c:299: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/undertaker-1.6.1/scripts/kconfig/confdata.c:572: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/undertaker-1.6.1/scripts/kconfig/dumpconf.c:108: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/undertaker-1.6.1/scripts/kconfig/expr.c:1134: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/undertaker-1.6.1/scripts/kconfig/expr.c:1151: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/undertaker-1.6.1/scripts/kconfig/expr.c:1156: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/undertaker-1.6.1/scripts/kconfig/expr.c:1161: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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/kxgettext.c:18: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/undertaker-1.6.1/scripts/kconfig/kxgettext.c:223: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("\"\""))
data/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/lxdialog/inputbox.c:100: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).
	input_x = strlen(instr);
data/undertaker-1.6.1/scripts/kconfig/lxdialog/inputbox.c:139: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).
						input_x = strlen(instr) - scroll;
data/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/lxdialog/textbox.c:149: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/undertaker-1.6.1/scripts/kconfig/lxdialog/textbox.c:327: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/undertaker-1.6.1/scripts/kconfig/lxdialog/textbox.c:330: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/undertaker-1.6.1/scripts/kconfig/lxdialog/textbox.c:388: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:315: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:337: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:364: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:367: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:480: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:572: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/undertaker-1.6.1/scripts/kconfig/lxdialog/util.c:575: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/undertaker-1.6.1/scripts/kconfig/mconf.c:328: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/undertaker-1.6.1/scripts/kconfig/mconf.c:329: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/undertaker-1.6.1/scripts/kconfig/mconf.c:487: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/undertaker-1.6.1/scripts/kconfig/nconf.c:381: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/undertaker-1.6.1/scripts/kconfig/nconf.c:385: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/undertaker-1.6.1/scripts/kconfig/nconf.c:583: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/undertaker-1.6.1/scripts/kconfig/nconf.c:720: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/undertaker-1.6.1/scripts/kconfig/nconf.c:721: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/undertaker-1.6.1/scripts/kconfig/nconf.c:887: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/undertaker-1.6.1/scripts/kconfig/nconf.c:1035: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/undertaker-1.6.1/scripts/kconfig/nconf.c:1036: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/undertaker-1.6.1/scripts/kconfig/nconf.c:1049: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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/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/undertaker-1.6.1/scripts/kconfig/nconf.gui.c:381: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/undertaker-1.6.1/scripts/kconfig/nconf.gui.c:387: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/undertaker-1.6.1/scripts/kconfig/nconf.gui.c:419: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/undertaker-1.6.1/scripts/kconfig/symbol.c:650: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/undertaker-1.6.1/scripts/kconfig/symbol.c:858: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/undertaker-1.6.1/scripts/kconfig/symbol.c:868: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/undertaker-1.6.1/scripts/kconfig/symbol.c:882: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/undertaker-1.6.1/scripts/kconfig/symbol.c:882: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/undertaker-1.6.1/scripts/kconfig/symbol.c:882: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/undertaker-1.6.1/scripts/kconfig/symbol.c:904: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/undertaker-1.6.1/scripts/kconfig/util.c:85: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/undertaker-1.6.1/scripts/kconfig/util.c:94: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).
	gs.len = strlen(s) + 1;
data/undertaker-1.6.1/scripts/kconfig/util.c:113: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/undertaker-1.6.1/scripts/kconfig/util.c:113: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/undertaker-1.6.1/tailor/src/traceutil-native.c:69:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((size = read(moduleFile, moduleNameBuffer, INPUTBUFFERSIZE)) > 0) {
data/undertaker-1.6.1/tailor/src/traceutil-native.c:449:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((len = read(inputFile, inputBuffer, INPUTBUFFERSIZE)) > 0) {
data/undertaker-1.6.1/undertaker/test-Bool.cpp:175:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
START_TEST(equal) {
data/undertaker-1.6.1/undertaker/test-Bool.cpp:203:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    tcase_add_test(tc, equal);
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic.c:523: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).
		platform_len = strlen(k_platform) + 1;
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic.c:538: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).
		platform_len = strlen(k_base_platform) + 1;
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic.c:981:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ret = file->f_op->read(file, (void *) seg->addr,
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic.c:1308: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).
	sz += roundup(strlen(en->name) + 1, 4);
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic.c:1325: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).
	en.n_namesz = strlen(men->name) + 1;
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic.c:1469:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(psinfo->pr_fname, p->comm, sizeof(psinfo->pr_fname));
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic_cnf.c:523: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).
		platform_len = strlen(k_platform) + 1;
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic_cnf.c:538: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).
		platform_len = strlen(k_base_platform) + 1;
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic_cnf.c:981:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ret = file->f_op->read(file, (void *) seg->addr,
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic_cnf.c:1308: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).
	sz += roundup(strlen(en->name) + 1, 4);
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic_cnf.c:1325: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).
	en.n_namesz = strlen(men->name) + 1;
data/undertaker-1.6.1/undertaker/validation/binfmt_elf_fdpic_cnf.c:1469:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(psinfo->pr_fname, p->comm, sizeof(psinfo->pr_fname));
data/undertaker-1.6.1/undertaker/validation/exec.c:967:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, tsk->comm, sizeof(tsk->comm));

ANALYSIS SUMMARY:

Hits = 354
Lines analyzed = 68159 in approximately 1.63 seconds (41806 lines/second)
Physical Source Lines of Code (SLOC) = 45598
Hits@level = [0] 409 [1] 110 [2] 154 [3]  25 [4]  62 [5]   3
Hits@level+ = [0+] 763 [1+] 354 [2+] 244 [3+]  90 [4+]  65 [5+]   3
Hits/KSLOC@level+ = [0+] 16.7332 [1+] 7.7635 [2+] 5.35111 [3+] 1.97377 [4+] 1.4255 [5+] 0.0657924
Symlinks skipped = 1 (--allowlink overrides but see doc for security issue)
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.