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/lxqt-admin-0.14.1/lxqt-admin-time/datetime.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-time/datetime.h Examining data/lxqt-admin-0.14.1/lxqt-admin-time/dbustimedatectl.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-time/dbustimedatectl.h Examining data/lxqt-admin-0.14.1/lxqt-admin-time/fbsdtimedatectl.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-time/fbsdtimedatectl.h Examining data/lxqt-admin-0.14.1/lxqt-admin-time/itimedatectl.h Examining data/lxqt-admin-0.14.1/lxqt-admin-time/main.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-time/timeadmindialog.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-time/timeadmindialog.h Examining data/lxqt-admin-0.14.1/lxqt-admin-time/timezone.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-time/timezone.h Examining data/lxqt-admin-0.14.1/lxqt-admin-user/groupdialog.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-user/groupdialog.h Examining data/lxqt-admin-0.14.1/lxqt-admin-user/main.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-user/mainwindow.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-user/mainwindow.h Examining data/lxqt-admin-0.14.1/lxqt-admin-user/userdialog.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-user/userdialog.h Examining data/lxqt-admin-0.14.1/lxqt-admin-user/usermanager.cpp Examining data/lxqt-admin-0.14.1/lxqt-admin-user/usermanager.h FINAL RESULTS: data/lxqt-admin-0.14.1/lxqt-admin-time/fbsdtimedatectl.cpp:49: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). if (!tzFile.open(QFile::ReadOnly | QFile::Text)) return QSL("Unknown"); data/lxqt-admin-0.14.1/lxqt-admin-time/timeadmindialog.cpp:92:13: [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/lxqt-admin-0.14.1/lxqt-admin-user/usermanager.cpp:106:13: [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/lxqt-admin-0.14.1/lxqt-admin-user/usermanager.cpp:434: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). if(file.open(QIODevice::ReadOnly)) { ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 2485 in approximately 0.13 seconds (19650 lines/second) Physical Source Lines of Code (SLOC) = 1651 Hits@level = [0] 0 [1] 0 [2] 4 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 4 [1+] 4 [2+] 4 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 2.42277 [1+] 2.42277 [2+] 2.42277 [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.