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/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c
Examining data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.h
Examining data/pipenv-11.9.0/pipenv/vendor/markupsafe/_speedups.c

FINAL RESULTS:

data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:3121: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(oldrow, row, (leni + 1)*sizeof(size_t));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:3147: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(result, median, bestlen*sizeof(lev_byte));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:3204: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(row, rowi, (leni + 1)*sizeof(size_t));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:3334: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(median, s, (medlen)*sizeof(lev_byte));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:3434:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(oldrow, row, (leni + 1)*sizeof(size_t));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:3455: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(result, median, medlen*sizeof(lev_byte));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:3754: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(oldrow, row, (leni + 1)*sizeof(size_t));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:3780: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(result, median, bestlen*sizeof(lev_wchar));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:3837: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(row, rowi, (leni + 1)*sizeof(size_t));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:3967: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(median, s, (medlen)*sizeof(lev_wchar));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:4067:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(oldrow, row, (leni + 1)*sizeof(size_t));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:4088: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(result, median, medlen*sizeof(lev_wchar));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:4659:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy(result, strings[minidx], lengths[minidx]*sizeof(lev_byte));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:4695:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy(result, strings[minidx], lengths[minidx]*sizeof(lev_wchar));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:5528: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(dpos, spos, j*sizeof(lev_byte));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:5549: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(dpos, spos, j*sizeof(lev_byte));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:5600: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(dpos, spos, j*sizeof(lev_wchar));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:5621: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(dpos, spos, j*sizeof(lev_wchar));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:6295: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(dpos, string2 + bops->dbeg,
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:6300: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(dpos, string1 + bops->sbeg,
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:6355: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(dpos, string2 + bops->dbeg,
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:6360: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(dpos, string1 + bops->sbeg,
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:6682: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(on++, o, sizeof(LevEditOp));
data/pipenv-11.9.0/pipenv/vendor/Levenshtein/_levenshtein.c:2100:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    opcode_names[i].len = strlen(opcode_names[i].cstring);
data/pipenv-11.9.0/pipenv/vendor/markupsafe/_speedups.c:15:84:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define UNICHR(x) (PyUnicode_AS_UNICODE((PyUnicodeObject*)PyUnicode_DecodeASCII(x, strlen(x), NULL)));

ANALYSIS SUMMARY:

Hits = 25
Lines analyzed = 7466 in approximately 0.26 seconds (28608 lines/second)
Physical Source Lines of Code (SLOC) = 5600
Hits@level = [0]   0 [1]   2 [2]  23 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  25 [1+]  25 [2+]  23 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 4.46429 [1+] 4.46429 [2+] 4.10714 [3+]   0 [4+]   0 [5+]   0
Dot directories skipped = 2 (--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.