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-theora-0.3.1/src/theora_stubs.c

FINAL RESULTS:

data/ocaml-theora-0.3.1/src/theora_stubs.c:276: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(data,buffer[0].data,len);
data/ocaml-theora-0.3.1/src/theora_stubs.c:286: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(data,buffer[1].data,len);
data/ocaml-theora-0.3.1/src/theora_stubs.c:296: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(data,buffer[2].data,len);
data/ocaml-theora-0.3.1/src/theora_stubs.c:616: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(&state->init_packet,op,sizeof(ogg_packet));
data/ocaml-theora-0.3.1/src/theora_stubs.c:627:11:  [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(tmp),state->tc.user_comments[i],len);
data/ocaml-theora-0.3.1/src/theora_stubs.c:726: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 (op.packet, FISBONE_IDENTIFIER, 8); /* identifier */
data/ocaml-theora-0.3.1/src/theora_stubs.c:736: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(op.packet+FISBONE_SIZE, String_val(content), caml_string_length(content)); /* message header field */

ANALYSIS SUMMARY:

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