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/sparskit-2.0.0/INFO/rinfoC.c FINAL RESULTS: data/sparskit-2.0.0/INFO/rinfoC.c:16:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(out1, f_str, argp); data/sparskit-2.0.0/INFO/rinfoC.c:19:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(out2, "Error! %s\n", out1); data/sparskit-2.0.0/INFO/rinfoC.c:21:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout, out2); data/sparskit-2.0.0/INFO/rinfoC.c:13: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 out1[256], out2[256]; data/sparskit-2.0.0/INFO/rinfoC.c:51:5: [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 guesol[3], title[73], key[9], type[4]; ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 104 in approximately 0.03 seconds (4016 lines/second) Physical Source Lines of Code (SLOC) = 76 Hits@level = [0] 3 [1] 0 [2] 2 [3] 0 [4] 3 [5] 0 Hits@level+ = [0+] 8 [1+] 5 [2+] 5 [3+] 3 [4+] 3 [5+] 0 Hits/KSLOC@level+ = [0+] 105.263 [1+] 65.7895 [2+] 65.7895 [3+] 39.4737 [4+] 39.4737 [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.