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/cpu-1.4.3/src/include/main/cpu.h
Examining data/cpu-1.4.3/src/include/plugins/ldap/ldap.h
Examining data/cpu-1.4.3/src/include/plugins/passwd/passwd.h
Examining data/cpu-1.4.3/src/include/util/csha1.h
Examining data/cpu-1.4.3/src/include/util/dll.h
Examining data/cpu-1.4.3/src/include/util/cgetopt.h
Examining data/cpu-1.4.3/src/include/util/cmd5.h
Examining data/cpu-1.4.3/src/include/util/bitvector.h
Examining data/cpu-1.4.3/src/include/util/cputil.h
Examining data/cpu-1.4.3/src/include/util/xmem.h
Examining data/cpu-1.4.3/src/include/util/fileaction.h
Examining data/cpu-1.4.3/src/include/util/password.h
Examining data/cpu-1.4.3/src/include/util/helper.h
Examining data/cpu-1.4.3/src/include/util/parser.h
Examining data/cpu-1.4.3/src/include/util/parseconfig.h
Examining data/cpu-1.4.3/src/include/util/hash.h
Examining data/cpu-1.4.3/src/include/conf.h
Examining data/cpu-1.4.3/src/include/debugging.h
Examining data/cpu-1.4.3/src/util/bitvector.c
Examining data/cpu-1.4.3/src/util/getopt.c
Examining data/cpu-1.4.3/src/util/getopt1.c
Examining data/cpu-1.4.3/src/util/xmem.c
Examining data/cpu-1.4.3/src/util/helper.c
Examining data/cpu-1.4.3/src/util/cgetpwent.c
Examining data/cpu-1.4.3/src/util/dll.c
Examining data/cpu-1.4.3/src/util/base64.c
Examining data/cpu-1.4.3/src/util/md5.c
Examining data/cpu-1.4.3/src/util/sha1.c
Examining data/cpu-1.4.3/src/util/parser.c
Examining data/cpu-1.4.3/src/util/parseconfig.c
Examining data/cpu-1.4.3/src/util/fileaction.c
Examining data/cpu-1.4.3/src/util/hash.c
Examining data/cpu-1.4.3/src/main/cpu.c
Examining data/cpu-1.4.3/src/plugins/ldap/cat.c
Examining data/cpu-1.4.3/src/plugins/ldap/user.c
Examining data/cpu-1.4.3/src/plugins/ldap/group.c
Examining data/cpu-1.4.3/src/plugins/ldap/ldap.c
Examining data/cpu-1.4.3/src/plugins/ldap/ld.c
Examining data/cpu-1.4.3/src/plugins/ldap/commandline.c
Examining data/cpu-1.4.3/src/plugins/ldap/ldap_errors.c
Examining data/cpu-1.4.3/src/plugins/passwd/commandline.c
Examining data/cpu-1.4.3/src/plugins/passwd/data.c
Examining data/cpu-1.4.3/src/plugins/passwd/getid.c
Examining data/cpu-1.4.3/src/plugins/passwd/passwd.c

FINAL RESULTS:

