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-vorbis-0.7.1/src/vorbis_stubs.c FINAL RESULTS: data/ocaml-vorbis-0.7.1/src/vorbis_stubs.c:535: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(ptr, String_val(Field(ret,0)), len); data/ocaml-vorbis-0.7.1/src/vorbis_stubs.c:665: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(buf_) + ofs, buf, ret); data/ocaml-vorbis-0.7.1/src/vorbis_stubs.c:927: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-vorbis-0.7.1/src/vorbis_stubs.c:937: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)); ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 947 in approximately 0.03 seconds (27146 lines/second) Physical Source Lines of Code (SLOC) = 724 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+] 5.52486 [1+] 5.52486 [2+] 5.52486 [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.