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/vte2.91-0.62.1/src/app/app.cc
Examining data/vte2.91-0.62.1/src/bidi.cc
Examining data/vte2.91-0.62.1/src/buffer.h
Examining data/vte2.91-0.62.1/src/chunk.cc
Examining data/vte2.91-0.62.1/src/debug.cc
Examining data/vte2.91-0.62.1/src/debug.h
Examining data/vte2.91-0.62.1/src/decoder-cat.cc
Examining data/vte2.91-0.62.1/src/drawing-cairo.cc
Examining data/vte2.91-0.62.1/src/dumpkeys.c
Examining data/vte2.91-0.62.1/src/fonts-pangocairo.cc
Examining data/vte2.91-0.62.1/src/icu-converter.cc
Examining data/vte2.91-0.62.1/src/icu-decoder.cc
Examining data/vte2.91-0.62.1/src/icu-glue.cc
Examining data/vte2.91-0.62.1/src/keymap.cc
Examining data/vte2.91-0.62.1/src/keymap.h
Examining data/vte2.91-0.62.1/src/mev.c
Examining data/vte2.91-0.62.1/src/minifont.cc
Examining data/vte2.91-0.62.1/src/missing.cc
Examining data/vte2.91-0.62.1/src/modes-test.cc
Examining data/vte2.91-0.62.1/src/parser-cat.cc
Examining data/vte2.91-0.62.1/src/parser-test.cc
Examining data/vte2.91-0.62.1/src/parser.cc
Examining data/vte2.91-0.62.1/src/pty.cc
Examining data/vte2.91-0.62.1/src/reaper.cc
Examining data/vte2.91-0.62.1/src/reflect.c
Examining data/vte2.91-0.62.1/src/refptr-test.cc
Examining data/vte2.91-0.62.1/src/regex.cc
Examining data/vte2.91-0.62.1/src/ring.cc
Examining data/vte2.91-0.62.1/src/ringview.cc
Examining data/vte2.91-0.62.1/src/slowcat.c
Examining data/vte2.91-0.62.1/src/spawn.cc
Examining data/vte2.91-0.62.1/src/systemd.cc
Examining data/vte2.91-0.62.1/src/tabstops-test.cc
Examining data/vte2.91-0.62.1/src/urlencode.cc
Examining data/vte2.91-0.62.1/src/utf8-test.cc
Examining data/vte2.91-0.62.1/src/utf8.cc
Examining data/vte2.91-0.62.1/src/vte.cc
Examining data/vte2.91-0.62.1/src/vte/vte.h
Examining data/vte2.91-0.62.1/src/vte/vtedeprecated.h
Examining data/vte2.91-0.62.1/src/vte/vteenums.h
Examining data/vte2.91-0.62.1/src/vte/vteglobals.h
Examining data/vte2.91-0.62.1/src/vte/vtemacros.h
Examining data/vte2.91-0.62.1/src/vte/vtepty.h
Examining data/vte2.91-0.62.1/src/vte/vteregex.h
Examining data/vte2.91-0.62.1/src/vte/vteterminal.h
Examining data/vte2.91-0.62.1/src/vteaccess.cc
Examining data/vte2.91-0.62.1/src/vteaccess.h
Examining data/vte2.91-0.62.1/src/vtegtk.cc
Examining data/vte2.91-0.62.1/src/vtepcre2.h
Examining data/vte2.91-0.62.1/src/vtepty.cc
Examining data/vte2.91-0.62.1/src/vteregex.cc
Examining data/vte2.91-0.62.1/src/vterowdata.cc
Examining data/vte2.91-0.62.1/src/vteseq.cc
Examining data/vte2.91-0.62.1/src/vtespawn.cc
Examining data/vte2.91-0.62.1/src/vtestream-base.h
Examining data/vte2.91-0.62.1/src/vtestream-file.h
Examining data/vte2.91-0.62.1/src/vtestream.cc
Examining data/vte2.91-0.62.1/src/vtestream.h
Examining data/vte2.91-0.62.1/src/vtetypes.cc
Examining data/vte2.91-0.62.1/src/vteunistr.cc
Examining data/vte2.91-0.62.1/src/vteunistr.h
Examining data/vte2.91-0.62.1/src/vteutils.cc
Examining data/vte2.91-0.62.1/src/vteutils.h
Examining data/vte2.91-0.62.1/src/widget.cc
Examining data/vte2.91-0.62.1/src/xticker.c

FINAL RESULTS:

data/vte2.91-0.62.1/src/mev.c:56:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stdout, _VTE_CAP_CSI "?%d%c", mode, value ? 'h' : 'l');
data/vte2.91-0.62.1/src/ring.cc:446:25:  [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(hyperlink_readbuf, hyperlink_get(attr.hyperlink_idx)->str);
data/vte2.91-0.62.1/src/ring.cc:501:54:  [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).
                                        *hyperlink = strcpy(m_hyperlink_buf, hyperlink_readbuf);
data/vte2.91-0.62.1/src/ring.cc:506:46:  [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).
                                *hyperlink = strcpy(m_hyperlink_buf, hyperlink_readbuf);
data/vte2.91-0.62.1/src/ring.cc:515:62:  [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).
                                                *hyperlink = strcpy(m_hyperlink_buf, hyperlink_readbuf);
data/vte2.91-0.62.1/src/vtespawn.cc:121:5:  [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 (argv_buffer[0], argv_buffer);
data/vte2.91-0.62.1/src/vtespawn.cc:150:9:  [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 (file, argv);
data/vte2.91-0.62.1/src/vtespawn.cc:197:13:  [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 (startp, argv);
data/vte2.91-0.62.1/src/reflect.c:76:40:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
                                       g_get_home_dir() ? g_get_home_dir() : NULL,
data/vte2.91-0.62.1/src/reflect.c:76:59:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
                                       g_get_home_dir() ? g_get_home_dir() : NULL,
data/vte2.91-0.62.1/src/reflect.c:155:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((getenv("REFLECT_VERBOSE") != NULL) &&
data/vte2.91-0.62.1/src/reflect.c:156: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.
	    (atol(getenv("REFLECT_VERBOSE")) != 0)) {
data/vte2.91-0.62.1/src/reflect.c:181:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((getenv("REFLECT_VERBOSE") != NULL) &&
data/vte2.91-0.62.1/src/reflect.c:182: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.
	    (atol(getenv("REFLECT_VERBOSE")) != 0)) {
data/vte2.91-0.62.1/src/slowcat.c:86:14:  [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 ((c = getopt(argc, argv, "t:c:")) != -1) {
data/vte2.91-0.62.1/src/urlencode.cc:37:20:  [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.
        auto pwd = getenv("PWD");
data/vte2.91-0.62.1/src/vtepty.cc:624:34:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
        context.set_fallback_cwd(g_get_home_dir());
data/vte2.91-0.62.1/src/vteutils.cc:51:20:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
        fd = open (g_get_tmp_dir (),
data/vte2.91-0.62.1/src/xticker.c:54:14:  [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 ((c = getopt(argc, argv, "d:w:")) != -1) {
data/vte2.91-0.62.1/src/app/app.cc:1504: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[256];
data/vte2.91-0.62.1/src/app/app.cc:2325:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[4096];
data/vte2.91-0.62.1/src/bidi.cc:753:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static const unsigned char mirrored_2500[0x80] = {
data/vte2.91-0.62.1/src/decoder-cat.cc:166:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/vte2.91-0.62.1/src/decoder-cat.cc:178:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char ubuf[7];
data/vte2.91-0.62.1/src/decoder-cat.cc:475:48:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                                        fd = ::open(filename, O_RDONLY);
data/vte2.91-0.62.1/src/keymap.cc:76:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char normal[8];
data/vte2.91-0.62.1/src/keymap.cc:996: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(nnormal, *normal, *normal_length);
data/vte2.91-0.62.1/src/minifont.cc:29:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char const hatching_pattern_lr_data[16] = {
data/vte2.91-0.62.1/src/minifont.cc:35:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char const hatching_pattern_rl_data[16] = {
data/vte2.91-0.62.1/src/minifont.cc:41:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char const checkerboard_pattern_data[16] = {
data/vte2.91-0.62.1/src/minifont.cc:47:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char const checkerboard_reverse_pattern_data[16] = {
data/vte2.91-0.62.1/src/missing.cc:147:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int dir_fd = open ("/proc/self/fd", O_RDONLY | O_DIRECTORY | O_CLOEXEC);
data/vte2.91-0.62.1/src/missing.cc:150:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[4096];
data/vte2.91-0.62.1/src/parser-cat.cc:129:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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[32];
data/vte2.91-0.62.1/src/parser-cat.cc:237:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[7];
data/vte2.91-0.62.1/src/parser-cat.cc:247:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/vte2.91-0.62.1/src/parser-cat.cc:311:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                        char ubuf[7];
data/vte2.91-0.62.1/src/parser-cat.cc:750:46:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                                        fd = open(filename, O_RDONLY);
data/vte2.91-0.62.1/src/parser-test.cc:79:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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[32];
data/vte2.91-0.62.1/src/parser-test.cc:99:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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[32];
data/vte2.91-0.62.1/src/parser-test.cc:146:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[7];
data/vte2.91-0.62.1/src/pty.cc:147:29:  [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).
                peer_fd = ::open(name, fd_flags);
data/vte2.91-0.62.1/src/pty.cc:268: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 version[7];
data/vte2.91-0.62.1/src/reflect.c:70: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 *argv[2];
data/vte2.91-0.62.1/src/reflect.c:156:7:  [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).
	    (atol(getenv("REFLECT_VERBOSE")) != 0)) {
data/vte2.91-0.62.1/src/reflect.c:182:7:  [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).
	    (atol(getenv("REFLECT_VERBOSE")) != 0)) {
data/vte2.91-0.62.1/src/regex.cc:75: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 s[256];
data/vte2.91-0.62.1/src/regex.cc:192: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 outbuf[2048];
data/vte2.91-0.62.1/src/ring.cc:35: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.
        memcpy(dst, src, VTE_CELL_ATTR_COMMON_BYTES);
data/vte2.91-0.62.1/src/ring.cc:405: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 hyperlink_readbuf[VTE_HYPERLINK_TOTAL_LENGTH_MAX + 1];
data/vte2.91-0.62.1/src/ring.cc:1319:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char textbuf[6];  /* fits at least one UTF-8 character */
data/vte2.91-0.62.1/src/ring.cc:1453: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 buf[4096];
data/vte2.91-0.62.1/src/slowcat.c:40:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(pathname, "r");
data/vte2.91-0.62.1/src/vte.cc:1078:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char utf[7];
data/vte2.91-0.62.1/src/vte.cc:3417:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                        char c_buf[7];
data/vte2.91-0.62.1/src/vte.cc:3691:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                        char c_buf[7];
data/vte2.91-0.62.1/src/vte.cc:4110:17:  [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 (chunk->data + chunk->len, ptr, len);
data/vte2.91-0.62.1/src/vte.cc:4315: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[128];
data/vte2.91-0.62.1/src/vte.cc:4501: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 keybuf[VTE_UTF8_BPC];
data/vte2.91-0.62.1/src/vte.cc:4899: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(normal, keybuf, normal_length);
data/vte2.91-0.62.1/src/vte.cc:5461:17:  [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, text, run);
data/vte2.91-0.62.1/src/vte.cc:5572:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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];
data/vte2.91-0.62.1/src/vte.cc:8592: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 scratch_buf[VTE_UTF8_BPC];
data/vte2.91-0.62.1/src/vte.cc:10869:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char utf[7];
data/vte2.91-0.62.1/src/vteaccess.cc:64: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 *action_descriptions[LAST_ACTION];
data/vte2.91-0.62.1/src/vteaccess.cc:885:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(ret, priv->snapshot_text->str + start, end - start);
data/vte2.91-0.62.1/src/vterowdata.cc:180: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.
        memcpy(dst->cells, src->cells, src->len * sizeof (src->cells[0]));
data/vte2.91-0.62.1/src/vteseq.cc:78: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 c_buf[7];
data/vte2.91-0.62.1/src/vteseq.cc:138:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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[32];
data/vte2.91-0.62.1/src/vteseq.cc:153: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 u[6];
data/vte2.91-0.62.1/src/vteseq.cc:1614:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char idbuf[24];
data/vte2.91-0.62.1/src/vteseq.cc:8575: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/vte2.91-0.62.1/src/vtespawn.cc:172: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 (name + pathlen + 1, file, len);
data/vte2.91-0.62.1/src/vtespawn.cc:191:46:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            startp = reinterpret_cast<char*>(memcpy (name - (p - path), path, p - path));
data/vte2.91-0.62.1/src/vtestream-file.h:641:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                unsigned char padding[VTE_CIPHER_IV_SIZE];
data/vte2.91-0.62.1/src/vtestream-file.h:708:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char tag[VTE_CIPHER_TAG_SIZE];
data/vte2.91-0.62.1/src/vtestream-file.h:819:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char key[VTE_CIPHER_KEY_SIZE];
data/vte2.91-0.62.1/src/vtestream-file.h:910:25:  [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 (data, buf + VTE_BLOCK_DATALENGTH_SIZE + VTE_OVERWRITE_COUNTER_SIZE, VTE_BOA_BLOCKSIZE);
data/vte2.91-0.62.1/src/vtestream-file.h:973:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (buf + VTE_BLOCK_DATALENGTH_SIZE + VTE_OVERWRITE_COUNTER_SIZE, data, VTE_BOA_BLOCKSIZE);
data/vte2.91-0.62.1/src/vtestream-file.h:1143:17:  [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(data, stream->rbuf + MOD_BOA(offset), l);
data/vte2.91-0.62.1/src/vtestream-file.h:1148:17:  [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(data, stream->wbuf + MOD_BOA(offset), len);
data/vte2.91-0.62.1/src/vtestream-file.h:1160:17:  [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(stream->wbuf + stream->wbuf_len, data, l);
data/vte2.91-0.62.1/src/vtestream-file.h:1259: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[100]; \
data/vte2.91-0.62.1/src/vtestream-file.h:1267: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[VTE_SNAKE_BLOCKSIZE]; \
data/vte2.91-0.62.1/src/vtestream-file.h:1281: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[VTE_BOA_BLOCKSIZE]; \
data/vte2.91-0.62.1/src/vtestream-file.h:1294: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[100]; \
data/vte2.91-0.62.1/src/vtestream-file.h:1308: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[100], buf2[100];
data/vte2.91-0.62.1/src/vtestream-file.h:1312:9:  [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(buf, "abcdXYZ1234!!!");
data/vte2.91-0.62.1/src/vtestream-file.h:1329:9:  [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(buf, "abcdef");
data/vte2.91-0.62.1/src/vtestream-file.h:1334:9:  [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(buf, "1abcdef");
data/vte2.91-0.62.1/src/vtestream-file.h:1339:9:  [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(buf, "www");
data/vte2.91-0.62.1/src/vtestream-file.h:1344:9:  [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(buf, "3w");
data/vte2.91-0.62.1/src/vtestream-file.h:1349:9:  [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(buf, "zebraaa");
data/vte2.91-0.62.1/src/vtestream-file.h:1354:9:  [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(buf, "1zebr3a");
data/vte2.91-0.62.1/src/vtestream-file.h:1360:9:  [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(buf, "zebraaa");
data/vte2.91-0.62.1/src/vtestream-file.h:1543: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[8];
data/vte2.91-0.62.1/src/vteutils.cc:51:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open (g_get_tmp_dir (),
data/vte2.91-0.62.1/src/xticker.c:57:12:  [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).
			delay = atol(optarg);
data/vte2.91-0.62.1/src/xticker.c:63:13:  [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).
			length = atol(optarg);
data/vte2.91-0.62.1/src/xticker.c:78:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(argv[i], O_RDONLY);
data/vte2.91-0.62.1/src/xticker.c:115: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(outbuf + 4,
data/vte2.91-0.62.1/src/app/app.cc:701:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        auto regex = vte_regex_new_for_search(pattern, strlen(pattern), flags, error);
data/vte2.91-0.62.1/src/app/app.cc:717:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        auto regex = vte_regex_new_for_match(pattern, strlen(pattern), flags, error);
data/vte2.91-0.62.1/src/app/app.cc:2329:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        r = read(fd, buf, sizeof(buf));
data/vte2.91-0.62.1/src/debug.cc:91: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).
                length = strlen(str);
data/vte2.91-0.62.1/src/decoder-cat.cc:293:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        auto len = read(fd, buf + buf_start, buf_size - buf_start);
data/vte2.91-0.62.1/src/decoder-cat.cc:356:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        auto len = read(fd, buf + buf_start, buf_size - buf_start);
data/vte2.91-0.62.1/src/dumpkeys.c:190:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read(STDIN_FILENO, &c, 1) != 1) {
data/vte2.91-0.62.1/src/dumpkeys.c:239:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (read(STDIN_FILENO, &c, 1) == 1) {
data/vte2.91-0.62.1/src/keymap.cc:763: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).
                        *normal_length = strlen(entries[i].normal);
data/vte2.91-0.62.1/src/keymap.cc:997: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(nnormal) > 1) {
data/vte2.91-0.62.1/src/keymap.cc:1008: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).
		offset = strlen(nnormal) - 1;
data/vte2.91-0.62.1/src/mev.c:266:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((length = read(STDIN_FILENO, buffer, sizeof(buffer))) > 0) {
data/vte2.91-0.62.1/src/parser-cat.cc:645:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        auto len = read(fd, buf + buf_start, buf_size - buf_start);
data/vte2.91-0.62.1/src/ring.cc:213: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).
        len = strlen(hyperlink);
data/vte2.91-0.62.1/src/slowcat.c:57:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			c = fgetc(fp);
data/vte2.91-0.62.1/src/spawn.cc:180:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                auto const chunk = read(fd,
data/vte2.91-0.62.1/src/spawn.cc:294: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).
        return std::max(path ? strlen(path) + strlen(arg0()) + 2 /* leading '/' plus NUL terminator */ : 0,
data/vte2.91-0.62.1/src/spawn.cc:294:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        return std::max(path ? strlen(path) + strlen(arg0()) + 2 /* leading '/' plus NUL terminator */ : 0,
data/vte2.91-0.62.1/src/utf8-test.cc:102:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        decode((uint8_t const*)in, len != -1 ? size_t(len) : strlen(in), converted);
data/vte2.91-0.62.1/src/vte.cc:3970:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                int ret = read (fd, bp - 1, rem + 1);
data/vte2.91-0.62.1/src/vte.cc:5441:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        gsize len = strlen(text);
data/vte2.91-0.62.1/src/vteaccess.cc:614: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).
			i = strlen(priv->snapshot_text->str + i);
data/vte2.91-0.62.1/src/vtegtk.cc:3540:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        auto const len = size_t{length == -1 ? strlen(data) : size_t(length)};
data/vte2.91-0.62.1/src/vtegtk.cc:3569:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        auto const len = size_t{length == -1 ? strlen(text) : size_t(length)};
data/vte2.91-0.62.1/src/vteregex.cc:129:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        auto const len = size_t{pattern_length == -1 ? strlen(pattern) : size_t(pattern_length)};
data/vte2.91-0.62.1/src/vteregex.cc:167:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        auto const len = size_t{pattern_length == -1 ? strlen(pattern) : size_t(pattern_length)};
data/vte2.91-0.62.1/src/vtespawn.cc:162: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).
      auto const len = strlen(file) + 1;
data/vte2.91-0.62.1/src/vtespawn.cc:163: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).
      auto const pathlen = strlen(path);
data/vte2.91-0.62.1/src/vtestream-base.h:38:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gboolean (*read) (VteStream *stream, gsize offset, char *data, gsize len);
data/vte2.91-0.62.1/src/vtestream-base.h:71:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return VTE_STREAM_GET_CLASS (stream)->read (stream, offset, data, len);
data/vte2.91-0.62.1/src/vtestream-file.h:141:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return read (fd, data, len);
data/vte2.91-0.62.1/src/vtestream-file.h:358:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gboolean (*read) (VteSnake *snake, gsize offset, char *data);
data/vte2.91-0.62.1/src/vtestream-file.h:661:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gboolean (*read) (VteBoa *boa, gsize offset, char *data);
data/vte2.91-0.62.1/src/vtestream-file.h:1261: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).
        g_assert_cmpuint (__filesize, ==, strlen(__contents)); \
data/vte2.91-0.62.1/src/vtestream-file.h:1262:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        g_assert (memcmp(__buf, __contents, strlen(__contents)) == 0); \
data/vte2.91-0.62.1/src/vtestream-file.h:1272: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).
        g_assert_cmpuint (strlen(__contents), ==, __head - __tail); \
data/vte2.91-0.62.1/src/vtestream-file.h:1285: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).
        g_assert_cmpuint (strlen(__contents), ==, __head - __tail); \
data/vte2.91-0.62.1/src/vtestream-file.h:1297: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).
        g_assert_cmpuint (strlen(__contents), ==, __head - __tail); \
data/vte2.91-0.62.1/src/vtestream-file.h:1366:84:  [1] (buffer) strlen:
  Does not handle 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 snake_write(snake, offset, str) _vte_snake_write((snake), (offset), (str), strlen(str))
data/vte2.91-0.62.1/src/vtestream-file.h:1536:64:  [1] (buffer) strlen:
  Does not handle 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 stream_append(as, str) _vte_stream_append((as), (str), strlen(str))
data/vte2.91-0.62.1/src/xticker.c:84:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				read(fd, buffer, st.st_size);
data/vte2.91-0.62.1/src/xticker.c:143: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).
			write(STDERR_FILENO, errbuf, strlen(errbuf));

ANALYSIS SUMMARY:

Hits = 143
Lines analyzed = 51637 in approximately 1.14 seconds (45396 lines/second)
Physical Source Lines of Code (SLOC) = 33623
Hits@level = [0]  40 [1]  42 [2]  82 [3]  11 [4]   8 [5]   0
Hits@level+ = [0+] 183 [1+] 143 [2+] 101 [3+]  19 [4+]   8 [5+]   0
Hits/KSLOC@level+ = [0+] 5.4427 [1+] 4.25304 [2+] 3.0039 [3+] 0.565089 [4+] 0.237932 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.