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/python-lz4-3.1.1+dfsg/lz4/frame/_frame.c
Examining data/python-lz4-3.1.1+dfsg/lz4/block/_block.c
Examining data/python-lz4-3.1.1+dfsg/lz4/_version.c
Examining data/python-lz4-3.1.1+dfsg/lz4/stream/_stream.c

FINAL RESULTS:

data/python-lz4-3.1.1+dfsg/lz4/stream/_stream.c:186:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char * pages[DOUBLE_BUFFER_PAGE_COUNT];
data/python-lz4-3.1.1+dfsg/lz4/stream/_stream.c:1177: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 (context->strategy.ops->get_work_buffer (context), source.buf, source.len);
data/python-lz4-3.1.1+dfsg/lz4/stream/_stream.c:1398: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 (context->output.buf,

ANALYSIS SUMMARY:

Hits = 3
Lines analyzed = 3981 in approximately 0.11 seconds (35094 lines/second)
Physical Source Lines of Code (SLOC) = 3096
Hits@level = [0]   0 [1]   0 [2]   3 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   3 [1+]   3 [2+]   3 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.968992 [1+] 0.968992 [2+] 0.968992 [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.