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/vocproc-0.2.1/vocproc.cpp Examining data/vocproc-0.2.1/vocproc_gui.cpp FINAL RESULTS: data/vocproc-0.2.1/vocproc_gui.cpp:58:13: [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(tmp2, bundle_path()); data/vocproc-0.2.1/vocproc.cpp:271:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(fftOldC, fftTmpC, fftFrameSize*sizeof(fftw_complex)); data/vocproc-0.2.1/vocproc.cpp:330:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(gOutFIFO, gOutputAccum, stepSize*sizeof(float)); data/vocproc-0.2.1/vocproc_gui.cpp:56:13: [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 tmp2[1024]; data/vocproc-0.2.1/vocproc_gui.cpp:59:13: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(tmp2, "vocproc_gui.ui"); ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 989 in approximately 0.04 seconds (26792 lines/second) Physical Source Lines of Code (SLOC) = 660 Hits@level = [0] 0 [1] 0 [2] 4 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 5 [1+] 5 [2+] 5 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 7.57576 [1+] 7.57576 [2+] 7.57576 [3+] 1.51515 [4+] 1.51515 [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.