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/metis-5.1.0.dfsg/include/metis.h
Examining data/metis-5.1.0.dfsg/GKlib/gk_macros.h
Examining data/metis-5.1.0.dfsg/GKlib/fkvkselect.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_externs.h
Examining data/metis-5.1.0.dfsg/GKlib/error.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_mkpqueue.h
Examining data/metis-5.1.0.dfsg/GKlib/GKlib.h
Examining data/metis-5.1.0.dfsg/GKlib/ms_inttypes.h
Examining data/metis-5.1.0.dfsg/GKlib/evaluate.c
Examining data/metis-5.1.0.dfsg/GKlib/tokenizer.c
Examining data/metis-5.1.0.dfsg/GKlib/gkregex.h
Examining data/metis-5.1.0.dfsg/GKlib/gk_mkblas.h
Examining data/metis-5.1.0.dfsg/GKlib/omp.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_mkutils.h
Examining data/metis-5.1.0.dfsg/GKlib/memory.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_mksort.h
Examining data/metis-5.1.0.dfsg/GKlib/string.c
Examining data/metis-5.1.0.dfsg/GKlib/seq.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_mkmemory.h
Examining data/metis-5.1.0.dfsg/GKlib/csr.c
Examining data/metis-5.1.0.dfsg/GKlib/rw.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_proto.h
Examining data/metis-5.1.0.dfsg/GKlib/ms_stat.h
Examining data/metis-5.1.0.dfsg/GKlib/b64.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_defs.h
Examining data/metis-5.1.0.dfsg/GKlib/util.c
Examining data/metis-5.1.0.dfsg/GKlib/timers.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_getopt.h
Examining data/metis-5.1.0.dfsg/GKlib/random.c
Examining data/metis-5.1.0.dfsg/GKlib/ms_stdint.h
Examining data/metis-5.1.0.dfsg/GKlib/htable.c
Examining data/metis-5.1.0.dfsg/GKlib/sort.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_types.h
Examining data/metis-5.1.0.dfsg/GKlib/test/gkgraph.c
Examining data/metis-5.1.0.dfsg/GKlib/test/gksort.c
Examining data/metis-5.1.0.dfsg/GKlib/test/rw.c
Examining data/metis-5.1.0.dfsg/GKlib/test/strings.c
Examining data/metis-5.1.0.dfsg/GKlib/test/fis.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_mkpqueue2.h
Examining data/metis-5.1.0.dfsg/GKlib/gkregex.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_arch.h
Examining data/metis-5.1.0.dfsg/GKlib/conf/check_thread_storage.c
Examining data/metis-5.1.0.dfsg/GKlib/blas.c
Examining data/metis-5.1.0.dfsg/GKlib/graph.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_mkrandom.h
Examining data/metis-5.1.0.dfsg/GKlib/getopt.c
Examining data/metis-5.1.0.dfsg/GKlib/gk_struct.h
Examining data/metis-5.1.0.dfsg/GKlib/fs.c
Examining data/metis-5.1.0.dfsg/GKlib/itemsets.c
Examining data/metis-5.1.0.dfsg/GKlib/pqueue.c
Examining data/metis-5.1.0.dfsg/GKlib/io.c
Examining data/metis-5.1.0.dfsg/GKlib/pdb.c
Examining data/metis-5.1.0.dfsg/GKlib/mcore.c
Examining data/metis-5.1.0.dfsg/libmetis/fortran.c
Examining data/metis-5.1.0.dfsg/libmetis/initpart.c
Examining data/metis-5.1.0.dfsg/libmetis/contig.c
Examining data/metis-5.1.0.dfsg/libmetis/mcutil.c
Examining data/metis-5.1.0.dfsg/libmetis/meshpart.c
Examining data/metis-5.1.0.dfsg/libmetis/frename.c
Examining data/metis-5.1.0.dfsg/libmetis/balance.c
Examining data/metis-5.1.0.dfsg/libmetis/mmd.c
Examining data/metis-5.1.0.dfsg/libmetis/pmetis.c
Examining data/metis-5.1.0.dfsg/libmetis/gklib_defs.h
Examining data/metis-5.1.0.dfsg/libmetis/stat.c
Examining data/metis-5.1.0.dfsg/libmetis/kwayrefine.c
Examining data/metis-5.1.0.dfsg/libmetis/gklib_rename.h
Examining data/metis-5.1.0.dfsg/libmetis/coarsen.c
Examining data/metis-5.1.0.dfsg/libmetis/ometis.c
Examining data/metis-5.1.0.dfsg/libmetis/kwayfm.c
Examining data/metis-5.1.0.dfsg/libmetis/compress.c
Examining data/metis-5.1.0.dfsg/libmetis/metislib.h
Examining data/metis-5.1.0.dfsg/libmetis/options.c
Examining data/metis-5.1.0.dfsg/libmetis/fm.c
Examining data/metis-5.1.0.dfsg/libmetis/util.c
Examining data/metis-5.1.0.dfsg/libmetis/defs.h
Examining data/metis-5.1.0.dfsg/libmetis/mincover.c
Examining data/metis-5.1.0.dfsg/libmetis/mesh.c
Examining data/metis-5.1.0.dfsg/libmetis/struct.h
Examining data/metis-5.1.0.dfsg/libmetis/timing.c
Examining data/metis-5.1.0.dfsg/libmetis/gklib.c
Examining data/metis-5.1.0.dfsg/libmetis/stdheaders.h
Examining data/metis-5.1.0.dfsg/libmetis/proto.h
Examining data/metis-5.1.0.dfsg/libmetis/separator.c
Examining data/metis-5.1.0.dfsg/libmetis/sfm.c
Examining data/metis-5.1.0.dfsg/libmetis/wspace.c
Examining data/metis-5.1.0.dfsg/libmetis/rename.h
Examining data/metis-5.1.0.dfsg/libmetis/srefine.c
Examining data/metis-5.1.0.dfsg/libmetis/debug.c
Examining data/metis-5.1.0.dfsg/libmetis/checkgraph.c
Examining data/metis-5.1.0.dfsg/libmetis/macros.h
Examining data/metis-5.1.0.dfsg/libmetis/graph.c
Examining data/metis-5.1.0.dfsg/libmetis/refine.c
Examining data/metis-5.1.0.dfsg/libmetis/kmetis.c
Examining data/metis-5.1.0.dfsg/libmetis/minconn.c
Examining data/metis-5.1.0.dfsg/libmetis/bucketsort.c
Examining data/metis-5.1.0.dfsg/libmetis/parmetis.c
Examining data/metis-5.1.0.dfsg/libmetis/auxapi.c
Examining data/metis-5.1.0.dfsg/programs/stat.c
Examining data/metis-5.1.0.dfsg/programs/cmdline_gpmetis.c
Examining data/metis-5.1.0.dfsg/programs/graphchk.c
Examining data/metis-5.1.0.dfsg/programs/ndmetis.c
Examining data/metis-5.1.0.dfsg/programs/defs.h
Examining data/metis-5.1.0.dfsg/programs/metisbin.h
Examining data/metis-5.1.0.dfsg/programs/struct.h
Examining data/metis-5.1.0.dfsg/programs/proto.h
Examining data/metis-5.1.0.dfsg/programs/smbfactor.c
Examining data/metis-5.1.0.dfsg/programs/m2gmetis.c
Examining data/metis-5.1.0.dfsg/programs/cmdline_m2gmetis.c
Examining data/metis-5.1.0.dfsg/programs/cmdline_mpmetis.c
Examining data/metis-5.1.0.dfsg/programs/cmpfillin.c
Examining data/metis-5.1.0.dfsg/programs/mpmetis.c
Examining data/metis-5.1.0.dfsg/programs/cmdline_ndmetis.c
Examining data/metis-5.1.0.dfsg/programs/io.c
Examining data/metis-5.1.0.dfsg/programs/gpmetis.c

