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/bison++-1.21.11/bison.cc
Examining data/bison++-1.21.11/lex.h
Examining data/bison++-1.21.11/print.cc
Examining data/bison++-1.21.11/new.h
Examining data/bison++-1.21.11/reduce.cc
Examining data/bison++-1.21.11/conflict.cc
Examining data/bison++-1.21.11/getopt1.cc
Examining data/bison++-1.21.11/gram.cc
Examining data/bison++-1.21.11/files.h
Examining data/bison++-1.21.11/state.h
Examining data/bison++-1.21.11/files.cc
Examining data/bison++-1.21.11/lex.cc
Examining data/bison++-1.21.11/getopt.h
Examining data/bison++-1.21.11/gram.h
Examining data/bison++-1.21.11/lr0.cc
Examining data/bison++-1.21.11/nullable.cc
Examining data/bison++-1.21.11/vmsgetargs.c
Examining data/bison++-1.21.11/symtab.h
Examining data/bison++-1.21.11/types.h
Examining data/bison++-1.21.11/system.h
Examining data/bison++-1.21.11/derives.cc
Examining data/bison++-1.21.11/Example/FlexLexer.h
Examining data/bison++-1.21.11/Example/MyCompiler.cc
Examining data/bison++-1.21.11/bison.h
Examining data/bison++-1.21.11/alloca.c
Examining data/bison++-1.21.11/allocate.cc
Examining data/bison++-1.21.11/warshall.cc
Examining data/bison++-1.21.11/machine.h
Examining data/bison++-1.21.11/old.c
Examining data/bison++-1.21.11/lalr.cc
Examining data/bison++-1.21.11/closure.cc
Examining data/bison++-1.21.11/main.cc
Examining data/bison++-1.21.11/output.cc
Examining data/bison++-1.21.11/version.cc
Examining data/bison++-1.21.11/getopt.cc
Examining data/bison++-1.21.11/reader.cc
Examining data/bison++-1.21.11/symtab.cc
Examining data/bison++-1.21.11/getargs.cc

FINAL RESULTS:

