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/genparse-0.9.2/gnulib/lib/inttypes.in.h
Examining data/genparse-0.9.2/gnulib/lib/strerror.c
Examining data/genparse-0.9.2/gnulib/lib/xmalloc.c
Examining data/genparse-0.9.2/gnulib/lib/xstrtoul.c
Examining data/genparse-0.9.2/gnulib/lib/xstrtol.h
Examining data/genparse-0.9.2/gnulib/lib/stdlib.in.h
Examining data/genparse-0.9.2/gnulib/lib/strtol.c
Examining data/genparse-0.9.2/gnulib/lib/unistd.in.h
Examining data/genparse-0.9.2/gnulib/lib/xalloc-die.c
Examining data/genparse-0.9.2/gnulib/lib/strtoull.c
Examining data/genparse-0.9.2/gnulib/lib/errno.in.h
Examining data/genparse-0.9.2/gnulib/lib/error.h
Examining data/genparse-0.9.2/gnulib/lib/stdint.in.h
Examining data/genparse-0.9.2/gnulib/lib/strtoimax.c
Examining data/genparse-0.9.2/gnulib/lib/stdbool.in.h
Examining data/genparse-0.9.2/gnulib/lib/strtoumax.c
Examining data/genparse-0.9.2/gnulib/lib/xstrtod.c
Examining data/genparse-0.9.2/gnulib/lib/xalloc.h
Examining data/genparse-0.9.2/gnulib/lib/xstrtol-error.c
Examining data/genparse-0.9.2/gnulib/lib/error.c
Examining data/genparse-0.9.2/gnulib/lib/xstrtoimax.c
Examining data/genparse-0.9.2/gnulib/lib/strtoul.c
Examining data/genparse-0.9.2/gnulib/lib/getopt.in.h
Examining data/genparse-0.9.2/gnulib/lib/strtoll.c
Examining data/genparse-0.9.2/gnulib/lib/getopt_int.h
Examining data/genparse-0.9.2/gnulib/lib/c-strtod.c
Examining data/genparse-0.9.2/gnulib/lib/getopt1.c
Examining data/genparse-0.9.2/gnulib/lib/xstrtoumax.c
Examining data/genparse-0.9.2/gnulib/lib/c-strtod.h
Examining data/genparse-0.9.2/gnulib/lib/getopt.c
Examining data/genparse-0.9.2/gnulib/lib/gettext.h
Examining data/genparse-0.9.2/gnulib/lib/xstrtod.h
Examining data/genparse-0.9.2/gnulib/lib/intprops.h
Examining data/genparse-0.9.2/gnulib/lib/exitfail.c
Examining data/genparse-0.9.2/gnulib/lib/verify.h
Examining data/genparse-0.9.2/gnulib/lib/wchar.in.h
Examining data/genparse-0.9.2/gnulib/lib/exitfail.h
Examining data/genparse-0.9.2/gnulib/lib/xstrtol.c
Examining data/genparse-0.9.2/gnulib/lib/string.in.h
Examining data/genparse-0.9.2/link-warning.h
Examining data/genparse-0.9.2/src/systime.cc
Examining data/genparse-0.9.2/src/lexer.cc
Examining data/genparse-0.9.2/src/parser.h
Examining data/genparse-0.9.2/src/genparse.h
Examining data/genparse-0.9.2/src/genparse.cc
Examining data/genparse-0.9.2/src/clparam_list.h
Examining data/genparse-0.9.2/src/unique_int.cc
Examining data/genparse-0.9.2/src/cldesc.h
Examining data/genparse-0.9.2/src/userinfo.cc
Examining data/genparse-0.9.2/src/eh_system.h
Examining data/genparse-0.9.2/src/sysinfo.h
Examining data/genparse-0.9.2/src/java_clparam_list.cc
Examining data/genparse-0.9.2/src/clparam_list.cc
Examining data/genparse-0.9.2/src/eh.cc
Examining data/genparse-0.9.2/src/getopt.cc
Examining data/genparse-0.9.2/src/parse_cl.cc
Examining data/genparse-0.9.2/src/sysinfo.cc
Examining data/genparse-0.9.2/src/eh.h
Examining data/genparse-0.9.2/src/clparam_list_factory.h
Examining data/genparse-0.9.2/src/getopt.h
Examining data/genparse-0.9.2/src/systime.h
Examining data/genparse-0.9.2/src/cpp_clparam_list.cc
Examining data/genparse-0.9.2/src/userinfo.h
Examining data/genparse-0.9.2/src/logfile.h
Examining data/genparse-0.9.2/src/parse_cl.h
Examining data/genparse-0.9.2/src/clparam.h
Examining data/genparse-0.9.2/src/cldesc.cc
Examining data/genparse-0.9.2/src/c_clparam_list.h
Examining data/genparse-0.9.2/src/clparam_list_factory.cc
Examining data/genparse-0.9.2/src/unique_int.h
Examining data/genparse-0.9.2/src/logfile.cc
Examining data/genparse-0.9.2/src/cpp_clparam_list.h
Examining data/genparse-0.9.2/src/eh_system.cc
Examining data/genparse-0.9.2/src/parser.cc
Examining data/genparse-0.9.2/src/genparse_util.h
Examining data/genparse-0.9.2/src/clparam.cc
Examining data/genparse-0.9.2/src/genparse_util.cc
Examining data/genparse-0.9.2/src/c_clparam_list.cc
Examining data/genparse-0.9.2/src/java_clparam_list.h
Examining data/genparse-0.9.2/examples/ls_clp.c
Examining data/genparse-0.9.2/examples/mycopy2.c
Examining data/genparse-0.9.2/examples/rm_clp.h
Examining data/genparse-0.9.2/examples/ping.c
Examining data/genparse-0.9.2/examples/ping_clp.c
Examining data/genparse-0.9.2/examples/mycopy3.c
Examining data/genparse-0.9.2/examples/tail.c
Examining data/genparse-0.9.2/examples/uname.c
Examining data/genparse-0.9.2/examples/mycopy4_clp_cb.cc
Examining data/genparse-0.9.2/examples/mycopy4_clp.h
Examining data/genparse-0.9.2/examples/echo.c
Examining data/genparse-0.9.2/examples/mycopy4.cc
Examining data/genparse-0.9.2/examples/rm_clp.c
Examining data/genparse-0.9.2/examples/rm.c
Examining data/genparse-0.9.2/examples/getopt.cc
Examining data/genparse-0.9.2/examples/mv_clp.h
Examining data/genparse-0.9.2/examples/ping.h
Examining data/genparse-0.9.2/examples/uname_clp.c
Examining data/genparse-0.9.2/examples/tail_clp.c
Examining data/genparse-0.9.2/examples/wc.c
Examining data/genparse-0.9.2/examples/tail_clp.h
Examining data/genparse-0.9.2/examples/ls.c
Examining data/genparse-0.9.2/examples/echo_clp.c
Examining data/genparse-0.9.2/examples/coreutils.h
Examining data/genparse-0.9.2/examples/mycopy3_clp.h
Examining data/genparse-0.9.2/examples/mycopy1.c
Examining data/genparse-0.9.2/examples/uname_clp.h
Examining data/genparse-0.9.2/examples/mv_clp.c
Examining data/genparse-0.9.2/examples/mycopy3_clp.c
Examining data/genparse-0.9.2/examples/mv.c
Examining data/genparse-0.9.2/examples/ping_clp.h
Examining data/genparse-0.9.2/examples/wc_clp.c
Examining data/genparse-0.9.2/examples/wc_clp.h
Examining data/genparse-0.9.2/examples/tail.h
Examining data/genparse-0.9.2/examples/mycopy4.h
Examining data/genparse-0.9.2/examples/ls_clp.h
Examining data/genparse-0.9.2/examples/ls.h
Examining data/genparse-0.9.2/examples/echo_clp.h
Examining data/genparse-0.9.2/examples/mycopy4_clp.cc
Examining data/genparse-0.9.2/tests/ccheck/longmembers_test.c
Examining data/genparse-0.9.2/tests/ccheck/longmembers_clp.c
Examining data/genparse-0.9.2/tests/ccheck/default_callback.c
Examining data/genparse-0.9.2/tests/ccheck/intmax_test.c
Examining data/genparse-0.9.2/tests/ccheck/long_clp.c
Examining data/genparse-0.9.2/tests/ccheck/double_clp.c
Examining data/genparse-0.9.2/tests/ccheck/test.h
Examining data/genparse-0.9.2/tests/ccheck/uintmax_test.c
Examining data/genparse-0.9.2/tests/ccheck/ulong_test.c
Examining data/genparse-0.9.2/tests/ccheck/long_test.c
Examining data/genparse-0.9.2/tests/ccheck/double_test.c
Examining data/genparse-0.9.2/tests/ccheck/longmembers_callback.c
Examining data/genparse-0.9.2/tests/ccheck/ulong_clp.c
Examining data/genparse-0.9.2/tests/ccheck/intmax_clp.c
Examining data/genparse-0.9.2/tests/ccheck/default_clp.c
Examining data/genparse-0.9.2/tests/ccheck/uintmax_clp.c
Examining data/genparse-0.9.2/tests/ccheck/default_test.c
Examining data/genparse-0.9.2/tests/ccheck/genparse_test.h
Examining data/genparse-0.9.2/tests/ccheck/gnulib_test.h
Examining data/genparse-0.9.2/tests/ccheck/ftest.c
Examining data/genparse-0.9.2/tests/misc/new_print.cc
Examining data/genparse-0.9.2/tests/misc/new_print.c
Examining data/genparse-0.9.2/tests/misc/simple.c
Examining data/genparse-0.9.2/tests/misc/simple.cc
Examining data/genparse-0.9.2/tests/cppcheck/longmembers_callback.cc
Examining data/genparse-0.9.2/tests/cppcheck/longmembers_clp.cc
Examining data/genparse-0.9.2/tests/cppcheck/ftest.cc
Examining data/genparse-0.9.2/tests/cppcheck/longmembers_test.cc
Examining data/genparse-0.9.2/tests/cppcheck/test.h
Examining data/genparse-0.9.2/tests/cppcheck/default_clp.cc
Examining data/genparse-0.9.2/tests/cppcheck/default_callback.cc
Examining data/genparse-0.9.2/tests/cppcheck/default_test.cc
Examining data/genparse-0.9.2/tests/cppcheck/genparse_test.h

