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/libmawk-1.0.2/scconfig/src/math/INIT.c
Examining data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.h
Examining data/libmawk-1.0.2/scconfig/src/math/find_func.h
Examining data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c
Examining data/libmawk-1.0.2/scconfig/src/math/find_fpenan.h
Examining data/libmawk-1.0.2/scconfig/src/math/find_func.c
Examining data/libmawk-1.0.2/scconfig/src/math/find_math.c
Examining data/libmawk-1.0.2/scconfig/src/math/INIT.h
Examining data/libmawk-1.0.2/scconfig/src/math/find_fpenan.c
Examining data/libmawk-1.0.2/scconfig/src/parsgen/INIT.c
Examining data/libmawk-1.0.2/scconfig/src/parsgen/find_parsgen.c
Examining data/libmawk-1.0.2/scconfig/src/parsgen/INIT.h
Examining data/libmawk-1.0.2/scconfig/src/tmpasm/openfiles.h
Examining data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm.h
Examining data/libmawk-1.0.2/scconfig/src/tmpasm/tester.c
Examining data/libmawk-1.0.2/scconfig/src/tmpasm/debug.c
Examining data/libmawk-1.0.2/scconfig/src/tmpasm/openfiles.c
Examining data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.h
Examining data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm.c
Examining data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c
Examining data/libmawk-1.0.2/scconfig/src/tmpasm/debug.h
Examining data/libmawk-1.0.2/scconfig/src/default/main_lib.c
Examining data/libmawk-1.0.2/scconfig/src/default/arg.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_str.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_thread.c
Examining data/libmawk-1.0.2/scconfig/src/default/lib_file.c
Examining data/libmawk-1.0.2/scconfig/src/default/lib_try.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_proc.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_time.c
Examining data/libmawk-1.0.2/scconfig/src/default/libs.h
Examining data/libmawk-1.0.2/scconfig/src/default/lib_srctree.c
Examining data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_fstools.c
Examining data/libmawk-1.0.2/scconfig/src/default/hooks.h
Examining data/libmawk-1.0.2/scconfig/src/default/log.h
Examining data/libmawk-1.0.2/scconfig/src/default/find.h
Examining data/libmawk-1.0.2/scconfig/src/default/main.c
Examining data/libmawk-1.0.2/scconfig/src/default/log.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_environ.c
Examining data/libmawk-1.0.2/scconfig/src/default/ht.h
Examining data/libmawk-1.0.2/scconfig/src/default/regex.h
Examining data/libmawk-1.0.2/scconfig/src/default/find_sys.c
Examining data/libmawk-1.0.2/scconfig/src/default/lib_compile.c
Examining data/libmawk-1.0.2/scconfig/src/default/dep.h
Examining data/libmawk-1.0.2/scconfig/src/default/ht.c
Examining data/libmawk-1.0.2/scconfig/src/default/regex.c
Examining data/libmawk-1.0.2/scconfig/src/default/dep.c
Examining data/libmawk-1.0.2/scconfig/src/default/str.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_io.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_uname.c
Examining data/libmawk-1.0.2/scconfig/src/default/deps_default.h
Examining data/libmawk-1.0.2/scconfig/src/default/find_types.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_printf.c
Examining data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c
Examining data/libmawk-1.0.2/scconfig/src/default/main_custom_args.h
Examining data/libmawk-1.0.2/scconfig/src/default/deps_default.c
Examining data/libmawk-1.0.2/scconfig/src/default/lib_pkg_config.c
Examining data/libmawk-1.0.2/scconfig/src/default/main_custom_args.c
Examining data/libmawk-1.0.2/scconfig/src/default/db.h
Examining data/libmawk-1.0.2/scconfig/src/default/find_libs.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_target.c
Examining data/libmawk-1.0.2/scconfig/src/default/find_cc.c
Examining data/libmawk-1.0.2/scconfig/src/default/db.c
Examining data/libmawk-1.0.2/scconfig/src/default/main_lib.h
Examining data/libmawk-1.0.2/scconfig/src/default/arg.h
Examining data/libmawk-1.0.2/scconfig/src/default/find_signal.c
Examining data/libmawk-1.0.2/scconfig/hooks.c
Examining data/libmawk-1.0.2/src/example_apps/71_c_func_call/app.c
Examining data/libmawk-1.0.2/src/example_apps/25_set_array/app.c
Examining data/libmawk-1.0.2/src/example_apps/90_custom_vio/vio_hash.c
Examining data/libmawk-1.0.2/src/example_apps/90_custom_vio/app.c
Examining data/libmawk-1.0.2/src/example_apps/90_custom_vio/vio_hash.h
Examining data/libmawk-1.0.2/src/example_apps/20_uninit_staged/app.c
Examining data/libmawk-1.0.2/src/example_apps/20_init_wired/app.c
Examining data/libmawk-1.0.2/src/example_apps/12_multi/app.c
Examining data/libmawk-1.0.2/src/example_apps/91_custom_vio_re/vio_hash.h
Examining data/libmawk-1.0.2/src/example_apps/91_custom_vio_re/vio_hash.c
Examining data/libmawk-1.0.2/src/example_apps/91_custom_vio_re/app.c
Examining data/libmawk-1.0.2/src/example_apps/90_fn_validation/app.c
Examining data/libmawk-1.0.2/src/example_apps/15_get_array/app.c
Examining data/libmawk-1.0.2/src/example_apps/90_custom_array/carr.h
Examining data/libmawk-1.0.2/src/example_apps/90_custom_array/carr.c
Examining data/libmawk-1.0.2/src/example_apps/90_custom_array/app.c
Examining data/libmawk-1.0.2/src/example_apps/15_call/app.c
Examining data/libmawk-1.0.2/src/example_apps/30_out_pipes/app.c
Examining data/libmawk-1.0.2/src/example_apps/15_get_scalar/app.c
Examining data/libmawk-1.0.2/src/example_apps/31_out_pipes_manual/app.c
Examining data/libmawk-1.0.2/src/example_apps/50_runlimit/app.c
Examining data/libmawk-1.0.2/src/example_apps/10_run/app.c
Examining data/libmawk-1.0.2/src/example_apps/70_c_func/app.c
Examining data/libmawk-1.0.2/src/example_apps/12_input/app.c
Examining data/libmawk-1.0.2/src/example_apps/51_blocking_fifo/app.c
Examining data/libmawk-1.0.2/src/libmawk.h
Examining data/libmawk-1.0.2/src/libmawk/vio_fifo.c
Examining data/libmawk-1.0.2/src/libmawk/regression/zfifo/zfifo_test.c
Examining data/libmawk-1.0.2/src/libmawk/regression/zfifo/zmalloc.h
Examining data/libmawk-1.0.2/src/libmawk/regression/zfifo/mawk.h
Examining data/libmawk-1.0.2/src/libmawk/regression/libmawk/func_call.c
Examining data/libmawk-1.0.2/src/libmawk/regression/re_test/re_test.c
Examining data/libmawk-1.0.2/src/libmawk/regexp.h
Examining data/libmawk-1.0.2/src/libmawk/array_orig.c
Examining data/libmawk-1.0.2/src/libmawk/num_double.h
Examining data/libmawk-1.0.2/src/libmawk/rexp/rexp2.c
Examining data/libmawk-1.0.2/src/libmawk/rexp/rexp1.c
Examining data/libmawk-1.0.2/src/libmawk/rexp/rexp0.c
Examining data/libmawk-1.0.2/src/libmawk/rexp/rexp.c
Examining data/libmawk-1.0.2/src/libmawk/rexp/rexpdb.c
Examining data/libmawk-1.0.2/src/libmawk/rexp/rexp.h
Examining data/libmawk-1.0.2/src/libmawk/rexp/rexp3.c
Examining data/libmawk-1.0.2/src/libmawk/field_common.c
Examining data/libmawk-1.0.2/src/libmawk/libmawk.h
Examining data/libmawk-1.0.2/src/libmawk/cast.c
Examining data/libmawk-1.0.2/src/libmawk/bi_vars.h
Examining data/libmawk-1.0.2/src/libmawk/num_double.c
Examining data/libmawk-1.0.2/src/libmawk/libmawk.c
Examining data/libmawk-1.0.2/src/libmawk/bi_vars.c
Examining data/libmawk-1.0.2/src/libmawk/main.c
Examining data/libmawk-1.0.2/src/libmawk/array_environ.h
Examining data/libmawk-1.0.2/src/libmawk/da_bin.h
Examining data/libmawk-1.0.2/src/libmawk/f2d.h
Examining data/libmawk-1.0.2/src/libmawk/array_generic.h
Examining data/libmawk-1.0.2/src/libmawk/scancode.c
Examining data/libmawk-1.0.2/src/libmawk/array_environ.c
Examining data/libmawk-1.0.2/src/libmawk/num_int.h
Examining data/libmawk-1.0.2/src/libmawk/memory.h
Examining data/libmawk-1.0.2/src/libmawk/da_bin.c
Examining data/libmawk-1.0.2/src/libmawk/array_generic.c
Examining data/libmawk-1.0.2/src/libmawk/types.h
Examining data/libmawk-1.0.2/src/libmawk/num_int.c
Examining data/libmawk-1.0.2/src/libmawk/memory.c
Examining data/libmawk-1.0.2/src/libmawk/bi_funct_dummy.c
Examining data/libmawk-1.0.2/src/libmawk/bi_funct_common.c
Examining data/libmawk-1.0.2/src/libmawk/da_common.c
Examining data/libmawk-1.0.2/src/libmawk/jmp.h
Examining data/libmawk-1.0.2/src/libmawk/zmalloc_safemalloc.c
Examining data/libmawk-1.0.2/src/libmawk/jmp.c
Examining data/libmawk-1.0.2/src/libmawk/cell.h
Examining data/libmawk-1.0.2/src/libmawk/vio_orig.h
Examining data/libmawk-1.0.2/src/libmawk/makescan.c
Examining data/libmawk-1.0.2/src/libmawk/zfifo.h
Examining data/libmawk-1.0.2/src/libmawk/fin.h
Examining data/libmawk-1.0.2/src/libmawk/kw.c
Examining data/libmawk-1.0.2/src/libmawk/fcall.c
Examining data/libmawk-1.0.2/src/libmawk/vars.h
Examining data/libmawk-1.0.2/src/libmawk/cell.c
Examining data/libmawk-1.0.2/src/libmawk/vio_orig.c
Examining data/libmawk-1.0.2/src/libmawk/nstd.h
Examining data/libmawk-1.0.2/src/libmawk/execute_debug.h
Examining data/libmawk-1.0.2/src/libmawk/zfifo.c
Examining data/libmawk-1.0.2/src/libmawk/vars.c
Examining data/libmawk-1.0.2/src/libmawk/files_children.c
Examining data/libmawk-1.0.2/src/libmawk/repl.h
Examining data/libmawk-1.0.2/src/libmawk/files.h
Examining data/libmawk-1.0.2/src/libmawk/matherr.c
Examining data/libmawk-1.0.2/src/libmawk/files.c
Examining data/libmawk-1.0.2/src/libmawk/split.h
Examining data/libmawk-1.0.2/src/libmawk/code_dump.c
Examining data/libmawk-1.0.2/src/libmawk/bi_funct.h
Examining data/libmawk-1.0.2/src/libmawk/debug.h
Examining data/libmawk-1.0.2/src/libmawk/split.c
Examining data/libmawk-1.0.2/src/libmawk/scan.h
Examining data/libmawk-1.0.2/src/libmawk/bi_funct.c
Examining data/libmawk-1.0.2/src/libmawk/error.c
Examining data/libmawk-1.0.2/src/libmawk/da_text.c
Examining data/libmawk-1.0.2/src/libmawk/field_exec.c
Examining data/libmawk-1.0.2/src/libmawk/debug.c
Examining data/libmawk-1.0.2/src/libmawk/scan.c
Examining data/libmawk-1.0.2/src/libmawk/array.h
Examining data/libmawk-1.0.2/src/libmawk/da_bin_helper.h
Examining data/libmawk-1.0.2/src/libmawk/symtype.h
Examining data/libmawk-1.0.2/src/libmawk/array.c
Examining data/libmawk-1.0.2/src/libmawk/da_bin_helper.c
Examining data/libmawk-1.0.2/src/libmawk/missing.c
Examining data/libmawk-1.0.2/src/libmawk/array_environ_off.c
Examining data/libmawk-1.0.2/src/libmawk/zmalloc_native.c
Examining data/libmawk-1.0.2/src/libmawk/zmalloc.h
Examining data/libmawk-1.0.2/src/libmawk/num.h
Examining data/libmawk-1.0.2/src/libmawk/vio.h
Examining data/libmawk-1.0.2/src/libmawk/sizes.h
Examining data/libmawk-1.0.2/src/libmawk/zmalloc.c
Examining data/libmawk-1.0.2/src/libmawk/print.c
Examining data/libmawk-1.0.2/src/libmawk/fin_comp.c
Examining data/libmawk-1.0.2/src/libmawk/version.h
Examining data/libmawk-1.0.2/src/libmawk/viohack.h
Examining data/libmawk-1.0.2/src/libmawk/field.h
Examining data/libmawk-1.0.2/src/libmawk/vargs.h
Examining data/libmawk-1.0.2/src/libmawk/math_wrap.h
Examining data/libmawk-1.0.2/src/libmawk/version.c
Examining data/libmawk-1.0.2/src/libmawk/fin_common.c
Examining data/libmawk-1.0.2/src/libmawk/viohack.c
Examining data/libmawk-1.0.2/src/libmawk/hash.c
Examining data/libmawk-1.0.2/src/libmawk/math_wrap.c
Examining data/libmawk-1.0.2/src/libmawk/re_cmpl.c
Examining data/libmawk-1.0.2/src/libmawk/fin_exec.c
Examining data/libmawk-1.0.2/src/libmawk/parse.h
Examining data/libmawk-1.0.2/src/libmawk/code.h
Examining data/libmawk-1.0.2/src/libmawk/init_nocomp.c
Examining data/libmawk-1.0.2/src/libmawk/parse.c
Examining data/libmawk-1.0.2/src/libmawk/code.c
Examining data/libmawk-1.0.2/src/libmawk/init.h
Examining data/libmawk-1.0.2/src/libmawk/str.c
Examining data/libmawk-1.0.2/src/libmawk/execute.h
Examining data/libmawk-1.0.2/src/libmawk/print_dummy.c
Examining data/libmawk-1.0.2/src/libmawk/mawk.h
Examining data/libmawk-1.0.2/src/libmawk/init.c
Examining data/libmawk-1.0.2/src/libmawk/array_orig.h
Examining data/libmawk-1.0.2/src/libmawk/execute.c
Examining data/libmawk-1.0.2/src/libmawk/vio_fifo.h