FINAL RESULTS:

data/metis-5.1.0.dfsg/GKlib/error.c:59: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, f_str, argp);
data/metis-5.1.0.dfsg/GKlib/error.c:82: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, f_str, argp);
data/metis-5.1.0.dfsg/GKlib/fs.c:211:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(tmp, "mkdir -p %s", pathname);
data/metis-5.1.0.dfsg/GKlib/fs.c:212:10:  [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.
  return system(tmp);
data/metis-5.1.0.dfsg/GKlib/fs.c:223:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(tmp, "rm -r %s", pathname);
data/metis-5.1.0.dfsg/GKlib/fs.c:224:10:  [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.
  return system(tmp);
data/metis-5.1.0.dfsg/GKlib/gk_macros.h:101:9:  [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 msg ; \
data/metis-5.1.0.dfsg/GKlib/gk_macros.h:116:9:  [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 msg ; \
data/metis-5.1.0.dfsg/GKlib/gk_macros.h:135:9:  [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 msg ; \
data/metis-5.1.0.dfsg/GKlib/io.c:33:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(errmsg,"file: %s, mode: %s, [%s]", fname, mode, msg);
data/metis-5.1.0.dfsg/GKlib/io.c:154:7:  [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 the scanf format is influenceable by an
  attacker, it's exploitable.
      sscanf(line, "%"SCNd32, &array[nlines++]);
data/metis-5.1.0.dfsg/GKlib/io.c:192:7:  [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 the scanf format is influenceable by an
  attacker, it's exploitable.
      sscanf(line, "%"SCNd64, &array[nlines++]);
data/metis-5.1.0.dfsg/GKlib/pdb.c:163:3:  [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.
		sscanf(line,"%s ",linetype);
data/metis-5.1.0.dfsg/GKlib/pdb.c:169:4:  [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.
			sscanf(linetype, " %s ",linetype);
data/metis-5.1.0.dfsg/GKlib/pdb.c:170:4:  [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.
			sscanf(aname, " %s ",aname);
data/metis-5.1.0.dfsg/GKlib/pdb.c:171:4:  [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.
			sscanf(rname, " %s ",rname);
data/metis-5.1.0.dfsg/GKlib/pdb.c:222:3:  [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.
		sscanf(line,"%s ",linetype);
data/metis-5.1.0.dfsg/GKlib/pdb.c:230:4:  [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.
			sscanf(aname, "%s",aname);
data/metis-5.1.0.dfsg/GKlib/pdb.c:231:4:  [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.
			sscanf(rname, "%s",rname);
data/metis-5.1.0.dfsg/GKlib/string.c:144:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(*new_str+noffset, str+offset);
data/metis-5.1.0.dfsg/GKlib/string.c:224:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(*new_str+noffset, str+offset);
data/metis-5.1.0.dfsg/GKlib/string.c:380:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(str, orgstr);
data/metis-5.1.0.dfsg/libmetis/coarsen.c:609:5:  [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(" %8"PRIDX":%8"PRIDX, ctrl->maxvwgt[i], graph->tvwgt[i]);
data/metis-5.1.0.dfsg/libmetis/fm.c:522:5:  [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("Nv-Nb[%5"PRIDX" %5"PRIDX"] ICut: %6"PRIDX, 
data/metis-5.1.0.dfsg/libmetis/kwayfm.c:140:6:  [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: [%6"PRIDX" %6"PRIDX"]-[%6"PRIDX" %6"PRIDX"], Bal: %5.3"PRREAL"," 
data/metis-5.1.0.dfsg/libmetis/kwayfm.c:339:8:  [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("\t[%6"PRIDX" %6"PRIDX"], Bal: %5.3"PRREAL", Nb: %6"PRIDX"."
data/metis-5.1.0.dfsg/libmetis/kwayfm.c:452:6:  [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: [%6"PRIDX" %6"PRIDX"]-[%6"PRIDX" %6"PRIDX"], Bal: %5.3"PRREAL
data/metis-5.1.0.dfsg/libmetis/kwayfm.c:647:8:  [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("\t[%6"PRIDX" %6"PRIDX"], Bal: %5.3"PRREAL", Nb: %6"PRIDX"."
data/metis-5.1.0.dfsg/libmetis/kwayfm.c:995:8:  [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("\t[%6"PRIDX" %6"PRIDX"], Bal: %5.3"PRREAL", Nb: %6"PRIDX"."
data/metis-5.1.0.dfsg/libmetis/kwayfm.c:1335:8:  [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("\t[%6"PRIDX" %6"PRIDX"], Bal: %5.3"PRREAL", Nb: %6"PRIDX"."
data/metis-5.1.0.dfsg/programs/io.c:46: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. If the scanf format is influenceable by an
  attacker, it's exploitable.
  nfields = sscanf(line, "%"SCIDX" %"SCIDX" %"SCIDX" %"SCIDX, 
data/metis-5.1.0.dfsg/programs/io.c:59:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(fmtstr, "%03"PRIDX, fmt%1000);
data/metis-5.1.0.dfsg/programs/io.c:206: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. If the scanf format is influenceable by an
  attacker, it's exploitable.
  nfields = sscanf(line, "%"SCIDX" %"SCIDX, &(mesh->ne), &(mesh->ncon));
data/metis-5.1.0.dfsg/programs/io.c:431:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(filename, "%s.part.%"PRIDX, fname, nparts);
data/metis-5.1.0.dfsg/programs/io.c:452:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(filename,"%s.epart.%"PRIDX,fname, nparts);
data/metis-5.1.0.dfsg/programs/io.c:462:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(filename,"%s.npart.%"PRIDX,fname, nparts);
data/metis-5.1.0.dfsg/programs/io.c:483:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(filename, "%s.iperm", fname);
data/metis-5.1.0.dfsg/programs/io.c:541:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf(fpout, "%"PRIDX" %"PRIDX, nvtxs, xadj[nvtxs]/2);
data/metis-5.1.0.dfsg/programs/io.c:553:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(fpout, " %"PRIDX, vsize[i]);
data/metis-5.1.0.dfsg/programs/io.c:557:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(fpout, " %"PRIDX, vwgt[i*ncon+j]);
data/metis-5.1.0.dfsg/programs/io.c:561:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(fpout, " %"PRIDX, adjncy[j]+1);
data/metis-5.1.0.dfsg/programs/io.c:563:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(fpout, " %"PRIDX, adjwgt[j]);
data/metis-5.1.0.dfsg/GKlib/getopt.c:255: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/metis-5.1.0.dfsg/GKlib/gk_mkrandom.h:27:15:  [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.
void FPRFX ## srand(RNGT seed) \
data/metis-5.1.0.dfsg/GKlib/gk_mkrandom.h:116:17:  [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.
  void FPRFX ## srand(RNGT seed); \
data/metis-5.1.0.dfsg/GKlib/gkregex.c:3423:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  codeset_name = getenv ("LC_ALL");
data/metis-5.1.0.dfsg/GKlib/gkregex.c:3425: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.
    codeset_name = getenv ("LC_CTYPE");
data/metis-5.1.0.dfsg/GKlib/gkregex.c:3427: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.
    codeset_name = getenv ("LANG");
data/metis-5.1.0.dfsg/GKlib/random.c:78: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) seed);
data/metis-5.1.0.dfsg/GKlib/csr.c:448:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(fmtstr, "%03zu", fmt%1000);
data/metis-5.1.0.dfsg/GKlib/error.c:181:19:  [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 __thread char buf[1024];
data/metis-5.1.0.dfsg/GKlib/fs.c:84: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[2049], *cptr;
data/metis-5.1.0.dfsg/GKlib/fs.c:209: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 tmp[2048];
data/metis-5.1.0.dfsg/GKlib/fs.c:221: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 tmp[2048];
data/metis-5.1.0.dfsg/GKlib/gkregex.c:225:31:  [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 bitset_copy(dest,src) memcpy (dest, src, sizeof (bitset_t))
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1049: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 buf[MB_LEN_MAX];
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1052: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 buf[64];
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1120:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MB_LEN_MAX];
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1123:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1165: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 (pstr->mbs + byte_idx, buf, mbclen);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1173: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 (pstr->mbs + byte_idx,
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1233:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		  memcpy (pstr->mbs + byte_idx, buf, mbclen);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1258: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 (pstr->mbs + byte_idx, buf, mbcdlen);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1277:19:  [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 (pstr->mbs + byte_idx, p, mbclen);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1280:8:  [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 (pstr->mbs + byte_idx, p, mbclen);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1573:15:  [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 buf[6];
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1875: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 (dest->elems, src->elems, src->nelem * sizeof (int));
data/metis-5.1.0.dfsg/GKlib/gkregex.c:1969: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 (dest->elems, dest->elems + sbase, delta * sizeof (int));
data/metis-5.1.0.dfsg/GKlib/gkregex.c:2013: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 (dest->elems + id, src1->elems + i1,
data/metis-5.1.0.dfsg/GKlib/gkregex.c:2019: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 (dest->elems + id, src2->elems + i2,
data/metis-5.1.0.dfsg/GKlib/gkregex.c:2050: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 (dest->elems, src->elems, src->nelem * sizeof (int));
data/metis-5.1.0.dfsg/GKlib/gkregex.c:2071: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 (dest->elems + sbase, src->elems, (is + 1) * sizeof (int));
data/metis-5.1.0.dfsg/GKlib/gkregex.c:2099:8:  [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 (dest->elems, dest->elems + sbase,
data/metis-5.1.0.dfsg/GKlib/gkregex.c:2957:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	      char buf[256];
data/metis-5.1.0.dfsg/GKlib/gkregex.c:3114: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 (errbuf, msg, errbuf_size - 1);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:3119: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 (errbuf, msg, msg_size);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5162:5:  [2] (buffer) wchar_t:
  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.
    wchar_t cmp_buf[6] = {L'\0', L'\0', L'\0', L'\0', L'\0', L'\0'};
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5615: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.
      unsigned char start_name_buf[BRACKET_NAME_BUF_SIZE];
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5616: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.
      unsigned char end_name_buf[BRACKET_NAME_BUF_SIZE];
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5934: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.
      unsigned char char_buf[2];
data/metis-5.1.0.dfsg/GKlib/gkregex.c:6749: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 (__mempcpy (s, string1, length1), string2, length2);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:6751: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 (s, string1, length1);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:6752: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 (s + length1, string2, length2);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:7725: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 (fs->stack[num].regs, regs, sizeof (regmatch_t) * nregs);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:7738: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 (regs, fs->stack[num].regs, sizeof (regmatch_t) * nregs);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:7792: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 (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:7902:8:  [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 (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:7913: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 (pmatch, prev_idx_match, sizeof (regmatch_t) * nmatch);
data/metis-5.1.0.dfsg/GKlib/gkregex.h:542:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    const char *__restrict __string, size_t __nmatch,
data/metis-5.1.0.dfsg/GKlib/graph.c:118:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(fmtstr, "%03zu", fmt%1000);
data/metis-5.1.0.dfsg/GKlib/graph.c:767:47:  [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).
  int32_t *adjncy, *perm, *degrees, *minIDs, *open;
data/metis-5.1.0.dfsg/GKlib/graph.c:797:3:  [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).
  open[0] = v;
data/metis-5.1.0.dfsg/GKlib/graph.c:863:47:  [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).
  gk_free((void **)&perm, &degrees, &minIDs, &open, LTERM);
data/metis-5.1.0.dfsg/GKlib/io.c:27: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 errmsg[8192];
data/metis-5.1.0.dfsg/GKlib/io.c:29: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(fname, mode);
data/metis-5.1.0.dfsg/GKlib/pdb.c:134: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 linetype[6];
data/metis-5.1.0.dfsg/GKlib/pdb.c:136: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 aname[5] = "    \0";
data/metis-5.1.0.dfsg/GKlib/pdb.c:138: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 rname[4] = "   \0";
data/metis-5.1.0.dfsg/GKlib/pdb.c:153:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[MAXLINELEN];
data/metis-5.1.0.dfsg/GKlib/seq.c:94: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 *header, line[MAXLINELEN];
data/metis-5.1.0.dfsg/GKlib/seq.c:140:53:  [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).
	    seq->pssm[i][converter->c2i[(int)header[j]]] = atoi(tokens.list[2+j]);
data/metis-5.1.0.dfsg/GKlib/seq.c:141:53:  [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).
	    seq->psfm[i][converter->c2i[(int)header[j]]] = atoi(tokens.list[2+PSSMWIDTH+j]);
data/metis-5.1.0.dfsg/GKlib/string.c:472:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char datestr[128];
data/metis-5.1.0.dfsg/GKlib/test/fis.c:113: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[8192];
data/metis-5.1.0.dfsg/GKlib/test/fis.c:129: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(line, "%zd", i);
data/metis-5.1.0.dfsg/GKlib/test/fis.c:216:41:  [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 (gk_optarg) params->minlen = atoi(gk_optarg);
data/metis-5.1.0.dfsg/GKlib/test/fis.c:219:41:  [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 (gk_optarg) params->maxlen = atoi(gk_optarg);
data/metis-5.1.0.dfsg/GKlib/test/fis.c:222: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 (gk_optarg) params->minfreq = atoi(gk_optarg);
data/metis-5.1.0.dfsg/GKlib/test/fis.c:225: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 (gk_optarg) params->maxfreq = atoi(gk_optarg);
data/metis-5.1.0.dfsg/GKlib/test/gkgraph.c:308:39:  [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 (gk_optarg) params->type = atoi(gk_optarg);
data/metis-5.1.0.dfsg/GKlib/test/gkgraph.c:311:40:  [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 (gk_optarg) params->niter = atoi(gk_optarg);
data/metis-5.1.0.dfsg/GKlib/test/gksort.c:251: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[256];
data/metis-5.1.0.dfsg/GKlib/test/gksort.c:256:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(line, "%d", RandomInRange(123432));
data/metis-5.1.0.dfsg/GKlib/test/gksort.c:272:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(line, "%d", RandomInRange(123432));
data/metis-5.1.0.dfsg/GKlib/test/rw.c:262:40:  [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 (gk_optarg) params->niter = atoi(gk_optarg);
data/metis-5.1.0.dfsg/GKlib/test/rw.c:265:39:  [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 (gk_optarg) params->ntvs = atoi(gk_optarg);
data/metis-5.1.0.dfsg/GKlib/test/rw.c:268: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).
        if (gk_optarg) params->ppr = atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_gpmetis.c:325:47:  [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 (gk_optarg) params->ncuts = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_gpmetis.c:328:47:  [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 (gk_optarg) params->niter = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_gpmetis.c:332:49:  [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 (gk_optarg) params->ufactor = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_gpmetis.c:336:46:  [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 (gk_optarg) params->seed = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_gpmetis.c:340:48:  [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 (gk_optarg) params->dbglvl = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_gpmetis.c:363: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).
  params->nparts   = atoi(argv[gk_optind++]);
data/metis-5.1.0.dfsg/programs/cmdline_m2gmetis.c:114:49:  [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 (gk_optarg) params->ncommon = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_m2gmetis.c:120:48:  [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 (gk_optarg) params->dbglvl = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_mpmetis.c:296:47:  [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 (gk_optarg) params->ncuts = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_mpmetis.c:299:47:  [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 (gk_optarg) params->niter = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_mpmetis.c:303:49:  [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 (gk_optarg) params->ncommon = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_mpmetis.c:307:49:  [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 (gk_optarg) params->ufactor = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_mpmetis.c:311:46:  [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 (gk_optarg) params->seed = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_mpmetis.c:315:48:  [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 (gk_optarg) params->dbglvl = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_mpmetis.c:338: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).
  params->nparts   = atoi(argv[gk_optind++]);
data/metis-5.1.0.dfsg/programs/cmdline_ndmetis.c:210:49:  [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 (gk_optarg) params->ufactor = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_ndmetis.c:214:49:  [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 (gk_optarg) params->pfactor = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_ndmetis.c:234:47:  [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 (gk_optarg) params->nseps = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_ndmetis.c:237:47:  [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 (gk_optarg) params->niter = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_ndmetis.c:241:46:  [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 (gk_optarg) params->seed = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/cmdline_ndmetis.c:245:48:  [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 (gk_optarg) params->dbglvl = (idx_t)atoi(gk_optarg);
data/metis-5.1.0.dfsg/programs/graphchk.c:25: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 filename[256];
data/metis-5.1.0.dfsg/programs/io.c:429: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 filename[MAXLINE];
data/metis-5.1.0.dfsg/programs/io.c:450: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 filename[256];
data/metis-5.1.0.dfsg/programs/io.c:481: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 filename[MAXLINE];
data/metis-5.1.0.dfsg/GKlib/error.c:62:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(f_str) == 0 || f_str[strlen(f_str)-1] != '\n')
data/metis-5.1.0.dfsg/GKlib/error.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).
  if (strlen(f_str) == 0 || f_str[strlen(f_str)-1] != '\n')
data/metis-5.1.0.dfsg/GKlib/getopt.c:457:67:  [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) == (unsigned int) strlen (p->name)) {
data/metis-5.1.0.dfsg/GKlib/getopt.c:479: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/metis-5.1.0.dfsg/GKlib/getopt.c:502: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/metis-5.1.0.dfsg/GKlib/getopt.c:514: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/metis-5.1.0.dfsg/GKlib/getopt.c:519: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/metis-5.1.0.dfsg/GKlib/getopt.c:610: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 ((unsigned int) (nameend - nextchar) == strlen (p->name)) {
data/metis-5.1.0.dfsg/GKlib/getopt.c:630: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).
	nextchar += strlen (nextchar);
data/metis-5.1.0.dfsg/GKlib/getopt.c:644: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/metis-5.1.0.dfsg/GKlib/getopt.c:654: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/metis-5.1.0.dfsg/GKlib/getopt.c:658: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).
	nextchar += strlen (nextchar);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:3055:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ret = re_compile_internal (preg, pattern, strlen (pattern), syntax);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:3105: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).
  msg_size = strlen (msg) + 1; /* Includes the null.  */
data/metis-5.1.0.dfsg/GKlib/gkregex.c:3263: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).
  ret = re_compile_internal (&re_comp_buf, s, strlen (s), re_syntax_options);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:3329:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (dfa->re_str, pattern, length + 1);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5152: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).
	   && strlen ((char *) start_elem->opr.name) > 1)
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5154: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).
	      && strlen ((char *) end_elem->opr.name) > 1), 0))
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5262: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).
  size_t name_len = strlen ((const char *) name);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5354:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  size_t sym_name_len = strlen ((char *) br_elem->opr.name);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5490: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).
      size_t name_len = strlen ((const char *) name);
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5950:40:  [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 (BE (idx1 == 0 || cp < name + strlen ((const char *) name), 0))
data/metis-5.1.0.dfsg/GKlib/gkregex.c:5999: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 (BE (strlen ((const char *) name) != 1, 0))
data/metis-5.1.0.dfsg/GKlib/gkregex.c:6607: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).
      length = strlen (string);
data/metis-5.1.0.dfsg/GKlib/io.c:76:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((ch = getc(stream)) != EOF) {
data/metis-5.1.0.dfsg/GKlib/pdb.c:167:4:  [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.
			sscanf(line, "%6s%5d%*1c%4c%1c%3c%*1c%1c%4d%1c%*3c%8lf%8lf%8lf%6lf%6lf %c\n",
data/metis-5.1.0.dfsg/GKlib/pdb.c:228:4:  [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.
			sscanf(line, "%6s%5d%*1c%4c%1c%3c%*1c%1c%4d%1c%*3c%8lf%8lf%8lf%6lf%6lf %c\n",
data/metis-5.1.0.dfsg/GKlib/seq.c:56: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).
    nsymbols = strlen(alphabet);
data/metis-5.1.0.dfsg/GKlib/string.c:42: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(str);
data/metis-5.1.0.dfsg/GKlib/string.c:43: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).
  fromlen = strlen(fromlist);
data/metis-5.1.0.dfsg/GKlib/string.c:44: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).
  tolen   = strlen(tolist);
data/metis-5.1.0.dfsg/GKlib/string.c:120: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(str);
data/metis-5.1.0.dfsg/GKlib/string.c:127: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).
  rlen = strlen(replacement);
data/metis-5.1.0.dfsg/GKlib/string.c:157:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(*new_str+noffset, str+offset, matches[0].rm_so);
data/metis-5.1.0.dfsg/GKlib/string.c:195:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy(*new_str+noffset, str+offset+matches[j].rm_so, matches[j].rm_eo);
data/metis-5.1.0.dfsg/GKlib/string.c:259: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(rmlist);
data/metis-5.1.0.dfsg/GKlib/string.c:261: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).
  for (i=strlen(str)-1; i>=0; i--) {
data/metis-5.1.0.dfsg/GKlib/string.c:296: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(rmlist);
data/metis-5.1.0.dfsg/GKlib/string.c:378: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).
    len = strlen(orgstr)+1;
data/metis-5.1.0.dfsg/GKlib/string.c:409:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(s1) != strlen(s2))
data/metis-5.1.0.dfsg/GKlib/string.c:409: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).
  if (strlen(s1) != strlen(s2))
data/metis-5.1.0.dfsg/GKlib/string.c:435: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).
  int i1 = strlen(s1)-1;
data/metis-5.1.0.dfsg/GKlib/string.c:436: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).
  int i2 = strlen(s2)-1;
data/metis-5.1.0.dfsg/GKlib/test/fis.c:237: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).
        for (i=0; strlen(helpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/GKlib/test/fis.c:250: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).
    for (i=0; strlen(shorthelpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/GKlib/test/gkgraph.c:321: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).
        for (i=0; strlen(helpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/GKlib/test/gkgraph.c:334: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).
    for (i=0; strlen(shorthelpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/GKlib/test/rw.c:278: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).
        for (i=0; strlen(helpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/GKlib/test/rw.c:291: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).
    for (i=0; strlen(shorthelpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/GKlib/tokenizer.c:28: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(str);
data/metis-5.1.0.dfsg/programs/cmdline_gpmetis.c:344: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).
        for (i=0; strlen(helpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/programs/cmdline_gpmetis.c:357: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).
    for (i=0; strlen(shorthelpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/programs/cmdline_m2gmetis.c:124: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).
        for (i=0; strlen(helpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/programs/cmdline_m2gmetis.c:137: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).
    for (i=0; strlen(shorthelpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/programs/cmdline_mpmetis.c:319: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).
        for (i=0; strlen(helpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/programs/cmdline_mpmetis.c:332: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).
    for (i=0; strlen(shorthelpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/programs/cmdline_ndmetis.c:249: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).
        for (i=0; strlen(helpstr[i]) > 0; i++)
data/metis-5.1.0.dfsg/programs/cmdline_ndmetis.c:262: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).
    for (i=0; strlen(shorthelpstr[i]) > 0; i++)

ANALYSIS SUMMARY:

Hits = 200
Lines analyzed = 44281 in approximately 1.30 seconds (34181 lines/second)
Physical Source Lines of Code (SLOC) = 29851
Hits@level = [0] 578 [1]  58 [2]  93 [3]   7 [4]  42 [5]   0
Hits@level+ = [0+] 778 [1+] 200 [2+] 142 [3+]  49 [4+]  42 [5+]   0
Hits/KSLOC@level+ = [0+] 26.0628 [1+] 6.69994 [2+] 4.75696 [3+] 1.64149 [4+] 1.40699 [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.