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/juffed-0.10-89-g3690b60/include/SettingsColorItem.h
Examining data/juffed-0.10-89-g3690b60/include/DocEngine.h
Examining data/juffed-0.10-89-g3690b60/include/NullDoc.h
Examining data/juffed-0.10-89-g3690b60/include/PluginSettings.h
Examining data/juffed-0.10-89-g3690b60/include/License.h
Examining data/juffed-0.10-89-g3690b60/include/KeySettings.h
Examining data/juffed-0.10-89-g3690b60/include/JuffPlugin.h
Examining data/juffed-0.10-89-g3690b60/include/Types.h
Examining data/juffed-0.10-89-g3690b60/include/FileTypeSettings.h
Examining data/juffed-0.10-89-g3690b60/include/CommandStorageInt.h
Examining data/juffed-0.10-89-g3690b60/include/LibConfig.h
Examining data/juffed-0.10-89-g3690b60/include/CommandStorage.h
Examining data/juffed-0.10-89-g3690b60/include/IconManager.h
Examining data/juffed-0.10-89-g3690b60/include/JuffAPI.h
Examining data/juffed-0.10-89-g3690b60/include/SettingsPage.h
Examining data/juffed-0.10-89-g3690b60/include/SettingsItem.h
Examining data/juffed-0.10-89-g3690b60/include/Settings.h
Examining data/juffed-0.10-89-g3690b60/include/EditorSettings.h
Examining data/juffed-0.10-89-g3690b60/include/StatusLabel.h
Examining data/juffed-0.10-89-g3690b60/include/MainSettings.h
Examining data/juffed-0.10-89-g3690b60/include/PluginNotifier.h
Examining data/juffed-0.10-89-g3690b60/include/Utils.h
Examining data/juffed-0.10-89-g3690b60/include/Document.h
Examining data/juffed-0.10-89-g3690b60/include/CharsetSettings.h
Examining data/juffed-0.10-89-g3690b60/include/IconManagerInt.h
Examining data/juffed-0.10-89-g3690b60/include/SearchResults.h
Examining data/juffed-0.10-89-g3690b60/include/Log.h
Examining data/juffed-0.10-89-g3690b60/include/DocHandlerInt.h
Examining data/juffed-0.10-89-g3690b60/include/AutocompleteSettings.h
Examining data/juffed-0.10-89-g3690b60/include/SettingsSelectItem.h
Examining data/juffed-0.10-89-g3690b60/include/Project.h
Examining data/juffed-0.10-89-g3690b60/include/AppInfo.h
Examining data/juffed-0.10-89-g3690b60/include/ColorButton.h
Examining data/juffed-0.10-89-g3690b60/include/SettingsCheckItem.h
Examining data/juffed-0.10-89-g3690b60/include/Enums.h
Examining data/juffed-0.10-89-g3690b60/include/Constants.h
Examining data/juffed-0.10-89-g3690b60/plugins/todolist/TODOList.h
Examining data/juffed-0.10-89-g3690b60/plugins/todolist/TODOParser.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/todolist/TODOList.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/todolist/TODOParser.h
Examining data/juffed-0.10-89-g3690b60/plugins/colorpicker/ColorFormatDlg.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/colorpicker/ColorPickerPlugin.h
Examining data/juffed-0.10-89-g3690b60/plugins/colorpicker/ColorFormatDlg.h
Examining data/juffed-0.10-89-g3690b60/plugins/colorpicker/ColorPickerPlugin.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/SymbolBrowser.h
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/docsymbols.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parserthread.h
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/symbol.h
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/keyword.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parserex.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser.h
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_perl.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/keyword.h
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/vstring.h
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parserex.h
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/vstring.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_python.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/docsymbols.h
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/symboltreeview.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/symboltreeview.h
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/symbol.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/common.h
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parserthread.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/SymbolBrowser.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/zencoding/ZenCoding.h
Examining data/juffed-0.10-89-g3690b60/plugins/zencoding/DocWrapper.h
Examining data/juffed-0.10-89-g3690b60/plugins/zencoding/ZenCoding.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/zencoding/DocWrapper.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/doclist/DocListPanel.h
Examining data/juffed-0.10-89-g3690b60/plugins/doclist/DocListPlugin.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/doclist/DocListPlugin.h
Examining data/juffed-0.10-89-g3690b60/plugins/doclist/DocListPanel.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/xmlformat/xmlformat.h
Examining data/juffed-0.10-89-g3690b60/plugins/xmlformat/xmlformat.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/autosave/autosave.h
Examining data/juffed-0.10-89-g3690b60/plugins/autosave/autosave.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/fm/TreeView.h
Examining data/juffed-0.10-89-g3690b60/plugins/fm/TreeView.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/fm/ManageDlg.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/fm/ManageDlg.h
Examining data/juffed-0.10-89-g3690b60/plugins/fm/FMPlugin.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/fm/FMPlugin.h
Examining data/juffed-0.10-89-g3690b60/plugins/favorites/FavoritesPlugin.h
Examining data/juffed-0.10-89-g3690b60/plugins/favorites/ManageDlg.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/favorites/ManageDlg.h
Examining data/juffed-0.10-89-g3690b60/plugins/favorites/FavoritesPlugin.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/sort/QuickSettings.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/sort/sort.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/sort/QuickSettings.h
Examining data/juffed-0.10-89-g3690b60/plugins/sort/sort.h
Examining data/juffed-0.10-89-g3690b60/plugins/keybindings/KeysPlugin.h
Examining data/juffed-0.10-89-g3690b60/plugins/keybindings/KeysPage.h
Examining data/juffed-0.10-89-g3690b60/plugins/keybindings/KeysPage.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/keybindings/KeysPlugin.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/terminal/TerminalPlugin.h
Examining data/juffed-0.10-89-g3690b60/plugins/terminal/TerminalPlugin.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/findinfiles/SearchDlg.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/findinfiles/FindInFilesPlugin.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/findinfiles/FindInFilesPlugin.h
Examining data/juffed-0.10-89-g3690b60/plugins/findinfiles/FindWorker.h
Examining data/juffed-0.10-89-g3690b60/plugins/findinfiles/FindWorker.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/findinfiles/SearchDlg.h
Examining data/juffed-0.10-89-g3690b60/plugins/python/PythonPlugin.cpp
Examining data/juffed-0.10-89-g3690b60/plugins/python/PythonPlugin.h
Examining data/juffed-0.10-89-g3690b60/example/example.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/main.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/SearchPopup.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/SelectFilesDlg.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/ProjectTree.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/SearchPopup.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/JumpToFileDlg.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/SelectFilesDlg.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/SessionDlg.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/Popup.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/DocViewer.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/TabBar.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/JumpToFileDlg.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/TabWidget.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/settings/MultiPage.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/settings/SettingsDlg.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/settings/CharsetsSettingsPage.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/settings/SettingsDlg.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/settings/MultiPage.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/settings/CharsetsSettingsPage.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/settings/PluginPage.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/settings/PluginPage.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/JuffMW.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/SearchComboBox.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/TabWidget.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/TabBar.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/Popup.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/ProjectTree.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/JuffMW.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/AboutDlg.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/SessionDlg.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/ui/AboutDlg.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/SearchComboBox.h
Examining data/juffed-0.10-89-g3690b60/src/app/ui/DocViewer.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/JuffEd.h
Examining data/juffed-0.10-89-g3690b60/src/app/PluginManager.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/SearchEngine.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/JuffEd.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/JuffScintilla.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/QSciLibConfig.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/SciDocEngine.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/LexerStorage.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/QSciSettings.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/LexerStorage.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/settings/PrintSettings.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/settings/FileTypeSettings.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/settings/FileTypesPage.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/settings/FileTypesPage.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/settings/PrintSettings.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/QSciSettings.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/JuffScintilla.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/SciDoc.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/qscilexernsis.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/qscilexerasm.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/qscilexerada.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/qscilexerasm.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/qscilexerhaskell.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/qscilexerlisp.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/my/QsciLexerMatlab.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/my/QsciLexerMatlab.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/qscilexerada.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/qscilexerhaskell.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/qscilexerlisp.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/lexers/qscilexernsis.h
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/SciDoc.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/qsci/SciDocEngine.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/SearchEngine.h
Examining data/juffed-0.10-89-g3690b60/src/app/PluginManager.h
Examining data/juffed-0.10-89-g3690b60/src/app/DocManager.cpp
Examining data/juffed-0.10-89-g3690b60/src/app/DocManager.h
Examining data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtsinglecoreapplication.h
Examining data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtsingleapplication.h
Examining data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlockedfile.cpp
Examining data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlockedfile_unix.cpp
Examining data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtsinglecoreapplication.cpp
Examining data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtsingleapplication.cpp
Examining data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlocalpeer.h
Examining data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlockedfile_win.cpp
Examining data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlocalpeer.cpp
Examining data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlockedfile.h
Examining data/juffed-0.10-89-g3690b60/src/lib/PluginSettings.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/StatusLabel.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/SettingsCheckItem.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/PluginNotifier.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/Log.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/Settings.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/FileTypeSettings.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/DocEngine.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/NullDoc.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/Document.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/ColorButton.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/JuffAPI.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/MainSettings.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/AutocompleteSettings.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/SettingsColorItem.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/EditorSettings.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/IconManager.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/SettingsPage.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/CharsetSettings.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/SearchResults.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/SettingsItem.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/Utils.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/KeySettings.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/SettingsSelectItem.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/CommandStorage.cpp
Examining data/juffed-0.10-89-g3690b60/src/lib/Project.cpp