FINAL RESULTS:

data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:728:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	const char *chmod;
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:743:36:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		report(" user provided (%s)...", chmod);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:744:29:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		if (test_chmodx(logdepth, chmod)) return 0;
data/libmawk-1.0.2/scconfig/src/default/db.c:310:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp, "%s/%s", db_cwd, key);
data/libmawk-1.0.2/scconfig/src/default/db.c:407: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(buff, prefix);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:198:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(name, "cc/argstd/%s", (*flg)+1);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:421:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_tmp, fattr);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:422:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "cc/func_attr/%s/presents", fattr);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:461:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_tmp, dspec);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:462:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "cc/declspec/%s/presents", dspec);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:513:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_template, dspec);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:740:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cflags_c, "%s -c %s", cflags, fpic);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:749:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_host_app, test_host, ld_include, libname_dyn);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:838:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_lib, test_lib_template, dspec_dllexport);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:859:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_app, test_app_template, dspec_dllimport);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:916:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(dll_ldflags, "-shared %s,%s", get("cc/wloutimplib"), dll_implib_name);
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:230:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(test_c, test_c_templ, access_includes, *n);
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:232:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(nodename, "libs/fs/access/macros/%s", names[name][0]);
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:287:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(test_c, test_c_templ, *n);
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:289:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(nodename, "libs/fs/stat/macros/%s", names[name][0]);
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:332:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_c, test_c_templ, names[name]);
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:333:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(nodename, "libs/fs/stat/fields/%s/presents", names[name]);
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:370:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(node, "libs/fs/%s", fn);
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:371:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_in, fn);
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:487:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_in, dir, ", 0755");
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:498:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_in, dir, ", 0755");
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:509:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_in, dir, "");
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:550:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_in, dir, ", 0755");
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:561:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_in, dir, "");
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:648:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_in, tmp);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:50:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s %s", command, src_esc, dst_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:109:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s %s", command, src_esc, dst_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:154:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s", command, dir_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:159:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(file, "%s/test", dir);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:174:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "rmdir %s", dir_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:215:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s", command, src_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:251:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s ru %s %s", command, dst_esc, src_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:253:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s t %s", command, dst_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:294:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s r %s %s", ar, archive_esc, obj_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:300:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s", command, archive_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:334:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s -v \"t=blobb\" -f %s", command, script_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:361:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s", command, fn_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:389:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s \"s/l/1/g\" < %s", command, fn_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:415:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s", command, tmp_esc);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:460:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s", command, fn_esc);
data/libmawk-1.0.2/scconfig/src/default/find_io.c:98:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_, "fileno", "fileno", "fileno");
data/libmawk-1.0.2/scconfig/src/default/find_io.c:104:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_, "fileno", "fileno", "fileno");
data/libmawk-1.0.2/scconfig/src/default/find_io.c:111:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_, "_fileno", "_fileno", "_fileno");
data/libmawk-1.0.2/scconfig/src/default/find_io.c:152:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_c, test_c_template, tmpf, *fn, *fn, *fn);
data/libmawk-1.0.2/scconfig/src/default/find_libs.c:37:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(cflags,  cflagsf, dlc);
data/libmawk-1.0.2/scconfig/src/default/find_libs.c:38:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(ldflags, ldflagsf, dlc, dlc);
data/libmawk-1.0.2/scconfig/src/default/find_printf.c:37:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(buff, test_c, trying, trying);
data/libmawk-1.0.2/scconfig/src/default/find_printf.c:55:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(buff, test_c, trying);
data/libmawk-1.0.2/scconfig/src/default/find_proc.c:166:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_c, test_c_in, inc);
data/libmawk-1.0.2/scconfig/src/default/find_proc.c:170:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_c, test_c_in, "");
data/libmawk-1.0.2/scconfig/src/default/find_signal.c:102: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(path, prefix);
data/libmawk-1.0.2/scconfig/src/default/find_signal.c:110:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_c, test_c_exists, *name);
data/libmawk-1.0.2/scconfig/src/default/find_signal.c:111: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(pathend, *name);
data/libmawk-1.0.2/scconfig/src/default/find_signal.c:123:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_c, test_c_terms, *name);
data/libmawk-1.0.2/scconfig/src/default/find_signal.c:124:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(pathend, "%s/terminates", *name);
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:136:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_c_blind, test_c_blind_template, endians1[index], endians1[index]);
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:378:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s%s%s", shell, q, test, q);
data/libmawk-1.0.2/scconfig/src/default/find_time.c:146:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, timegm_test_c_template, "timegm");
data/libmawk-1.0.2/scconfig/src/default/find_time.c:165:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, timegm_test_c_template, "_mkgmtime");
data/libmawk-1.0.2/scconfig/src/default/find_types.c:52: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(test_c, inc);
data/libmawk-1.0.2/scconfig/src/default/find_types.c:57:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(start, test_c_template, type);
data/libmawk-1.0.2/scconfig/src/default/find_types.c:171:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(path, path_template, n, 'u');
data/libmawk-1.0.2/scconfig/src/default/find_types.c:178:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(path, path_template, n, 's');
data/libmawk-1.0.2/scconfig/src/default/find_types.c:187:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(path, path_template_f, n);
data/libmawk-1.0.2/scconfig/src/default/find_types.c:260:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(node, "%s/%s", prefix, typ);
data/libmawk-1.0.2/scconfig/src/default/find_types.c:279:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_c, test_c_include, define, *include, typ);
data/libmawk-1.0.2/scconfig/src/default/find_types.c:305:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_broken, define, *include, typ);
data/libmawk-1.0.2/scconfig/src/default/find_types.c:329:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(test_c, test_c_size, define, *include, typ);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:55:5:  [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(output + len + 1, input + 1);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:92:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s \"%s %s %s %s -o %s 2>&1\" >%s", get("/host/sys/shell"), cc_esc, cflags, fn_input_esc, ldflags, fn_output_esc, temp_out_esc);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:100:8:  [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.
	ret = system(cmd);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:239:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s >%s 2>>%s", emu, cmd_, fn_out_esc, temp_out_esc);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:244:8:  [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.
	ret = system(cmd);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:285:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(cmd, "%s %s \"%s\"", emu, shell, cmd_);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:287:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(cmd, "%s %s %s", emu, shell, cmd_);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:323:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s", interpreter, temp);
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:66:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(s, "%sscc_%u%s", tmp, rn, suffix);
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:70:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(cmd, "%s %s", mkdir, s_esc);
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:99:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(s, "%sscc_%u%s", tmp, rn, suffix);
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:170:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp, "cd %s", path_esc);
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:194:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "%s/%s", dir, file);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:49:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "%s %s", rm, dir_esc);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:69:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(fn, "%s%sfile%d", dir, get("sys/path_sep"), n+1);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:87:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(fn, "%s%sdir%d", dir, get("sys/path_sep"), n+1);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:89:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(cmd, "%s %s", mkdir, fn_esc);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:220:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(cmd, list_cmd, dir);
data/libmawk-1.0.2/scconfig/src/default/lib_pkg_config.c:36:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(cmd, "%s --cflags %s", confname, pkgname);
data/libmawk-1.0.2/scconfig/src/default/lib_pkg_config.c:49:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(cmd, "%s --libs %s", confname, pkgname);
data/libmawk-1.0.2/scconfig/src/default/lib_pkg_config.c:88:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(cmd, "%s --modversion %s", confname, pkgname);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:30: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(c+l, test_c_in);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:64:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmp, "%s/includes", prefix);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:70:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmp, "%s/cflags", prefix);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:76:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmp, "%s/ldflags", prefix);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:86:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmp, "%s/presents", prefix);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:99: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(apath_end, #node); \
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:144:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	l = sprintf(apath, "/arg/icl/%s/", prefix); apath_end = apath+l;
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:149:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	l = sprintf(apath, "/arg/icl/%s/%s/", db_cwd, prefix); apath_end = apath+l;
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:158:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(apath, "%s/icl/all_manual_result", prefix);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:267:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp, "%s/presents", prefix);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:338:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		case 'l': sprintf(path, "/arg/icl/%s/ldflags", key+8); break;
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:339:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		case 'c': sprintf(path, "/arg/icl/%s/cflags", key+7); break;
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:340:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		case 'i': sprintf(path, "/arg/icl/%s/includes", key+9); break;
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:341:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		case 'p': sprintf(path, "/arg/icl/%s/prefix", key+7); break;
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:374:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_in, structn, fieldn);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:378:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(test_c, "%s/sizeof", prefix);
data/libmawk-1.0.2/scconfig/src/default/log.c:58: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(logfile, format, ap);
data/libmawk-1.0.2/scconfig/src/default/log.c:69: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, format, ap);
data/libmawk-1.0.2/scconfig/src/default/log.c:75: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(logfile, format, ap);
data/libmawk-1.0.2/scconfig/src/default/log.c:86: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(format, ap);
data/libmawk-1.0.2/scconfig/src/default/log.c:93: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(logfile, format, ap);
data/libmawk-1.0.2/scconfig/src/math/find_fpenan.c:224:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_temp, inc);
data/libmawk-1.0.2/scconfig/src/math/find_fpenan.c:240:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(cmd, test[0], test_bin_esc);
data/libmawk-1.0.2/scconfig/src/math/find_fpenan.c:243:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(cmd, "libs/math/nanop/%s", test[2]);
data/libmawk-1.0.2/scconfig/src/math/find_func.c:47:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_template, cond);
data/libmawk-1.0.2/scconfig/src/math/find_func.c:48:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(node_name, "libs/math/%s", fname);
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:53:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(test_c, test_c_templ, values, func);
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:75:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(cmd, "%s %d", fn_esc, n);
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:135:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(node_name, "libs/math/cc/%s/%s/return", func, node_names[n]);
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:137:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(node_name, "libs/math/cc/%s/%s/errno", func, node_names[n]);
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:146:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(node_name, "libs/math/cc/%s/presents", func);
data/libmawk-1.0.2/scconfig/src/parsgen/find_parsgen.c:55:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "flex %s", temp_in_esc);
data/libmawk-1.0.2/scconfig/src/parsgen/find_parsgen.c:100: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(bisfile, temp_in);
data/libmawk-1.0.2/scconfig/src/parsgen/find_parsgen.c:110:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "bison %s", temp_in_esc);
data/libmawk-1.0.2/scconfig/src/tmpasm/tester.c:57: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, fmt, (ctx->runtime_error_data == NULL ? "" : ctx->runtime_error_data));
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:60: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, fmt, (ctx->runtime_error_data == NULL ? "" : ctx->runtime_error_data));
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:301: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(buff, val);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:518:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(err, "%s (%s) for %s", path, fn, mode);
data/libmawk-1.0.2/src/example_apps/90_fn_validation/app.c:38:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				sprintf(buff, wrapper, orig_name);
data/libmawk-1.0.2/src/libmawk/array_orig.c:97:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				sprintf(buff, string(MAWK_CONVFMT)->str, d);
data/libmawk-1.0.2/src/libmawk/array_orig.c:190:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				sprintf(buff, string(MAWK_CONVFMT)->str, d);
data/libmawk-1.0.2/src/libmawk/array_orig.c:339:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				sprintf(buff, INT_FMT, ival);
data/libmawk-1.0.2/src/libmawk/array_orig.c:447:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				sprintf(buff, INT_FMT, p->ival);
data/libmawk-1.0.2/src/libmawk/cast.c:150:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(xbuff, INT_FMT, lval);
data/libmawk-1.0.2/src/libmawk/cast.c:152:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(xbuff, string(MAWK_CONVFMT)->str, cp->d.dval);
data/libmawk-1.0.2/src/libmawk/cast.c:185:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(xbuff, INT_FMT, lval);
data/libmawk-1.0.2/src/libmawk/cast.c:187:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(xbuff, string(MAWK_CONVFMT)->str, cp->d.dval);
data/libmawk-1.0.2/src/libmawk/cast.c:217:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(xbuff, INT_FMT, lval);
data/libmawk-1.0.2/src/libmawk/cast.c:219:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(xbuff, string(MAWK_CONVFMT)->str, cp->d.dval);
data/libmawk-1.0.2/src/libmawk/da_text.c:251:4:  [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(fp, jfmt, "jmp", tab2, (p - start) + p->op);
data/libmawk-1.0.2/src/libmawk/da_text.c:256:4:  [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(fp, jfmt, "jnz", tab2, (p - start) + p->op);
data/libmawk-1.0.2/src/libmawk/da_text.c:261:4:  [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(fp, jfmt, "jz", tab2, (p - start) + p->op);
data/libmawk-1.0.2/src/libmawk/da_text.c:266:4:  [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(fp, jfmt, "ljz", tab2, (p - start) + p->op);
data/libmawk-1.0.2/src/libmawk/da_text.c:271:4:  [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(fp, jfmt, "ljnz", tab2 + 1, (p - start) + p->op);
data/libmawk-1.0.2/src/libmawk/error.c:61:10:  [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.
#define  vfprintf  simple_vfprintf
data/libmawk-1.0.2/src/libmawk/error.c:73: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, format, args);
data/libmawk-1.0.2/src/libmawk/error.c:99: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, format, args);
data/libmawk-1.0.2/src/libmawk/error.c:112: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, format, args);
data/libmawk-1.0.2/src/libmawk/error.c:245:5:  [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(fp, xbuff, va_arg(argp, long));
data/libmawk-1.0.2/src/libmawk/error.c:247:5:  [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(fp, xbuff, va_arg(argp, int));
data/libmawk-1.0.2/src/libmawk/error.c:251:4:  [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(fp, xbuff, va_arg(argp, char *));
data/libmawk-1.0.2/src/libmawk/error.c:257:4:  [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(fp, xbuff, va_arg(argp, double));
data/libmawk-1.0.2/src/libmawk/execute_debug.h:8:25:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define db1printf(x...) fprintf(stderr, x)
data/libmawk-1.0.2/src/libmawk/field_exec.c:218:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
						sprintf(xbuff, INT_FMT, ival);
data/libmawk-1.0.2/src/libmawk/field_exec.c:220:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
						sprintf(xbuff, string(MAWK_CONVFMT)->str, cp->d.dval);
data/libmawk-1.0.2/src/libmawk/field_exec.c:426:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(xbuff, string(fp)->str, 3.1459);
data/libmawk-1.0.2/src/libmawk/fin_exec.c:186:27:  [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).
	p = mawk_rm_escape(MAWK, strcpy((char *) mawk_zmalloc(MAWK, len), p));
data/libmawk-1.0.2/src/libmawk/hash.c:68:22:  [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).
				p->symtab.name = strcpy(mawk_zmalloc(MAWK, strlen(s) + 1), s);
data/libmawk-1.0.2/src/libmawk/memory.c:57: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(sval->str, s);
data/libmawk-1.0.2/src/libmawk/nstd.h:36:7:  [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).
char *strcpy(char *, const char *);
data/libmawk-1.0.2/src/libmawk/parse.c:1203:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define YYFPRINTF fprintf
data/libmawk-1.0.2/src/libmawk/print.c:40:5:  [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.
int fprintf(FILE *, const char *, ...);
data/libmawk-1.0.2/src/libmawk/print.c:43:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
int sprintf(char *, const char *, ...);
data/libmawk-1.0.2/src/libmawk/print.c:87:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				len = sprintf(buff, INT_FMT, ival);
data/libmawk-1.0.2/src/libmawk/print.c:91:21:  [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.
				fnode->vf->imp->vprintf(MAWK, fnode->vf, string(MAWK_OFMT)->str, p->d.dval);
data/libmawk-1.0.2/src/libmawk/print.c:187:8:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	ret = vsprintf(ostr, fmt, ap);
data/libmawk-1.0.2/src/libmawk/print.c:226:39:  [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.
		printer = (PRINTER) fnode->vf->imp->vprintf;
data/libmawk-1.0.2/src/libmawk/print.c:429: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(xbuff, p);
data/libmawk-1.0.2/src/libmawk/regression/re_test/re_test.c:54: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, format, args);
data/libmawk-1.0.2/src/libmawk/regression/re_test/re_test.c:78: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, format, args);
data/libmawk-1.0.2/src/libmawk/scan.c:71: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(MAWK->ps.program_string->str, cmdline_program);
data/libmawk-1.0.2/src/libmawk/version.c:39:31:  [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.
	MAWK->fnode_stdout->vf->imp->vprintf(MAWK, MAWK->fnode_stdout->vf, VERSION_STRING, PATCH_STRING, DATE_STRING);
data/libmawk-1.0.2/src/libmawk/version.c:42:31:  [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.
	MAWK->fnode_stdout->vf->imp->vprintf(MAWK, MAWK->fnode_stderr->vf, "compiled limits:\n");
data/libmawk-1.0.2/src/libmawk/version.c:43:31:  [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.
	MAWK->fnode_stdout->vf->imp->vprintf(MAWK, MAWK->fnode_stderr->vf, fmt, "max NF", (long) MAX_FIELD);
data/libmawk-1.0.2/src/libmawk/version.c:44:31:  [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.
	MAWK->fnode_stdout->vf->imp->vprintf(MAWK, MAWK->fnode_stderr->vf, fmt, "sprintf buffer", (long) SPRINTF_SZ);
data/libmawk-1.0.2/src/libmawk/vio.h:54:29:  [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.
	mawk_vio_printf_t         *vprintf;
data/libmawk-1.0.2/src/libmawk/vio_orig.c:232:2:  [4] (shell) execle:
  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.
	execle(MAWK->shell, MAWK->shell, "-c", cmd, (char *) 0, envp);
data/libmawk-1.0.2/src/libmawk/vio_orig.c:347:8:  [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.
	len = vfprintf(vf->f, fmt, ap);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:133: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.
			cc = getenv("CC");
data/libmawk-1.0.2/src/libmawk/nstd.h:29:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
char *getenv(const char *);
data/libmawk-1.0.2/scconfig/src/default/db.c:55: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(new,      orig,  l1);
data/libmawk-1.0.2/scconfig/src/default/db.c:56: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(new + l1, value, l2);
data/libmawk-1.0.2/scconfig/src/default/db.c:66: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 first_level_dir[32];
data/libmawk-1.0.2/scconfig/src/default/db.c:137:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		f = fopen(fn, "w");
data/libmawk-1.0.2/scconfig/src/default/db.c:212: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/libmawk-1.0.2/scconfig/src/default/db.c:217:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(fn, "r");
data/libmawk-1.0.2/scconfig/src/default/db.c:314: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[256];
data/libmawk-1.0.2/scconfig/src/default/db.c:324: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[256];
data/libmawk-1.0.2/scconfig/src/default/db.c:423: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(buff + totallen, value, len);
data/libmawk-1.0.2/scconfig/src/default/dep.c:61: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(pres, name_, len-1);
data/libmawk-1.0.2/scconfig/src/default/dep.c:62: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(pres+len-1, "presents");
data/libmawk-1.0.2/scconfig/src/default/dep.c:102: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(name, name_, len+1); /* make a copy we can modify */
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:120: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(targetcc, target, len);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:121:4:  [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(targetcc + len, "-gcc");
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:123:5:  [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(targetcc + len, "-cc");
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:196: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[128], *end;
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:235: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[128], *end;
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:239:4:  [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(name, "cc/argmachine/");
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:404: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[64];
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:405: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 test_c[256];
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:444: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[64];
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:445: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 test_c[256];
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:490: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 test_c[256];
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:717: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 test_host_app[1024];
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:803: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 test_lib[1024];
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:804: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 test_app[1024];
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:888: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 dll_ldflags[128];
data/libmawk-1.0.2/scconfig/src/default/find_environ.c:52:7:  [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).
		if (atoi(out) > 1) {
data/libmawk-1.0.2/scconfig/src/default/find_environ.c:90:7:  [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).
		if (atoi(out) > 1) {
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:200: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 test_c[256];
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:212: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 nodename[128];
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:260: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 test_c[256];
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:275: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 nodename[128];
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:317: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 test_c[256];
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:321: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 nodename[128];
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:364: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 test_c[384], node[64];
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:466: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 test_c[1024];
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:530: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 test_c[1024];
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:610: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 test_c[1024];
data/libmawk-1.0.2/scconfig/src/default/find_fscalls.c:645:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(tmp, "w");
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:160:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(file, "w");
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:319: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 cmd[1024];
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:352: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 cmd[1024];
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:379: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 cmd[1024];
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:452: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 cmd[1024];
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:617: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(targetar, target, len);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:618:4:  [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(targetar + len, "-ar");
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:666: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(targetranlib, target, len);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:667:4:  [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(targetranlib + len, "-ranlib");
data/libmawk-1.0.2/scconfig/src/default/find_io.c:80: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 test_c[256];
data/libmawk-1.0.2/scconfig/src/default/find_io.c:124: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 test_c[3256];
data/libmawk-1.0.2/scconfig/src/default/find_printf.c:34: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 buff[512];
data/libmawk-1.0.2/scconfig/src/default/find_printf.c:51: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 buff[512];
data/libmawk-1.0.2/scconfig/src/default/find_proc.c:124: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 test_c[1024];
data/libmawk-1.0.2/scconfig/src/default/find_signal.c:93: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 test_c[256];
data/libmawk-1.0.2/scconfig/src/default/find_signal.c:96: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[256], *pathend;
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:35: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 *end, W[32];
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:61: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(W, "%d", w * 8);
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:104: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 test_c_blind[1024];
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:402: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 cmdline[256];
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:417: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(cmdline, "echo ");
data/libmawk-1.0.2/scconfig/src/default/find_time.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 test_c[1000];
data/libmawk-1.0.2/scconfig/src/default/find_time.c:161: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 test_c[1000];
data/libmawk-1.0.2/scconfig/src/default/find_types.c:47:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char test_c[512], *start;
data/libmawk-1.0.2/scconfig/src/default/find_types.c:70: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).
			size = atoi(out+3);
data/libmawk-1.0.2/scconfig/src/default/find_types.c:72:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(test_c, "%d", size);
data/libmawk-1.0.2/scconfig/src/default/find_types.c:117: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.
	const char *sizearr_u[MAX_INT_WIDTH];
data/libmawk-1.0.2/scconfig/src/default/find_types.c:118: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.
	const char *sizearr_s[MAX_INT_WIDTH];
data/libmawk-1.0.2/scconfig/src/default/find_types.c:119: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.
	const char *sizearr_f[MAX_FLT_WIDTH];
data/libmawk-1.0.2/scconfig/src/default/find_types.c:120: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 inc_stdint_u[MAX_INT_WIDTH];
data/libmawk-1.0.2/scconfig/src/default/find_types.c:121: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 inc_stdint_s[MAX_INT_WIDTH];
data/libmawk-1.0.2/scconfig/src/default/find_types.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 path[64];
data/libmawk-1.0.2/scconfig/src/default/find_types.c:203: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 test_c[512];
data/libmawk-1.0.2/scconfig/src/default/find_types.c:204: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 node[256], *nodeend;
data/libmawk-1.0.2/scconfig/src/default/find_types.c:267: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(nodeend-1, "_ptr");
data/libmawk-1.0.2/scconfig/src/default/find_types.c:283:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(nodeend, "includes");
data/libmawk-1.0.2/scconfig/src/default/find_types.c:301:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(nodeend, "presents");
data/libmawk-1.0.2/scconfig/src/default/find_types.c:309:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(nodeend, "broken");
data/libmawk-1.0.2/scconfig/src/default/find_types.c:315:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(nodeend, "broken");
data/libmawk-1.0.2/scconfig/src/default/find_types.c:333:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(nodeend, "size");
data/libmawk-1.0.2/scconfig/src/default/find_uname.c:139: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(s, bopat[0], len);
data/libmawk-1.0.2/scconfig/src/default/find_uname.c:306: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 fake_sep[2];
data/libmawk-1.0.2/scconfig/src/default/ht.c:145: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(newentry, entry, sizeof(ht_entry_t));
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:53: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(output, s, len);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:75: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 cmd[2048];
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:43: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[1024];
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:84: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[1024];
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:101:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			f = fopen(s, "w");
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:129:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f  = fopen(fn, "w");
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:145:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		f = fopen(name, "r");
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:235:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(path, "a");
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:70:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		f = fopen(fn, "w");
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:117:61:  [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).
		if (strncmp(argv[n], "dir", 3) == 0)  { arr = dir;  idx = atoi(argv[n]+3); }
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:118:61:  [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).
		if (strncmp(argv[n], "file", 4) == 0) { arr = file; idx = atoi(argv[n]+4); }
data/libmawk-1.0.2/scconfig/src/default/lib_pkg_config.c:31: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 cmd[256];
data/libmawk-1.0.2/scconfig/src/default/lib_pkg_config.c:82: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 cmd[256];
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:22: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 c[1024];
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:27: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(c, includes, l);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:137: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 apath[1024], *apath_end;
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:335:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[1024];
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:363: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 test_c[512];
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:364: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 ls[16];
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:379: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(ls, "%ld", field_accept_len);
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:138: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(end, *arr, len);
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:140: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(end, osep, oseplen);
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:165: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(end, arr[ndx], len);
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:167: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(end, osep, oseplen);
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:298: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(end, str, len); \
data/libmawk-1.0.2/scconfig/src/default/log.c:37: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).
		logfile = fopen(fn_log, "w");
data/libmawk-1.0.2/scconfig/src/default/log.c:40: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).
		logfile = fopen(fn_log, "a");
data/libmawk-1.0.2/scconfig/src/default/log.c:102: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[2048];
data/libmawk-1.0.2/scconfig/src/default/log.c:108:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(fn, "r");
data/libmawk-1.0.2/scconfig/src/default/main_custom_args.c:31: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 *custom_reqs[MAX_CUSTOM_REQS];
data/libmawk-1.0.2/scconfig/src/default/main_custom_args.h:2: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.
extern char *custom_reqs[MAX_CUSTOM_REQS];
data/libmawk-1.0.2/scconfig/src/default/regex.c:295:7:  [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.
const char *bopat[MAXTAG];
data/libmawk-1.0.2/scconfig/src/default/regex.c:296:7:  [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.
const char *eopat[MAXTAG];
data/libmawk-1.0.2/scconfig/src/default/regex.c:606: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(dst, bol, l1);
data/libmawk-1.0.2/scconfig/src/default/regex.c:608: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(dst+l1, sub, l2);
data/libmawk-1.0.2/scconfig/src/default/regex.c:609: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(dst+l1+l2, eopat[0], l3+1);
data/libmawk-1.0.2/scconfig/src/default/str.c:38: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(ret, str, l);
data/libmawk-1.0.2/scconfig/src/default/str.c:108: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.
	const char *str[CONCAT_MAX];
data/libmawk-1.0.2/scconfig/src/default/str.c:142: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(o, sep, sl);
data/libmawk-1.0.2/scconfig/src/default/str.c:146: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(o, str[n], len[n]);
data/libmawk-1.0.2/scconfig/src/math/find_fpenan.c:204: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 test_c[2048];
data/libmawk-1.0.2/scconfig/src/math/find_func.c:44: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 test_c[512];
data/libmawk-1.0.2/scconfig/src/math/find_func.c:45: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 node_name[128];
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:116: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 *res[256];
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:117: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 node_name[256];
data/libmawk-1.0.2/scconfig/src/parsgen/find_parsgen.c:102:2:  [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(s, ".tab.c");
data/libmawk-1.0.2/scconfig/src/tmpasm/openfiles.c:20:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			f = fopen(name, "w");
data/libmawk-1.0.2/scconfig/src/tmpasm/openfiles.c:73: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).
	o->f = fopen(fn, mode);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm.c:23: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(ret, str, l);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm.c:196:2:  [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(a->data, "QWERT");
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm.c:707: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(s+used, i, l);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm.h:14: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 data[1];          /* arg string - obviously longer than 1 char (but there's not special hack for that in C89), \0 terminated */
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm.h:150: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 cmd_buff[TMPASM_INSTR_MAXLEN+1];
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:175: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 str[16];
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:176: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", argc);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:194: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 str[16];
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:195: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", argc);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:217: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 str[16];
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:218: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", argc);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:312:14:  [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.
				memmove((char *)(bopat[0] + slen), eopat[0], mlen);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:314: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((char *)bopat[0], csub, slen);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:314: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.
		memcpy((char *)bopat[0], csub, slen);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:327: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 *uniq_eres[UNIQ_ERE_MAX];
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:421: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 str[16];
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:422: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", argc);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:478: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).
		fin = fopen(path, "r");
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:623: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).
	fin = fopen(path, "r");
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:632: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).
	fout = fopen(path, "w");
data/libmawk-1.0.2/src/example_apps/12_multi/app.c:39: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[32];
data/libmawk-1.0.2/src/example_apps/12_multi/app.c:41: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(tmp, "[1] record %d\n", n);
data/libmawk-1.0.2/src/example_apps/12_multi/app.c:45: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(tmp, "[2] record %d\n", n);
data/libmawk-1.0.2/src/example_apps/15_call/app.c:31: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 buff[32];
data/libmawk-1.0.2/src/example_apps/15_call/app.c:48:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buff[32];
data/libmawk-1.0.2/src/example_apps/15_get_array/app.c:12: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 buff[32];
data/libmawk-1.0.2/src/example_apps/15_get_scalar/app.c:16: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 buff[32];
data/libmawk-1.0.2/src/example_apps/20_uninit_staged/app.c:31: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 buff[32];
data/libmawk-1.0.2/src/example_apps/30_out_pipes/app.c:14: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[1024];
data/libmawk-1.0.2/src/example_apps/31_out_pipes_manual/app.c:14: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[1024];
data/libmawk-1.0.2/src/example_apps/51_blocking_fifo/app.c:38: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 s[32];
data/libmawk-1.0.2/src/example_apps/51_blocking_fifo/app.c:40: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(s, "rec %d\n", n);
data/libmawk-1.0.2/src/example_apps/70_c_func/app.c:13: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 buff[64];
data/libmawk-1.0.2/src/example_apps/71_c_func_call/app.c:16: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 buff[64];
data/libmawk-1.0.2/src/example_apps/71_c_func_call/app.c:58: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 buff[32];
data/libmawk-1.0.2/src/example_apps/90_custom_array/carr.c:13: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 carr[CARR_SIZE];
data/libmawk-1.0.2/src/example_apps/90_custom_array/carr.c:58: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 buff[2];
data/libmawk-1.0.2/src/example_apps/90_custom_array/carr.h:4: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.
extern char carr[CARR_SIZE];
data/libmawk-1.0.2/src/example_apps/90_custom_vio/vio_hash.c:111: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 buff[64];
data/libmawk-1.0.2/src/example_apps/90_custom_vio/vio_hash.c:117:6:  [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(buff, "%d\n", v->value);
data/libmawk-1.0.2/src/example_apps/90_custom_vio/vio_hash.c:119: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(dst, buff, l);
data/libmawk-1.0.2/src/example_apps/91_custom_vio_re/vio_hash.c:107: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 buff[64];
data/libmawk-1.0.2/src/example_apps/91_custom_vio_re/vio_hash.c:113:6:  [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(buff, "%d\n", v->value);
data/libmawk-1.0.2/src/example_apps/91_custom_vio_re/vio_hash.c:115: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(dst, buff, l);
data/libmawk-1.0.2/src/libmawk/array.c:67: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(target, string(p)->str, string(p)->len);
data/libmawk-1.0.2/src/libmawk/array.c:69: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(target, subsep_str, subsep_len);
data/libmawk-1.0.2/src/libmawk/array.c:73:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(target, string(p)->str, string(p)->len);
data/libmawk-1.0.2/src/libmawk/array_environ.c:60: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(string(&ci)->str, *p, len);
data/libmawk-1.0.2/src/libmawk/array_environ.c:220: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(ret[used], si, sil);
data/libmawk-1.0.2/src/libmawk/array_environ.c:222: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(ret[used]+sil+1, sv, svl+1);
data/libmawk-1.0.2/src/libmawk/array_orig.c:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buff[260];
data/libmawk-1.0.2/src/libmawk/array_orig.c:188: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 buff[260];
data/libmawk-1.0.2/src/libmawk/array_orig.c:337: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 buff[256];
data/libmawk-1.0.2/src/libmawk/array_orig.c:440: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 buff[256];
data/libmawk-1.0.2/src/libmawk/bi_funct.c:171: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(string(sp)->str, sval->str + i, n);
data/libmawk-1.0.2/src/libmawk/bi_funct.c:708: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(string(&tc)->str, p, len);
data/libmawk-1.0.2/src/libmawk/bi_funct.c:778: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(sval->str, middle, middle_len);
data/libmawk-1.0.2/src/libmawk/bi_funct.c:790: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(p, front, front_len);
data/libmawk-1.0.2/src/libmawk/bi_funct.c:794: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(p, string(sp + 1)->str, string(sp + 1)->len);
data/libmawk-1.0.2/src/libmawk/bi_funct.c:798: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(p, back, back_len);
data/libmawk-1.0.2/src/libmawk/bi_funct.c:841:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char xbuff[2];
data/libmawk-1.0.2/src/libmawk/bi_funct.c:871: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(sval->str, middle, middle_len);
data/libmawk-1.0.2/src/libmawk/bi_funct.c:883: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(p, front, front_len);
data/libmawk-1.0.2/src/libmawk/bi_funct.c:888: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(p, string(repl)->str, string(repl)->len);
data/libmawk-1.0.2/src/libmawk/bi_funct.c:892: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(p, back->str, back->len);
data/libmawk-1.0.2/src/libmawk/bi_vars.c:28:14:  [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 char *bi_var_names[NUM_BI_VAR] = {
data/libmawk-1.0.2/src/libmawk/cast.c:138: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 xbuff[260];
data/libmawk-1.0.2/src/libmawk/cast.c:173:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char xbuff[260];
data/libmawk-1.0.2/src/libmawk/da_bin.c:510: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 f_id[8];
data/libmawk-1.0.2/src/libmawk/da_bin.c:519: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 pad[50]; /* reserved for future use - header size should be 64 bytes long */
data/libmawk-1.0.2/src/libmawk/da_bin_helper.c:27: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(fn, O_RDONLY);
data/libmawk-1.0.2/src/libmawk/error.c:201: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 xbuff[64];
data/libmawk-1.0.2/src/libmawk/execute.c:1067: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(b->str, str1, len1);
data/libmawk-1.0.2/src/libmawk/execute.c:1068: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(b->str + len1, str2, len2);
data/libmawk-1.0.2/src/libmawk/field_exec.c:93: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(string(&MAWK->field[0])->str, s, len);
data/libmawk-1.0.2/src/libmawk/field_exec.c:214:6:  [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 xbuff[260];
data/libmawk-1.0.2/src/libmawk/field_exec.c:246: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(p, string(cp)->str, string(cp)->len);
data/libmawk-1.0.2/src/libmawk/field_exec.c:262:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(p, tail->str, tail->len);
data/libmawk-1.0.2/src/libmawk/field_exec.c:423:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char xbuff[512];
data/libmawk-1.0.2/src/libmawk/files.c:38: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_buff[PATH_BUFF_SIZE];
data/libmawk-1.0.2/src/libmawk/init.c:90: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(MAWK->escape_test, escape_test_, sizeof(escape_test_));
data/libmawk-1.0.2/src/libmawk/init.c:96: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(MAWK->scan_code, mawk_scan_code, sizeof(mawk_scan_code));
data/libmawk-1.0.2/src/libmawk/init.c:102: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(MAWK->mpow2, mpow2, sizeof(mpow2));
data/libmawk-1.0.2/src/libmawk/init.c:350:17:  [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).
				int x = p ? atoi(p + 1) : 0;
data/libmawk-1.0.2/src/libmawk/jmp.c:151: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(p->code, code, sizeof(INST) * len);
data/libmawk-1.0.2/src/libmawk/jmp.c:196: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(target, p->code, len * sizeof(INST));
data/libmawk-1.0.2/src/libmawk/libmawk.c:70: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((char *)m->ps.buffp, "BEGIN {}\n");
data/libmawk-1.0.2/src/libmawk/libmawk.c:426: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[128];
data/libmawk-1.0.2/src/libmawk/libmawk.c:436:10:  [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.
			len = sprintf(tmp, "%d", (int)c->d.dval);
data/libmawk-1.0.2/src/libmawk/libmawk.c:439:11:  [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.
				len = sprintf(tmp, "%d", (int)c->d.dval);
data/libmawk-1.0.2/src/libmawk/libmawk.c:441:11:  [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.
				len = sprintf(tmp, "%f", c->d.dval);
data/libmawk-1.0.2/src/libmawk/libmawk.c:462:10:  [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.
			len = sprintf(buff, "Can't convert celltype %d\n", c->type);
data/libmawk-1.0.2/src/libmawk/libmawk.c:465:10:  [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.
			len = sprintf(buff, "Invalid celltype %d\n", c->type);
data/libmawk-1.0.2/src/libmawk/libmawk.c:472: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(buff, tmp, len);
data/libmawk-1.0.2/src/libmawk/mawk.h:255: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 dummy[ZBLOCKSZ];
data/libmawk-1.0.2/src/libmawk/mawk.h:309: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 data[1];                     /* actual data */
data/libmawk-1.0.2/src/libmawk/mawk.h:314:18:  [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.
typedef unsigned char mawk_BV[32];		/* bit vector */
data/libmawk-1.0.2/src/libmawk/mawk.h:353: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 _string_buff[MIN_SPRINTF];
data/libmawk-1.0.2/src/libmawk/mawk.h:455: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 scan_code[256];
data/libmawk-1.0.2/src/libmawk/memory.c:168: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(r, s, l+1);
data/libmawk-1.0.2/src/libmawk/memory.c:182: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(r, s, l+1);
data/libmawk-1.0.2/src/libmawk/missing.c:47: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.
PTR memcpy(PTR t, PTR s, size_t n)
data/libmawk-1.0.2/src/libmawk/nstd.h:34: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.
PTR memcpy(void *, const void *, size_t);
data/libmawk-1.0.2/src/libmawk/parse.c:1453:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/libmawk-1.0.2/src/libmawk/parse.c:1647:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char yymsgbuf[128];
data/libmawk-1.0.2/src/libmawk/parse.c:3105:51:  [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.
                        (yyvsp[-3].fbp)->typev = (char *)
data/libmawk-1.0.2/src/libmawk/print.c:85: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 buff[64];
data/libmawk-1.0.2/src/libmawk/print.c:216: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 xbuff[256];							/* splice in l qualifier here */
data/libmawk-1.0.2/src/libmawk/print.c:259:7:  [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(retval->str, MAWK->sprintf_buff, len);
data/libmawk-1.0.2/src/libmawk/re_cmpl.c:349: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(target, (*p)->str, (*p)->len);
data/libmawk-1.0.2/src/libmawk/regression/libmawk/func_call.c:17: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 buff[32];
data/libmawk-1.0.2/src/libmawk/regression/zfifo/zfifo_test.c:15: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[1024], *cmd, *args;
data/libmawk-1.0.2/src/libmawk/regression/zfifo/zfifo_test.c:30:55:  [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).
			mawk_zfifo_alloc(MAWK, &fifo, (args == NULL ? -1 : atoi(args)));
data/libmawk-1.0.2/src/libmawk/regression/zfifo/zfifo_test.c:52:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				size = atoi(args);
data/libmawk-1.0.2/src/libmawk/regression/zfifo/zfifo_test.c:67: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(line, b->buf, b->size);
data/libmawk-1.0.2/src/libmawk/regression/zfifo/zfifo_test.c:76: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(line, fifo.stage_buf, fifo.stage_used);
data/libmawk-1.0.2/src/libmawk/rexp/rexp0.c:35:7:  [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.
const char RE_char2token['|' + 1] = {
data/libmawk-1.0.2/src/libmawk/rexp/rexp0.c:480:14:  [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 char hex_val['f' - 'A' + 1] = {
data/libmawk-1.0.2/src/libmawk/rexp/rexp1.c:114: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(mp->start + sz1, np->start, sz2 * STATESZ);
data/libmawk-1.0.2/src/libmawk/rexp/rexp1.c:132: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(p + 1, mp->start, szm * STATESZ);
data/libmawk-1.0.2/src/libmawk/rexp/rexp1.c:139: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(p + szm + 1, np->start, szn * STATESZ);
data/libmawk-1.0.2/src/libmawk/rexp/rexp1.c:158: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(p + 1, mp->start, sz * STATESZ);
data/libmawk-1.0.2/src/libmawk/rexp/rexp1.c:200: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(p + 1, mp->start, sz * STATESZ);
data/libmawk-1.0.2/src/libmawk/scan.c:119: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 path[PATH_MAX];
data/libmawk-1.0.2/src/libmawk/scan.c:121: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 rpath[PATH_MAX];
data/libmawk-1.0.2/src/libmawk/scan.c:149: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(path, start, len);
data/libmawk-1.0.2/src/libmawk/scan.c:162: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(path + len, fn, nlen);
data/libmawk-1.0.2/src/libmawk/scan.c:963: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(&MAWK->mawk_parser_stack[MAWK->pstack_used], &MAWK->ps, sizeof(mawk_parse_state_t));
data/libmawk-1.0.2/src/libmawk/scan.c:978: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(&MAWK->ps, &MAWK->mawk_parser_stack[MAWK->pstack_used], sizeof(mawk_parse_state_t));
data/libmawk-1.0.2/src/libmawk/scan.h:38:14:  [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.
extern const char mawk_scan_code[256];	/* read-only */
data/libmawk-1.0.2/src/libmawk/scancode.c:6:7:  [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.
const char mawk_scan_code[256] = {
data/libmawk-1.0.2/src/libmawk/split.c:75: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(sval->str, q, len);
data/libmawk-1.0.2/src/libmawk/split.c:83: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(sval->str, q, len);
data/libmawk-1.0.2/src/libmawk/split.c:91: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(sval->str, q, len);
data/libmawk-1.0.2/src/libmawk/split.c:118: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(tail->sval->str, q, len);
data/libmawk-1.0.2/src/libmawk/split.c:154: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(sval->str, s, len);
data/libmawk-1.0.2/src/libmawk/split.c:160: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(sval->str, s, len);
data/libmawk-1.0.2/src/libmawk/split.c:166: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(sval->str, s, len);
data/libmawk-1.0.2/src/libmawk/split.c:194: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(tail->sval->str, s, len);
data/libmawk-1.0.2/src/libmawk/str.c:21:14:  [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 char hex_val['f' - 'A' + 1] =	/* read-only */
data/libmawk-1.0.2/src/libmawk/types.h:75: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[2];
data/libmawk-1.0.2/src/libmawk/vio_orig.c:126: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).
	FILE *retval = fopen(name, mode);
data/libmawk-1.0.2/src/libmawk/vio_orig.c:197: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(name, O_RDONLY);
data/libmawk-1.0.2/src/libmawk/zfifo.c:54: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(fifo->stage_buf + fifo->stage_used, data, size);
data/libmawk-1.0.2/src/libmawk/zfifo.c:64: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(b->buf, fifo->stage_buf, fifo->stage_used);
data/libmawk-1.0.2/src/libmawk/zfifo.c:65: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(b->buf + fifo->stage_used, data, size);
data/libmawk-1.0.2/src/libmawk/zfifo.c:93: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(end, from, append_asize); \
data/libmawk-1.0.2/src/libmawk/zfifo.h:15: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[1];              /* start of the buffer */
data/libmawk-1.0.2/src/libmawk/zfifo.h:20: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 stage_buf[MAWK_ZFIFO_STAGE]; /* staging: buffer small writes to avoid very small zmalloc(); this also assumes read happens in bigger chunks so stage buffer is most likely read at once */
data/libmawk-1.0.2/src/libmawk/zmalloc.c:151: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(q, p, old_size < new_size ? old_size : new_size);
data/libmawk-1.0.2/src/libmawk/zmalloc.c:168: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(ret, s, l+1);
data/libmawk-1.0.2/src/libmawk/zmalloc_native.c:69: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(ret, s, l+1);
data/libmawk-1.0.2/src/libmawk/zmalloc_safemalloc.c:69: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(ret, s, l+1);
data/libmawk-1.0.2/scconfig/src/default/arg.c:97:57:  [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 (((a->arg[0] == '^') && (strncmp(a->arg+1, key, strlen(a->arg+1)) == 0)) || (strcmp(a->arg, key) == 0)) {
data/libmawk-1.0.2/scconfig/src/default/db.c:52: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).
	l1   = strlen(orig);
data/libmawk-1.0.2/scconfig/src/default/db.c:53: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).
	l2   = strlen(value);
data/libmawk-1.0.2/scconfig/src/default/db.c:79:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(first_level_dir, key, fld_len);
data/libmawk-1.0.2/scconfig/src/default/db.c:309: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).
	assert(strlen(key) + strlen(db_cwd) < sizeof(tmp)-1); \
data/libmawk-1.0.2/scconfig/src/default/db.c:309: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).
	assert(strlen(key) + strlen(db_cwd) < sizeof(tmp)-1); \
data/libmawk-1.0.2/scconfig/src/default/db.c:408: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).
		totallen = strlen(prefix);
data/libmawk-1.0.2/scconfig/src/default/db.c:418:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(value);
data/libmawk-1.0.2/scconfig/src/default/dep.c:55:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(name_);
data/libmawk-1.0.2/scconfig/src/default/dep.c:69: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).
				*missing = !strlen(val);
data/libmawk-1.0.2/scconfig/src/default/dep.c:79: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).
	sep = tmp + strlen(tmp) - 1;
data/libmawk-1.0.2/scconfig/src/default/dep.c:191:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(needtodo);
data/libmawk-1.0.2/scconfig/src/default/dep.c:211: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).
	int len = strlen(path);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:41:63:  [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 (((out == NULL) && (iscross)) || (strncmp(out, expected, strlen(expected)) == 0)) {
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:57:67:  [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 (((out == NULL) && (iscross)) || (strncmp(out, expected_bad, strlen(expected_bad)) != 0)) {
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:118:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(target);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:240: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).
			end = name + strlen(name);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:739:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	cflags_c = malloc(strlen(cflags) + 8 + strlen(fpic));
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:739:41:  [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).
	cflags_c = malloc(strlen(cflags) + 8 + strlen(fpic));
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:849:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(lib_filename) - strlen(libname_ext);
data/libmawk-1.0.2/scconfig/src/default/find_cc.c:849: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).
			len = strlen(lib_filename) - strlen(libname_ext);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:49: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).
	cmd = malloc(strlen(command) + strlen(src_esc) + strlen(dst_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:49: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).
	cmd = malloc(strlen(command) + strlen(src_esc) + strlen(dst_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:49:51:  [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(command) + strlen(src_esc) + strlen(dst_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.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).
	cmd = malloc(strlen(command) + strlen(src_esc) + strlen(dst_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:108: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).
	cmd = malloc(strlen(command) + strlen(src_esc) + strlen(dst_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:108:51:  [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(command) + strlen(src_esc) + strlen(dst_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:153: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).
	cmd = malloc(strlen(command) + strlen(dir_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:153: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).
	cmd = malloc(strlen(command) + strlen(dir_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:158: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).
	file = malloc(strlen(dir) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:173: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).
	cmd = malloc(strlen(dir) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:214: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).
	cmd = malloc(strlen(command) + strlen(src_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:214: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).
	cmd = malloc(strlen(command) + strlen(src_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:250: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).
	cmd = malloc(strlen(command) + strlen(src_esc) + strlen(dst_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:250: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).
	cmd = malloc(strlen(command) + strlen(src_esc) + strlen(dst_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:250:51:  [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(command) + strlen(src_esc) + strlen(dst_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:266:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		ret = strncmp(expected, result, strlen(expected)) == 0;
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:292: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).
	cmd = malloc(strlen(command) + strlen(obj_esc) + strlen(archive_esc) + 64);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:292: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).
	cmd = malloc(strlen(command) + strlen(obj_esc) + strlen(archive_esc) + 64);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:292:51:  [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(command) + strlen(obj_esc) + strlen(archive_esc) + 64);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:367:47:  [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 ((out != NULL) && (strncmp(out, test_str, strlen(test_str)) == 0)) {
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:395:51:  [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 ((out != NULL) && (strncmp(out, test_str_out, strlen(test_str_out)) == 0)) {
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:414: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).
	cmd = malloc(strlen(command) + strlen(tmp_esc) + 16);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:414: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).
	cmd = malloc(strlen(command) + strlen(tmp_esc) + 16);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:615:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(target);
data/libmawk-1.0.2/scconfig/src/default/find_fstools.c:664:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(target);
data/libmawk-1.0.2/scconfig/src/default/find_libs.c:35: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).
	cflags = malloc(strlen(dlc) + 64);
data/libmawk-1.0.2/scconfig/src/default/find_libs.c:36: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).
	ldflags = malloc(strlen(dlc)*2 + 256);
data/libmawk-1.0.2/scconfig/src/default/find_printf.c:39:30:  [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 (strncmp(out, expected, strlen(expected)) == 0) {
data/libmawk-1.0.2/scconfig/src/default/find_signal.c:103: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).
	pathend = path + strlen(prefix);
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:187: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).
			end = cwd + strlen(cwd) - 1;
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:233:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	c = tmp[strlen(tmp)-1];
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:250: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).
		t = malloc(strlen(tmp) * 2);
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:377: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).
	cmd = malloc(strlen(test) + strlen(shell) + 8);
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:377:30:  [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(test) + strlen(shell) + 8);
data/libmawk-1.0.2/scconfig/src/default/find_sys.c:432: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).
			res = strncmp(start, t[1], strlen(t[1]));
data/libmawk-1.0.2/scconfig/src/default/find_types.c:53:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		start = test_c + strlen(inc);
data/libmawk-1.0.2/scconfig/src/default/find_types.c:261: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).
	nodeend = node + strlen(node);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:51: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(s);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:52: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).
				output = malloc(len + strlen(input) + 4);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:177: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).
	out = malloc(strlen(in)*2+1);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:238: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).
	cmd = malloc(strlen(emu) + strlen(cmd_) + strlen(fn_out_esc) + strlen(temp_out_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:238: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).
	cmd = malloc(strlen(emu) + strlen(cmd_) + strlen(fn_out_esc) + strlen(temp_out_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:238:44:  [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(emu) + strlen(cmd_) + strlen(fn_out_esc) + strlen(temp_out_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:238:65:  [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(emu) + strlen(cmd_) + strlen(fn_out_esc) + strlen(temp_out_esc) + 32);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:283: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).
	cmd = malloc(strlen(emu) + strlen(shell) + strlen(cmd_esc) + 16);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:283: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).
	cmd = malloc(strlen(emu) + strlen(shell) + strlen(cmd_esc) + 16);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:283:45:  [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(emu) + strlen(shell) + strlen(cmd_esc) + 16);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:322: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).
	cmd = malloc(strlen(temp) + strlen(interpreter) + 4);
data/libmawk-1.0.2/scconfig/src/default/lib_compile.c:322:30:  [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(temp) + strlen(interpreter) + 4);
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:52: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(suffix) > sizeof(s) - strlen(tmp) - 32) {
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:52:35:  [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(suffix) > sizeof(s) - strlen(tmp) - 32) {
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:69: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).
			cmd = malloc(strlen(s_esc) + strlen(mkdir) + 16);
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:69: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).
			cmd = malloc(strlen(s_esc) + strlen(mkdir) + 16);
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:92: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(suffix) > sizeof(s) - strlen(tmp) - 32) {
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:92:35:  [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(suffix) > sizeof(s) - strlen(tmp) - 32) {
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:169: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 = malloc(strlen(path_esc) + 16);
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:193: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 = malloc(strlen(dir) + strlen(file) + 5);
data/libmawk-1.0.2/scconfig/src/default/lib_file.c:193:30:  [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 = malloc(strlen(dir) + strlen(file) + 5);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:47: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).
	cmd = malloc(strlen(dir) + strlen(rm) + 4);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:47: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).
	cmd = malloc(strlen(dir) + strlen(rm) + 4);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:66: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).
	fn = malloc(strlen(dir) + 32);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:84: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).
	cmd = malloc(strlen(dir) + 64);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:151:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(dir);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:219: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).
	cmd = malloc(strlen(dir) + strlen(list_cmd) + 32);
data/libmawk-1.0.2/scconfig/src/default/lib_filelist.c:219: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).
	cmd = malloc(strlen(dir) + strlen(list_cmd) + 32);
data/libmawk-1.0.2/scconfig/src/default/lib_pkg_config.c:33: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).
	assert(strlen(pkgname) < sizeof(cmd) - 64);
data/libmawk-1.0.2/scconfig/src/default/lib_pkg_config.c:85: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).
	assert(strlen(pkgname) < sizeof(cmd) - 64);
data/libmawk-1.0.2/scconfig/src/default/lib_srctree.c:36: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 keylen = strlen(key);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:26: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(includes);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:58: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).
			tmp = malloc(strlen(prefix) + 32);
data/libmawk-1.0.2/scconfig/src/default/lib_try.c:266: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 = malloc(strlen(prefix) + 32);
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:137:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(*arr);
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:164: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(arr[ndx]);
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:187: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).
	oseplen = strlen(osep);
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:195:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len += strlen(*s) + oseplen + 1;
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:226: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).
	long w1len = strlen(word1), w2len = strlen(word2), tlen;
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:226:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	long w1len = strlen(word1), w2len = strlen(word2), tlen;
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:242: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).
			tlen = strlen(s);
data/libmawk-1.0.2/scconfig/src/default/lib_uniqinc.c:264: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).
	tlen = strlen(includes);
data/libmawk-1.0.2/scconfig/src/default/log.c:123: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).
			if (line[strlen(line)-1] != '\n')
data/libmawk-1.0.2/scconfig/src/default/regex.c:596: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).
	end = bol + strlen(bol);
data/libmawk-1.0.2/scconfig/src/default/regex.c:599:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		l2 = strlen(sub);
data/libmawk-1.0.2/scconfig/src/default/str.c:36:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l   = strlen(str)+1;
data/libmawk-1.0.2/scconfig/src/default/str.c:54: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).
	end = str + strlen(str) - 1;
data/libmawk-1.0.2/scconfig/src/default/str.c:91: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).
	o = out = malloc(strlen(str)+1);
data/libmawk-1.0.2/scconfig/src/default/str.c:129: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).
		len[v] = strlen(str[v]);
data/libmawk-1.0.2/scconfig/src/default/str.c:137: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).
	sl = strlen(sep);
data/libmawk-1.0.2/scconfig/src/math/find_fpenan.c:245:76:  [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 (target_emu_fail(out) || (test[1] == NULL) || (strncmp(out, test[1], strlen(test[1])) == 0)) {
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:51:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(test_c_templ) + strlen(func) + strlen(values) + 1;
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:51: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).
	len = strlen(test_c_templ) + strlen(func) + strlen(values) + 1;
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:51:46:  [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(test_c_templ) + strlen(func) + strlen(values) + 1;
data/libmawk-1.0.2/scconfig/src/math/find_mfunc_cc.c:73: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).
	cmd = malloc(strlen(fn_esc) + 32);
data/libmawk-1.0.2/scconfig/src/parsgen/find_parsgen.c:54: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).
	cmd = malloc(strlen(temp_in_esc) + 16);
data/libmawk-1.0.2/scconfig/src/parsgen/find_parsgen.c:99: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).
	bisfile = malloc(strlen(temp_in) + 32);
data/libmawk-1.0.2/scconfig/src/parsgen/find_parsgen.c:109: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).
	cmd = malloc(strlen(temp_in_esc) + 16);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm.c:21:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l   = strlen(str)+1;
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm.c:702:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			l = strlen(i);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:296: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).
	slen = strlen(csub);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:298: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).
		buff = malloc(strlen(val)*(slen+3)+32); /* big enough for worst case, when every letter and $ and ^ are replaced with sub */
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:300: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).
		buff = malloc(strlen(val)+slen+32);  /* only one replacement will be done */
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:308: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).
		end = buff + strlen(buff);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:318: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).
	buff = realloc(buff, strlen(buff)+1);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:451:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = fgetc(fin);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:517: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).
		char *err = malloc(strlen(fn) + strlen(path) + strlen(mode) + 16);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:517:35:  [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 *err = malloc(strlen(fn) + strlen(path) + strlen(mode) + 16);
data/libmawk-1.0.2/scconfig/src/tmpasm/tmpasm_scconfig.c:517:50:  [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 *err = malloc(strlen(fn) + strlen(path) + strlen(mode) + 16);
data/libmawk-1.0.2/src/example_apps/90_fn_validation/app.c:35:41:  [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 (sizeof(orig_name) > buff_size - strlen(wrapper) - 2)
data/libmawk-1.0.2/src/libmawk/array_environ.c:217: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).
		sil = strlen(si);
data/libmawk-1.0.2/src/libmawk/array_environ.c:218: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).
		svl = strlen(sv);
data/libmawk-1.0.2/src/libmawk/da_bin.c:63: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).
	return strlen(s);
data/libmawk-1.0.2/src/libmawk/da_bin.c:638:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(name);
data/libmawk-1.0.2/src/libmawk/da_bin.c:659:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(fp->fbp->name);
data/libmawk-1.0.2/src/libmawk/da_bin.c:680:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static int bin_load_func(mawk_state_t *MAWK, void *fd, int (*read)(void *fd, void *buff, size_t len), FBLOCK *fbp)
data/libmawk-1.0.2/src/libmawk/da_bin.c:683:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(fd, &len, sizeof(da_word));
data/libmawk-1.0.2/src/libmawk/da_bin.c:689:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, fbp->code, len  * sizeof(INST));
data/libmawk-1.0.2/src/libmawk/da_bin.c:694:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static int bin_load_sect(mawk_state_t *MAWK, void *fd, int (*read)(void *fd, void *buff, size_t len), int scope)
data/libmawk-1.0.2/src/libmawk/da_bin.c:698:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(fd, &len, sizeof(da_word));
data/libmawk-1.0.2/src/libmawk/da_bin.c:704:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, MAWK->active_code.base, len * sizeof(INST));
data/libmawk-1.0.2/src/libmawk/da_bin.c:729:61:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int mawk_load_code_bin_(mawk_state_t *MAWK, void *fd, int (*read)(void *fd, void *buff, size_t len))
data/libmawk-1.0.2/src/libmawk/da_bin.c:743:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(fd, &h, sizeof(h));
data/libmawk-1.0.2/src/libmawk/da_bin.c:783:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(fd, &len, sizeof(da_word));
data/libmawk-1.0.2/src/libmawk/da_bin.c:789:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(fd, l.nums, len);
data/libmawk-1.0.2/src/libmawk/da_bin.c:790:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(fd, &num_func, sizeof(da_word));
data/libmawk-1.0.2/src/libmawk/da_bin.c:793:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(fd, &len, sizeof(da_word));
data/libmawk-1.0.2/src/libmawk/da_bin.c:802:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, &len, sizeof(da_word));
data/libmawk-1.0.2/src/libmawk/da_bin.c:811:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			read(fd, (char *)l.strs[n], len);
data/libmawk-1.0.2/src/libmawk/da_bin.c:821:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(fd, &len, sizeof(da_word));
data/libmawk-1.0.2/src/libmawk/da_bin.c:833:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, &type, 2);
data/libmawk-1.0.2/src/libmawk/da_bin.c:834:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, &stype, 1);
data/libmawk-1.0.2/src/libmawk/da_bin.c:837:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, &len, sizeof(da_word));
data/libmawk-1.0.2/src/libmawk/da_bin.c:841:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, name, len);
data/libmawk-1.0.2/src/libmawk/da_bin.c:873:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, &len, sizeof(da_word));
data/libmawk-1.0.2/src/libmawk/da_bin.c:884:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (bin_load_sect(MAWK, fd, read, SCOPE_BEGIN))
data/libmawk-1.0.2/src/libmawk/da_bin.c:886:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (bin_load_sect(MAWK, fd, read, SCOPE_END))
data/libmawk-1.0.2/src/libmawk/da_bin.c:888:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (bin_load_sect(MAWK, fd, read, SCOPE_MAIN))
data/libmawk-1.0.2/src/libmawk/da_bin.c:897:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, &len, sizeof(da_word));
data/libmawk-1.0.2/src/libmawk/da_bin.c:902:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, name, len);
data/libmawk-1.0.2/src/libmawk/da_bin.c:907:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, &fbp->nargs, 2);
data/libmawk-1.0.2/src/libmawk/da_bin.c:911:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			read(fd, fbp->typev, fbp->nargs);
data/libmawk-1.0.2/src/libmawk/da_bin.c:916:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		bin_load_func(MAWK, fd, read, fbp);
data/libmawk-1.0.2/src/libmawk/da_bin.h:7:61:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int mawk_load_code_bin_(mawk_state_t *MAWK, void *fd, int (*read)(void *fd, void *buff, size_t len));
data/libmawk-1.0.2/src/libmawk/da_bin_helper.c:20:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return read(*(int *)fd, buff, size);
data/libmawk-1.0.2/src/libmawk/fin_exec.c:184:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(p) + 1;
data/libmawk-1.0.2/src/libmawk/fin_exec.c:279: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).
				*len_p = strlen(start);
data/libmawk-1.0.2/src/libmawk/fin_exec.c:287: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).
				*len_p = r = strlen(fin->next);
data/libmawk-1.0.2/src/libmawk/hash.c:68: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).
				p->symtab.name = strcpy(mawk_zmalloc(MAWK, strlen(s) + 1), s);
data/libmawk-1.0.2/src/libmawk/libmawk.c:200:45:  [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 libmawk_append_ninput(m, input_str, strlen(input_str));
data/libmawk-1.0.2/src/libmawk/libmawk.c:447:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(buff, ((mawk_string_t *)(c->ptr))->str, size);
data/libmawk-1.0.2/src/libmawk/memory.c:56: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).
		mawk_string_t *sval = xnew_STRING(MAWK, strlen(s));
data/libmawk-1.0.2/src/libmawk/memory.c:166: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(s);
data/libmawk-1.0.2/src/libmawk/memory.c:180: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(s);
data/libmawk-1.0.2/src/libmawk/missing.c:10: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).
		return s + strlen(s);
data/libmawk-1.0.2/src/libmawk/missing.c:25: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).
		return s + strlen(s);
data/libmawk-1.0.2/src/libmawk/nstd.h:37:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
size_t strlen(const char *);
data/libmawk-1.0.2/src/libmawk/parse.c:1350:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#   define yystrlen strlen
data/libmawk-1.0.2/src/libmawk/regression/zfifo/zfifo_test.c:40:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(args)-1;
data/libmawk-1.0.2/src/libmawk/rexp/rexp0.c:53: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).
	MAWK->RElen = strlen(re) + 1;
data/libmawk-1.0.2/src/libmawk/rexp/rexp2.c:157: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).
			str_end = s + strlen(s);
