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/kde-gtk-config-5.19.5/kded/gtkconfig.cpp Examining data/kde-gtk-config-5.19.5/kded/gtkconfig.h Examining data/kde-gtk-config-5.19.5/kded/configvalueprovider.cpp Examining data/kde-gtk-config-5.19.5/kded/configeditor.h Examining data/kde-gtk-config-5.19.5/kded/themepreviewer.h Examining data/kde-gtk-config-5.19.5/kded/configeditor.cpp Examining data/kde-gtk-config-5.19.5/kded/configvalueprovider.h Examining data/kde-gtk-config-5.19.5/kded/themepreviewer.cpp Examining data/kde-gtk-config-5.19.5/kconf_update/gtktheme.cpp Examining data/kde-gtk-config-5.19.5/color-reload-module/reloader.c Examining data/kde-gtk-config-5.19.5/gtk3proxies/preview3.c Examining data/kde-gtk-config-5.19.5/gtkproxies/preview.c Examining data/kde-gtk-config-5.19.5/gtkproxies/reload.c FINAL RESULTS: data/kde-gtk-config-5.19.5/kded/configeditor.cpp:90:22: [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). xSettingsdConfig.open(QIODevice::WriteOnly | QIODevice::Text); data/kde-gtk-config-5.19.5/kded/configeditor.cpp:105:11: [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). gtkrc.open(QIODevice::WriteOnly | QIODevice::Text); data/kde-gtk-config-5.19.5/kded/configeditor.cpp:122: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 (gtkrc.open(QIODevice::ReadWrite | QIODevice::Text)) { data/kde-gtk-config-5.19.5/kded/configeditor.cpp:170:11: [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). gtkrc.open(QIODevice::WriteOnly | QIODevice::Text); data/kde-gtk-config-5.19.5/kded/configeditor.cpp:195:16: [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 (gtkCss.open(QIODevice::ReadWrite)) { data/kde-gtk-config-5.19.5/kded/configeditor.cpp:211:19: [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 (colorsCss.open(QIODevice::WriteOnly | QIODevice::Truncate)) { data/kde-gtk-config-5.19.5/kded/configeditor.cpp:222: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::ReadWrite | QIODevice::Text)) { data/kde-gtk-config-5.19.5/kded/themepreviewer.cpp:69:23: [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). previewConfig.open(QIODevice::WriteOnly | QIODevice::Text); ANALYSIS SUMMARY: Hits = 8 Lines analyzed = 1723 in approximately 0.09 seconds (19798 lines/second) Physical Source Lines of Code (SLOC) = 1174 Hits@level = [0] 12 [1] 0 [2] 8 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 20 [1+] 8 [2+] 8 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 17.0358 [1+] 6.81431 [2+] 6.81431 [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.