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/httperf-0.9.0/src/gen/wsess.c
Examining data/httperf-0.9.0/src/gen/call_seq.c
Examining data/httperf-0.9.0/src/gen/uri_fixed.c
Examining data/httperf-0.9.0/src/gen/conn_rate.c
Examining data/httperf-0.9.0/src/gen/session.c
Examining data/httperf-0.9.0/src/gen/session.h
Examining data/httperf-0.9.0/src/gen/wsesslog.c
Examining data/httperf-0.9.0/src/gen/misc.c
Examining data/httperf-0.9.0/src/gen/rate.c
Examining data/httperf-0.9.0/src/gen/rate.h
Examining data/httperf-0.9.0/src/gen/wsesspage.c
Examining data/httperf-0.9.0/src/gen/uri_wlog.c
Examining data/httperf-0.9.0/src/gen/uri_wset.c
Examining data/httperf-0.9.0/src/gen/sess_cookie.c
Examining data/httperf-0.9.0/src/lib/getopt.c
Examining data/httperf-0.9.0/src/lib/getopt.h
Examining data/httperf-0.9.0/src/lib/getopt1.c
Examining data/httperf-0.9.0/src/lib/ssl_writev.c
Examining data/httperf-0.9.0/src/stat/sess_stat.c
Examining data/httperf-0.9.0/src/stat/stats.h
Examining data/httperf-0.9.0/src/stat/print_reply.c
Examining data/httperf-0.9.0/src/stat/basic.c
Examining data/httperf-0.9.0/src/httperf.h
Examining data/httperf-0.9.0/src/idleconn.c
Examining data/httperf-0.9.0/src/event.c
Examining data/httperf-0.9.0/src/event.h
Examining data/httperf-0.9.0/src/timer.c
Examining data/httperf-0.9.0/src/timer.h
Examining data/httperf-0.9.0/src/call.c
Examining data/httperf-0.9.0/src/call.h
Examining data/httperf-0.9.0/src/conn.c
Examining data/httperf-0.9.0/src/conn.h
Examining data/httperf-0.9.0/src/core.h
Examining data/httperf-0.9.0/src/http.c
Examining data/httperf-0.9.0/src/http.h
Examining data/httperf-0.9.0/src/sess.c
Examining data/httperf-0.9.0/src/sess.h
Examining data/httperf-0.9.0/src/object.c
Examining data/httperf-0.9.0/src/object.h
Examining data/httperf-0.9.0/src/httperf.c
Examining data/httperf-0.9.0/src/core.c

FINAL RESULTS:

data/httperf-0.9.0/src/gen/wsesslog.c:411:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
      if (sscanf (line,"%s%n", uri, &bytes_read) != 1)
data/httperf-0.9.0/src/gen/wsesslog.c:445:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
      while (sscanf (parsed_so_far, " %s%n", this_arg, &bytes_read) == 1)
data/httperf-0.9.0/src/gen/wsesslog.c:447:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	  if (sscanf (this_arg, "method=%s", method_str) == 1)
data/httperf-0.9.0/src/gen/wsesslog.c:464:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	  else if (sscanf (this_arg, "contents=%s", contents) == 1)
data/httperf-0.9.0/src/httperf.c:182:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, msg, va);
data/httperf-0.9.0/src/gen/rate.c:67:34:  [3] (random) erand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  return lower + (upper - lower)*erand48 (rg->xsubi);
data/httperf-0.9.0/src/gen/rate.c:75:27:  [3] (random) erand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  return -mean*log (1.0 - erand48 (rg->xsubi));
data/httperf-0.9.0/src/gen/uri_wset.c:107:15:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  miss_prob = drand48 ();
data/httperf-0.9.0/src/httperf.c:269: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, "d:hvV", longopts, &longindex)) >= 0)
data/httperf-0.9.0/src/lib/getopt.c:199: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/httperf-0.9.0/src/lib/getopt.c:330: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/httperf-0.9.0/src/lib/getopt.c:357: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.
      nonoption_flags = getenv (var);
