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/qt5ct-1.1/src/qt5ct-style/qt5ctproxystyle.h Examining data/qt5ct-1.1/src/qt5ct-style/qt5ctproxystyle.cpp Examining data/qt5ct-1.1/src/qt5ct-style/plugin.cpp Examining data/qt5ct-1.1/src/qt5ct/main.cpp Examining data/qt5ct-1.1/src/qt5ct/paletteeditdialog.h Examining data/qt5ct-1.1/src/qt5ct/appearancepage.cpp Examining data/qt5ct-1.1/src/qt5ct/fontspage.h Examining data/qt5ct-1.1/src/qt5ct/appearancepage.h Examining data/qt5ct-1.1/src/qt5ct/qt5ct.h Examining data/qt5ct-1.1/src/qt5ct/paletteeditdialog.cpp Examining data/qt5ct-1.1/src/qt5ct/mainwindow.h Examining data/qt5ct-1.1/src/qt5ct/fontspage.cpp Examining data/qt5ct-1.1/src/qt5ct/fontconfigdialog.cpp Examining data/qt5ct-1.1/src/qt5ct/tabpage.cpp Examining data/qt5ct-1.1/src/qt5ct/qsspage.cpp Examining data/qt5ct-1.1/src/qt5ct/iconthemepage.h Examining data/qt5ct-1.1/src/qt5ct/iconthemepage.cpp Examining data/qt5ct-1.1/src/qt5ct/tabpage.h Examining data/qt5ct-1.1/src/qt5ct/fontconfigdialog.h Examining data/qt5ct-1.1/src/qt5ct/qsspage.h Examining data/qt5ct-1.1/src/qt5ct/qt5ct.cpp Examining data/qt5ct-1.1/src/qt5ct/mainwindow.cpp Examining data/qt5ct-1.1/src/qt5ct/interfacepage.h Examining data/qt5ct-1.1/src/qt5ct/qsseditordialog.cpp Examining data/qt5ct-1.1/src/qt5ct/qsseditordialog.h Examining data/qt5ct-1.1/src/qt5ct/interfacepage.cpp Examining data/qt5ct-1.1/src/qt5ct-qtplugin/main.cpp Examining data/qt5ct-1.1/src/qt5ct-qtplugin/qt5ctplatformtheme.cpp Examining data/qt5ct-1.1/src/qt5ct-qtplugin/qt5ctplatformtheme.h FINAL RESULTS: data/qt5ct-1.1/src/qt5ct/iconthemepage.cpp:142:29: [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 lang = QLocale::system().name(); data/qt5ct-1.1/src/qt5ct/qt5ct.cpp:131:22: [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. return QLocale::system().name(); data/qt5ct-1.1/src/qt5ct-qtplugin/qt5ctplatformtheme.cpp:399:14: [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). file.open(QIODevice::ReadOnly); data/qt5ct-1.1/src/qt5ct/fontconfigdialog.cpp:86:14: [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)) data/qt5ct-1.1/src/qt5ct/qsseditordialog.cpp:44: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). file.open(QIODevice::ReadOnly); data/qt5ct-1.1/src/qt5ct/qsseditordialog.cpp:67: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). file.open(QIODevice::WriteOnly); data/qt5ct-1.1/src/qt5ct/qsspage.cpp:123: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). file.open(QIODevice::WriteOnly); ANALYSIS SUMMARY: Hits = 7 Lines analyzed = 3582 in approximately 0.16 seconds (22999 lines/second) Physical Source Lines of Code (SLOC) = 2304 Hits@level = [0] 0 [1] 0 [2] 5 [3] 0 [4] 2 [5] 0 Hits@level+ = [0+] 7 [1+] 7 [2+] 7 [3+] 2 [4+] 2 [5+] 0 Hits/KSLOC@level+ = [0+] 3.03819 [1+] 3.03819 [2+] 3.03819 [3+] 0.868056 [4+] 0.868056 [5+] 0 Dot directories skipped = 2 (--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.