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/vigor-0.016/common/util.h
Examining data/vigor-0.016/common/api.c
Examining data/vigor-0.016/common/args.h
Examining data/vigor-0.016/common/common.h
Examining data/vigor-0.016/common/cut.c
Examining data/vigor-0.016/common/cut.h
Examining data/vigor-0.016/common/delete.c
Examining data/vigor-0.016/common/exf.c
Examining data/vigor-0.016/common/exf.h
Examining data/vigor-0.016/common/gs.h
Examining data/vigor-0.016/common/key.c
Examining data/vigor-0.016/common/key.h
Examining data/vigor-0.016/common/line.c
Examining data/vigor-0.016/common/log.c
Examining data/vigor-0.016/common/log.h
Examining data/vigor-0.016/common/main.c
Examining data/vigor-0.016/common/mark.c
Examining data/vigor-0.016/common/mark.h
Examining data/vigor-0.016/common/mem.h
Examining data/vigor-0.016/common/msg.c
Examining data/vigor-0.016/common/msg.h
Examining data/vigor-0.016/common/options.c
Examining data/vigor-0.016/common/options.h
Examining data/vigor-0.016/common/options_f.c
Examining data/vigor-0.016/common/put.c
Examining data/vigor-0.016/common/recover.c
Examining data/vigor-0.016/common/screen.c
Examining data/vigor-0.016/common/screen.h
Examining data/vigor-0.016/common/search.c
Examining data/vigor-0.016/common/util.c
Examining data/vigor-0.016/common/seq.c
Examining data/vigor-0.016/common/seq.h
Examining data/vigor-0.016/include/sys/queue.h
Examining data/vigor-0.016/include/bitstring.h
Examining data/vigor-0.016/include/cl_extern.h
Examining data/vigor-0.016/include/com_extern.h
Examining data/vigor-0.016/include/ex_def.h
Examining data/vigor-0.016/include/ex_extern.h
Examining data/vigor-0.016/include/options_def.h
Examining data/vigor-0.016/include/perl_extern.h
Examining data/vigor-0.016/include/tcl_extern.h
Examining data/vigor-0.016/include/tk_extern.h
Examining data/vigor-0.016/include/vi_extern.h
Examining data/vigor-0.016/include/ip_extern.h
Examining data/vigor-0.016/include/vigor_extern.h
Examining data/vigor-0.016/catalog/dump.c
Examining data/vigor-0.016/db/include/db.h
Examining data/vigor-0.016/db/include/mpool.h
Examining data/vigor-0.016/db/recno/extern.h
Examining data/vigor-0.016/db/recno/rec_delete.c
Examining data/vigor-0.016/db/recno/rec_get.c
Examining data/vigor-0.016/db/recno/rec_open.c
Examining data/vigor-0.016/db/recno/rec_put.c
Examining data/vigor-0.016/db/recno/rec_search.c
Examining data/vigor-0.016/db/recno/rec_seq.c
Examining data/vigor-0.016/db/recno/rec_utils.c
Examining data/vigor-0.016/db/recno/recno.h
Examining data/vigor-0.016/db/recno/rec_close.c
Examining data/vigor-0.016/db/mpool/mpool.c
Examining data/vigor-0.016/db/btree/extern.h
Examining data/vigor-0.016/db/btree/bt_conv.c
Examining data/vigor-0.016/db/btree/bt_debug.c
Examining data/vigor-0.016/db/btree/bt_delete.c
Examining data/vigor-0.016/db/btree/btree.h
Examining data/vigor-0.016/db/btree/bt_get.c
Examining data/vigor-0.016/db/btree/bt_overflow.c
Examining data/vigor-0.016/db/btree/bt_page.c
Examining data/vigor-0.016/db/btree/bt_put.c
Examining data/vigor-0.016/db/btree/bt_search.c
Examining data/vigor-0.016/db/btree/bt_seq.c
Examining data/vigor-0.016/db/btree/bt_split.c
Examining data/vigor-0.016/db/btree/bt_utils.c
Examining data/vigor-0.016/db/btree/bt_close.c
Examining data/vigor-0.016/db/btree/bt_open.c
Examining data/vigor-0.016/db/db/db.c
Examining data/vigor-0.016/vigor/a2c.c
Examining data/vigor-0.016/vigor/vigor.c
Examining data/vigor-0.016/cl/cl.h
Examining data/vigor-0.016/cl/cl_bsd.c
Examining data/vigor-0.016/cl/cl_funcs.c
Examining data/vigor-0.016/cl/cl_main.c
Examining data/vigor-0.016/cl/cl_read.c
Examining data/vigor-0.016/cl/cl_screen.c
Examining data/vigor-0.016/cl/cl_term.c
Examining data/vigor-0.016/ip_cl/ip_cl.c
Examining data/vigor-0.016/vi/v_at.c
Examining data/vigor-0.016/vi/v_ch.c
Examining data/vigor-0.016/vi/v_cmd.c
Examining data/vigor-0.016/vi/v_yank.c
Examining data/vigor-0.016/vi/v_ex.c
Examining data/vigor-0.016/vi/v_increment.c
Examining data/vigor-0.016/vi/v_init.c
Examining data/vigor-0.016/vi/v_itxt.c
Examining data/vigor-0.016/vi/v_left.c
Examining data/vigor-0.016/vi/v_mark.c
Examining data/vigor-0.016/vi/v_match.c
Examining data/vigor-0.016/vi/v_paragraph.c
Examining data/vigor-0.016/vi/v_put.c
Examining data/vigor-0.016/vi/v_redraw.c
Examining data/vigor-0.016/vi/v_replace.c
Examining data/vigor-0.016/vi/v_right.c
Examining data/vigor-0.016/vi/v_screen.c
Examining data/vigor-0.016/vi/v_scroll.c
Examining data/vigor-0.016/vi/v_search.c
Examining data/vigor-0.016/vi/v_section.c
Examining data/vigor-0.016/vi/v_sentence.c
Examining data/vigor-0.016/vi/v_status.c
Examining data/vigor-0.016/vi/v_txt.c
Examining data/vigor-0.016/vi/v_z.c
Examining data/vigor-0.016/vi/v_ulcase.c
Examining data/vigor-0.016/vi/v_undo.c
Examining data/vigor-0.016/vi/v_util.c
Examining data/vigor-0.016/vi/v_word.c
Examining data/vigor-0.016/vi/v_xchar.c
Examining data/vigor-0.016/vi/v_delete.c
Examining data/vigor-0.016/vi/v_zexit.c
Examining data/vigor-0.016/vi/vi.c
Examining data/vigor-0.016/vi/vi.h
Examining data/vigor-0.016/vi/vs_line.c
Examining data/vigor-0.016/vi/vs_msg.c
Examining data/vigor-0.016/vi/vs_refresh.c
Examining data/vigor-0.016/vi/vs_relative.c
Examining data/vigor-0.016/vi/vs_smap.c
Examining data/vigor-0.016/vi/vs_split.c
Examining data/vigor-0.016/vi/getc.c
Examining data/vigor-0.016/tk/tk_read.c
Examining data/vigor-0.016/tk/tk_screen.c
Examining data/vigor-0.016/tk/tk_term.c
Examining data/vigor-0.016/tk/tk_util.c
Examining data/vigor-0.016/tk/tki.h
Examining data/vigor-0.016/tk/tk_funcs.c
Examining data/vigor-0.016/tk/tk_main.c
Examining data/vigor-0.016/tcl_api/tcl.c
Examining data/vigor-0.016/curses/cur_hash.c
Examining data/vigor-0.016/curses/addbytes.c
Examining data/vigor-0.016/curses/curses.h
Examining data/vigor-0.016/curses/box.c
Examining data/vigor-0.016/curses/clear.c
Examining data/vigor-0.016/curses/clrtobot.c
Examining data/vigor-0.016/curses/delch.c
Examining data/vigor-0.016/curses/waddnstr.c
Examining data/vigor-0.016/curses/clrtoeol.c
Examining data/vigor-0.016/curses/cr_put.c
Examining data/vigor-0.016/curses/curses.c
Examining data/vigor-0.016/curses/deleteln.c
Examining data/vigor-0.016/curses/erase.c
Examining data/vigor-0.016/curses/delwin.c
Examining data/vigor-0.016/curses/fullname.c
Examining data/vigor-0.016/curses/getch.c
Examining data/vigor-0.016/curses/getstr.c
Examining data/vigor-0.016/curses/id_subwins.c
Examining data/vigor-0.016/curses/idlok.c
Examining data/vigor-0.016/curses/initscr.c
Examining data/vigor-0.016/curses/insch.c
Examining data/vigor-0.016/curses/insertln.c
Examining data/vigor-0.016/curses/move.c
Examining data/vigor-0.016/curses/longname.c
Examining data/vigor-0.016/curses/mvwin.c
Examining data/vigor-0.016/curses/newwin.c
Examining data/vigor-0.016/curses/overlay.c
Examining data/vigor-0.016/curses/overwrite.c
Examining data/vigor-0.016/curses/ctrace.c
Examining data/vigor-0.016/curses/putchar.c
Examining data/vigor-0.016/curses/refresh.c
Examining data/vigor-0.016/curses/scroll.c
Examining data/vigor-0.016/curses/setterm.c
Examining data/vigor-0.016/curses/standout.c
Examining data/vigor-0.016/curses/unctrl.c
Examining data/vigor-0.016/curses/tty.c
Examining data/vigor-0.016/curses/toucholap.c
Examining data/vigor-0.016/curses/touchwin.c
Examining data/vigor-0.016/curses/tscroll.c
Examining data/vigor-0.016/curses/tstp.c
Examining data/vigor-0.016/curses/addch.c
Examining data/vigor-0.016/build/acconfig.h
Examining data/vigor-0.016/build/vigor.tcl.h
Examining data/vigor-0.016/clib/gethostname.c
Examining data/vigor-0.016/clib/snprintf.c
Examining data/vigor-0.016/clib/mmap.c
Examining data/vigor-0.016/clib/strtoul.c
Examining data/vigor-0.016/clib/strerror.c
Examining data/vigor-0.016/clib/memset.c
Examining data/vigor-0.016/clib/memmove.c
Examining data/vigor-0.016/clib/env.c
Examining data/vigor-0.016/clib/strdup.c
Examining data/vigor-0.016/clib/strpbrk.c
Examining data/vigor-0.016/clib/mkstemp.c
Examining data/vigor-0.016/clib/vsnprintf.c
Examining data/vigor-0.016/clib/bsearch.c
Examining data/vigor-0.016/clib/memchr.c
Examining data/vigor-0.016/clib/strtol.c
Examining data/vigor-0.016/clib/getopt.c
Examining data/vigor-0.016/clib/strsep.c
Examining data/vigor-0.016/regex/utils.h
Examining data/vigor-0.016/regex/regex.h
Examining data/vigor-0.016/regex/cclass.h
Examining data/vigor-0.016/regex/cname.h
Examining data/vigor-0.016/regex/engine.c
Examining data/vigor-0.016/regex/regcomp.c
Examining data/vigor-0.016/regex/regerror.c
Examining data/vigor-0.016/regex/regex2.h
Examining data/vigor-0.016/regex/regexec.c
Examining data/vigor-0.016/regex/regfree.c
Examining data/vigor-0.016/ex/ex.h
Examining data/vigor-0.016/ex/ex_abbrev.c
Examining data/vigor-0.016/ex/ex_append.c
Examining data/vigor-0.016/ex/ex_args.c
Examining data/vigor-0.016/ex/ex_argv.c
Examining data/vigor-0.016/ex/ex_at.c
Examining data/vigor-0.016/ex/ex_bang.c
Examining data/vigor-0.016/ex/ex_cd.c
Examining data/vigor-0.016/ex/ex_cmd.c
Examining data/vigor-0.016/ex/ex_cscope.c
Examining data/vigor-0.016/ex/ex_delete.c
Examining data/vigor-0.016/ex/ex_edit.c
Examining data/vigor-0.016/ex/ex_display.c
Examining data/vigor-0.016/ex/ex_z.c
Examining data/vigor-0.016/ex/ex_filter.c
Examining data/vigor-0.016/ex/ex_global.c
Examining data/vigor-0.016/ex/ex_init.c
Examining data/vigor-0.016/ex/ex_equal.c
Examining data/vigor-0.016/ex/ex_file.c
Examining data/vigor-0.016/ex/ex_join.c
Examining data/vigor-0.016/ex/ex_map.c
Examining data/vigor-0.016/ex/ex_mark.c
Examining data/vigor-0.016/ex/ex_mkexrc.c
Examining data/vigor-0.016/ex/ex_move.c
Examining data/vigor-0.016/ex/ex_preserve.c
Examining data/vigor-0.016/ex/ex_open.c
Examining data/vigor-0.016/ex/ex_perl.c
Examining data/vigor-0.016/ex/ex_quit.c
Examining data/vigor-0.016/ex/ex_read.c
Examining data/vigor-0.016/ex/ex_print.c
Examining data/vigor-0.016/ex/ex_put.c
Examining data/vigor-0.016/ex/ex_shell.c
Examining data/vigor-0.016/ex/ex_screen.c
Examining data/vigor-0.016/ex/ex_set.c
Examining data/vigor-0.016/ex/ex_shift.c
Examining data/vigor-0.016/ex/ex_source.c
Examining data/vigor-0.016/ex/ex_stop.c
Examining data/vigor-0.016/ex/ex_txt.c
Examining data/vigor-0.016/ex/ex_undo.c
Examining data/vigor-0.016/ex/ex_usage.c
Examining data/vigor-0.016/ex/ex_subst.c
Examining data/vigor-0.016/ex/ex_tag.c
Examining data/vigor-0.016/ex/ex_version.c
Examining data/vigor-0.016/ex/ex_util.c
Examining data/vigor-0.016/ex/ex_yank.c
Examining data/vigor-0.016/ex/script.h
Examining data/vigor-0.016/ex/version.h
Examining data/vigor-0.016/ex/tag.h
Examining data/vigor-0.016/ex/ex_visual.c
Examining data/vigor-0.016/ex/ex_write.c
Examining data/vigor-0.016/ex/ex.c
Examining data/vigor-0.016/ex/ex_tcl.c
Examining data/vigor-0.016/ex/ex_script.c
Examining data/vigor-0.016/perl_api/perlsfio.c
Examining data/vigor-0.016/ip/ip.h
Examining data/vigor-0.016/ip/ip_funcs.c
Examining data/vigor-0.016/ip/ip_main.c
Examining data/vigor-0.016/ip/ip_read.c
Examining data/vigor-0.016/ip/ip_term.c
Examining data/vigor-0.016/ip/ip_screen.c

