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/fastchunking-0.0.3/lib/characterhash.h Examining data/fastchunking-0.0.3/lib/mersennetwister.h Examining data/fastchunking-0.0.3/lib/rabinkarp.cpp Examining data/fastchunking-0.0.3/lib/rabinkarp.h FINAL RESULTS: data/fastchunking-0.0.3/lib/mersennetwister.h:280:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* urandom = fopen( "/dev/urandom", "rb" ); data/fastchunking-0.0.3/lib/rabinkarp.h:301: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. std::memcpy(threshold_windows[j], ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 852 in approximately 0.48 seconds (1770 lines/second) Physical Source Lines of Code (SLOC) = 490 Hits@level = [0] 1 [1] 0 [2] 2 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 3 [1+] 2 [2+] 2 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 6.12245 [1+] 4.08163 [2+] 4.08163 [3+] 0 [4+] 0 [5+] 0 Dot directories skipped = 2 (--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.