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/ruby-fast-xs-0.8.0/ext/fast_xs/gcc.h Examining data/ruby-fast-xs-0.8.0/ext/fast_xs/fast_xs_type.h Examining data/ruby-fast-xs-0.8.0/ext/fast_xs/ruby_1_9_compat.h Examining data/ruby-fast-xs-0.8.0/ext/fast_xs/fast_xs.c Examining data/ruby-fast-xs-0.8.0/ext/fast_xs_extra/fast_xs_extra.c FINAL RESULTS: data/ruby-fast-xs-0.8.0/ext/fast_xs/fast_xs.c:76:2: [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(buf, x, sizeof(x) - 1); \ data/ruby-fast-xs-0.8.0/ext/fast_xs_extra/fast_xs_extra.c:8:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. buf = (char *)memcpy(buf, x, sizeof(x) - 1) + sizeof(x) - 1; \ ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 423 in approximately 0.04 seconds (10055 lines/second) Physical Source Lines of Code (SLOC) = 337 Hits@level = [0] 0 [1] 0 [2] 2 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 2 [1+] 2 [2+] 2 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 5.93472 [1+] 5.93472 [2+] 5.93472 [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.