FINAL RESULTS:

data/genparse-0.9.2/gnulib/lib/unistd.in.h:107:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   define chown rpl_chown
data/genparse-0.9.2/gnulib/lib/unistd.in.h:108:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
extern int chown (const char *file, uid_t uid, gid_t gid);
data/genparse-0.9.2/gnulib/lib/unistd.in.h:112:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# undef chown
data/genparse-0.9.2/gnulib/lib/unistd.in.h:113:10:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# define chown(f,u,g) \
data/genparse-0.9.2/gnulib/lib/unistd.in.h:117:6:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
     chown (f, u, g))
data/genparse-0.9.2/gnulib/lib/unistd.in.h:503:12:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
extern int readlink (const char *file, char *buf, size_t bufsize);
data/genparse-0.9.2/gnulib/lib/unistd.in.h:506:9:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
# undef readlink
data/genparse-0.9.2/gnulib/lib/unistd.in.h:507:10:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
# define readlink(f,b,s) \
data/genparse-0.9.2/gnulib/lib/unistd.in.h:510:6:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
     readlink (f, b, s))
data/genparse-0.9.2/examples/coreutils.h:19:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (rval, "\"\\\"%s\\\"\"", s);
data/genparse-0.9.2/gnulib/lib/error.c:205:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf (stderr, message, args);
data/genparse-0.9.2/gnulib/lib/error.c:317:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (stderr, file_name != NULL ? "%s:%d: " : " ",
data/genparse-0.9.2/gnulib/lib/error.h:30:22:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define __printf__ printf
data/genparse-0.9.2/gnulib/lib/strerror.c:265:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (mesg, fmt, n);
data/genparse-0.9.2/src/parser.cc:896:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define YYFPRINTF fprintf
data/genparse-0.9.2/examples/echo_clp.c:47: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, "neEhv", long_options, &optind)) != - 1)
data/genparse-0.9.2/examples/getopt.cc:75: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 (argc, argv, options, long_options, opt_index)
data/genparse-0.9.2/examples/getopt.cc:102: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/genparse-0.9.2/examples/getopt.cc:293:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char * getenv (const char *);
data/genparse-0.9.2/examples/getopt.cc:482:21:  [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.
  posixly_correct = getenv ("POSIXLY_CORRECT");
data/genparse-0.9.2/examples/ls_clp.c:143: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, "aAbBcCdDfFgGhHiI:klLmnNopqQrRsStT:uUvw:xXZ1", long_options, &optind)) != - 1)
data/genparse-0.9.2/examples/mv_clp.c:61: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, "bfisuvh", long_options, &optind)) != - 1)
data/genparse-0.9.2/examples/mycopy2.c:28:16:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((ch = getopt_long (argc, argv, "hi:", long_options, 
data/genparse-0.9.2/examples/mycopy3_clp.c:52: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, "i:o:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/examples/mycopy4_clp.cc:52: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, "i:o:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/examples/ping_clp.c:84: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, "hLVt:c:di:nrvfl:p:qRs:", long_options, &optind)) != - 1)
data/genparse-0.9.2/examples/rm_clp.c:54: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, "dfirRvh", long_options, &optind)) != - 1)
data/genparse-0.9.2/examples/tail_clp.c:82: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, "c:fFn:qs:v0123456789", long_options, &optind)) != - 1)
data/genparse-0.9.2/examples/uname_clp.c:58: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, "asnvrmph", long_options, &optind)) != - 1)
data/genparse-0.9.2/examples/wc_clp.c:56: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, "cmlLw", long_options, &optind)) != - 1)
data/genparse-0.9.2/gnulib/lib/getopt.c:104:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char *getenv ();
data/genparse-0.9.2/gnulib/lib/getopt.c:239:47:  [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.
  d->__posixly_correct = posixly_correct || !!getenv ("POSIXLY_CORRECT");
data/genparse-0.9.2/gnulib/lib/getopt.c:1111: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/genparse-0.9.2/gnulib/lib/getopt.c:1133: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/genparse-0.9.2/gnulib/lib/getopt.in.h:38:9:  [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.
# undef getopt
data/genparse-0.9.2/gnulib/lib/getopt.in.h:39:9:  [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.
# undef getopt_long
data/genparse-0.9.2/gnulib/lib/getopt.in.h:48:10:  [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.
# define getopt __GETOPT_ID (getopt)
data/genparse-0.9.2/gnulib/lib/getopt.in.h:48:30:  [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.
# define getopt __GETOPT_ID (getopt)
data/genparse-0.9.2/gnulib/lib/getopt.in.h:49:10:  [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.
# define getopt_long __GETOPT_ID (getopt_long)
data/genparse-0.9.2/gnulib/lib/getopt.in.h:49:35:  [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.
# define getopt_long __GETOPT_ID (getopt_long)
data/genparse-0.9.2/gnulib/lib/getopt.in.h:203: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/genparse-0.9.2/gnulib/lib/getopt.in.h:207: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 *__getopt_argv_const *___argv,
data/genparse-0.9.2/gnulib/lib/getopt1.c:40: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 *__getopt_argv_const *argv, const char *options,
data/genparse-0.9.2/gnulib/lib/getopt1.c:105: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/genparse-0.9.2/src/getopt.cc:89: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 (argc, argv, options, long_options, opt_index)
data/genparse-0.9.2/src/getopt.cc:116: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/genparse-0.9.2/src/getopt.cc:307:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char * getenv (const char *);
data/genparse-0.9.2/src/getopt.cc:496:21:  [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.
  posixly_correct = getenv ("POSIXLY_CORRECT");
data/genparse-0.9.2/src/getopt.h:135: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/genparse-0.9.2/src/getopt.h:137: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/genparse-0.9.2/src/getopt.h:141: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/genparse-0.9.2/src/getopt.h:154: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/genparse-0.9.2/src/getopt.h:156: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/genparse-0.9.2/src/parse_cl.cc:73: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, "c:dD:f:gil:mo:p:Pqshv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/ccheck/default_clp.c:88: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, "c:d:e:f:gi:o::p::q:P::QrRs:t:1w:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/ccheck/double_clp.c:56: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, "a:b:c:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/ccheck/intmax_clp.c:55: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, "a:b:c:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/ccheck/long_clp.c:55: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, "a:b:c:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/ccheck/longmembers_clp.c:88: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, "c:d:e:f:gi:o::p::q:P::QrRs:t:1w:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/ccheck/uintmax_clp.c:55: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, "a:b:c:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/ccheck/ulong_clp.c:55: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, "a:b:c:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/cppcheck/default_clp.cc:88: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, "c:d:e:f:gi:o::p::q:P::QrRs:t:1w:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/cppcheck/longmembers_clp.cc:88: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, "c:d:e:f:gi:o::p::q:P::QrRs:t:1w:hv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/misc/new_print.c:45: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, "ahv", long_options, &optind)) != - 1)
data/genparse-0.9.2/tests/misc/new_print.cc:46: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, "ahv", long_options, &optind)) != - 1)
data/genparse-0.9.2/examples/coreutils.h:17: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 rval[10];
data/genparse-0.9.2/examples/getopt.cc:410:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (new_str, __getopt_nonoption_flags, nonoption_flags_max_len);
data/genparse-0.9.2/examples/getopt.cc:522:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		  memcpy (__getopt_nonoption_flags, orig_str, len);
data/genparse-0.9.2/examples/mycopy1.c:11:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  n = atoi (argv[1]);
data/genparse-0.9.2/examples/mycopy1.c:12: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 (argv[2],"r");
data/genparse-0.9.2/examples/mycopy2.c:38: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).
          iterations = atoi (optarg);
data/genparse-0.9.2/examples/mycopy2.c:64:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (argv[optind],"r");
data/genparse-0.9.2/examples/mycopy3.c:24:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ofp = fopen (a.o, "w");
data/genparse-0.9.2/examples/mycopy3.c:31:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (argv[a.optind],"r");
data/genparse-0.9.2/examples/mycopy3_clp.c:57: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).
          my_args->i = atoi (optarg);