data/bison++-1.21.11/bison.cc:925:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(msg, count == 0 ? ", expecting `" : " or `");
data/bison++-1.21.11/bison.cc:926:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(msg, yytname[x]);
data/bison++-1.21.11/files.cc:76:18:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
extern char     *mktemp();      /* So the compiler won't complain */
data/bison++-1.21.11/files.cc:163: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_base, spec_file_prefix);
data/bison++-1.21.11/files.cc:199: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(parser_fname,filename);
data/bison++-1.21.11/files.cc:204: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(parser_fname,PFILE);
data/bison++-1.21.11/files.cc:216: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(hskel_fname,filename);
data/bison++-1.21.11/files.cc:221: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(hskel_fname,HFILE);
data/bison++-1.21.11/files.cc:284: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(filename, PFILE1);
data/bison++-1.21.11/files.cc:289: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(filename, cp);
data/bison++-1.21.11/files.cc:292: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(cp, PFILE1);
data/bison++-1.21.11/files.cc:302: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(parser_fname,filename);	
data/bison++-1.21.11/files.cc:307: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(parser_fname,PFILE1);	
data/bison++-1.21.11/main.cc:124:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer, "limit of %d exceeded, too many %s", MAXSHORT, s);
data/bison++-1.21.11/main.cc:154:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(buffer, fmt, x1);
data/bison++-1.21.11/main.cc:164:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(buffer, fmt, x1,x2);
data/bison++-1.21.11/main.cc:173:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(buffer, fmt, x1,x2,x3);
data/bison++-1.21.11/main.cc:182:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(buffer, fmt, x1,x2,x3,x4);
data/bison++-1.21.11/output.cc:256:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(fguard, GUARDSTR, attrsfile);
data/bison++-1.21.11/output.cc:257:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf(faction, (semantic_parser ? ACTSTR : ACTSTR_SIMPLE), attrsfile);
data/bison++-1.21.11/output.cc:1590:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 sprintf(line,"const int YY_%s_CLASS::%%s=%%d;\n",parser_name);
data/bison++-1.21.11/output.cc:1592:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 sprintf(line,"const int YY_%s_CLASS::T%%s=%%d;\n",parser_name);
data/bison++-1.21.11/output.cc:1636:15:  [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(file, fmt, tags[bp->value],
data/bison++-1.21.11/reader.cc:505:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy(internalTypename, token_buffer);
data/bison++-1.21.11/reader.cc:568:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(name, token_buffer);
data/bison++-1.21.11/reader.cc:644:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy(name, token_buffer);
data/bison++-1.21.11/reader.cc:1644:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(name, token_buffer);
data/bison++-1.21.11/reader.cc:1855: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(parser_name,n);
data/bison++-1.21.11/symtab.cc:62:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(result, s);
data/bison++-1.21.11/system.h:21:9:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
#define mktemp _mktemp
data/bison++-1.21.11/files.cc:77: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.
extern char     *getenv();
data/bison++-1.21.11/files.cc:194:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    filename = getenv("BISON_SIMPLE");
data/bison++-1.21.11/files.cc:211:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    filename = getenv("BISON_SIMPLE_H");
data/bison++-1.21.11/files.cc:277:25:  [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.
    filename = (char *) getenv ("BISON_HAIRY");
data/bison++-1.21.11/files.cc:280:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  cp = getenv("INIT");
data/bison++-1.21.11/getargs.cc:87:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, "yvdltVuo:b:p:S:H:h:", longopts, (int *)0))
data/bison++-1.21.11/getopt.cc:176:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
char *getenv ();
data/bison++-1.21.11/getopt.cc:365:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      else if (getenv ("POSIXLY_CORRECT") != NULL)
data/bison++-1.21.11/getopt.cc:664: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 (int argc, char *const *argv, const char *optstring)
data/bison++-1.21.11/getopt.cc:691:11:  [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.
      c = getopt (argc, argv, "abc:d:0123456789");
data/bison++-1.21.11/getopt.h:101:12:  [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.
extern int getopt (int argc, char *const *argv, const char *shortopts);
data/bison++-1.21.11/getopt.h:103:12:  [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.
extern int getopt ();
data/bison++-1.21.11/getopt.h:105:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
data/bison++-1.21.11/getopt.h:117:12:  [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.
extern int getopt ();
data/bison++-1.21.11/getopt.h:118:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long ();
data/bison++-1.21.11/getopt1.cc:54:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
char *getenv ();
data/bison++-1.21.11/getopt1.cc:62:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long (int argc, char *const *argv, const char *options, 
data/bison++-1.21.11/getopt1.cc:110:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/bison++-1.21.11/alloca.c:140: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 align[ALIGN_SIZE];	/* To force sizeof(header).  */
data/bison++-1.21.11/bison.cc:916:8:  [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(msg, "parse error");
data/bison++-1.21.11/conflict.cc:280:7:  [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 (errp, err_table[state], i);
data/bison++-1.21.11/files.cc:164:7:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
      strcat (name_base, ".tab");
data/bison++-1.21.11/files.cc:174:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	  strcpy(name_base,"y.y"); 
data/bison++-1.21.11/files.cc:236:13:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  faction = tmpfile();
data/bison++-1.21.11/files.cc:237:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fattrs = tmpfile();
data/bison++-1.21.11/files.cc:238:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  ftable = tmpfile();
data/bison++-1.21.11/files.cc:239:16:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fbisoncomp = tmpfile();
data/bison++-1.21.11/files.cc:247:16:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    fdefines = tmpfile();
data/bison++-1.21.11/files.cc:285:15:  [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((tst=fopen(filename,"r"))!=NULL)
data/bison++-1.21.11/files.cc:332:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ptr = fopen(name, mode);
data/bison++-1.21.11/main.cc:121:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[200];
data/bison++-1.21.11/main.cc:152: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 buffer[200];
data/bison++-1.21.11/main.cc:162: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 buffer[200];
data/bison++-1.21.11/main.cc:171: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 buffer[200];
data/bison++-1.21.11/main.cc:180: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 buffer[200];
data/bison++-1.21.11/output.cc:1589:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{char line[256];
data/bison++-1.21.11/output.cc:1597:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{char line[256];
data/bison++-1.21.11/print.cc:246: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 buffer[90];
data/bison++-1.21.11/print.cc:277:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buffer, " (%d)", i);
data/bison++-1.21.11/print.cc:285: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.
		      sprintf (buffer + strlen(buffer), " %d", j);
data/bison++-1.21.11/print.cc:299: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 (buffer, " (%d)", i);
data/bison++-1.21.11/print.cc:307: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 (buffer + strlen(buffer), " %d", j);
data/bison++-1.21.11/print.cc:334:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buffer, " (%d)", i);
data/bison++-1.21.11/print.cc:340:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buffer + strlen(buffer), " on left:");
data/bison++-1.21.11/print.cc:346: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 (buffer + strlen(buffer), " %d", j);
data/bison++-1.21.11/print.cc:355:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buffer + strlen(buffer), " on right:");
data/bison++-1.21.11/print.cc:362:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf (buffer + strlen(buffer), " %d", j);
data/bison++-1.21.11/reader.cc:829: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 buffer[20];
data/bison++-1.21.11/reader.cc:846:24:  [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).
  expected_conflicts = atoi (buffer);
data/bison++-1.21.11/reader.cc:1313: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 (token_buffer, "@%d", ++gensym_count);
data/bison++-1.21.11/reader.cc:1888: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[65];
data/bison++-1.21.11/reader.cc:1894: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[65];
data/bison++-1.21.11/system.h:30:9:  [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 bcopy(src, dst, num) memcpy((dst), (src), (num))
data/bison++-1.21.11/system.h:30:30:  [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 bcopy(src, dst, num) memcpy((dst), (src), (num))
data/bison++-1.21.11/vmsgetargs.c:43:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char Input_File[256];
data/bison++-1.21.11/vmsgetargs.c:44:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char output_spec[256], name_prefix_spec[256], file_prefix_spec[256];
data/bison++-1.21.11/bison.cc:912: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).
	      size += strlen(yytname[x]) + 15, count++;
data/bison++-1.21.11/bison.cc:927:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(msg, "'");
data/bison++-1.21.11/files.cc:132: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).
  tmp_len = strlen (tmp_base);
data/bison++-1.21.11/files.cc:139: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).
      base_length = strlen (name_base);
data/bison++-1.21.11/files.cc:145: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(name_base)>strlen(*suffix) 
data/bison++-1.21.11/files.cc:145: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(strlen(name_base)>strlen(*suffix) 
data/bison++-1.21.11/files.cc:146: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).
	     && strcmp(name_base+base_length-strlen(*suffix),*suffix)==0)
data/bison++-1.21.11/files.cc:148:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      base_length -= strlen(*suffix);
data/bison++-1.21.11/files.cc:158: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).
      short_base_length = strlen (spec_file_prefix);
data/bison++-1.21.11/files.cc:181: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).
      base_length = strlen (name_base);
data/bison++-1.21.11/files.cc:198: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).
	parser_fname=(char *)xmalloc(strlen(filename)+1);
data/bison++-1.21.11/files.cc:203: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).
	parser_fname=(char *)xmalloc(strlen(PFILE)+1);
data/bison++-1.21.11/files.cc:215: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).
	hskel_fname=(char *)xmalloc(strlen(filename)+1);