data/cpu-1.4.3/src/util/fileaction.c:139:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	  if ( chown(newdirectory, pw_uid, pw_gid) < 0 )
data/cpu-1.4.3/src/util/fileaction.c:177:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	      if (chown (homefile, pw_uid, pw_gid) < 0)
data/cpu-1.4.3/src/util/fileaction.c:212:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	      if (chown(homefile, pw_uid, pw_gid) < 0 )
data/cpu-1.4.3/src/util/fileaction.c:217:12:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	      if (chmod (homefile, st.st_mode) == -1)
data/cpu-1.4.3/src/plugins/ldap/ldap.c:105:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      if ( system(cmdstr) == -1 ) {
data/cpu-1.4.3/src/util/bitvector.c:782:2:  [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.
	printf (s);
data/cpu-1.4.3/src/util/hash.c:37:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
#ifndef crypt
data/cpu-1.4.3/src/util/hash.c:38:14:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
extern char *crypt(const char *key, const char *salt);
data/cpu-1.4.3/src/util/hash.c:189:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
	temp = crypt(password, cgetSalt());
data/cpu-1.4.3/src/util/hash.c:197:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
	temp = crypt(password, md5salt);
data/cpu-1.4.3/src/util/xmem.c:60:7:  [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, ap);
data/cpu-1.4.3/src/util/xmem.c:67:7:  [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, ap);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:584:19:  [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.
        shadtmp = getenv(shadlist[shadctr]);
data/cpu-1.4.3/src/plugins/ldap/ld.c:995:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ( (temp = getenv("MIN_UIDNUMBER")) )
data/cpu-1.4.3/src/plugins/ldap/ld.c:996:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    min_uid = atoi(getenv("MIN_UIDNUMBER"));
data/cpu-1.4.3/src/plugins/ldap/ld.c:1003:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ( (temp = getenv("MAX_UIDNUMBER")) )
data/cpu-1.4.3/src/plugins/ldap/ld.c:1004:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    max_uid = atoi(getenv("MAX_UIDNUMBER"));
data/cpu-1.4.3/src/plugins/ldap/ld.c:1202:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ( (temp = getenv("MIN_GIDNUMBER")) )
data/cpu-1.4.3/src/plugins/ldap/ld.c:1203:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    min_gid = atoi(getenv("MIN_GIDNUMBER"));
data/cpu-1.4.3/src/plugins/ldap/ld.c:1211:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ( (temp = getenv("MAX_GIDNUMBER")) )
data/cpu-1.4.3/src/plugins/ldap/ld.c:1212:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    max_gid = atoi(getenv("MAX_GIDNUMBER"));
data/cpu-1.4.3/src/util/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/cpu-1.4.3/src/util/getopt.c:351: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/cpu-1.4.3/src/util/getopt.c:380: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/cpu-1.4.3/src/util/hash.c:108:7:  [3] (random) srand:
  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.
      srand((unsigned int)tv.tv_usec);
data/cpu-1.4.3/src/util/hash.c:381:3:  [3] (random) srand:
  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.
  srand((unsigned int)tv.tv_usec);
data/cpu-1.4.3/src/include/util/cmd5.h:90:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[128];
data/cpu-1.4.3/src/include/util/csha1.h:24:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[128];
data/cpu-1.4.3/src/main/cpu.c:44: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 *argvt[argc];
data/cpu-1.4.3/src/plugins/ldap/cat.c:46: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 *attrs[7] = {
data/cpu-1.4.3/src/plugins/ldap/cat.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 *gattr[4] = {
data/cpu-1.4.3/src/plugins/ldap/cat.c:92:25:  [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).
	    passentry.pw_uid = atoi (vals[j]);
data/cpu-1.4.3/src/plugins/ldap/cat.c:96:25:  [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).
	    passentry.pw_gid = atoi (vals[j]);
data/cpu-1.4.3/src/plugins/ldap/cat.c:156:25:  [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).
	    passentry.pw_gid = atoi (vals[j]);
data/cpu-1.4.3/src/plugins/ldap/cat.c:167:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	      (char *) malloc (sizeof (char) * strlen (vals[j]));
data/cpu-1.4.3/src/plugins/ldap/commandline.c:168: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).
		  passent->pw_gid = atoi (optarg);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:251:27:  [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).
	      globalLdap->port = atoi (optarg);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:257:38:  [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).
	      passent->pw_passwd = genPass (atoi (optarg));
data/cpu-1.4.3/src/plugins/ldap/commandline.c:281:37:  [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).
	      globalLdap->timeout.tv_sec = atoi (optarg);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:284: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).
	      passent->pw_uid = atoi (optarg);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:590:60:  [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).
                          globalLdap->passent->sp_lstchg = atoi(shadtmp);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:593:57:  [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).
                          globalLdap->passent->sp_max = atoi(shadtmp);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:596:58:  [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).
                          globalLdap->passent->sp_warn = atoi(shadtmp);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:599:60:  [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).
                          globalLdap->passent->sp_expire = atoi(shadtmp);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:602:58:  [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).
                          globalLdap->passent->sp_flag = atoi(shadtmp);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:605:57:  [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).
                          globalLdap->passent->sp_min = atoi(shadtmp);
data/cpu-1.4.3/src/plugins/ldap/commandline.c:608:59:  [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).
                          globalLdap->passent->sp_inact = atoi(shadtmp);
data/cpu-1.4.3/src/plugins/ldap/ld.c:357: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 *tn[2];
data/cpu-1.4.3/src/plugins/ldap/ld.c:358: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 *gn[2];
data/cpu-1.4.3/src/plugins/ldap/ld.c:510: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 *attrs[7] = {
data/cpu-1.4.3/src/plugins/ldap/ld.c:514: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 *memberuid[2] = { uname, NULL };
data/cpu-1.4.3/src/plugins/ldap/ld.c:575: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 *attrs[2] = {
data/cpu-1.4.3/src/plugins/ldap/ld.c:667: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 *attrs[7] = {
data/cpu-1.4.3/src/plugins/ldap/ld.c:723: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 *attrs[2] = {
data/cpu-1.4.3/src/plugins/ldap/ld.c:776: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 *attrs[7] = {
data/cpu-1.4.3/src/plugins/ldap/ld.c:815:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	return atoi (gid);
data/cpu-1.4.3/src/plugins/ldap/ld.c:831: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 *attrs[2] = {
data/cpu-1.4.3/src/plugins/ldap/ld.c:883: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 *attrs[2] = {
data/cpu-1.4.3/src/plugins/ldap/ld.c:927:8:  [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).
	  if (atoi (vals[0]) < (int) min_uid || atoi (vals[0]) > (int) max_uid)
data/cpu-1.4.3/src/plugins/ldap/ld.c:927:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  if (atoi (vals[0]) < (int) min_uid || atoi (vals[0]) > (int) max_uid)
data/cpu-1.4.3/src/plugins/ldap/ld.c:930:25:  [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).
	    bitvector_set (bv, atoi (vals[0]) - min_uid);
data/cpu-1.4.3/src/plugins/ldap/ld.c:996:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    min_uid = atoi(getenv("MIN_UIDNUMBER"));
data/cpu-1.4.3/src/plugins/ldap/ld.c:1004:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    max_uid = atoi(getenv("MAX_UIDNUMBER"));
data/cpu-1.4.3/src/plugins/ldap/ld.c:1037: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 *attrs[2] = {
data/cpu-1.4.3/src/plugins/ldap/ld.c:1089: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 *attrs[2] = {
data/cpu-1.4.3/src/plugins/ldap/ld.c:1132:8:  [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).
	  if (atoi (vals[0]) < (int) min_gid || atoi (vals[0]) > (int) max_gid)
data/cpu-1.4.3/src/plugins/ldap/ld.c:1132:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  if (atoi (vals[0]) < (int) min_gid || atoi (vals[0]) > (int) max_gid)
data/cpu-1.4.3/src/plugins/ldap/ld.c:1135:25:  [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).
	    bitvector_set (bv, atoi (vals[0]) - min_gid);
data/cpu-1.4.3/src/plugins/ldap/ld.c:1203:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    min_gid = atoi(getenv("MIN_GIDNUMBER"));
data/cpu-1.4.3/src/plugins/ldap/ld.c:1212:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    max_gid = atoi(getenv("MAX_GIDNUMBER"));
data/cpu-1.4.3/src/plugins/ldap/user.c:112: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 *attrs[2] = {
data/cpu-1.4.3/src/plugins/ldap/user.c:173: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 *attrs[2] = {
data/cpu-1.4.3/src/plugins/ldap/user.c:283: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 *attrs[2] = {
data/cpu-1.4.3/src/plugins/ldap/user.c:289: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 *mvals[2];
data/cpu-1.4.3/src/util/bitvector.c:254:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (BV_BITS(dst), BV_BITS(src), src->arraylen*BV_CHUNKSIZE_BYTES);
data/cpu-1.4.3/src/util/bitvector.c:262:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (BV_BITS(dst), BV_BITS(src), src->arraylen*BV_CHUNKSIZE_BYTES);
data/cpu-1.4.3/src/util/cgetpwent.c:62:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ( (passfile = fopen (filename, "r")) == NULL)
data/cpu-1.4.3/src/util/cgetpwent.c:86:20:  [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).
		result->pw_uid = atoi(toks);
data/cpu-1.4.3/src/util/cgetpwent.c:88:20:  [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).
		result->pw_gid = atoi(toks);
data/cpu-1.4.3/src/util/cgetpwent.c:112:23:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		result->sp_lstchg = atol(toks);
data/cpu-1.4.3/src/util/cgetpwent.c:114:20:  [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).
		result->sp_min = atoi(toks);
data/cpu-1.4.3/src/util/cgetpwent.c:116:20:  [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).
		result->sp_max = atoi(toks);
data/cpu-1.4.3/src/util/cgetpwent.c:118: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).
		result->sp_warn = atoi(toks);
data/cpu-1.4.3/src/util/cgetpwent.c:120:22:  [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).
		result->sp_inact = atoi(toks);
data/cpu-1.4.3/src/util/cgetpwent.c:122: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).
		result->sp_expire = atoi(toks);
data/cpu-1.4.3/src/util/cgetpwent.c:128: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).
		  result->sp_flag = atoi(temp);
data/cpu-1.4.3/src/util/fileaction.c:185:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	      if ((fd1 = open (skelfile, O_RDONLY)) == -1)
data/cpu-1.4.3/src/util/fileaction.c:200:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	      if ((fd2 = open (homefile, O_CREAT | O_EXCL | O_WRONLY, S_IRUSR|S_IWUSR)) == -1)
data/cpu-1.4.3/src/util/getopt.c:378: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/cpu-1.4.3/src/util/getopt.c:379:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (var, "_%d_GNU_nonoption_argv_flags_", getpid ());
data/cpu-1.4.3/src/util/hash.c:143: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 md5salt[32];
data/cpu-1.4.3/src/util/hash.c:245:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char sha1digest[SHA1_DIGEST_BYTES];
data/cpu-1.4.3/src/util/hash.c:269:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char sha1digest[SHA1_DIGEST_BYTES];
data/cpu-1.4.3/src/util/hash.c:310:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char md5digest[MD5_DIGEST_BYTES];
data/cpu-1.4.3/src/util/hash.c:334:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char md5digest[MD5_DIGEST_BYTES];
data/cpu-1.4.3/src/util/md5.c:34:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define memcpy(d, s, n) bcopy ((s), (d), (n))
data/cpu-1.4.3/src/util/md5.c:34:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define memcpy(d, s, n) bcopy ((s), (d), (n))
data/cpu-1.4.3/src/util/md5.c:57:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
data/cpu-1.4.3/src/util/md5.c:113: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 (&ctx->buffer[bytes], fillbuf, pad);
data/cpu-1.4.3/src/util/md5.c:137:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[BLOCKSIZE + 72];
data/cpu-1.4.3/src/util/md5.c:218: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 (&ctx->buffer[left_over], buffer, add);
data/cpu-1.4.3/src/util/md5.c:225: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 (ctx->buffer, &ctx->buffer[(left_over + add) & ~63],
data/cpu-1.4.3/src/util/md5.c:245: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 (ctx->buffer, buffer, len);
data/cpu-1.4.3/src/util/parseconfig.c:137: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[256],tag[64],value[192];
data/cpu-1.4.3/src/util/parseconfig.c:144:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (NULL == (fp = fopen(filename,"r")))
data/cpu-1.4.3/src/util/parseconfig.c:201: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 section[64], tag[64];
data/cpu-1.4.3/src/util/parseconfig.c:265:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi(val);
data/cpu-1.4.3/src/util/parseconfig.c:276:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi(val);
data/cpu-1.4.3/src/util/parseconfig.c:286:10:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return atol(val);
data/cpu-1.4.3/src/util/parser.c:66: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(filename, O_RDONLY);
data/cpu-1.4.3/src/util/parser.c:334:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	return atoi(pos->attrval);
data/cpu-1.4.3/src/util/parser.c:348:9:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	return atol(pos->attrval);
data/cpu-1.4.3/src/util/sha1.c:21:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define memcpy(d, s, n) bcopy ((s), (d), (n))
data/cpu-1.4.3/src/util/sha1.c:21:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define memcpy(d, s, n) bcopy ((s), (d), (n))
data/cpu-1.4.3/src/util/sha1.c:44:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
data/cpu-1.4.3/src/util/sha1.c:100: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 (&ctx->buffer[bytes], fillbuf, pad);
data/cpu-1.4.3/src/util/sha1.c:122:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[BLOCKSIZE + 72];
data/cpu-1.4.3/src/util/sha1.c:196: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 (&ctx->buffer[left_over], buffer, add);
data/cpu-1.4.3/src/util/sha1.c:203: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 (ctx->buffer, &ctx->buffer[(left_over + add) & ~63],
data/cpu-1.4.3/src/util/sha1.c:223: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 (ctx->buffer, buffer, len);
data/cpu-1.4.3/src/plugins/ldap/cat.c:167:41:  [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).
	      (char *) malloc (sizeof (char) * strlen (vals[j]));
data/cpu-1.4.3/src/plugins/ldap/cat.c:171: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).
		sizeof (char) * strlen (vals[j]));
data/cpu-1.4.3/src/plugins/ldap/commandline.c:390:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (k = 0; k < (int) strlen (argv[optind + 1]); ++k)
data/cpu-1.4.3/src/plugins/ldap/commandline.c:634: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).
	      strsize = strlen (cfg_get_str ("LDAP", "HOME_DIRECTORY")) +
data/cpu-1.4.3/src/plugins/ldap/commandline.c:635:3:  [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 (globalLdap->passent->pw_name) + 2;
data/cpu-1.4.3/src/plugins/ldap/commandline.c:820:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  slen = strlen (name) +
data/cpu-1.4.3/src/plugins/ldap/commandline.c:821:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strlen (globalLdap->user_base) + strlen (cn) + 3;
data/cpu-1.4.3/src/plugins/ldap/commandline.c:821:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strlen (globalLdap->user_base) + strlen (cn) + 3;
data/cpu-1.4.3/src/plugins/ldap/commandline.c:825:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  slen = strlen (name) + strlen (cn) + 2;
data/cpu-1.4.3/src/plugins/ldap/commandline.c:825: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).
	  slen = strlen (name) + strlen (cn) + 2;
data/cpu-1.4.3/src/plugins/ldap/commandline.c:844:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  slen = strlen (name) + strlen (cn) +
data/cpu-1.4.3/src/plugins/ldap/commandline.c:844: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).
	  slen = strlen (name) + strlen (cn) +
data/cpu-1.4.3/src/plugins/ldap/commandline.c:845:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strlen (globalLdap->group_base) + 5;
data/cpu-1.4.3/src/plugins/ldap/commandline.c:849:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  slen = strlen (name) + strlen (cn) + 2;
data/cpu-1.4.3/src/plugins/ldap/commandline.c:849: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).
	  slen = strlen (name) + strlen (cn) + 2;
data/cpu-1.4.3/src/plugins/ldap/ld.c:447:2:  [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 (globalLdap->first_name) + strlen (globalLdap->last_name) + 2;
data/cpu-1.4.3/src/plugins/ldap/ld.c:447:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strlen (globalLdap->first_name) + strlen (globalLdap->last_name) + 2;
data/cpu-1.4.3/src/plugins/ldap/ld.c:536:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  filtsize = strlen (temp) + strlen (uname) + 18;
data/cpu-1.4.3/src/plugins/ldap/ld.c:536:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  filtsize = strlen (temp) + strlen (uname) + 18;
data/cpu-1.4.3/src/plugins/ldap/ld.c:600: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 (cn) + strlen (temp) + strlen (globalLdap->passent->pw_name) + 8;
data/cpu-1.4.3/src/plugins/ldap/ld.c:600: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).
    strlen (cn) + strlen (temp) + strlen (globalLdap->passent->pw_name) + 8;
data/cpu-1.4.3/src/plugins/ldap/ld.c:600:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strlen (cn) + strlen (temp) + strlen (globalLdap->passent->pw_name) + 8;
data/cpu-1.4.3/src/plugins/ldap/ld.c:634:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  filtsize = strlen (temp) + strlen (vals[0]) + 17;
data/cpu-1.4.3/src/plugins/ldap/ld.c:634:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  filtsize = strlen (temp) + strlen (vals[0]) + 17;
data/cpu-1.4.3/src/plugins/ldap/ld.c:689: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).
      filtsize = strlen (temp) + strlen (globalLdap->memberUid[lsize]) +
data/cpu-1.4.3/src/plugins/ldap/ld.c:689:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      filtsize = strlen (temp) + strlen (globalLdap->memberUid[lsize]) +
data/cpu-1.4.3/src/plugins/ldap/ld.c:690:2:  [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 (cn) + 8;
data/cpu-1.4.3/src/plugins/ldap/ld.c:738:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  filtsize = strlen (temp) + 24;
data/cpu-1.4.3/src/plugins/ldap/ld.c:792:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  filtsize = strlen (temp) + strlen (groupn) + strlen (cn) + 8;
data/cpu-1.4.3/src/plugins/ldap/ld.c:792:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  filtsize = strlen (temp) + strlen (groupn) + strlen (cn) + 8;
data/cpu-1.4.3/src/plugins/ldap/ld.c:792:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  filtsize = strlen (temp) + strlen (groupn) + strlen (cn) + 8;
data/cpu-1.4.3/src/plugins/ldap/ldap.c:98: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(globalLdap->exec) +
data/cpu-1.4.3/src/plugins/ldap/ldap.c:99: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(globalLdap->passent->pw_name) +
data/cpu-1.4.3/src/plugins/ldap/user.c:121: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).
  strsize = strlen (filter) + strlen (globalLdap->passent->pw_name) + 11;
data/cpu-1.4.3/src/plugins/ldap/user.c:121:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  strsize = strlen (filter) + strlen (globalLdap->passent->pw_name) + 11;
data/cpu-1.4.3/src/plugins/ldap/user.c:184: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).
      strsize = strlen (filter) + strlen (globalLdap->passent->pw_name) + 11;
data/cpu-1.4.3/src/plugins/ldap/user.c:184:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      strsize = strlen (filter) + strlen (globalLdap->passent->pw_name) + 11;
data/cpu-1.4.3/src/plugins/ldap/user.c:323:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    tpass = (char *) malloc (sizeof (char) * (strlen (npass) + 2));
data/cpu-1.4.3/src/plugins/ldap/user.c:324: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).
	    bzero (tpass, sizeof (char) * (strlen (npass) + 2));
data/cpu-1.4.3/src/plugins/ldap/user.c:331:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    for (i = 0; i < (int) strlen (npass); i++)
data/cpu-1.4.3/src/plugins/ldap/user.c:337:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    for (j = i + 1; j < (int) strlen (npass); j++)
data/cpu-1.4.3/src/plugins/ldap/user.c:348:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    for (i = 0; i < (int) strlen (npass); i++)
data/cpu-1.4.3/src/plugins/ldap/user.c:353:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    for (j = i + 2; j < (int) strlen (npass); j++)
data/cpu-1.4.3/src/plugins/ldap/user.c:380: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).
	    strsize = strlen (globalLdap->memberUid[lsize]) +
data/cpu-1.4.3/src/plugins/ldap/user.c:381:3:  [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 (gf) + strlen (tcn) + 8;
data/cpu-1.4.3/src/plugins/ldap/user.c:381: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).
		strlen (gf) + strlen (tcn) + 8;
data/cpu-1.4.3/src/plugins/ldap/user.c:408: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).
	strsize = strlen (globalLdap->gid) +
data/cpu-1.4.3/src/plugins/ldap/user.c:409:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strlen (gf) + strlen (tcn) + 8;
data/cpu-1.4.3/src/plugins/ldap/user.c:409: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).
	    strlen (gf) + strlen (tcn) + 8;
data/cpu-1.4.3/src/plugins/passwd/commandline.c:146: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).
    for ( k = 0; k < strlen(argv[optind+1]); k++ )
data/cpu-1.4.3/src/util/bitvector.c:223:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (s);
data/cpu-1.4.3/src/util/bitvector.c:898:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	bitvector *b = bitvector_create (strlen(s)*8);
data/cpu-1.4.3/src/util/cgetpwent.c:98:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  if ( temp[strlen(temp)-1] == '\n' )
data/cpu-1.4.3/src/util/cgetpwent.c:99: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).
		    temp[strlen(temp)-1] = '\0';
data/cpu-1.4.3/src/util/cgetpwent.c:126:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  if ( temp[strlen(temp)-1] == '\n' )
data/cpu-1.4.3/src/util/cgetpwent.c:127: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).
		    temp[strlen(temp)-1] = '\0';