data/genparse-0.9.2/examples/mycopy4.cc:30:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      output_file.open (cl.o ().c_str ());
data/genparse-0.9.2/examples/mycopy4.cc:36:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      input_file.open (argv[cl.next_param ()]);
data/genparse-0.9.2/examples/mycopy4_clp.cc:57:16:  [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).
          _i = atoi (optarg);
data/genparse-0.9.2/gnulib/lib/error.c:110: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 errbuf[1024];
data/genparse-0.9.2/gnulib/lib/gettext.h:200:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/genparse-0.9.2/gnulib/lib/gettext.h:202:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/genparse-0.9.2/gnulib/lib/gettext.h:210: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/genparse-0.9.2/gnulib/lib/gettext.h:212: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/genparse-0.9.2/gnulib/lib/gettext.h: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 msg_ctxt_id[msgctxt_len + msgid_len];
data/genparse-0.9.2/gnulib/lib/gettext.h:248:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/genparse-0.9.2/gnulib/lib/gettext.h:256: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/genparse-0.9.2/gnulib/lib/gettext.h:258: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/genparse-0.9.2/gnulib/lib/stdlib.in.h:213:11:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#  define mkstemp rpl_mkstemp
data/genparse-0.9.2/gnulib/lib/stdlib.in.h:214:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
extern int mkstemp (char * /*template*/);
data/genparse-0.9.2/gnulib/lib/stdlib.in.h:220:9:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
# undef mkstemp
data/genparse-0.9.2/gnulib/lib/stdlib.in.h:221:10:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
# define mkstemp(t) \
data/genparse-0.9.2/gnulib/lib/stdlib.in.h:224:6:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
     mkstemp (t))