data/libmawk-1.0.2/src/libmawk/rexp/rexp2.c:195: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).
			str_end = s + strlen(s);
data/libmawk-1.0.2/src/libmawk/rexp/rexp2.c:230: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).
			str_end = s + strlen(s);
data/libmawk-1.0.2/src/libmawk/rexp/rexp2.c:259:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s += strlen(s);
data/libmawk-1.0.2/src/libmawk/rexp/rexp3.c:131: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).
			str_end = s + strlen(s);
data/libmawk-1.0.2/src/libmawk/rexp/rexp3.c:193: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).
			str_end = s + strlen(s);
data/libmawk-1.0.2/src/libmawk/rexp/rexp3.c:252: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).
			str_end = s + strlen(s);
data/libmawk-1.0.2/src/libmawk/rexp/rexp3.c:295: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).
		s = str_end ? str_end : (str_end = s + strlen(s));
data/libmawk-1.0.2/src/libmawk/rexp/rexp3.c:351: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).
			s = str_end ? str_end : (str_end = s + strlen(s));
data/libmawk-1.0.2/src/libmawk/scan.c:70:52:  [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).
		MAWK->ps.program_string = mawk_new_STRING0(MAWK, strlen(cmdline_program) + 1);
data/libmawk-1.0.2/src/libmawk/scan.c:136:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		nlen = strlen(fn);
data/libmawk-1.0.2/src/libmawk/scan.c:144: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(start);
data/libmawk-1.0.2/src/libmawk/vio_fifo.c:46: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).
	int len = strlen(str);
data/libmawk-1.0.2/src/libmawk/vio_orig.c:391:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read(vf->fd, dst, size);
data/libmawk-1.0.2/src/libmawk/zmalloc.c:166: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(s);
data/libmawk-1.0.2/src/libmawk/zmalloc_native.c:67: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(s);
data/libmawk-1.0.2/src/libmawk/zmalloc_safemalloc.c:67: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(s);

ANALYSIS SUMMARY:

Hits = 663
Lines analyzed = 40219 in approximately 1.20 seconds (33390 lines/second)
Physical Source Lines of Code (SLOC) = 29576
Hits@level = [0] 266 [1] 195 [2] 284 [3]   2 [4] 179 [5]   3
Hits@level+ = [0+] 929 [1+] 663 [2+] 468 [3+] 184 [4+] 182 [5+]   3
Hits/KSLOC@level+ = [0+] 31.4106 [1+] 22.4168 [2+] 15.8236 [3+] 6.22126 [4+] 6.15364 [5+] 0.101434
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.