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/cheetah-3.2.6/Cheetah/c/_filters.c Examining data/cheetah-3.2.6/Cheetah/c/_filters.h Examining data/cheetah-3.2.6/Cheetah/c/_namemapper.c Examining data/cheetah-3.2.6/Cheetah/c/_namemapper.h Examining data/cheetah-3.2.6/Cheetah/c/_template.c FINAL RESULTS: data/cheetah-3.2.6/Cheetah/c/_namemapper.c:258: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 *nameChunks[MAXCHUNKS]; data/cheetah-3.2.6/Cheetah/c/_namemapper.c:293: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 *nameChunks[MAXCHUNKS]; data/cheetah-3.2.6/Cheetah/c/_namemapper.c:351: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 *nameChunks[MAXCHUNKS]; data/cheetah-3.2.6/Cheetah/c/_namemapper.c:421: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 *nameChunks[MAXCHUNKS]; data/cheetah-3.2.6/Cheetah/c/_namemapper.h:54:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nameCopy = malloc(strlen(name) + 1);\ ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 794 in approximately 0.10 seconds (8301 lines/second) Physical Source Lines of Code (SLOC) = 568 Hits@level = [0] 0 [1] 1 [2] 4 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 5 [1+] 5 [2+] 4 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 8.80282 [1+] 8.80282 [2+] 7.04225 [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.