data/bison++-1.21.11/files.cc:220: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).
	hskel_fname=(char *)xmalloc(strlen(HFILE)+1);
data/bison++-1.21.11/files.cc:283: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).
      filename = (char *)xmalloc(strlen(cp) + strlen(PFILE1) + 2);
data/bison++-1.21.11/files.cc:283: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).
      filename = (char *)xmalloc(strlen(cp) + strlen(PFILE1) + 2);
data/bison++-1.21.11/files.cc:290:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      cp = filename + strlen(filename);
data/bison++-1.21.11/files.cc:301: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).
	parser_fname=(char *)xmalloc(strlen(filename)+1);
data/bison++-1.21.11/files.cc:306: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).
	parser_fname=(char *)xmalloc(strlen(PFILE1)+1);
data/bison++-1.21.11/files.cc:316:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while((c=getc(fattrs))!=EOF)  /* Thank god for buffering */
data/bison++-1.21.11/files.cc:378:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while((c=getc(ftable)) != EOF)
data/bison++-1.21.11/files.cc:395:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  while((c=getc(fdefines)) != EOF)
data/bison++-1.21.11/getopt.cc:200: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).
extern size_t strlen (const char *);
data/bison++-1.21.11/getopt.cc:473: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).
	    if (s - nextchar == strlen (p->name))
data/bison++-1.21.11/getopt.cc:497: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).
	  nextchar += strlen (nextchar);
data/bison++-1.21.11/getopt.cc:527: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).
		  nextchar += strlen (nextchar);
data/bison++-1.21.11/getopt.cc:540: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).
		  nextchar += strlen (nextchar);