FINAL RESULTS:

data/juffed-0.10-89-g3690b60/plugins/colorpicker/ColorFormatDlg.cpp:18:41:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	_ui.btnHexSplitted->setText( QString().sprintf("0x%02hX, 0x%02hX, 0x%02hX", (unsigned short)r, (unsigned short)g, (unsigned short)b) );
data/juffed-0.10-89-g3690b60/plugins/colorpicker/ColorFormatDlg.cpp:19:38:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	_ui.btnSplitted->setText( QString().sprintf("%i, %i, %i", r, g, b) );
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:174:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        accessType access;           /* access of current statement */
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:494:48:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    const char *accessString (const accessType access);
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:555:63:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    void setAccess (statementInfo *const st, const accessType access);
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:678:56:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
const char *Parser_Cpp::accessString (const accessType access)
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:684:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    Assert ((int) access < ACCESS_COUNT);
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:685:25:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    return names [(int) access];
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:780:76:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    fprintf(stderr, "access: %s   default: %s\n", accessString (st->member.access),
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:1096:25:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    else if (st->member.access != ACCESS_UNDEFINED)
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:1097:43:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        result = accessString (st->member.access);
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:1998:71:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
void Parser_Cpp::setAccess (statementInfo *const st, const accessType access)
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:2011:40:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            st->member.accessDefault = access;
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:2013:29:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        st->member.access = access;
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/vstring.cpp:212:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy (string->buffer + string->length, s);
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/vstring.h:51:58:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define PrintStatus(x)         if (debug(DEBUG_STATUS)) printf x;
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/vstring.h:53:33:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define verbose(format, ...)   fprintf(stderr, __VA_ARGS__)
data/juffed-0.10-89-g3690b60/src/app/main.cpp:71:18:  [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/juffed-0.10-89-g3690b60/src/app/main.cpp:89:38:  [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.
	qtTranslator->load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath));
data/juffed-0.10-89-g3690b60/src/app/qsci/SciDoc.cpp:769:36:  [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 convertedText = QLocale::system().toUpper(selectedText);
data/juffed-0.10-89-g3690b60/src/app/qsci/SciDoc.cpp:783:36:  [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 convertedText = QLocale::system().toLower(selectedText);
data/juffed-0.10-89-g3690b60/plugins/findinfiles/FindWorker.cpp:71: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::ReadOnly) ) {
data/juffed-0.10-89-g3690b60/plugins/python/PythonPlugin.cpp:73:15:  [2] (misc) fopen:
  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* file = fopen("/home/mrz/script_plugin.py", "r");
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:3083:21:  [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 buf [20];  /* length of "_anon" + digits  + null */
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parser_cpp.cpp:3084:21:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                    sprintf (buf, "__anon%d", ++AnonymousID);
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/parserex.cpp:375: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 directiveStr [MaxDirectiveName];
data/juffed-0.10-89-g3690b60/plugins/zencoding/ZenCoding.cpp:14: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 ( scriptFile.open(QIODevice::ReadOnly) ) {
data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlocalpeer.cpp:111: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).
    lockFile.open(QIODevice::ReadWrite);
data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlockedfile.cpp:129: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).
bool QtLockedFile::open(OpenMode mode)
data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlockedfile.cpp:135: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).
    return QFile::open(mode);
data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlockedfile.h:80: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).
    bool open(OpenMode mode);
