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/kmetronome-1.0.1/src/about.h Examining data/kmetronome-1.0.1/src/about.cpp Examining data/kmetronome-1.0.1/src/sequenceradapter.h Examining data/kmetronome-1.0.1/src/drumgrid.cpp Examining data/kmetronome-1.0.1/src/instrument.cpp Examining data/kmetronome-1.0.1/src/instrument.h Examining data/kmetronome-1.0.1/src/lcdnumberview.h Examining data/kmetronome-1.0.1/src/kmetropreferences.cpp Examining data/kmetronome-1.0.1/src/drumgrid.h Examining data/kmetronome-1.0.1/src/drumgridmodel.cpp Examining data/kmetronome-1.0.1/src/lcdnumberview.cpp Examining data/kmetronome-1.0.1/src/sequenceradapter.cpp Examining data/kmetronome-1.0.1/src/kmetronome.cpp Examining data/kmetronome-1.0.1/src/kmetropreferences.h Examining data/kmetronome-1.0.1/src/main.cpp Examining data/kmetronome-1.0.1/src/kmetronome.h Examining data/kmetronome-1.0.1/src/drumgridmodel.h Examining data/kmetronome-1.0.1/src/defs.h FINAL RESULTS: data/kmetronome-1.0.1/src/kmetronome.cpp:678:36: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. QString defLang = QLocale::system().name(); data/kmetronome-1.0.1/src/instrument.cpp:148:12: [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). if (!file.open(QIODevice::ReadOnly)) data/kmetronome-1.0.1/src/instrument.cpp:378:15: [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). if (!file.open(QIODevice::WriteOnly | QIODevice::Truncate)) data/kmetronome-1.0.1/src/lcdnumberview.cpp:128:18: [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). if (resource.open(QIODevice::ReadOnly | QIODevice::Text)) { data/kmetronome-1.0.1/src/sequenceradapter.cpp:65:15: [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). m_Client->open(); ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 3843 in approximately 0.24 seconds (16097 lines/second) Physical Source Lines of Code (SLOC) = 2965 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+] 1.68634 [1+] 1.68634 [2+] 1.68634 [3+] 0.337268 [4+] 0.337268 [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.