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/bottleneck-1.2.1+ds1/bottleneck/src/move_median/move_median.c Examining data/bottleneck-1.2.1+ds1/bottleneck/src/move_median/move_median.h Examining data/bottleneck-1.2.1+ds1/bottleneck/src/move_median/move_median_debug.c Examining data/bottleneck-1.2.1+ds1/bottleneck/src/bottleneck.h Examining data/bottleneck-1.2.1+ds1/bottleneck/src/move_template.c Examining data/bottleneck-1.2.1+ds1/bottleneck/src/nonreduce_axis_template.c Examining data/bottleneck-1.2.1+ds1/bottleneck/src/iterators.h Examining data/bottleneck-1.2.1+ds1/bottleneck/src/nonreduce_template.c Examining data/bottleneck-1.2.1+ds1/bottleneck/src/reduce_template.c FINAL RESULTS: data/bottleneck-1.2.1+ds1/bottleneck/src/move_median/move_median_debug.c:95:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_msg, "move_median failed with window=%d, min_count=%d", ANALYSIS SUMMARY: Hits = 1 Lines analyzed = 6749 in approximately 0.18 seconds (37100 lines/second) Physical Source Lines of Code (SLOC) = 4414 Hits@level = [0] 46 [1] 0 [2] 1 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 47 [1+] 1 [2+] 1 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 10.6479 [1+] 0.226552 [2+] 0.226552 [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.