FINAL RESULTS:

data/vigor-0.016/cl/cl_term.c:308:7:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		if (chmod(tty, sb.st_mode | S_IWGRP) < 0) {
data/vigor-0.016/cl/cl_term.c:315:7:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		if (chmod(tty, sb.st_mode & ~S_IWGRP) < 0) {
data/vigor-0.016/common/recover.c:153:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		(void)chmod(dp, S_IRWXU | S_IRWXG | S_IRWXO | S_ISVTX);
data/vigor-0.016/common/recover.c:230:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	(void)chmod(ep->rcv_path, S_IRUSR | S_IWUSR);
data/vigor-0.016/common/recover.c:847:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		(void)chmod(path, perms);
data/vigor-0.016/ex/ex_script.c:772:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
				(void) chown(line, getuid(), ttygid);
data/vigor-0.016/ex/ex_script.c:773:12:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
				(void) chmod(line, S_IRUSR|S_IWUSR|S_IWGRP);
data/vigor-0.016/cl/cl_bsd.c:318:57:  [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).
	return ((p = tgetstr(name, &p)) == NULL ? (char *)-1 : strcpy(sbuf, p));
data/vigor-0.016/cl/cl_funcs.c:529:10:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			(void)printf(XTERM_RENAME, name);
data/vigor-0.016/cl/cl_funcs.c:535:10:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			(void)printf(XTERM_RENAME, ttype);
data/vigor-0.016/cl/cl_main.c:168:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		(void)printf(XTERM_RENAME, ttype);
data/vigor-0.016/clib/mkstemp.c:63:1:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
mktemp(path)
data/vigor-0.016/clib/snprintf.c:20:1:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
snprintf(char *str, size_t n, const char *fmt, ...)
data/vigor-0.016/clib/snprintf.c:22:1:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
snprintf(str, n, fmt, va_alist)
data/vigor-0.016/clib/snprintf.c:37:8:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	(void)vsprintf(str, fmt, ap);
data/vigor-0.016/clib/snprintf.c:41:9:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	rval = vsprintf(str, fmt, ap);
data/vigor-0.016/clib/vsnprintf.c:19:1:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
vsnprintf(str, n, fmt, ap)
data/vigor-0.016/clib/vsnprintf.c:26:8:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	(void)vsprintf(str, fmt, ap);
data/vigor-0.016/clib/vsnprintf.c:29:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	return (vsprintf(str, fmt, ap));
data/vigor-0.016/common/api.c:439:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		(void)sprintf(*value,
data/vigor-0.016/common/api.c:455:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			(void)sprintf(*value, "%s", O_STR(sp, offset));
data/vigor-0.016/common/exf.c:396:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	    access(frp->name, W_OK)))
data/vigor-0.016/common/exf.c:942:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		len = snprintf(buf, sizeof(buf), msgstr, p, nlno, nch);
data/vigor-0.016/common/exf.c:948:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		len = snprintf(buf, sizeof(buf), msgstr, p, nlno, nch);
data/vigor-0.016/common/exf.c:1092:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
			if (sscanf(dp->d_name, p, &num) == 1 && num > maxnum)
data/vigor-0.016/common/main.c:351:10:  [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).
			(void)strcpy(*argv, sp->frp->name);
data/vigor-0.016/common/main.c:561:11:  [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).
				(void)strcpy(argv[0] + 2, p + 1);
data/vigor-0.016/common/msg.c:281:8:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	len = vsnprintf(mp, REM, fmt, ap);
data/vigor-0.016/common/msg.c:545:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			(void)sprintf(p,
data/vigor-0.016/common/msg.c:620:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			(void)sprintf(p, t, lno, last, (lno * 100) / last);
data/vigor-0.016/common/msg.c:625:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		(void)sprintf(p, t, lno);
data/vigor-0.016/common/options.c:304:9:  [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).
		(void)strcpy(b1, str);					\
data/vigor-0.016/common/recover.c:876:9:  [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.
		(void)system(buf);
data/vigor-0.016/common/util.c:225: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.
	(void)vfprintf(tfp, fmt, ap);
data/vigor-0.016/curses/ctrace.c:72: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.
	(void)vfprintf(tracefp, fmt, ap);
data/vigor-0.016/ex/ex_argv.c:692:3:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execl(sh_path, sh, "-c", bp, NULL);
data/vigor-0.016/ex/ex_cscope.c:405:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		(void)snprintf(cmd, sizeof(cmd),
data/vigor-0.016/ex/ex_cscope.c:407:9:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		(void)execl(_PATH_BSHELL, "sh", "-c", cmd, NULL);
data/vigor-0.016/ex/ex_cscope.c:677:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		if (sscanf(buf, CSCOPE_NLINES_FMT, &nlines, dummy) == 2)
data/vigor-0.016/ex/ex_filter.c:144:3:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execl(O_STR(sp, O_SHELL), name, "-c", cmd, NULL);
data/vigor-0.016/ex/ex_print.c:294:22:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	exp->obp_len += n = vsnprintf(exp->obp + exp->obp_len,
data/vigor-0.016/ex/ex_script.c:186:3:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execl(sh_path, sh, "-i", NULL);
data/vigor-0.016/ex/ex_script.c:678: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(pts_name, _PATH_SYSV_PTY);
data/vigor-0.016/ex/ex_script.c:702: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(pts_name, ptr);
data/vigor-0.016/ex/ex_script.c:781: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).
						strcpy(name, line);
data/vigor-0.016/ex/ex_shell.c:129:3:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execl(O_STR(sp, O_SHELL), name, "-c", cmd, NULL);
data/vigor-0.016/include/com_extern.h:39:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
int snprintf __P((char *, size_t, const char *, ...));
data/vigor-0.016/include/com_extern.h:60:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
int vsnprintf __P((char *, size_t, const char *, ...));
data/vigor-0.016/ip_cl/ip_cl.c:103:3:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execv(VI, argv);
data/vigor-0.016/ip_cl/ip_cl.c:456:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	(void)sprintf(iarg, "-I%d%s%d", i_fd, ".", o_fd);
data/vigor-0.016/ip_cl/ip_cl.c:730: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.
	(void)vfprintf(tfp, fmt, ap);
data/vigor-0.016/regex/regcomp.c:1263:9:  [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).
	(void) strcpy(cs->multis + oldend - 1, cp);
data/vigor-0.016/regex/regerror.c:137:12:  [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).
				(void) strcpy(convbuf, r->name);
data/vigor-0.016/regex/regerror.c:149:11:  [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).
			(void) strcpy(errbuf, s);
data/vigor-0.016/tcl_api/tcl.c:701: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(setting+5, argv[2]);
data/vigor-0.016/vi/v_increment.c:206:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		nlen = snprintf(nbuf, sizeof(nbuf), ntype, lval);
data/vigor-0.016/vi/v_increment.c:228:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		nlen = snprintf(nbuf, sizeof(nbuf), ntype, wlen, ulval);
data/vigor-0.016/vi/vs_line.c:141:12:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				nlen = snprintf(cbuf,
data/vigor-0.016/vi/vs_line.c:509:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		len = snprintf(nbuf, sizeof(nbuf), O_NUMBER_FMT, smp->lno);
data/vigor-0.016/vigor/vigor.c:188:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "vigor_wizard %s %s %s %s %i ", wizname,
data/vigor-0.016/vigor/vigor.c:218:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "vigor_maybe_wizard %i %s %s %s %s %i ", prob, wizname,
data/vigor-0.016/cl/cl_main.c:123:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((ttype = getenv("TERM")) == NULL)
data/vigor-0.016/cl/cl_screen.c:224:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	o_term = getenv("TERM");
data/vigor-0.016/cl/cl_screen.c:226:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	o_lines = getenv("LINES");
data/vigor-0.016/cl/cl_screen.c:228:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	o_cols = getenv("COLUMNS");
data/vigor-0.016/cl/cl_term.c:409:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if ((p = getenv("TERM")) == NULL)
data/vigor-0.016/cl/cl_term.c:436:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((p = getenv("LINES")) != NULL)
data/vigor-0.016/cl/cl_term.c:438:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((p = getenv("COLUMNS")) != NULL)
data/vigor-0.016/clib/getopt.c:63:1:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt(nargc, nargv, ostr)
data/vigor-0.016/common/main.c:117:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((ch = getopt(argc, argv, "c:D:eFlRrSsT:t:vw:")) != EOF)
data/vigor-0.016/common/main.c:119:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((ch = getopt(argc, argv, "c:eFlRrSst:vw:")) != EOF)
data/vigor-0.016/common/msg.c:700:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	    ((t = getenv("LC_MESSAGES")) != NULL && t[0] != '\0' ||
data/vigor-0.016/common/msg.c:701:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	    (t = getenv("LANG")) != NULL && t[0] != '\0')) {
data/vigor-0.016/common/options.c:331:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	    "cdpath=%s", (s = getenv("CDPATH")) == NULL ? ":" : s);
data/vigor-0.016/common/options.c:342:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	    "directory=%s", (s = getenv("TMPDIR")) == NULL ? _PATH_TMP : s);
data/vigor-0.016/common/options.c:357:23:  [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.
	    "shell=%s", (s = getenv("SHELL")) == NULL ? _PATH_BSHELL : s);
data/vigor-0.016/curses/initscr.c:65:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (My_term || (sp = getenv("TERM")) == NULL)
data/vigor-0.016/curses/setterm.c:122:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((p = getenv("LINES")) != NULL)
data/vigor-0.016/curses/setterm.c:124:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((p = getenv("COLUMNS")) != NULL)
data/vigor-0.016/db/btree/bt_open.c:398:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	envtmp = getenv("TMPDIR");
data/vigor-0.016/ex/ex_cd.c:63:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if ((dir = getenv("HOME")) == NULL) {
data/vigor-0.016/ex/ex_cscope.c:175:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((cscopes = getenv("CSCOPE_DIRS")) == NULL)
data/vigor-0.016/ex/ex_init.c:189:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((p = getenv("NEXINIT")) != NULL) {
data/vigor-0.016/ex/ex_init.c:192:18:  [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.
	} else if ((p = getenv("EXINIT")) != NULL) {
data/vigor-0.016/ex/ex_init.c:195:18:  [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.
	} else if ((p = getenv("HOME")) != NULL && *p) {
data/vigor-0.016/include/com_extern.h:15:5:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
int getopt __P((int, char * const *, const char *)); 
data/vigor-0.016/ip_cl/ip_cl.c:66:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((ch = getopt(argc, argv, "D")) != EOF)
data/vigor-0.016/catalog/dump.c:106: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).
		if ((fp = fopen(*argv, "r")) == NULL) {
data/vigor-0.016/cl/cl_bsd.c:173:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[2048];
data/vigor-0.016/cl/cl_bsd.c:291:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char sbuf[256];
data/vigor-0.016/cl/cl_bsd.c:294: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 *p, keyname[3];
data/vigor-0.016/cl/cl_bsd.c:300:30:  [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).
		    name[1] == 'f' && (n = atoi(name + 2)) <= 36) {
data/vigor-0.016/cl/cl_bsd.c:306:30:  [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).
		    name[1] == 'f' && (n = atoi(name + 2)) <= 63) {
data/vigor-0.016/cl/cl_main.c:249:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	} else if ((fd = open(_PATH_TTY, O_RDONLY, 0)) != -1) {
data/vigor-0.016/cl/cl_read.c:330: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 b1[1024];
data/vigor-0.016/cl/cl_screen.c:574: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[40];
data/vigor-0.016/cl/cl_term.c:207: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 *p, keyname[64];
data/vigor-0.016/cl/cl_term.c:209:51:  [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).
	(void)snprintf(keyname, sizeof(keyname), "kf%d", atoi(from + 1));
data/vigor-0.016/cl/cl_term.c:219:42:  [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).
	    sizeof(keyname), "function key %d", atoi(from + 1));
data/vigor-0.016/clib/memmove.c:68:1:  [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(dst0, src0, length)
data/vigor-0.016/clib/memmove.c:75:1:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
bcopy(src0, dst0, length)
data/vigor-0.016/clib/mkstemp.c:54:1:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
mkstemp(path)
data/vigor-0.016/clib/mkstemp.c:109:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			    open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0)
data/vigor-0.016/clib/strdup.c:61:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(copy, str, len);
data/vigor-0.016/clib/strerror.c:54:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char ebuf[40] = UPREFIX;		/* 64-bit number + slop */
data/vigor-0.016/clib/strerror.c:57: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[40];
data/vigor-0.016/common/api.c:446:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		(void)sprintf(*value, "%lu", (u_long)O_VAL(sp, offset));
data/vigor-0.016/common/cut.c:269: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(tp->lb, p + fcno, clen);
data/vigor-0.016/common/cut.c:331: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(tp->lb, p, len);
data/vigor-0.016/common/delete.c:84: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(bp, p, fm->cno);
data/vigor-0.016/common/delete.c:97: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(bp, p, fm->cno);
data/vigor-0.016/common/delete.c:98: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(bp + fm->cno, p + (tm->cno + 1), len - (tm->cno + 1));
data/vigor-0.016/common/delete.c:114: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(bp, p, tlen);
data/vigor-0.016/common/delete.c:137: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(bp + tlen, p + (tm->cno + 1), len - (tm->cno + 1));
data/vigor-0.016/common/exf.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 *oname, tname[MAXPATHLEN];
data/vigor-0.016/common/exf.c:189:13:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
		if ((fd = mkstemp(tname)) == -1) {
data/vigor-0.016/common/exf.c:453: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, *p, *t, path[MAXPATHLEN];
data/vigor-0.016/common/exf.c:498: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, path, len + 1);
data/vigor-0.016/common/exf.c:747: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 *p, *s, *t, buf[MAXPATHLEN + 64];
data/vigor-0.016/common/exf.c:833:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open(name, oflags,
data/vigor-0.016/common/exf.c:1003: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 *bp, *estr, *p, *pct, *slash, *t, *wfname, buf[8192];
data/vigor-0.016/common/exf.c:1015:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((rfd = open(name, O_RDONLY, 0)) < 0) {
data/vigor-0.016/common/exf.c:1123:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((wfd = open(wfname, flags | O_WRONLY, S_IRUSR | S_IWUSR)) < 0) {
data/vigor-0.016/common/exf.c:1466:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((fd = open(name, O_RDWR, 0)) == -1)
data/vigor-0.016/common/main.c:67: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 *tag_f, *wsizearg, path[256];
data/vigor-0.016/common/main.c:179:23:  [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).
			if ((gp->tracefp = fopen(optarg, "w")) == NULL) {
data/vigor-0.016/common/main.c:552:11:  [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.
				(void)strcpy(argv[0], "-c$");
data/vigor-0.016/common/main.c:570:11:  [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.
				(void)strcpy(argv[0], "-s");
data/vigor-0.016/common/main.c:587:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) {
data/vigor-0.016/common/msg.c:149: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(mp, p, len);
data/vigor-0.016/common/msg.c:220:19:  [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).
		str[soff].arg = atoi(u);
data/vigor-0.016/common/msg.c:480: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, t, len);
data/vigor-0.016/common/msg.c:486: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, t, len);
data/vigor-0.016/common/msg.c:534: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, KEY_NAME(sp, *t), len);
data/vigor-0.016/common/msg.c:565: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, t, len);
data/vigor-0.016/common/msg.c:571: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, t, len);
data/vigor-0.016/common/msg.c:583: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, t, len);
data/vigor-0.016/common/msg.c:593: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, t, len);
data/vigor-0.016/common/msg.c:603: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, t, len);
data/vigor-0.016/common/msg.c:616: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, t, len);
data/vigor-0.016/common/msg.c:629:8:  [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.
	(void)sprintf(p, " (pid %lu)", (u_long)getpid());
data/vigor-0.016/common/msg.c:697: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 *p, *t, buf[MAXPATHLEN];
data/vigor-0.016/common/msg.c:820: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).
		msgno = atoi(str);
data/vigor-0.016/common/options.c:293:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *s, b1[1024];
data/vigor-0.016/common/options.c:790: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 nbuf[20];
data/vigor-0.016/common/options.c:1086: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(sp->opts, orig->opts, sizeof(orig->opts));
data/vigor-0.016/common/put.c:128: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(bp, p, clen);
data/vigor-0.016/common/put.c:135: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(t, tp->lb, tp->len);
data/vigor-0.016/common/put.c:166: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(t, p, clen);
data/vigor-0.016/common/put.c:192: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(t, ltp->lb, ltp->len);
data/vigor-0.016/common/put.c:194: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(t + ltp->len, p, clen);
data/vigor-0.016/common/recover.c:132: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 *dp, *p, path[MAXPATHLEN];
data/vigor-0.016/common/recover.c:258:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *dp, buf[1024];
data/vigor-0.016/common/recover.c:342: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 *dp, *p, *t, buf[4096], mpath[MAXPATHLEN];
data/vigor-0.016/common/recover.c:353: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 host[MAXHOSTNAMELEN];
data/vigor-0.016/common/recover.c:499: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 *p, *t, file[MAXPATHLEN], path[MAXPATHLEN];
data/vigor-0.016/common/recover.c:523: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).
		if ((fp = fopen(dp->d_name, "r+")) == NULL)
data/vigor-0.016/common/recover.c:605: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 file[MAXPATHLEN], path[MAXPATHLEN], recpath[MAXPATHLEN];
data/vigor-0.016/common/recover.c:637:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((fd = open(recpath, O_RDWR, 0)) == -1)
data/vigor-0.016/common/recover.c:786: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[8 * 1024];
data/vigor-0.016/common/recover.c:788:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((rfd = open(fname, O_RDONLY, 0)) == -1)
data/vigor-0.016/common/recover.c:844:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
	if ((fd = mkstemp(path)) == -1)
data/vigor-0.016/common/recover.c:861: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[MAXPATHLEN * 2 + 20];
data/vigor-0.016/common/screen.c:103: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(sp->newl, orig->newl, len);
data/vigor-0.016/common/util.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(copy, str, len * sizeof(CHAR_T));
data/vigor-0.016/curses/addch.c:62: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[2];
data/vigor-0.016/curses/ctrace.c:69: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).
		tracefp = fopen(TFILE, "w");
data/vigor-0.016/curses/curses.h:106: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	*__unctrl[256];	/* Control strings. */
data/vigor-0.016/curses/curses.h:107: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	 __unctrllen[256];	/* Control strings length. */
data/vigor-0.016/curses/delch.c:56:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void)memcpy(temp1, temp2, sizeof(__LDATA));
data/vigor-0.016/curses/deleteln.c:63:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			(void) memcpy(win->lines[y]->line, 
data/vigor-0.016/curses/insch.c:58:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void)memcpy(temp1, temp2, sizeof(__LDATA));
data/vigor-0.016/curses/insertln.c:65:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			(void)memcpy(win->lines[y]->line, 
data/vigor-0.016/curses/overwrite.c:68:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void)memcpy(
data/vigor-0.016/curses/refresh.c:630:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				(void)memcpy(clp->line,  buf,
data/vigor-0.016/curses/setterm.c:79: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	tspace[2048];		/* Space for capability strings */
data/vigor-0.016/curses/setterm.c:85:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char genbuf[1024];
data/vigor-0.016/curses/setterm.c:101: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(genbuf, "xx|dumb:");
data/vigor-0.016/curses/setterm.c:178: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[3];
data/vigor-0.016/curses/tscroll.c:68:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char result[MAXRETURNSIZE];
data/vigor-0.016/curses/unctrl.c:38: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 * __unctrl[256] = {
data/vigor-0.016/curses/unctrl.c:74: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 __unctrllen[256] = {
data/vigor-0.016/db/btree/bt_open.c:204:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((t->bt_fd = open(fname, flags, mode)) < 0)
data/vigor-0.016/db/btree/bt_open.c:396: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[MAXPATHLEN];
data/vigor-0.016/db/btree/bt_open.c:404:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
	if ((fd = mkstemp(path)) != -1)
data/vigor-0.016/db/btree/bt_put.c:81: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 *dest, db[NOVFLSIZE], kb[NOVFLSIZE];
data/vigor-0.016/db/btree/btree.h: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	bytes[1];		/* data */
data/vigor-0.016/db/btree/btree.h:176: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	bytes[1];		/* data */
data/vigor-0.016/db/btree/btree.h:208: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	bytes[1];
data/vigor-0.016/db/include/db.h:224: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 *)a)[0] = ((char *)&_tmp)[3];				\
data/vigor-0.016/db/include/db.h:225: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 *)a)[1] = ((char *)&_tmp)[2];				\
data/vigor-0.016/db/include/db.h:226: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 *)a)[2] = ((char *)&_tmp)[1];				\
data/vigor-0.016/db/include/db.h:227: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 *)a)[3] = ((char *)&_tmp)[0];				\
data/vigor-0.016/db/include/db.h:249: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 *)a)[0] = ((char *)&_tmp)[1];				\
data/vigor-0.016/db/include/db.h:250: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 *)a)[1] = ((char *)&_tmp)[0];				\
data/vigor-0.016/db/recno/rec_open.c:71:30:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (fname != NULL && (rfd = open(fname, flags, mode)) < 0)
data/vigor-0.016/db/recno/rec_put.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 *dest, db[NOVFLSIZE];
data/vigor-0.016/ex/ex.c:1496: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(ecp->save_cmd, arg1, arg1_len);
data/vigor-0.016/ex/ex.c:2145: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(ecp->cp, ecp->cp + ecp->o_clen, ecp->o_clen);
data/vigor-0.016/ex/ex.c:2200: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(bp, cmd, len);
data/vigor-0.016/ex/ex.h:184: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	 obp[1024];		/* Ex output buffer. */
data/vigor-0.016/ex/ex_argv.c:77:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(exp->args[exp->argsoff]->bp, cmd, cmdlen);
data/vigor-0.016/ex/ex_argv.c:152: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(bp, SHELLECHO, SHELLOFFSET);
data/vigor-0.016/ex/ex_argv.c:346: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, exp->lastbcomm, tlen);
data/vigor-0.016/ex/ex_argv.c:361: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, t, tlen);
data/vigor-0.016/ex/ex_argv.c:375: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, t, tlen);
data/vigor-0.016/ex/ex_argv.c:571: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, dname, dlen);
data/vigor-0.016/ex/ex_argv.c:576: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, dp->d_name, len + 1);
data/vigor-0.016/ex/ex_argv.c:669:16:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
	switch (pid = vfork()) {
data/vigor-0.016/ex/ex_at.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(p, tp->lb, tp->len);
data/vigor-0.016/ex/ex_cd.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 buf[MAXPATHLEN * 2];
data/vigor-0.016/ex/ex_cscope.c:179: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(bp, cscopes, len + 1);
data/vigor-0.016/ex/ex_cscope.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 *dbname, path[MAXPATHLEN];
data/vigor-0.016/ex/ex_cscope.c:254: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(csc->dname, dname, len);
data/vigor-0.016/ex/ex_cscope.c:297: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 *p, **pathp, buf[MAXPATHLEN * 2];
data/vigor-0.016/ex/ex_cscope.c:316:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((fd = open(buf, O_RDONLY, 0)) < 0 ||
data/vigor-0.016/ex/ex_cscope.c:371: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[MAXPATHLEN * 2];
data/vigor-0.016/ex/ex_cscope.c:382:21:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
	switch (csc->pid = vfork()) {
data/vigor-0.016/ex/ex_cscope.c:642: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(tqp->tag + 2, p, tlen);
data/vigor-0.016/ex/ex_cscope.c:664: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 *dname, *name, *search, *p, *t, dummy[2], buf[2048];
data/vigor-0.016/ex/ex_cscope.c:713:21:  [2] (integer) atol:
  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).
				slno = (recno_t)atol(t);
data/vigor-0.016/ex/ex_cscope.c:744: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(tp->fname, dname, dlen);
data/vigor-0.016/ex/ex_cscope.c:748: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(tp->fname + dlen, name, nlen + 1);
data/vigor-0.016/ex/ex_cscope.c:753: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(tp->search, search, (tp->slen = slen) + 1);
data/vigor-0.016/ex/ex_cscope.c:783: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 **pp, buf[MAXPATHLEN];
data/vigor-0.016/ex/ex_cscope.c:856:30:  [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).
	return (terminate(sp, NULL, atoi(cn)));
data/vigor-0.016/ex/ex_filter.c:101:24:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
	switch (utility_pid = vfork()) {
data/vigor-0.016/ex/ex_global.c:184: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(ecp->cp + len, p, len);
data/vigor-0.016/ex/ex_init.c:147: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 *p, path[MAXPATHLEN];
data/vigor-0.016/ex/ex_init.c:357:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a, *b, buf[MAXPATHLEN];
data/vigor-0.016/ex/ex_join.c:129: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(tbp, p, len);
data/vigor-0.016/ex/ex_mkexrc.c:68:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY,
data/vigor-0.016/ex/ex_move.c:149: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(bp, p, len);
data/vigor-0.016/ex/ex_move.c:168: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(bp, p, len);
data/vigor-0.016/ex/ex_print.c:110: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 *p, buf[10];
data/vigor-0.016/ex/ex_read.c:252:12:  [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).
	if ((fp = fopen(name, "r")) == NULL || fstat(fileno(fp), &sb)) {
data/vigor-0.016/ex/ex_script.c:679:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fdm = open(pts_name, O_RDWR)) < 0 )
data/vigor-0.016/ex/ex_script.c:717:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fds = open(pts_name, O_RDWR)) < 0) {
data/vigor-0.016/ex/ex_script.c:767:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			if ((master = open(line, O_RDWR, 0)) == -1) {
data/vigor-0.016/ex/ex_script.c:777:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				if ((slave = open(line, O_RDWR, 0)) != -1) {
data/vigor-0.016/ex/ex_shell.c:46: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[MAXPATHLEN];
data/vigor-0.016/ex/ex_shell.c:120:16:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
	switch (pid = vfork()) {
data/vigor-0.016/ex/ex_shell.c:368:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[40];
data/vigor-0.016/ex/ex_shift.c:149: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(tbp, p + oldidx, len - oldidx);
data/vigor-0.016/ex/ex_source.c:47:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open(name, O_RDONLY, 0)) < 0 || fstat(fd, &sb))
data/vigor-0.016/ex/ex_subst.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 *, char **, size_t *, size_t *, regmatch_t [10]));
data/vigor-0.016/ex/ex_subst.c:38: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.
		char *, char **, size_t *, size_t *, regmatch_t [10]));
