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/crashme-2.8.5/pddet.c
Examining data/crashme-2.8.5/mt19937ar.c
Examining data/crashme-2.8.5/crashme.c
Examining data/crashme-2.8.5/mt19937ar.h
Examining data/crashme-2.8.5/vnsq.c
Examining data/crashme-2.8.5/vnsq.h

FINAL RESULTS:

data/crashme-2.8.5/crashme.c:404:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (notes, "Got signal %d%s", sig, ss);
data/crashme-2.8.5/crashme.c:604:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (note_buffer, "Subprocess %s: ", argv[4]);
data/crashme-2.8.5/crashme.c:640:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat (notes, argv[j]);
data/crashme-2.8.5/crashme.c:681:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (notes, "Version: %s", crashme_version);
data/crashme-2.8.5/crashme.c:719:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (notes, "CRASHPRNG %s %d Mersenne twister.", prng_name,
data/crashme-2.8.5/crashme.c:725:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (notes, "CRASHPRNG %s %d C runtime library rand.", prng_name,
data/crashme-2.8.5/crashme.c:730:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (notes, "CRASHPRNG %s %d VN middle square.", prng_name,
data/crashme-2.8.5/crashme.c:735:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (notes, "CRASHPRNG %s %d UNKNOWN", prng_name, prng_type);
data/crashme-2.8.5/crashme.c:755:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (notes, "crashme %s%ld.%ld %ld %ld",
data/crashme-2.8.5/crashme.c:843:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (notes, "sev(%d)cus(%d)res(%d)fac(%d)code(%d) %s",
data/crashme-2.8.5/crashme.c:935:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (notes, "%11ld ... %5ld %s", (long) l->status, (long) l->count, status_str);
data/crashme-2.8.5/crashme.c:1024:13:  [4] (shell) execlp:
  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.
            execlp (cmd, cmd, nb, arg2, nt, arg4, arg5, subprocess_ind, NULL);
data/crashme-2.8.5/crashme.c:1160:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (arg0, "%s", find_exe_self (cmd));
data/crashme-2.8.5/crashme.c:1163:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (cmdbuf, "\"%s\" %s %s %s %s %s %s",
data/crashme-2.8.5/crashme.c:254: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 ((!(tmp = getenv ("CRASHLOG"))) || (strcmp (tmp, "") == 0))
data/crashme-2.8.5/crashme.c:704:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ((tmp = getenv ("CRASHPRNG")) && (strcmp (tmp, "") != 0))
data/crashme-2.8.5/crashme.c:727: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 (nseed);
data/crashme-2.8.5/crashme.c:244:21:  [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).
          logfile = fopen (logfilename, "a");
data/crashme-2.8.5/crashme.c:257:19:  [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 (!(logfile = fopen (logfilename, (subprocess_flag) ? "a" : "w")))
data/crashme-2.8.5/crashme.c:297: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.
unsigned char static_data[MAGIC_NBYTES_STATIC];
data/crashme-2.8.5/crashme.c:491: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 (notes, "Dump of %ld bytes of data", n);
data/crashme-2.8.5/crashme.c:526: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 (b, p, sizeof (struct pdscdef));
data/crashme-2.8.5/crashme.c:539: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 (b, p, sizeof (struct fdesc));
data/crashme-2.8.5/crashme.c:550: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 (b, p, sizeof (struct fdesc));
data/crashme-2.8.5/crashme.c:607: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).
      verbose_level = atol (argv[5]);
data/crashme-2.8.5/crashme.c:608: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 (notes, "starting");
data/crashme-2.8.5/crashme.c:622: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).
      verbose_level = atol (argv[5]);
data/crashme-2.8.5/crashme.c:630:25:  [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).
        verbose_level = atol (argv[5]);
data/crashme-2.8.5/crashme.c:636:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (notes, "crashme");
data/crashme-2.8.5/crashme.c:649:11:  [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 (notes,
data/crashme-2.8.5/crashme.c:656:19:  [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).
          nsubs = atol (argv[4]);
data/crashme-2.8.5/crashme.c:657:11:  [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 (notes, "Creating %ld crashme subprocesses", nsubs);
data/crashme-2.8.5/crashme.c:663:51:  [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).
      vfork_main (tflag, nsubs, argv[0], argv[1], atol (argv[2]), argv[3]);
data/crashme-2.8.5/crashme.c:668: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 (notes,
data/crashme-2.8.5/crashme.c:679:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (notes, "Crashme: (c) Copyright 1990-2012 George J. Carrette");
data/crashme-2.8.5/crashme.c:683:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (notes, "From http://alum.mit.edu/www/gjc/crashme.html");
data/crashme-2.8.5/crashme.c:686:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (notes,
data/crashme-2.8.5/crashme.c:748:12:  [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).
  nbytes = atol (argv[1]);
data/crashme-2.8.5/crashme.c:750:14:  [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).
    incptr = atol (&ptr[1]);
data/crashme-2.8.5/crashme.c:753:11:  [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).
  nseed = atol (argv[2]);
data/crashme-2.8.5/crashme.c:754:11:  [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).
  ntrys = atol (argv[3]);
data/crashme-2.8.5/crashme.c:763: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 (notes, "Badboy at %ld. 0x%lX", (long) badboy, (long) badboy);
data/crashme-2.8.5/crashme.c:858:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (notes, "try %d, offset %ld", i, offset);
data/crashme-2.8.5/crashme.c:860:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (notes, "try %d, Badboy at %ld. 0x%lX", i, (long) badboy,
data/crashme-2.8.5/crashme.c:863:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (notes, "try %d", i);
data/crashme-2.8.5/crashme.c:870:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (notes, "didn't barf!");
data/crashme-2.8.5/crashme.c:879:11:  [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 (notes, "Barfed");
data/crashme-2.8.5/crashme.c:887:11:  [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 (notes, "didn't barf!");
data/crashme-2.8.5/crashme.c:926:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (notes, "child_kill_count %ld", child_kill_count);
data/crashme-2.8.5/crashme.c:928:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (notes, "exit status ... number of cases");
data/crashme-2.8.5/crashme.c:941:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (notes, "Number of distinct cases = %d", n);
data/crashme-2.8.5/crashme.c:964:11:  [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 (notes, "time limit reached on pid %ld 0x%lX. using kill.",
data/crashme-2.8.5/crashme.c:970:15:  [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 (notes, "failed to kill process");
data/crashme-2.8.5/crashme.c:988: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 arg2[20], arg4[20], arg5[20];
data/crashme-2.8.5/crashme.c:1011:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (arg5, "%ld", verbose_level);
data/crashme-2.8.5/crashme.c:1014: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 (arg2, "%ld", sr + j);
data/crashme-2.8.5/crashme.c:1015: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 (arg4, "%ld", j + 1);
data/crashme-2.8.5/crashme.c:1017:17:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
      pstatus = vfork ();
data/crashme-2.8.5/crashme.c:1035:11:  [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 (notes, "pid = %ld 0x%lX (subprocess %ld)", pstatus,
data/crashme-2.8.5/crashme.c:1046:19:  [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 (notes, "pid %ld 0x%lX exited with status %d",
data/crashme-2.8.5/crashme.c:1058:19:  [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 (notes, "Time limit reached after run %ld", j + 1);
data/crashme-2.8.5/crashme.c:1069:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (notes, "pid %ld 0x%lX exited with status %d", (long) pid,
data/crashme-2.8.5/crashme.c:1084:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (notes,
data/crashme-2.8.5/crashme.c:1098: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 exe_self[512];
data/crashme-2.8.5/crashme.c:1113: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 (notes, "err %d trying to close handle.", err);
data/crashme-2.8.5/crashme.c:1125: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 arg0[512];
data/crashme-2.8.5/crashme.c:1126: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 arg2[20], arg4[20], arg5[20];
data/crashme-2.8.5/crashme.c:1128: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 cmdbuf[1024];
data/crashme-2.8.5/crashme.c:1157:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (arg5, "%d", verbose_level);
data/crashme-2.8.5/crashme.c:1161: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 (arg2, "%d", sr + j);
data/crashme-2.8.5/crashme.c:1162: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 (arg4, "%d", j + 1);
data/crashme-2.8.5/crashme.c:1173:11:  [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 (notes, "err %d trying to create process", err);
data/crashme-2.8.5/crashme.c:1178: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 (notes, "pid = %d 0x%X (subprocess %d)",
data/crashme-2.8.5/crashme.c:1191:23:  [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 (notes,
data/crashme-2.8.5/crashme.c:1202:27:  [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 (notes,
data/crashme-2.8.5/crashme.c:1225:19:  [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 (notes, "pid %d 0x%X exited with status %d",
data/crashme-2.8.5/crashme.c:1238:15:  [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 (notes, "err %d on GetExitCodeProcess.", err);
data/crashme-2.8.5/crashme.c:1252:15:  [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 (notes, "Time limit reached after run %d", j + 1);
data/crashme-2.8.5/crashme.c:1268:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (notes,
data/crashme-2.8.5/pddet.c:392:18:  [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).
        ebytes = atol (argv[j + 1]);
data/crashme-2.8.5/pddet.c:425:28:  [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.
          data = (unsigned char *) all[j].addr;
data/crashme-2.8.5/pddet.c:427:35:  [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.
            prev_data = (unsigned char *) all[j - 1].addr;
data/crashme-2.8.5/vnsq.c: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 decimalrep[50];
data/crashme-2.8.5/vnsq.c:27:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (decimalrep, "%lu", nextn);
data/crashme-2.8.5/vnsq.c:36:20:  [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).
      vnsq_value = atol (nextp);
data/crashme-2.8.5/crashme.c:280:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat (note_buffer, "\n");
data/crashme-2.8.5/crashme.c:606: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).
      notes = note_buffer + strlen (note_buffer);
data/crashme-2.8.5/crashme.c:619: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).
  else if ((argc == 6) && ((strlen (argv[4]) == 0) ||
data/crashme-2.8.5/crashme.c:639:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat (notes, " ");
data/crashme-2.8.5/crashme.c:939:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy (notes, "");
data/crashme-2.8.5/vnsq.c:28: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).
  nextlen = (int) (strlen (decimalrep));

ANALYSIS SUMMARY:

Hits = 91
Lines analyzed = 2016 in approximately 0.10 seconds (19408 lines/second)
Physical Source Lines of Code (SLOC) = 1629
Hits@level = [0]  39 [1]   6 [2]  68 [3]   3 [4]  14 [5]   0
Hits@level+ = [0+] 130 [1+]  91 [2+]  85 [3+]  17 [4+]  14 [5+]   0
Hits/KSLOC@level+ = [0+] 79.8036 [1+] 55.8625 [2+] 52.1793 [3+] 10.4359 [4+] 8.59423 [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.