data/bison++-1.21.11/getopt.cc:544: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).
	  nextchar += strlen (nextchar);
data/bison++-1.21.11/lex.cc:87:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(finput);
data/bison++-1.21.11/lex.cc:96:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/lex.cc:101:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/lex.cc:109:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    c = getc(finput);
data/bison++-1.21.11/lex.cc:114:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		      c = getc(finput);
data/bison++-1.21.11/lex.cc:122:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc(finput);
data/bison++-1.21.11/lex.cc:127:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = getc(finput);
data/bison++-1.21.11/lex.cc:138:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/lex.cc:198:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/lex.cc:214:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    c = getc(finput);
data/bison++-1.21.11/lex.cc:225:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(finput);
data/bison++-1.21.11/lex.cc:231:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    c = getc(finput);
data/bison++-1.21.11/lex.cc:238:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    c = getc(finput);
data/bison++-1.21.11/lex.cc:261:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    c = getc(finput);
data/bison++-1.21.11/lex.cc:275:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			c = getc(finput);
data/bison++-1.21.11/lex.cc:293:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = getc(finput);
data/bison++-1.21.11/lex.cc:299:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    c = getc(finput);
data/bison++-1.21.11/lex.cc:385:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/lex.cc:400:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(finput);
data/bison++-1.21.11/lex.cc:410:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/lex.cc:434:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(finput);
data/bison++-1.21.11/lex.cc:468:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(finput);
data/bison++-1.21.11/lex.cc:510:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    { c=getc(finput);
data/bison++-1.21.11/output.cc:347:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c=getc(fattrs))!=EOF)
data/bison++-1.21.11/output.cc:542: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).
  j = strlen (tags[0]) + 44;
data/bison++-1.21.11/output.cc:1394:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
 for(c=getc(faction);c!=EOF;c=getc(faction))
data/bison++-1.21.11/output.cc:1394:31:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
 for(c=getc(faction);c!=EOF;c=getc(faction))
data/bison++-1.21.11/output.cc:1419:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      for ( c = getc(fin); c != '\n' && c != EOF; c = getc(fin))
data/bison++-1.21.11/output.cc:1419:55:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      for ( c = getc(fin); c != '\n' && c != EOF; c = getc(fin))
data/bison++-1.21.11/output.cc:1457:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (c = getc(finput);c != EOF;last=c,c = getc(finput))
data/bison++-1.21.11/output.cc:1457:45:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (c = getc(finput);c != EOF;last=c,c = getc(finput))
data/bison++-1.21.11/output.cc:1651: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(buff_size<strlen(f)*2+1)
data/bison++-1.21.11/output.cc:1654: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).
   buffer=xmalloc(strlen(f)*2+1);
data/bison++-1.21.11/print.cc:237: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).
  if (column + strlen(buffer) > (end))					 \
data/bison++-1.21.11/print.cc:274: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).
	    column = strlen (tags[token_translations[i]]);
data/bison++-1.21.11/print.cc:285: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).
		      sprintf (buffer + strlen(buffer), " %d", j);
data/bison++-1.21.11/print.cc:296: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).
	column = strlen (tags[i]);
data/bison++-1.21.11/print.cc:307:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  sprintf (buffer + strlen(buffer), " %d", j);
data/bison++-1.21.11/print.cc:333: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).
      column = strlen (tags[i]);
data/bison++-1.21.11/print.cc:340:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  sprintf (buffer + strlen(buffer), " on left:");
data/bison++-1.21.11/print.cc:346: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).
		sprintf (buffer + strlen(buffer), " %d", j);
data/bison++-1.21.11/print.cc:353:6:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
	    sprintf (buffer + strlen(buffer), ",");
data/bison++-1.21.11/print.cc:353: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).
	    sprintf (buffer + strlen(buffer), ",");
data/bison++-1.21.11/print.cc:355:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  sprintf (buffer + strlen(buffer), " on right:");
data/bison++-1.21.11/print.cc:362: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).
		    sprintf (buffer + strlen(buffer), " %d", j);
data/bison++-1.21.11/reader.cc:150:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(finput);
data/bison++-1.21.11/reader.cc:169:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/reader.cc:180:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc(finput);
data/bison++-1.21.11/reader.cc:188:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:196:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/reader.cc:202:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/reader.cc:212:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		      c = getc(finput);
data/bison++-1.21.11/reader.cc:228:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    c = getc(finput);
data/bison++-1.21.11/reader.cc:235:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc(finput);
data/bison++-1.21.11/reader.cc:248:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(finput);
data/bison++-1.21.11/reader.cc:503: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).
	  k = strlen(token_buffer);
