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/ocaml-shine-0.2.1/src/shine_stubs.c

FINAL RESULTS:

data/ocaml-shine-0.2.1/src/shine_stubs.c:142: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(String_val(ret),outdata,written);
data/ocaml-shine-0.2.1/src/shine_stubs.c:171: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(pcm, src, chans*shine_samples_per_pass(enc)*sizeof(int16_t));
data/ocaml-shine-0.2.1/src/shine_stubs.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(String_val(ret),outdata,written);
data/ocaml-shine-0.2.1/src/shine_stubs.c:201: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(String_val(ret),outdata,written);

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 204 in approximately 0.05 seconds (3734 lines/second)
Physical Source Lines of Code (SLOC) = 138
Hits@level = [0]   0 [1]   0 [2]   4 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   4 [1+]   4 [2+]   4 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 28.9855 [1+] 28.9855 [2+] 28.9855 [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.