data/vigor-0.016/ex/ex_subst.c:225: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(t, sp->repl, sp->repl_len);
data/vigor-0.016/ex/ex_subst.c:241: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(sp->repl, bp, len);
data/vigor-0.016/ex/ex_subst.c:330:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(lb + lbclen, l, len);					\
data/vigor-0.016/ex/ex_subst.c:519: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(bp, s, llen);
data/vigor-0.016/ex/ex_subst.c:753: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(bp, s, llen);
data/vigor-0.016/ex/ex_subst.c:970: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(*ptrnp, ptrn, plen);
data/vigor-0.016/ex/ex_subst.c:1112:6:  [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(t,
data/vigor-0.016/ex/ex_subst.c:1117:6:  [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(t,
data/vigor-0.016/ex/ex_subst.c:1125: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(t,
data/vigor-0.016/ex/ex_subst.c:1146: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(t, sp->repl, sp->repl_len);
data/vigor-0.016/ex/ex_subst.c:1275: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(t, CSCOPE_RE_SPACE, sizeof(CSCOPE_RE_SPACE) - 1);
data/vigor-0.016/ex/ex_subst.c:1280: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(t, CSCOPE_RE_SPACE, sizeof(CSCOPE_RE_SPACE) - 1);
data/vigor-0.016/ex/ex_subst.c:1288: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(t, CSCOPE_RE_SPACE, sizeof(CSCOPE_RE_SPACE) - 1);
data/vigor-0.016/ex/ex_tag.c:725: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(tqp, otqp, len);
data/vigor-0.016/ex/ex_tag.c:754: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(tp, otp, len);
data/vigor-0.016/ex/ex_tag.c:872: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(tfp->name, t, len);
data/vigor-0.016/ex/ex_tag.c:930: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).
		m.lno = atoi(search);
data/vigor-0.016/ex/ex_tag.c:994: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(tqp->tag, tag, (tqp->tlen = len) + 1);
data/vigor-0.016/ex/ex_tag.c:1048:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open(tfp->name, O_RDONLY, 0)) < 0) {
data/vigor-0.016/ex/ex_tag.c:1153: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(tp->fname, dname, dlen);
data/vigor-0.016/ex/ex_tag.c:1157: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(tp->fname + dlen, name, nlen + 1);
data/vigor-0.016/ex/ex_tag.c:1160: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(tp->search, search, (tp->slen = slen) + 1);
data/vigor-0.016/ex/ex_tag.c:1185: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 *p, buf[MAXPATHLEN];
data/vigor-0.016/ex/ex_tcl.c:49: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[128];
data/vigor-0.016/ex/ex_txt.c:295: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(ait.lb, tp->lb, tp->ai);
data/vigor-0.016/ex/ex_usage.c:67: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, *p, nb[MAXCMDNAMELEN + 5];
data/vigor-0.016/ex/ex_visual.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 buf[256];
data/vigor-0.016/ex/script.h:18: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	 sh_name[64];		/* Pty name */
data/vigor-0.016/ex/tag.h: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	 buf[1];	/* Variable length buffer. */
data/vigor-0.016/ex/tag.h:90: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];	/* Variable length buffer. */
data/vigor-0.016/ex/tag.h:106: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];	/* Variable length buffer. */
data/vigor-0.016/include/com_extern.h:21: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.
void *memcpy __P((void *, const void *, size_t));
data/vigor-0.016/include/com_extern.h:30:5:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
int mkstemp __P((char *));
data/vigor-0.016/ip/ip.h:19: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	 ibuf[256];	/* Input buffer. */
data/vigor-0.016/ip/ip_read.c:225: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(&val1, ipp->ibuf + IPO_CODE_LEN, IPO_INT_LEN);
data/vigor-0.016/ip/ip_read.c:227: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(&val2,
data/vigor-0.016/ip/ip_read.c:245: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(&val1, ipp->ibuf + IPO_CODE_LEN, IPO_INT_LEN);
data/vigor-0.016/ip/ip_read.c:277: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 b1[1024];
data/vigor-0.016/ip_cl/ip_cl.c:217: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 bp[1024];
data/vigor-0.016/ip_cl/ip_cl.c:277: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(&ipb.val1, p, IPO_INT_LEN);
data/vigor-0.016/ip_cl/ip_cl.c:285: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(&ipb.val2, p, IPO_INT_LEN);
data/vigor-0.016/ip_cl/ip_cl.c:293: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(&ipb.len, p, IPO_INT_LEN);
data/vigor-0.016/ip_cl/ip_cl.c:447: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(largv + 2, *argvp, *argcp * sizeof(char *) + 1);
data/vigor-0.016/ip_cl/ip_cl.c:686:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) {
data/vigor-0.016/ip_cl/ip_cl.c:722:28:  [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).
	if (tfp == NULL && (tfp = fopen(TR, "w")) == NULL)
data/vigor-0.016/regex/engine.c:1072:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char pbuf[10];
data/vigor-0.016/regex/engine.c:1075: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(pbuf, "%c", ch);
data/vigor-0.016/regex/engine.c:1077: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(pbuf, "\\%o", ch);
data/vigor-0.016/regex/regcomp.c:128: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 nuls[10];		/* place to point scanner in event of error */
data/vigor-0.016/regex/regcomp.c:940: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 bracket[3];
data/vigor-0.016/regex/regcomp.c:986: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 bracket[4];
data/vigor-0.016/regex/regcomp.c:1443:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	(void) memcpy((char *)(p->strip + p->slen),
data/vigor-0.016/regex/regerror.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 convbuf[50];
data/vigor-0.016/regex/regerror.c:139: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(convbuf, "REG_0x%x", target);
data/vigor-0.016/regex/regerror.c:178: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(localbuf, "%d", r->code);
data/vigor-0.016/regex/regexec.c:118:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define	ASSIGN(d, s)	memcpy(d, s, m->g->nstates)
data/vigor-0.016/regex/utils.h:56:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define	memmove(d, s, c)	bcopy(s, d, c)
data/vigor-0.016/tcl_api/tcl.c:67: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[20];
data/vigor-0.016/tcl_api/tcl.c:245: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[40];
data/vigor-0.016/tcl_api/tcl.c:318: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[20];
data/vigor-0.016/tcl_api/tcl.c:401: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[20];
data/vigor-0.016/tcl_api/tcl.c:511: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[20];
data/vigor-0.016/tcl_api/tcl.c:619: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 command[256];
data/vigor-0.016/tcl_api/tcl.c:699:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	MALLOC(sp, setting, char *, strlen(argv[2])+6);
data/vigor-0.016/tcl_api/tcl.c:700: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(setting, ":set ");
data/vigor-0.016/tcl_api/tcl.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 buf[64];
data/vigor-0.016/tcl_api/tcl.c:829:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64];
data/vigor-0.016/tk/tk_funcs.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 buf[20];
data/vigor-0.016/tk/tk_funcs.c:262: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[40];
data/vigor-0.016/tk/tk_main.c:245:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	} else if ((fd = open(_PATH_TTY, O_RDONLY, 0)) != -1) {
data/vigor-0.016/tk/tk_read.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 buf[20];
data/vigor-0.016/tk/tk_read.c:190: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 b1[1024];
data/vigor-0.016/tk/tk_util.c:113: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[20];
data/vigor-0.016/tk/tk_util.c:162:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64];
data/vigor-0.016/tk/tk_util.c:175:15:  [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).
		    "%s%s", atoi(argv[2]) ? "no" : "", argv[1]);