data/genparse-0.9.2/gnulib/lib/strerror.c:264:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char mesg[sizeof fmt + INT_STRLEN_BOUND (n)];
data/genparse-0.9.2/gnulib/lib/xmalloc.c:113:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy (xmalloc (s), p, s);
data/genparse-0.9.2/gnulib/lib/xstrtol-error.c:55: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 option_buffer[2];
data/genparse-0.9.2/link-warning.h:18:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     ({ static const char warning[sizeof (message)]		\
data/genparse-0.9.2/src/c_clparam_list.cc:316:5:  [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).
  o.open (path.c_str ());
data/genparse-0.9.2/src/c_clparam_list.cc:428:5:  [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).
  o.open (path.c_str ());
data/genparse-0.9.2/src/c_clparam_list.cc:841:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      o.open (path.c_str ());
data/genparse-0.9.2/src/clparam_list.h:156:61:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  void set_break_lines (const char *width) { _break_lines = atoi (width); }
data/genparse-0.9.2/src/cpp_clparam_list.cc:90:5:  [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).
  o.open (path.c_str ());
data/genparse-0.9.2/src/cpp_clparam_list.cc:217:5:  [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).
  o.open (path.c_str ());
data/genparse-0.9.2/src/cpp_clparam_list.cc:619:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      o.open (path.c_str ());
data/genparse-0.9.2/src/genparse.cc:162:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      mylog.open (cl.f ());
data/genparse-0.9.2/src/genparse.cc:167:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fp = fopen (argv[cl.next_param ()], "r");
data/genparse-0.9.2/src/getopt.cc:424:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (new_str, __getopt_nonoption_flags, nonoption_flags_max_len);
data/genparse-0.9.2/src/getopt.cc:536:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		  memcpy (__getopt_nonoption_flags, orig_str, len);
data/genparse-0.9.2/src/java_clparam_list.cc:84:5:  [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).
  o.open (path.c_str ());
data/genparse-0.9.2/src/java_clparam_list.cc:133:5:  [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).
  o.open (path.c_str ());
data/genparse-0.9.2/src/java_clparam_list.cc:226:5:  [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).
  o.open (path.c_str ());
data/genparse-0.9.2/src/lexer.cc:2349:34:  [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).
                          yyin = fopen (yytext, "r");
data/genparse-0.9.2/src/logfile.cc:50:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void Logfile::open (string filename) throw (EH)
data/genparse-0.9.2/src/logfile.cc:54: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).
  _log.open (filename.c_str ());
data/genparse-0.9.2/src/logfile.h:64: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).
  void open (string) throw (EH);
