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-ogg-0.5.2/src/ocaml-ogg.h Examining data/ocaml-ogg-0.5.2/src/ogg_stubs.c FINAL RESULTS: data/ocaml-ogg-0.5.2/src/ogg_stubs.c:59: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(header),op->header,op->header_len); data/ocaml-ogg-0.5.2/src/ogg_stubs.c:62: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(body),op->body,op->body_len); data/ocaml-ogg-0.5.2/src/ogg_stubs.c:202: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(buffer,String_val(s),Int_val(bytes)); data/ocaml-ogg-0.5.2/src/ogg_stubs.c:230: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(buffer,String_val(s),Int_val(bytes)); data/ocaml-ogg-0.5.2/src/ogg_stubs.c:269: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(nop->packet,op->packet,op->bytes); data/ocaml-ogg-0.5.2/src/ogg_stubs.c:502: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, FISHEAD_IDENTIFIER, 8); /* identifier */ ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 578 in approximately 0.04 seconds (13458 lines/second) Physical Source Lines of Code (SLOC) = 400 Hits@level = [0] 0 [1] 0 [2] 6 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 6 [1+] 6 [2+] 6 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 15 [1+] 15 [2+] 15 [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.