data/vigor-0.016/tk/tk_util.c:242: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[2048];
data/vigor-0.016/vi/v_at.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 nbuf[20];
data/vigor-0.016/vi/v_increment.c:62: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 *bp, *ntype, *p, *t, nbuf[100];
data/vigor-0.016/vi/v_search.c:79: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, *t, buf[20];
data/vigor-0.016/vi/v_txt.c:2952: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(tp->lb + tp->cno, p + input_len, retain);
data/vigor-0.016/vi/vs_line.c:54: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 *p, *cbp, *ecbp, cbuf[128];
data/vigor-0.016/vi/vs_line.c:471: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 nbuf[10];
data/vigor-0.016/vi/vs_msg.c:409: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 *cbp, *ecbp, cbuf[128];
data/vigor-0.016/vi/vs_refresh.c:780: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 *p, buf[20];
data/vigor-0.016/vigor/vigor.c:174: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[20];
data/vigor-0.016/vigor/vigor.c:175: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(buf, " %i ", prob);
data/vigor-0.016/vigor/vigor.c:187:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1024];
data/vigor-0.016/vigor/vigor.c:217:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1024];
data/vigor-0.016/catalog/dump.c:54:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((s = getc(fp)) == EOF)					\
data/vigor-0.016/catalog/dump.c:60:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((ch = getc(fp)) == EOF)					\
data/vigor-0.016/catalog/dump.c:67:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((ch = getc(fp)) == EOF)				\
data/vigor-0.016/catalog/dump.c:83:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ((ch = getc(fp)) == EOF)
data/vigor-0.016/catalog/dump.c:89:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if ((ch = getc(fp)) == EOF)
data/vigor-0.016/cl/cl_read.c:174:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		switch (nr = read(STDIN_FILENO, bp, blen)) {
data/vigor-0.016/cl/cl_read.c:279:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	switch (nr = read(STDIN_FILENO, bp, blen - ONE_FOR_EOF)) {
data/vigor-0.016/cl/cl_read.c:339: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).
	a.len = strlen(b1);
data/vigor-0.016/cl/cl_read.c:343: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).
	a.len = strlen(b1);