data/genparse-0.9.2/src/parser.cc:1196: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/genparse-0.9.2/src/parser.cc:1213: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 yyformat[sizeof yyunexpected
data/genparse-0.9.2/src/parser.cc:1403:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char yymsgbuf[128];
data/genparse-0.9.2/src/systime.cc:111: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 timestr[TIMESTR_LEN];
data/genparse-0.9.2/src/systime.cc:129: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 timestr[TIMESTR_LEN];
data/genparse-0.9.2/src/systime.cc:147: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 timestr[TIMESTR_LEN];
data/genparse-0.9.2/src/userinfo.cc:48: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 host[MAXHOSTNAMELEN];
data/genparse-0.9.2/src/userinfo.cc:49: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 domain[MAXHOSTNAMELEN];
data/genparse-0.9.2/tests/ccheck/default_clp.c:129: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).
          my_args->i = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/default_clp.c:145:26:  [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).
            my_args->o = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/default_clp.c:157:26:  [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).
            my_args->q = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/default_clp.c:163:26:  [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).
            my_args->P = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/default_clp.c:184: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).
          my_args->t = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/default_clp.c:188:29:  [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).
          my_args->uparam = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/default_clp.c:192:29:  [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).
          my_args->vparam = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/default_clp.c:206:26:  [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).
            my_args->w = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/default_test.c:26:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *argv[100];