data/juffed-0.10-89-g3690b60/src/app/JuffEd.cpp:1297: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/juffed-0.10-89-g3690b60/src/app/JuffEd.cpp:1375:12:  [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/juffed-0.10-89-g3690b60/src/app/main.cpp:54:7:  [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 | QIODevice::Truncate);
data/juffed-0.10-89-g3690b60/src/app/qsci/LexerStorage.cpp:185: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/juffed-0.10-89-g3690b60/src/app/qsci/LexerStorage.cpp:831:12:  [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/juffed-0.10-89-g3690b60/src/app/qsci/SciDoc.cpp:60: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/juffed-0.10-89-g3690b60/src/app/qsci/SciDoc.cpp:94: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/juffed-0.10-89-g3690b60/src/app/qsci/SciDoc.cpp:1180:12:  [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/juffed-0.10-89-g3690b60/src/app/qsci/SciDoc.cpp:1211:12:  [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/juffed-0.10-89-g3690b60/src/lib/Document.cpp:180: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 buf[ENCA_BUFFER_SIZE];
data/juffed-0.10-89-g3690b60/src/lib/Document.cpp:182: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(QFile::ReadOnly) ) {
data/juffed-0.10-89-g3690b60/src/lib/Log.cpp:46: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).
		if (log.open(QIODevice::Append)) {
data/juffed-0.10-89-g3690b60/src/lib/Project.cpp:173:12:  [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/juffed-0.10-89-g3690b60/src/lib/Project.cpp:220: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/juffed-0.10-89-g3690b60/example/example.cpp:42:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Settings::instance()->read("juff", "juffed");
data/juffed-0.10-89-g3690b60/include/Settings.h:33:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read(const QString&, const QString&);
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/vstring.cpp:209:24:  [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).
    const size_t len = strlen (s);
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parsers/vstring.cpp:362:22:  [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).
    string->length = strlen (string->buffer);
data/juffed-0.10-89-g3690b60/plugins/symbolbrowser/symbols/parserthread.cpp:55:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(mTextBuf, array.data(), mTextBufLen);
data/juffed-0.10-89-g3690b60/src/3rd_party/qtsingleapplication/qtlocalpeer.cpp:168:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    res &= (socket.read(qstrlen(ack)) == ack);
data/juffed-0.10-89-g3690b60/src/app/main.cpp:186:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Settings::instance()->read("juff", "juffed");
data/juffed-0.10-89-g3690b60/src/lib/Document.cpp:186:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int len = file.read(buf, ENCA_BUFFER_SIZE);
data/juffed-0.10-89-g3690b60/src/lib/Settings.cpp:58:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Settings::read(const QString& org, const QString& appName) {

ANALYSIS SUMMARY:

Hits = 54
Lines analyzed = 32603 in approximately 1.75 seconds (18608 lines/second)
Physical Source Lines of Code (SLOC) = 21547
Hits@level = [0]  19 [1]   9 [2]  24 [3]   0 [4]  21 [5]   0
Hits@level+ = [0+]  73 [1+]  54 [2+]  45 [3+]  21 [4+]  21 [5+]   0
Hits/KSLOC@level+ = [0+] 3.38794 [1+] 2.50615 [2+] 2.08846 [3+] 0.974614 [4+] 0.974614 [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.