data/vigor-0.016/cl/cl_screen.c:527:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    t != (char *)-1 && (len = strlen(t)) != 0) {
data/vigor-0.016/cl/cl_term.c:96: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 (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t),
data/vigor-0.016/cl/cl_term.c:96: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).
		if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t),
data/vigor-0.016/cl/cl_term.c:97: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).
		    tkp->output, strlen(tkp->output), SEQ_COMMAND,
data/vigor-0.016/cl/cl_term.c:111: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 (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t),
data/vigor-0.016/cl/cl_term.c:111: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).
		if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t),
data/vigor-0.016/cl/cl_term.c:130: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).
			if (seq_set(sp, tkp->name, strlen(tkp->name),
data/vigor-0.016/cl/cl_term.c:131: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).
			    t, strlen(t), NULL, 0,
data/vigor-0.016/cl/cl_term.c:135: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).
			if (seq_set(sp, tkp->name, strlen(tkp->name),
data/vigor-0.016/cl/cl_term.c:136: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).
			    t, strlen(t), tkp->output, strlen(tkp->output),
data/vigor-0.016/cl/cl_term.c:136: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).
			    t, strlen(t), tkp->output, strlen(tkp->output),
data/vigor-0.016/cl/cl_term.c:211:25:  [1] (buffer) strlen:
  Does not handle 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 == (char *)-1 || strlen(p) == 0)