data/genparse-0.9.2/tests/ccheck/double_test.c:26:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *argv[100];
data/genparse-0.9.2/tests/ccheck/intmax_test.c:26:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *argv[100];
data/genparse-0.9.2/tests/ccheck/long_test.c:26:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *argv[100];
data/genparse-0.9.2/tests/ccheck/longmembers_clp.c:129:29:  [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).
          my_args->iparam = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/longmembers_clp.c:145:31:  [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).
            my_args->oparam = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/longmembers_clp.c:157:31:  [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).
            my_args->qparam = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/longmembers_clp.c:163:31:  [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).
            my_args->Pparam = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/longmembers_clp.c:184: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).
          my_args->t = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/longmembers_clp.c:188:29:  [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).
          my_args->uparam = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/longmembers_clp.c:192:29:  [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).
          my_args->vparam = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/longmembers_clp.c:206:31:  [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).
            my_args->wparam = atoi (optarg);
data/genparse-0.9.2/tests/ccheck/longmembers_test.c:26:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *argv[100];
data/genparse-0.9.2/tests/ccheck/uintmax_test.c:26:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *argv[100];
data/genparse-0.9.2/tests/ccheck/ulong_test.c:26:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *argv[100];
data/genparse-0.9.2/tests/cppcheck/default_clp.cc:131:16:  [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).
          _i = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/default_clp.cc:149:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            _o = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/default_clp.cc:161:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            _q = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/default_clp.cc:167:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            _P = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/default_clp.cc:188:16:  [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).
          _t = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/default_clp.cc:192:21:  [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).
          _uparam = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/default_clp.cc:196:21:  [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).
          _vparam = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/default_clp.cc:210:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            _w = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/genparse_test.h:59:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[100];
