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/dimbl-0.15/src/Dimbl.cxx Examining data/dimbl-0.15/src/DimProcs.cxx Examining data/dimbl-0.15/include/dimbl/DimProcs.h FINAL RESULTS: data/dimbl-0.15/include/dimbl/DimProcs.h:317:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy( time_string, asctime(curtime)); data/dimbl-0.15/include/dimbl/DimProcs.h:330:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(time_string, ctime(&EstimatedTime)); data/dimbl-0.15/include/dimbl/DimProcs.h:291: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 time_string[26]; data/dimbl-0.15/src/DimProcs.cxx:293:11: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inp.open( testFileName.c_str() ); data/dimbl-0.15/src/DimProcs.cxx:299:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). out.open( outFileName.c_str() ); ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 1068 in approximately 0.06 seconds (16949 lines/second) Physical Source Lines of Code (SLOC) = 935 Hits@level = [0] 0 [1] 0 [2] 3 [3] 0 [4] 2 [5] 0 Hits@level+ = [0+] 5 [1+] 5 [2+] 5 [3+] 2 [4+] 2 [5+] 0 Hits/KSLOC@level+ = [0+] 5.34759 [1+] 5.34759 [2+] 5.34759 [3+] 2.13904 [4+] 2.13904 [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.