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/dolphin-plugins-20.08.2/svn/svncommands.cpp Examining data/dolphin-plugins-20.08.2/svn/svncheckoutdialog.cpp Examining data/dolphin-plugins-20.08.2/svn/svncommitdialog.h Examining data/dolphin-plugins-20.08.2/svn/svnlogdialog.cpp Examining data/dolphin-plugins-20.08.2/svn/svncommitdialog.cpp Examining data/dolphin-plugins-20.08.2/svn/svnlogdialog.h Examining data/dolphin-plugins-20.08.2/svn/svncleanupdialog.h Examining data/dolphin-plugins-20.08.2/svn/svnprogressdialog.h Examining data/dolphin-plugins-20.08.2/svn/svnprogressdialog.cpp Examining data/dolphin-plugins-20.08.2/svn/fileviewsvnplugin.h Examining data/dolphin-plugins-20.08.2/svn/svncommands.h Examining data/dolphin-plugins-20.08.2/svn/fileviewsvnplugin.cpp Examining data/dolphin-plugins-20.08.2/svn/svncheckoutdialog.h Examining data/dolphin-plugins-20.08.2/svn/svncleanupdialog.cpp Examining data/dolphin-plugins-20.08.2/dropbox/fileviewdropboxplugin.h Examining data/dolphin-plugins-20.08.2/dropbox/fileviewdropboxplugin.cpp Examining data/dolphin-plugins-20.08.2/hg/configdialog.h Examining data/dolphin-plugins-20.08.2/hg/configdialog.cpp Examining data/dolphin-plugins-20.08.2/hg/pushdialog.cpp Examining data/dolphin-plugins-20.08.2/hg/bundledialog.h Examining data/dolphin-plugins-20.08.2/hg/fileviewhgplugin.h Examining data/dolphin-plugins-20.08.2/hg/exportdialog.cpp Examining data/dolphin-plugins-20.08.2/hg/tagdialog.h Examining data/dolphin-plugins-20.08.2/hg/clonedialog.h Examining data/dolphin-plugins-20.08.2/hg/exportdialog.h Examining data/dolphin-plugins-20.08.2/hg/mergedialog.h Examining data/dolphin-plugins-20.08.2/hg/servewrapper.cpp Examining data/dolphin-plugins-20.08.2/hg/branchdialog.cpp Examining data/dolphin-plugins-20.08.2/hg/syncdialogbase.h Examining data/dolphin-plugins-20.08.2/hg/commitdialog.cpp Examining data/dolphin-plugins-20.08.2/hg/clonedialog.cpp Examining data/dolphin-plugins-20.08.2/hg/updatedialog.cpp Examining data/dolphin-plugins-20.08.2/hg/dialogbase.cpp Examining data/dolphin-plugins-20.08.2/hg/backoutdialog.cpp Examining data/dolphin-plugins-20.08.2/hg/pulldialog.cpp Examining data/dolphin-plugins-20.08.2/hg/hgwrapper.h Examining data/dolphin-plugins-20.08.2/hg/mergedialog.cpp Examining data/dolphin-plugins-20.08.2/hg/commitdialog.h Examining data/dolphin-plugins-20.08.2/hg/statuslist.cpp Examining data/dolphin-plugins-20.08.2/hg/commitinfowidget.h Examining data/dolphin-plugins-20.08.2/hg/statuslist.h Examining data/dolphin-plugins-20.08.2/hg/servedialog.cpp Examining data/dolphin-plugins-20.08.2/hg/createdialog.cpp Examining data/dolphin-plugins-20.08.2/hg/hgconfig.h Examining data/dolphin-plugins-20.08.2/hg/fileviewhgplugin.cpp Examining data/dolphin-plugins-20.08.2/hg/backoutdialog.h Examining data/dolphin-plugins-20.08.2/hg/pathselector.h Examining data/dolphin-plugins-20.08.2/hg/servewrapper.h Examining data/dolphin-plugins-20.08.2/hg/renamedialog.cpp Examining data/dolphin-plugins-20.08.2/hg/tagdialog.cpp Examining data/dolphin-plugins-20.08.2/hg/syncdialogbase.cpp Examining data/dolphin-plugins-20.08.2/hg/servedialog.h Examining data/dolphin-plugins-20.08.2/hg/updatedialog.h Examining data/dolphin-plugins-20.08.2/hg/bundledialog.cpp Examining data/dolphin-plugins-20.08.2/hg/importdialog.cpp Examining data/dolphin-plugins-20.08.2/hg/importdialog.h Examining data/dolphin-plugins-20.08.2/hg/commititemdelegate.cpp Examining data/dolphin-plugins-20.08.2/hg/renamedialog.h Examining data/dolphin-plugins-20.08.2/hg/dialogbase.h Examining data/dolphin-plugins-20.08.2/hg/createdialog.h Examining data/dolphin-plugins-20.08.2/hg/hgwrapper.cpp Examining data/dolphin-plugins-20.08.2/hg/pathselector.cpp Examining data/dolphin-plugins-20.08.2/hg/config-widgets/ignorewidget.h Examining data/dolphin-plugins-20.08.2/hg/config-widgets/pluginsettings.cpp Examining data/dolphin-plugins-20.08.2/hg/config-widgets/pathconfig.cpp Examining data/dolphin-plugins-20.08.2/hg/config-widgets/ignorewidget.cpp Examining data/dolphin-plugins-20.08.2/hg/config-widgets/pathconfig.h Examining data/dolphin-plugins-20.08.2/hg/config-widgets/generalconfig.h Examining data/dolphin-plugins-20.08.2/hg/config-widgets/pluginsettings.h Examining data/dolphin-plugins-20.08.2/hg/config-widgets/generalconfig.cpp Examining data/dolphin-plugins-20.08.2/hg/commititemdelegate.h Examining data/dolphin-plugins-20.08.2/hg/pulldialog.h Examining data/dolphin-plugins-20.08.2/hg/hgconfig.cpp Examining data/dolphin-plugins-20.08.2/hg/pushdialog.h Examining data/dolphin-plugins-20.08.2/hg/commitinfowidget.cpp Examining data/dolphin-plugins-20.08.2/hg/branchdialog.h Examining data/dolphin-plugins-20.08.2/mountiso/mountisoaction.cpp Examining data/dolphin-plugins-20.08.2/mountiso/mountisoaction.h Examining data/dolphin-plugins-20.08.2/git/fileviewgitplugin.h Examining data/dolphin-plugins-20.08.2/git/pushdialog.cpp Examining data/dolphin-plugins-20.08.2/git/tagdialog.h Examining data/dolphin-plugins-20.08.2/git/checkoutdialog.cpp Examining data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp Examining data/dolphin-plugins-20.08.2/git/commitdialog.cpp Examining data/dolphin-plugins-20.08.2/git/pulldialog.cpp Examining data/dolphin-plugins-20.08.2/git/commitdialog.h Examining data/dolphin-plugins-20.08.2/git/checkoutdialog.h Examining data/dolphin-plugins-20.08.2/git/tagdialog.cpp Examining data/dolphin-plugins-20.08.2/git/pulldialog.h Examining data/dolphin-plugins-20.08.2/git/gitwrapper.cpp Examining data/dolphin-plugins-20.08.2/git/pushdialog.h Examining data/dolphin-plugins-20.08.2/git/gitwrapper.h Examining data/dolphin-plugins-20.08.2/bazaar/fileviewbazaarplugin.h Examining data/dolphin-plugins-20.08.2/bazaar/fileviewbazaarplugin.cpp FINAL RESULTS: data/dolphin-plugins-20.08.2/bazaar/fileviewbazaarplugin.cpp:133:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[512]; data/dolphin-plugins-20.08.2/bazaar/fileviewbazaarplugin.cpp:157:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[512]; data/dolphin-plugins-20.08.2/bazaar/fileviewbazaarplugin.cpp:173:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[1024]; data/dolphin-plugins-20.08.2/bazaar/fileviewbazaarplugin.cpp:469:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[512]; data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp:171:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[512]; data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp:182:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[1024]; data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp:554:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[512]; data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp:590:30: [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). tmpCommitMessageFile.open(); data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp:598:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[512]; data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp:618:28: [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). tempTagMessageFile.open(); data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp:629:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[512]; data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp:728:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp:743:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/dolphin-plugins-20.08.2/git/gitwrapper.cpp:51:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[SMALL_BUFFER_SIZE]; data/dolphin-plugins-20.08.2/git/gitwrapper.cpp:64:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[SMALL_BUFFER_SIZE]; data/dolphin-plugins-20.08.2/git/gitwrapper.cpp:83:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFFER_SIZE]; data/dolphin-plugins-20.08.2/git/gitwrapper.cpp:102:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFFER_SIZE]; data/dolphin-plugins-20.08.2/git/gitwrapper.cpp:115:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFFER_SIZE]; data/dolphin-plugins-20.08.2/git/gitwrapper.cpp:129:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFFER_SIZE]; data/dolphin-plugins-20.08.2/git/gitwrapper.cpp:153:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFFER_SIZE]; data/dolphin-plugins-20.08.2/hg/backoutdialog.cpp:126:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[FINAL][1024]; data/dolphin-plugins-20.08.2/hg/bundledialog.cpp:176:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[FINAL][1024]; data/dolphin-plugins-20.08.2/hg/config-widgets/ignorewidget.cpp:92: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(QFile::ReadOnly)) { data/dolphin-plugins-20.08.2/hg/config-widgets/ignorewidget.cpp:112: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(QFile::WriteOnly | QFile::Truncate)) { data/dolphin-plugins-20.08.2/hg/exportdialog.cpp:104:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[FINAL][1024]; data/dolphin-plugins-20.08.2/hg/hgwrapper.cpp:305:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[1048]; data/dolphin-plugins-20.08.2/hg/hgwrapper.cpp:319:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[1048]; data/dolphin-plugins-20.08.2/hg/hgwrapper.cpp:349:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[1024]; data/dolphin-plugins-20.08.2/hg/importdialog.cpp:158: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(QFile::ReadOnly); data/dolphin-plugins-20.08.2/hg/mergedialog.cpp:88:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[FINAL][1024]; data/dolphin-plugins-20.08.2/hg/syncdialogbase.cpp:182:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[512]; data/dolphin-plugins-20.08.2/mountiso/mountisoaction.cpp:95:20: [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). const int fd = open(file.toLocal8Bit().data(), O_RDONLY); data/dolphin-plugins-20.08.2/svn/fileviewsvnplugin.cpp:182:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[1024]; data/dolphin-plugins-20.08.2/svn/fileviewsvnplugin.cpp:376: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 (!file->open()) { data/dolphin-plugins-20.08.2/svn/fileviewsvnplugin.cpp:643:21: [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 (!m_tempFile.open()) { data/dolphin-plugins-20.08.2/svn/svncommands.cpp:336:35: [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->isOpen() && !file->open(QIODevice::Truncate | QIODevice::WriteOnly | QIODevice::Text)) { data/dolphin-plugins-20.08.2/svn/svnlogdialog.cpp:37: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()) { data/dolphin-plugins-20.08.2/svn/svnlogdialog.cpp:43: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 (!copyFile.open(QIODevice::ReadOnly)) { data/dolphin-plugins-20.08.2/git/fileviewgitplugin.cpp:600:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(buffer) > 0 && buffer[0] == '[') { ANALYSIS SUMMARY: Hits = 39 Lines analyzed = 15072 in approximately 0.48 seconds (31334 lines/second) Physical Source Lines of Code (SLOC) = 9902 Hits@level = [0] 0 [1] 1 [2] 38 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 39 [1+] 39 [2+] 38 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 3.9386 [1+] 3.9386 [2+] 3.83761 [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.