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/markupsafe-1.1.1/src/markupsafe/_speedups.c

FINAL RESULTS:

data/markupsafe-1.1.1/src/markupsafe/_speedups.c:137: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(outp, inp-ncopy, sizeof(*outp)*ncopy); \
data/markupsafe-1.1.1/src/markupsafe/_speedups.c:146: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(outp, inp-ncopy, sizeof(*outp)*ncopy); \
data/markupsafe-1.1.1/src/markupsafe/_speedups.c:155: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(outp, inp-ncopy, sizeof(*outp)*ncopy); \
data/markupsafe-1.1.1/src/markupsafe/_speedups.c:164: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(outp, inp-ncopy, sizeof(*outp)*ncopy); \
data/markupsafe-1.1.1/src/markupsafe/_speedups.c:172: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(outp, inp-ncopy, sizeof(*outp)*ncopy); \
data/markupsafe-1.1.1/src/markupsafe/_speedups.c:184: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(outp, inp-ncopy, sizeof(*outp)*ncopy); \
data/markupsafe-1.1.1/src/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 = 7
Lines analyzed = 423 in approximately 0.05 seconds (8424 lines/second)
Physical Source Lines of Code (SLOC) = 345
Hits@level = [0]   0 [1]   1 [2]   6 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   7 [1+]   7 [2+]   6 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 20.2899 [1+] 20.2899 [2+] 17.3913 [3+]   0 [4+]   0 [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.