data/bison++-1.21.11/reader.cc:566: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(token_buffer);
data/bison++-1.21.11/reader.cc:642: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).
	  k = strlen(token_buffer);
data/bison++-1.21.11/reader.cc:726:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(finput);
data/bison++-1.21.11/reader.cc:738:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/reader.cc:746:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:764:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		      c = getc(finput);
data/bison++-1.21.11/reader.cc:772:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    c = getc(finput);
data/bison++-1.21.11/reader.cc:817:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(finput);
data/bison++-1.21.11/reader.cc:831:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(finput);
data/bison++-1.21.11/reader.cc:833:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(finput);
data/bison++-1.21.11/reader.cc:840:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(finput);
data/bison++-1.21.11/reader.cc:908:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(finput);
data/bison++-1.21.11/reader.cc:937:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/reader.cc:948:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc(finput);
data/bison++-1.21.11/reader.cc:956:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:964:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/reader.cc:970:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/reader.cc:980:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		      c = getc(finput);
data/bison++-1.21.11/reader.cc:996:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    c = getc(finput);
data/bison++-1.21.11/reader.cc:1003:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc(finput);
data/bison++-1.21.11/reader.cc:1010:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/reader.cc:1017:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      while ((c = getc(finput)) != '>' && c > 0)
data/bison++-1.21.11/reader.cc:1022:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:1039:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:1057:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/reader.cc:1062:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:1080:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	c = getc(finput);
data/bison++-1.21.11/reader.cc:1090:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(finput);
data/bison++-1.21.11/reader.cc:1125:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(finput);
data/bison++-1.21.11/reader.cc:1147:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:1158:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		      c = getc(finput);
data/bison++-1.21.11/reader.cc:1166:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc(finput);
data/bison++-1.21.11/reader.cc:1174:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:1180:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:1190:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			  c = getc(finput);
data/bison++-1.21.11/reader.cc:1206:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		        c = getc(finput);
data/bison++-1.21.11/reader.cc:1213:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		      c = getc(finput);
data/bison++-1.21.11/reader.cc:1220:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:1227:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  while ((c = getc(finput)) != '>' && c > 0)
data/bison++-1.21.11/reader.cc:1233:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc(finput);
data/bison++-1.21.11/reader.cc:1248:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc(finput);
data/bison++-1.21.11/reader.cc:1266:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc(finput);
data/bison++-1.21.11/reader.cc:1271:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc(finput);
data/bison++-1.21.11/reader.cc:1288:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c = getc(finput);
data/bison++-1.21.11/reader.cc:1296:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc(finput);
data/bison++-1.21.11/reader.cc:1642: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(token_buffer);
data/bison++-1.21.11/reader.cc:1826:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  register int c = getc(stream);
data/bison++-1.21.11/reader.cc:1832:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(stream);
data/bison++-1.21.11/reader.cc:1839:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(stream);
data/bison++-1.21.11/reader.cc:1854: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).
      parser_name=(char *)xmalloc(strlen(n)+1);
data/bison++-1.21.11/reader.cc:1872:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
     c=getc(finput),l++) 
data/bison++-1.21.11/reader.cc:1902:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
 for(after_backslash=0,c=getc(finput);
data/bison++-1.21.11/reader.cc:1904:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
     c=getc(finput))
data/bison++-1.21.11/vmsgetargs.c:137: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).
  Descr.Size = strlen(Name);
data/bison++-1.21.11/vmsgetargs.c:152: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).
  Descr1.Size = strlen(Name);

ANALYSIS SUMMARY:

Hits = 225
Lines analyzed = 12793 in approximately 0.38 seconds (33795 lines/second)
Physical Source Lines of Code (SLOC) = 8647
Hits@level = [0] 303 [1] 139 [2]  38 [3]  18 [4]  30 [5]   0
Hits@level+ = [0+] 528 [1+] 225 [2+]  86 [3+]  48 [4+]  30 [5+]   0
Hits/KSLOC@level+ = [0+] 61.0616 [1+] 26.0206 [2+] 9.94565 [3+] 5.55106 [4+] 3.46941 [5+]   0
Dot directories skipped = 2 (--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.