data/genparse-0.9.2/tests/cppcheck/longmembers_clp.cc:131:21:  [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).
          _iparam = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/longmembers_clp.cc:149:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            _oparam = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/longmembers_clp.cc:161:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            _qparam = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/longmembers_clp.cc:167:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            _Pparam = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/longmembers_clp.cc:188:16:  [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).
          _t = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/longmembers_clp.cc:192:21:  [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).
          _uparam = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/longmembers_clp.cc:196:21:  [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).
          _vparam = atoi (optarg);
data/genparse-0.9.2/tests/cppcheck/longmembers_clp.cc:210:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            _wparam = atoi (optarg);
data/genparse-0.9.2/examples/getopt.cc:315: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).
extern int strlen (const char *);
data/genparse-0.9.2/examples/getopt.cc:513:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      int len = nonoption_flags_max_len = strlen (orig_str);
data/genparse-0.9.2/examples/getopt.cc:737: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).
		== (unsigned int) strlen (p->name))
data/genparse-0.9.2/examples/getopt.cc:761: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/genparse-0.9.2/examples/getopt.cc:794: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/genparse-0.9.2/examples/getopt.cc:810: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/genparse-0.9.2/examples/getopt.cc:815: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/genparse-0.9.2/examples/getopt.cc:926:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if ((unsigned int) (nameend - nextchar) == strlen (p->name))
data/genparse-0.9.2/examples/getopt.cc:949:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    nextchar += strlen (nextchar);
data/genparse-0.9.2/examples/getopt.cc:969: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).
		    nextchar += strlen (nextchar);
data/genparse-0.9.2/examples/getopt.cc:983: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).
		    nextchar += strlen (nextchar);
data/genparse-0.9.2/examples/getopt.cc:987:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    nextchar += strlen (nextchar);
data/genparse-0.9.2/examples/mycopy1.c:16:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = fgetc (fp)) != EOF)
data/genparse-0.9.2/examples/mycopy2.c:68:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = fgetc (fp)) != EOF)
data/genparse-0.9.2/examples/mycopy3.c:35:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = fgetc (fp)) != EOF)
data/genparse-0.9.2/gnulib/lib/error.c:142:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (message) + 1;
data/genparse-0.9.2/gnulib/lib/getopt.c:270:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      int len = d->__nonoption_flags_max_len = strlen (orig_str);
data/genparse-0.9.2/gnulib/lib/getopt.c:497: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).
		== (unsigned int) strlen (p->name))
