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/qabcs-1.0.2/FormHelp.cpp Examining data/qabcs-1.0.2/FormAbout.cpp Examining data/qabcs-1.0.2/AlphabetTable.cpp Examining data/qabcs-1.0.2/FormHelp.h Examining data/qabcs-1.0.2/FormAbout.h Examining data/qabcs-1.0.2/SoundEngine.h Examining data/qabcs-1.0.2/FormSelectLanguage.cpp Examining data/qabcs-1.0.2/mainwindow.cpp Examining data/qabcs-1.0.2/sndplayer.cpp Examining data/qabcs-1.0.2/AlphabetTable.h Examining data/qabcs-1.0.2/LoaderAbcFormats.cpp Examining data/qabcs-1.0.2/LoaderAbcFormats.h Examining data/qabcs-1.0.2/Collection.h Examining data/qabcs-1.0.2/mainwindow.h Examining data/qabcs-1.0.2/Collection.cpp Examining data/qabcs-1.0.2/FormSelectLanguage.h Examining data/qabcs-1.0.2/main.cpp Examining data/qabcs-1.0.2/SoundEngine.cpp Examining data/qabcs-1.0.2/config_qabcs.h Examining data/qabcs-1.0.2/sndplayer.h FINAL RESULTS: data/qabcs-1.0.2/FormSelectLanguage.cpp:127:57: [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. if (confSettings->value("abc/lang",QLocale::system().bcp47Name()).toString()==lang_code){ data/qabcs-1.0.2/mainwindow.cpp:259:61: [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 locale = confSettings.value("abc/lang",QLocale::system().bcp47Name()).toString(); data/qabcs-1.0.2/AlphabetTable.cpp:196: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 (file.open(QIODevice::ReadOnly | QIODevice::Text)){ data/qabcs-1.0.2/FormSelectLanguage.cpp:76: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::ReadOnly | QIODevice::Text)){ data/qabcs-1.0.2/LoaderAbcFormats.cpp:76: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::ReadOnly | QIODevice::Text)){ data/qabcs-1.0.2/LoaderAbcFormats.cpp:161: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::ReadOnly | QIODevice::Text)){ data/qabcs-1.0.2/mainwindow.cpp:338: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::ReadOnly | QIODevice::Text)){ data/qabcs-1.0.2/mainwindow.cpp:420: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::ReadOnly | QIODevice::Text)){ data/qabcs-1.0.2/mainwindow.cpp:605: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 (file.open(QIODevice::ReadOnly | QIODevice::Text)){ data/qabcs-1.0.2/sndplayer.cpp:14:56: [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). connect(this, &QThread::started, this, &SndPlayer::open); data/qabcs-1.0.2/sndplayer.cpp:23:17: [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). void SndPlayer::open() { data/qabcs-1.0.2/sndplayer.h:16:10: [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). void open(); ANALYSIS SUMMARY: Hits = 12 Lines analyzed = 2911 in approximately 0.15 seconds (19398 lines/second) Physical Source Lines of Code (SLOC) = 2211 Hits@level = [0] 0 [1] 0 [2] 10 [3] 0 [4] 2 [5] 0 Hits@level+ = [0+] 12 [1+] 12 [2+] 12 [3+] 2 [4+] 2 [5+] 0 Hits/KSLOC@level+ = [0+] 5.42741 [1+] 5.42741 [2+] 5.42741 [3+] 0.904568 [4+] 0.904568 [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.