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/vlevel-0.5.1/vlevel-bin/commandline.cpp Examining data/vlevel-0.5.1/vlevel-bin/commandline.h Examining data/vlevel-0.5.1/vlevel-bin/vlevel-bin.cpp Examining data/vlevel-0.5.1/vlevel-jack/commandline.cpp Examining data/vlevel-0.5.1/vlevel-jack/commandline.h Examining data/vlevel-0.5.1/vlevel-jack/vlevel-jack.cpp Examining data/vlevel-0.5.1/vlevel-ladspa/ladspa.h Examining data/vlevel-0.5.1/vlevel-ladspa/vlevel-ladspa.cpp Examining data/vlevel-0.5.1/vlevel-ladspa/vlevel-ladspa.h Examining data/vlevel-0.5.1/vlevel-winamp/dsp.h Examining data/vlevel-0.5.1/vlevel-winamp/vlevel/vlevel.h Examining data/vlevel-0.5.1/vlevel-winamp/vlevel/volumeleveler.cpp Examining data/vlevel-0.5.1/vlevel-winamp/vlevel/volumeleveler.h Examining data/vlevel-0.5.1/vlevel-winamp/vlevel_winamp.cpp Examining data/vlevel-0.5.1/vlevel-winamp/vlevel_wrapper.cpp Examining data/vlevel-0.5.1/vlevel-winamp/vlevel_wrapper.h Examining data/vlevel-0.5.1/volumeleveler/volumeleveler.cpp Examining data/vlevel-0.5.1/volumeleveler/volumeleveler.h FINAL RESULTS: data/vlevel-0.5.1/vlevel-bin/vlevel-bin.cpp:215:8: [2] (misc) fopen: 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). in = fopen(argument.c_str(), "rb"); data/vlevel-0.5.1/vlevel-bin/vlevel-bin.cpp:223:9: [2] (misc) fopen: 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 = fopen(argument.c_str(), "wb"); data/vlevel-0.5.1/vlevel-jack/vlevel-jack.cpp:214: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 out [256]; data/vlevel-0.5.1/vlevel-jack/vlevel-jack.cpp:215: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 in [256]; data/vlevel-0.5.1/vlevel-jack/vlevel-jack.cpp:218: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(in, "capture_%d", i + 1); data/vlevel-0.5.1/vlevel-jack/vlevel-jack.cpp:219: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(out, "playback_%d", i + 1); ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 2969 in approximately 0.08 seconds (36206 lines/second) Physical Source Lines of Code (SLOC) = 1532 Hits@level = [0] 1 [1] 0 [2] 6 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 7 [1+] 6 [2+] 6 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 4.56919 [1+] 3.91645 [2+] 3.91645 [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.