data/genparse-0.9.2/gnulib/lib/getopt.c:546: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).
	  d->__nextchar += strlen (d->__nextchar);
data/genparse-0.9.2/gnulib/lib/getopt.c:619: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).
		  d->__nextchar += strlen (d->__nextchar);
data/genparse-0.9.2/gnulib/lib/getopt.c:659: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).
		  d->__nextchar += strlen (d->__nextchar);
data/genparse-0.9.2/gnulib/lib/getopt.c:664: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).
	  d->__nextchar += strlen (d->__nextchar);
data/genparse-0.9.2/gnulib/lib/getopt.c:867: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).
	      if ((unsigned int) (nameend - d->__nextchar) == strlen (p->name))
data/genparse-0.9.2/gnulib/lib/getopt.c:912: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).
	    d->__nextchar += strlen (d->__nextchar);
data/genparse-0.9.2/gnulib/lib/getopt.c:956: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).
		    d->__nextchar += strlen (d->__nextchar);
data/genparse-0.9.2/gnulib/lib/getopt.c:994: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).
		    d->__nextchar += strlen (d->__nextchar);
data/genparse-0.9.2/gnulib/lib/getopt.c:998: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).
	    d->__nextchar += strlen (d->__nextchar);
data/genparse-0.9.2/gnulib/lib/gettext.h:196: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).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/genparse-0.9.2/gnulib/lib/gettext.h:197: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).
  size_t msgid_len = strlen (msgid) + 1;
data/genparse-0.9.2/gnulib/lib/gettext.h:242: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).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/genparse-0.9.2/gnulib/lib/gettext.h:243: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).
  size_t msgid_len = strlen (msgid) + 1;
data/genparse-0.9.2/gnulib/lib/xmalloc.c:121: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).
  return xmemdup (string, strlen (string) + 1);
data/genparse-0.9.2/src/getopt.cc:329: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).
extern int strlen (const char *);
data/genparse-0.9.2/src/getopt.cc:527:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      int len = nonoption_flags_max_len = strlen (orig_str);
data/genparse-0.9.2/src/getopt.cc:751: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).
		== (unsigned int) strlen (p->name))
data/genparse-0.9.2/src/getopt.cc:775: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/genparse-0.9.2/src/getopt.cc:808: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/genparse-0.9.2/src/getopt.cc:824: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/genparse-0.9.2/src/getopt.cc:829: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/genparse-0.9.2/src/getopt.cc:940:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if ((unsigned int) (nameend - nextchar) == strlen (p->name))
data/genparse-0.9.2/src/getopt.cc:963:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    nextchar += strlen (nextchar);
data/genparse-0.9.2/src/getopt.cc:983: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).
		    nextchar += strlen (nextchar);
data/genparse-0.9.2/src/getopt.cc:997: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).
		    nextchar += strlen (nextchar);
data/genparse-0.9.2/src/getopt.cc:1001:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    nextchar += strlen (nextchar);
data/genparse-0.9.2/src/lexer.cc:1638:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
data/genparse-0.9.2/src/lexer.cc:2272:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                          yylval.str[strlen (yylval.str)-1]='\0';
data/genparse-0.9.2/src/lexer.cc:2282:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                          yylval.str[strlen (yylval.str)-1]='\0';
data/genparse-0.9.2/src/lexer.cc:3104:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return yy_scan_bytes(yystr,strlen(yystr) );
data/genparse-0.9.2/src/parser.cc:1077:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#   define yystrlen strlen

ANALYSIS SUMMARY:

Hits = 211
Lines analyzed = 29063 in approximately 0.85 seconds (34053 lines/second)
Physical Source Lines of Code (SLOC) = 18819
Hits@level = [0] 159 [1]  49 [2]  97 [3]  50 [4]   6 [5]   9
Hits@level+ = [0+] 370 [1+] 211 [2+] 162 [3+]  65 [4+]  15 [5+]   9
Hits/KSLOC@level+ = [0+] 19.661 [1+] 11.2121 [2+] 8.60832 [3+] 3.45396 [4+] 0.797067 [5+] 0.47824
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.