data/httperf-0.9.0/src/lib/getopt.c:746: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 (argc, argv, optstring)
data/httperf-0.9.0/src/lib/getopt.c:776: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/httperf-0.9.0/src/lib/getopt.h:106: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/httperf-0.9.0/src/lib/getopt.h:108: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/httperf-0.9.0/src/lib/getopt.h:110: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/httperf-0.9.0/src/lib/getopt.h:122: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/httperf-0.9.0/src/lib/getopt.h:123: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/httperf-0.9.0/src/lib/getopt1.c:55: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/httperf-0.9.0/src/lib/getopt1.c:63: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/httperf-0.9.0/src/lib/getopt1.c:119: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/httperf-0.9.0/src/conn.h:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line_buf[MAX_HDR_LINE_LEN];	/* default line buffer */
data/httperf-0.9.0/src/core.c:148:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 * const syscall_name[SC_NUM_SYSCALLS] =
data/httperf-0.9.0/src/core.c:544: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 *cp, buf[8193];
data/httperf-0.9.0/src/event.c:43:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char * const event_name[EV_NUM_EVENT_TYPES] =
data/httperf-0.9.0/src/gen/sess_cookie.c:76:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cookie[MAX_COOKIE_LEN];
data/httperf-0.9.0/src/gen/sess_cookie.c:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cookie[MAX_COOKIE_LEN];
data/httperf-0.9.0/src/gen/sess_cookie.c:123: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 (cpriv->cookie, priv->cookie, priv->cookie_len + 1);
data/httperf-0.9.0/src/gen/sess_cookie.c:163: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 (priv->cookie, "Cookie: ", 8);
data/httperf-0.9.0/src/gen/sess_cookie.c:164: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 (priv->cookie + 8, start, len);
data/httperf-0.9.0/src/gen/sess_cookie.c:165: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 (priv->cookie + 8 + len, "\r\n", 2);
data/httperf-0.9.0/src/gen/uri_wlog.c:130:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (param.wlog.file, O_RDONLY, 0);
data/httperf-0.9.0/src/gen/uri_wset.c:77:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cp, ".html", 6);
data/httperf-0.9.0/src/gen/uri_wset.c:94:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cp, param.uri, uri_prefix_len);
data/httperf-0.9.0/src/gen/wsesslog.c:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char extra_hdrs[50];	/* plenty for "Content-length: 1234567890" */
data/httperf-0.9.0/src/gen/wsesslog.c:386:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[10000];	/* some uri's get pretty long */
data/httperf-0.9.0/src/gen/wsesslog.c:387: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 uri[10000];	/* some uri's get pretty long */
data/httperf-0.9.0/src/gen/wsesslog.c:388: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 method_str[1000];
data/httperf-0.9.0/src/gen/wsesslog.c:389: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 this_arg[10000];
data/httperf-0.9.0/src/gen/wsesslog.c:390: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 contents[10000];
data/httperf-0.9.0/src/gen/wsesslog.c:399: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 (param.wsesslog.file, "r");
data/httperf-0.9.0/src/gen/wsesspage.c:81:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];
data/httperf-0.9.0/src/gen/wsesspage.c:96:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char uri[1];		/* really URI_LEN+1 bytes... */
data/httperf-0.9.0/src/gen/wsesspage.c:205: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 (el->uri, prefix, prefix_len);
data/httperf-0.9.0/src/gen/wsesspage.c:208:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dst, uri, uri_len + 1);
data/httperf-0.9.0/src/gen/wsesspage.c:368:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		      memcpy (cpriv->buf, cpriv->buf + 1, 3);
data/httperf-0.9.0/src/gen/wsesspage.c:390:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		      memcpy (cpriv->buf, cpriv->buf + 1, 4);
data/httperf-0.9.0/src/http.c:82:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy ((char *) s->line.iov_base + s->line.iov_len, buf, to_copy);
data/httperf-0.9.0/src/httperf.c:802:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[1024];
data/httperf-0.9.0/src/idleconn.c:98:10:  [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).
  port = atoi (argv[2]);
data/httperf-0.9.0/src/idleconn.c:99:13:  [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).
  desired = atoi (argv[3]);
data/httperf-0.9.0/src/lib/getopt.c:355: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 var[100];
data/httperf-0.9.0/src/lib/ssl_writev.c:98: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 ((void *) bp, (void *) vector[i].iov_base, copy);
data/httperf-0.9.0/src/stat/print_reply.c:115: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 (priv->line + priv->len, buf, line_len);
data/httperf-0.9.0/src/conn.c:49: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).
  conn->hostname_len = strlen (param.server);
data/httperf-0.9.0/src/conn.c:57: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).
      conn->fqdname_len = strlen (param.server_name);
data/httperf-0.9.0/src/core.c:562:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	       nread = read (s->sd, buf, sizeof (buf) - 1));
data/httperf-0.9.0/src/core.c:745:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    core_addr_intern (param.server, strlen (param.server), param.port);
data/httperf-0.9.0/src/gen/misc.c:137: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).
    method_len = strlen (param.method);
data/httperf-0.9.0/src/gen/uri_fixed.c:60: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).
  uri_len = strlen (param.uri);
data/httperf-0.9.0/src/gen/uri_wlog.c:113: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).
      len = strlen (fcurrent);
data/httperf-0.9.0/src/gen/uri_wset.c:112: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).
  uri_prefix_len = strlen (param.uri);
data/httperf-0.9.0/src/gen/wsesslog.c:225:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      call_set_method (call, method_str, strlen (method_str));
data/httperf-0.9.0/src/gen/wsesslog.c:357: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).
  retptr->uri_len = strlen (uristr);
data/httperf-0.9.0/src/gen/wsesslog.c:452:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen (call_method_name[i])))
data/httperf-0.9.0/src/gen/wsesslog.c:553:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if ((sptr->current_req->contents_len = strlen (contents)) != 0)
data/httperf-0.9.0/src/gen/wsesslog.c:561: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).
		    strlen (sptr->current_req->extra_hdrs);
data/httperf-0.9.0/src/gen/wsesspage.c:172: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).
      len = strlen (param.server);
data/httperf-0.9.0/src/httperf.c:690: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).
		end = optarg + strlen(optarg);
data/httperf-0.9.0/src/idleconn.c:171:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		  usleep (1000000);
data/httperf-0.9.0/src/lib/getopt.c:223: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/httperf-0.9.0/src/lib/getopt.c:361: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).
	nonoption_flags_len = strlen (nonoption_flags);
data/httperf-0.9.0/src/lib/getopt.c:559:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if (nameend - nextchar == strlen (p->name))
data/httperf-0.9.0/src/lib/getopt.c:583: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/httperf-0.9.0/src/lib/getopt.c:613: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/httperf-0.9.0/src/lib/getopt.c:629: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/httperf-0.9.0/src/lib/getopt.c:634: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);

ANALYSIS SUMMARY:

Hits = 78
Lines analyzed = 10004 in approximately 0.35 seconds (28249 lines/second)
Physical Source Lines of Code (SLOC) = 6709
Hits@level = [0] 246 [1]  23 [2]  33 [3]  17 [4]   5 [5]   0
Hits@level+ = [0+] 324 [1+]  78 [2+]  55 [3+]  22 [4+]   5 [5+]   0
Hits/KSLOC@level+ = [0+] 48.2933 [1+] 11.6262 [2+] 8.19794 [3+] 3.27918 [4+] 0.745268 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.