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/r-bioc-genefilter-1.72.0/src/genefilter.h Examining data/r-bioc-genefilter-1.72.0/src/half_range_mode.cpp Examining data/r-bioc-genefilter-1.72.0/src/init.c Examining data/r-bioc-genefilter-1.72.0/src/nd.c Examining data/r-bioc-genefilter-1.72.0/src/pAUC.c Examining data/r-bioc-genefilter-1.72.0/src/rowPAUCs.c Examining data/r-bioc-genefilter-1.72.0/src/rowttests.c FINAL RESULTS: data/r-bioc-genefilter-1.72.0/src/rowttests.c:14:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char errmsg[256]; data/r-bioc-genefilter-1.72.0/src/rowttests.c:178:8: [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(errmsg, "length(fac)=%d, ncol(x)=%d, should be the same.", data/r-bioc-genefilter-1.72.0/src/rowttests.c:187:8: [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(errmsg, "length(fac)=%d, nrow(x)=%d, should be the same.", ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 1132 in approximately 0.05 seconds (21579 lines/second) Physical Source Lines of Code (SLOC) = 760 Hits@level = [0] 0 [1] 0 [2] 3 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 3 [1+] 3 [2+] 3 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 3.94737 [1+] 3.94737 [2+] 3.94737 [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.