data/cpu-1.4.3/src/util/dll.c:44:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(mstring)+strlen(LIB_PREFIX)+strlen(LIB_SUFFIX)+1;
data/cpu-1.4.3/src/util/dll.c:44:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(mstring)+strlen(LIB_PREFIX)+strlen(LIB_SUFFIX)+1;
data/cpu-1.4.3/src/util/dll.c:44: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).
  len = strlen(mstring)+strlen(LIB_PREFIX)+strlen(LIB_SUFFIX)+1;
data/cpu-1.4.3/src/util/fileaction.c:62:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  strsize = strlen(dp->d_name) + strlen(directory) + 2;
data/cpu-1.4.3/src/util/fileaction.c:62:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  strsize = strlen(dp->d_name) + strlen(directory) + 2;
data/cpu-1.4.3/src/util/fileaction.c:156:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  skelsize = strlen(dp->d_name)+strlen(directory)+2;
data/cpu-1.4.3/src/util/fileaction.c:156:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  skelsize = strlen(dp->d_name)+strlen(directory)+2;
data/cpu-1.4.3/src/util/fileaction.c:157:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  homesize = strlen(dp->d_name)+strlen(newdirectory)+2;
data/cpu-1.4.3/src/util/fileaction.c:157:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  homesize = strlen(dp->d_name)+strlen(newdirectory)+2;
data/cpu-1.4.3/src/util/fileaction.c:191:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      if (read (fd1, data, st.st_size) == -1)
data/cpu-1.4.3/src/util/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/cpu-1.4.3/src/util/getopt.c:384: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/cpu-1.4.3/src/util/getopt.c:592: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/cpu-1.4.3/src/util/getopt.c:616: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/cpu-1.4.3/src/util/getopt.c:646: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/cpu-1.4.3/src/util/getopt.c:662: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/cpu-1.4.3/src/util/getopt.c:667: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/cpu-1.4.3/src/util/getopt.c:778: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/cpu-1.4.3/src/util/getopt.c:801: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/cpu-1.4.3/src/util/getopt.c:821: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/cpu-1.4.3/src/util/getopt.c:835: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/cpu-1.4.3/src/util/getopt.c:839: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/cpu-1.4.3/src/util/hash.c:79:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for ( i = 0; i < (int)strlen(tmp_pass); ++i ) {
data/cpu-1.4.3/src/util/hash.c:212:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  plen = strlen(temp)+1;
data/cpu-1.4.3/src/util/hash.c:214: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).
    plen += strlen(prefix);