data/vigor-0.016/cl/cl_term.c:221: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).
	    p, strlen(p), to, tlen, stype, SEQ_NOOVERWRITE | SEQ_SCREEN));
data/vigor-0.016/clib/env.c:98: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).
	l_value = strlen(value);
data/vigor-0.016/clib/env.c:102:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(c) >= l_value) {	/* old larger; copy over */
data/vigor-0.016/clib/mmap.c:31:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, ptr, len) < 0) {
data/vigor-0.016/clib/snprintf.c:39: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).
	return (strlen(str));
data/vigor-0.016/clib/strdup.c:58: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(str) + 1;
data/vigor-0.016/clib/vsnprintf.c:27: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).
	return (strlen(str));
data/vigor-0.016/common/api.c:317: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).
		ex_cadd(&cmd, &a, file, strlen(file));
data/vigor-0.016/common/api.c:386:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ex_cadd(&cmd, &a, name, strlen(name));
data/vigor-0.016/common/api.c:406:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ex_cadd(&cmd, &a, name, strlen(name));
data/vigor-0.016/common/api.c:438:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		MALLOC_RET(sp, *value, char *, strlen(op->name) + 2 + 1);
data/vigor-0.016/common/api.c:454:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    *value, char *, strlen(O_STR(sp, offset)) + 1);
data/vigor-0.016/common/api.c:524:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return (ex_run_str(sp, NULL, cmd, strlen(cmd), 0, 0));
data/vigor-0.016/common/exf.c:552:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    "-c option", gp->c_option, strlen(gp->c_option), 1, 1))
data/vigor-0.016/common/exf.c:963: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).
		for (s = buf, t = buf + strlen(p); s < t &&
data/vigor-0.016/common/exf.c:1040: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).
	if (argv_exp2(sp, &cmd, bname, strlen(bname)))
