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-cran-network-1.16.1/src/layout.h Examining data/r-cran-network-1.16.1/src/utils.c Examining data/r-cran-network-1.16.1/src/constructors.c Examining data/r-cran-network-1.16.1/src/access.h Examining data/r-cran-network-1.16.1/src/utils.h Examining data/r-cran-network-1.16.1/src/layout.c Examining data/r-cran-network-1.16.1/src/constructors.h Examining data/r-cran-network-1.16.1/src/access.c Examining data/r-cran-network-1.16.1/src/Rinit.c Examining data/r-cran-network-1.16.1/inst/network.api/networkapi.c Examining data/r-cran-network-1.16.1/inst/network.api/networkapi.h Examining data/r-cran-network-1.16.1/inst/include/network.h Examining data/r-cran-network-1.16.1/inst/include/netregistration.h FINAL RESULTS: data/r-cran-network-1.16.1/src/access.c:546:3: [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 buf[64]; data/r-cran-network-1.16.1/src/access.c:612:11: [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(buf,"%d",j); data/r-cran-network-1.16.1/src/access.c:841:3: [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 buf[64]; data/r-cran-network-1.16.1/src/access.c:896:9: [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(buf,"%d",j); ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 3574 in approximately 0.13 seconds (27425 lines/second) Physical Source Lines of Code (SLOC) = 2608 Hits@level = [0] 0 [1] 0 [2] 4 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 4 [1+] 4 [2+] 4 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 1.53374 [1+] 1.53374 [2+] 1.53374 [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.