data/cpu-1.4.3/src/util/hash.c:216: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).
    plen += strlen(suffix);
data/cpu-1.4.3/src/util/hash.c:252: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).
  sha_buffer(password, strlen(password), sha1digest);
data/cpu-1.4.3/src/util/hash.c:279:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  slen = strlen(password)+SALT_LEN;
data/cpu-1.4.3/src/util/hash.c:286: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).
  sha_buffer(temp, strlen(temp), sha1digest);
data/cpu-1.4.3/src/util/hash.c:317: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).
  md5_buffer(password, strlen(password), md5digest);
data/cpu-1.4.3/src/util/hash.c:344:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  slen = strlen(password)+SALT_LEN;
data/cpu-1.4.3/src/util/hash.c:351: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).
  md5_buffer(temp, strlen(temp), md5digest);
data/cpu-1.4.3/src/util/helper.c:74: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).
  length = (strlen(temp2)+1);
data/cpu-1.4.3/src/util/parseconfig.c:205:11:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if (2 == sscanf(argv[i],"-%63[^:]:%63s",section,tag)) {
data/cpu-1.4.3/src/util/parser.c:83:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  retval = read(fd, temp, buf.st_size);
data/cpu-1.4.3/src/util/parser.c:110:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for ( i = 0; i < (int)strlen(text); i++ )
data/cpu-1.4.3/src/util/parser.c:142: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).
      int len = strlen(ignore);