data/vigor-0.016/common/exf.c:1129:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((nr = read(rfd, buf, sizeof(buf))) > 0)
data/vigor-0.016/common/main.c:265: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).
		a.len = strlen(path);
data/vigor-0.016/common/main.c:346:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    *--argv, char *, strlen(sp->frp->name) + 1);
data/vigor-0.016/common/main.c:555: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(argv[0]);
data/vigor-0.016/common/main.c:597:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read(fd, &ch, 1) != 1) {
data/vigor-0.016/common/msg.c:527: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(sp->frp->name);
data/vigor-0.016/common/msg.c:547: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).
			p += strlen(p);
data/vigor-0.016/common/msg.c:621: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).
			p += strlen(p);
data/vigor-0.016/common/msg.c:626: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).
		p += strlen(p);
data/vigor-0.016/common/msg.c:630: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).
	p += strlen(p);
data/vigor-0.016/common/msg.c:842: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).
		*lenp = strlen(str);
data/vigor-0.016/common/options.c:305: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).
	a.len = strlen(b1);						\
data/vigor-0.016/common/options.c:855: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).
		curlen = strlen(op->name);
data/vigor-0.016/common/options.c:865: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).
			curlen += strlen(nbuf);
data/vigor-0.016/common/options.c:869: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).
				curlen += strlen(O_STR(sp, cnt));
data/vigor-0.016/common/options.c:1029: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/vigor-0.016/common/options_f.c:175: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(str) & 1) {
data/vigor-0.016/common/options_f.c:267: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(str) & 1) {
data/vigor-0.016/common/recover.c:790:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((nr = read(rfd, buf, sizeof(buf))) > 0)
data/vigor-0.016/common/recover.c:814:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((nr = read(fd, buf, len - 1)) == -1)
data/vigor-0.016/curses/cr_put.c:167:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (outcol != COLS - 1 && plod(strlen(cgp), in_refresh) > 0)
data/vigor-0.016/curses/cr_put.c:272:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		j *= (k = strlen(BT));
data/vigor-0.016/curses/cr_put.c:331: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).
		k = strlen(BT);
data/vigor-0.016/curses/curses.h:179: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).
#define	addstr(s)			__waddbytes(stdscr, s, strlen(s), 0)
data/vigor-0.016/curses/curses.h:196: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).
#define	waddstr(w, s)			__waddbytes(w, s, strlen(s), 0)
data/vigor-0.016/curses/curses.h:215: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).
	(wmove(w, y, x) == ERR ? ERR : __waddbytes(w, s, strlen(s), 0))
data/vigor-0.016/curses/getch.c:63:8:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	inp = getchar();
data/vigor-0.016/curses/refresh.c:312:25:  [1] (buffer) strlen:
  Does not handle 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 ((clsp - nlsp >= strlen(CE)
data/vigor-0.016/curses/waddnstr.c:60: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(s);
data/vigor-0.016/db/btree/bt_open.c:221:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((nr = read(t->bt_fd, &m, sizeof(BTMETA))) < 0)
data/vigor-0.016/db/mpool/mpool.c:209:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((nr = read(mp->fd, bp->page, mp->pagesize)) != mp->pagesize) {
data/vigor-0.016/db/recno/rec_get.c:146:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ((ch = getc(t->bt_rfp)) == EOF || !--len) {
data/vigor-0.016/db/recno/rec_get.c:193:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) {
data/vigor-0.016/ex/ex_args.c:64:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    cmdp, sp->cargv[1], strlen(sp->cargv[1])))
data/vigor-0.016/ex/ex_args.c:184: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).
		if (argv_exp0(sp, cmdp, sp->cargv[-1], strlen(sp->cargv[-1])))
data/vigor-0.016/ex/ex_args.c:275: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).
		col += len = strlen(*ap) + sep + (ap == sp->cargv ? 2 : 0);
data/vigor-0.016/ex/ex_args.c:317: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).
		if ((*ap = v_strdup(sp, name, strlen(name))) == NULL)
data/vigor-0.016/ex/ex_argv.c:342: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 += tlen = strlen(exp->lastbcomm);
data/vigor-0.016/ex/ex_argv.c:356: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(t);
data/vigor-0.016/ex/ex_argv.c:371: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 += tlen = strlen(t);
data/vigor-0.016/ex/ex_argv.c:541: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).
			dlen = strlen(path);
data/vigor-0.016/ex/ex_argv.c:545: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).
	nlen = strlen(name);
data/vigor-0.016/ex/ex_argv.c:560: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(dp->d_name);
data/vigor-0.016/ex/ex_argv.c:562: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(dp->d_name);
data/vigor-0.016/ex/ex_argv.c:710:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    (ch = getc(ifp)) != EOF; *p++ = ch, --blen, ++len)
data/vigor-0.016/ex/ex_cscope.c:177: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(cscopes);
data/vigor-0.016/ex/ex_cscope.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).
	if (argv_exp2(sp, cmdp, dname, strlen(dname)))
data/vigor-0.016/ex/ex_cscope.c:250: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(dname);
data/vigor-0.016/ex/ex_cscope.c:317:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    read(fd, csc->pbuf, len) != len) {
data/vigor-0.016/ex/ex_cscope.c:631: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).
		tlen = strlen(p);
data/vigor-0.016/ex/ex_cscope.c:690:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			while ((ch = getc(csc->from_fp)) != EOF && ch != '\n');
data/vigor-0.016/ex/ex_cscope.c:708: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).
				nlen = strlen(name);
data/vigor-0.016/ex/ex_cscope.c:721: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).
		slen = strlen(p);
data/vigor-0.016/ex/ex_cscope.c:796: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).
			*dlenp = strlen(*pp);
data/vigor-0.016/ex/ex_cscope.c:1024: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/vigor-0.016/ex/ex_cscope.c:1045:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    getc(csc->from_fp)) != EOF && ch != CSCOPE_PROMPT[0]);
data/vigor-0.016/ex/ex_cscope.c:1050:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (getc(csc->from_fp) != CSCOPE_PROMPT[1])
data/vigor-0.016/ex/ex_cscope.c:1052:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (getc(csc->from_fp) != CSCOPE_PROMPT[2])
data/vigor-0.016/ex/ex_init.c:190:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (ex_run_str(sp, "NEXINIT", p, strlen(p), 1, 0))
data/vigor-0.016/ex/ex_init.c:193: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 (ex_run_str(sp, "EXINIT", p, strlen(p), 1, 0))
data/vigor-0.016/ex/ex_init.c:262:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ex_cadd(&cmd, &a, name, strlen(name));
data/vigor-0.016/ex/ex_init.c:302: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).
		if ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL)
data/vigor-0.016/ex/ex_screen.c:123: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).
		col += len = strlen(tsp->frp->name) + sep;
data/vigor-0.016/ex/ex_script.c:241:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	switch (nr = read(sc->sh_master, endp, len)) {
data/vigor-0.016/ex/ex_script.c:447:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
more:	switch (nr = read(sc->sh_master, endp, MINREAD)) {
data/vigor-0.016/ex/ex_shell.c:181: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(p);
data/vigor-0.016/ex/ex_shell.c:203: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(p);
data/vigor-0.016/ex/ex_source.c:73:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read(fd, bp, (int)sb.st_size);
data/vigor-0.016/ex/ex_tag.c:74:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ex_cadd(&cmd, &a, tagarg, strlen(tagarg));
data/vigor-0.016/ex/ex_tag.c:127:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    O_VAL(sp, O_TAGLENGTH)) != 0 && strlen(exp->tag_last) > tl)
data/vigor-0.016/ex/ex_tag.c:446: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).
filearg:	arglen = strlen(arg);
data/vigor-0.016/ex/ex_tag.c:611:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if ((len = strlen(p)) > L_NAME) {
data/vigor-0.016/ex/ex_tag.c:623: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(tqp->tag);
data/vigor-0.016/ex/ex_tag.c:990: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(tag);
data/vigor-0.016/ex/ex_tag.c:1121: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).
				nlen = strlen(name);
data/vigor-0.016/ex/ex_tag.c:1131:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((slen = strlen(p)) == 0) {
data/vigor-0.016/ex/ex_tag.c:1203: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).
			*dlenp = strlen(*dirp);
data/vigor-0.016/ex/ex_util.c:99:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((ch = getc(fp)) == EOF && !feof(fp)) {
data/vigor-0.016/ex/ex_write.c:168: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 (argv_exp1(sp, cmdp, p, strlen(p), 1))
data/vigor-0.016/ex/ex_write.c:213: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).
	if (argv_exp2(sp, cmdp, p, strlen(p)))
data/vigor-0.016/ip/ip_funcs.c:137: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).
		ipb.len = strlen(str);
data/vigor-0.016/ip/ip_funcs.c:342: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).
	ipb.len = strlen(sp->frp->name);
data/vigor-0.016/ip/ip_read.c:176:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	switch (nr = read(ipp->i_fd, bp, blen)) {
data/vigor-0.016/ip/ip_read.c:299: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).
	a.len = strlen(b1);
data/vigor-0.016/ip/ip_read.c:303: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).
	a.len = strlen(b1);
data/vigor-0.016/ip_cl/ip_cl.c:182:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		switch (nr = read(i_fd, bp + len, blen - len)) {
data/vigor-0.016/ip_cl/ip_cl.c:220:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	switch (nr = read(STDIN_FILENO, bp, sizeof(bp))) {
data/vigor-0.016/ip_cl/ip_cl.c:691:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read(fd, &ch, 1) != 1) {
data/vigor-0.016/regex/engine.c:164: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).
		stop = start + strlen(start);
data/vigor-0.016/regex/regcomp.c:204: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((char *)pattern);
data/vigor-0.016/regex/regcomp.c:839:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (u = cp->multis; *u != '\0'; u += strlen(u) + 1)
data/vigor-0.016/regex/regcomp.c:1253: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).
	cs->smultis += strlen(cp) + 1;
data/vigor-0.016/regex/regcomp.c:1277:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	register size_t len = strlen(fp);
data/vigor-0.016/regex/regcomp.c:1319:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (p = cs->multis; *p != '\0'; p += strlen(p) + 1)
data/vigor-0.016/regex/regerror.c:140: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).
			assert(strlen(convbuf) < sizeof(convbuf));
data/vigor-0.016/regex/regerror.c:146: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(s) + 1;
data/vigor-0.016/regex/regerror.c:151:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			(void) strncpy(errbuf, s, errbuf_size-1);
data/vigor-0.016/tcl_api/tcl.c:110: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).
	rval = api_aline(sp, (recno_t)lno, argv[3], strlen(argv[3]));
data/vigor-0.016/tcl_api/tcl.c:221: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).
	rval = api_iline(sp, (recno_t)lno, argv[3], strlen(argv[3]));
data/vigor-0.016/tcl_api/tcl.c:293: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).
	rval = api_sline(sp, (recno_t)lno, argv[3], strlen(argv[3]));
data/vigor-0.016/tcl_api/tcl.c:631:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	rval = api_map(sp, argv[2], command, strlen(command));
data/vigor-0.016/tcl_api/tcl.c:699: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).
	MALLOC(sp, setting, char *, strlen(argv[2])+6);
data/vigor-0.016/tk/tk_read.c:199: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).
	a.len = strlen(b1);
data/vigor-0.016/tk/tk_read.c:203: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).
	a.len = strlen(b1);
data/vigor-0.016/tk/tk_util.c:170: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).
		a.len = strlen(a.bp);
data/vigor-0.016/vi/v_ex.c:211:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ex_cadd(&cmd, &a, name, strlen(name));
data/vigor-0.016/vi/v_ex.c:230: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).
	ex_cadd(&cmd, &a, VIP(sp)->keyw, strlen(VIP(sp)->keyw));
data/vigor-0.016/vi/v_init.c:63: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).
		    v_strdup(sp, ovip->ps, strlen(ovip->ps))) == NULL)
data/vigor-0.016/vi/v_paragraph.c:330:28:  [1] (buffer) strlen:
  Does not handle 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_len = p_p == NULL ? 0 : strlen(p_p);
data/vigor-0.016/vi/v_paragraph.c:331:28:  [1] (buffer) strlen:
  Does not handle 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_len = s_p == NULL ? 0 : strlen(s_p);
data/vigor-0.016/vi/v_txt.c:2084: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(cmd.argv[0]->bp);
data/vigor-0.016/vi/vs_msg.c:201: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).
		mlen = len = strlen(m1);
data/vigor-0.016/vi/vs_msg.c:208: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).
		mlen = strlen(m2);
data/vigor-0.016/vigor/a2c.c:21:7:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = getchar();

ANALYSIS SUMMARY:

Hits = 486
Lines analyzed = 73054 in approximately 2.06 seconds (35529 lines/second)
Physical Source Lines of Code (SLOC) = 44541
Hits@level = [0] 176 [1] 151 [2] 248 [3]  26 [4]  54 [5]   7
Hits@level+ = [0+] 662 [1+] 486 [2+] 335 [3+]  87 [4+]  61 [5+]   7
Hits/KSLOC@level+ = [0+] 14.8627 [1+] 10.9113 [2+] 7.52116 [3+] 1.95326 [4+] 1.36952 [5+] 0.157159
Symlinks skipped = 1 (--allowlink overrides but see doc for security issue)
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.