data/cpu-1.4.3/src/util/parser.c:221:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  tlen = strlen(pos->attrval) + strlen(cart[i]) + 1;
data/cpu-1.4.3/src/util/parser.c:221:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  tlen = strlen(pos->attrval) + strlen(cart[i]) + 1;
data/cpu-1.4.3/src/util/parser.c:229:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	  strncat(m, pos->attrval, strlen(pos->attrval));
data/cpu-1.4.3/src/util/parser.c:229: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).
	  strncat(m, pos->attrval, strlen(pos->attrval));
data/cpu-1.4.3/src/util/parser.c:232:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(m, cart[i], tlen);
data/cpu-1.4.3/src/util/parser.c:234:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(m, temp, tlen);

ANALYSIS SUMMARY:

Hits = 219
Lines analyzed = 10239 in approximately 0.32 seconds (31647 lines/second)
Physical Source Lines of Code (SLOC) = 7392
Hits@level = [0] 188 [1]  99 [2]  94 [3]  14 [4]   8 [5]   4
Hits@level+ = [0+] 407 [1+] 219 [2+] 120 [3+]  26 [4+]  12 [5+]   4
Hits/KSLOC@level+ = [0+] 55.0595 [1+] 29.6266 [2+] 16.2338 [3+] 3.51732 [4+] 1.62338 [5+] 0.541126
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.