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/qtop-2.3.4/base-help/DefaultHelpText.h
Examining data/qtop-2.3.4/base-help/HelpModel.h
Examining data/qtop-2.3.4/base-help/HelpDialog.cpp
Examining data/qtop-2.3.4/base-help/HelpModel.cpp
Examining data/qtop-2.3.4/base-help/HelpManager.h
Examining data/qtop-2.3.4/base-help/HelpDialog.h
Examining data/qtop-2.3.4/base-help/HelpManager.cpp
Examining data/qtop-2.3.4/base-help/HelpItem.h
Examining data/qtop-2.3.4/base-transparency/TransparencyConfiguration.h
Examining data/qtop-2.3.4/base-transparency/TransparentWidget.h
Examining data/qtop-2.3.4/base-transparency/TransparentWidget.cpp
Examining data/qtop-2.3.4/base-transparency/ShadowLabel.cpp
Examining data/qtop-2.3.4/base-transparency/CompositeEngine.h
Examining data/qtop-2.3.4/base-transparency/Effects.h
Examining data/qtop-2.3.4/base-transparency/TransparencyDefaultOptions.h
Examining data/qtop-2.3.4/base-transparency/CompositeEngine.cpp
Examining data/qtop-2.3.4/base-transparency/TransparencyConfiguration.cpp
Examining data/qtop-2.3.4/base-transparency/TransparencyHelpText.h
Examining data/qtop-2.3.4/base-transparency/ShadowLabel.h
Examining data/qtop-2.3.4/base-ssh/SshSocket.cpp
Examining data/qtop-2.3.4/base-ssh/SshFileTransferObject.cpp
Examining data/qtop-2.3.4/base-ssh/SshFileReadSocket.cpp
Examining data/qtop-2.3.4/base-ssh/SshSingleton.cpp
Examining data/qtop-2.3.4/base-ssh/SshBaseSocket.h
Examining data/qtop-2.3.4/base-ssh/SshLoginDialog.h
Examining data/qtop-2.3.4/base-ssh/SshUtil.h
Examining data/qtop-2.3.4/base-ssh/SshConnectionAttributes.cpp
Examining data/qtop-2.3.4/base-ssh/SshTunnel.cpp
Examining data/qtop-2.3.4/base-ssh/SshBaseSocket.cpp
Examining data/qtop-2.3.4/base-ssh/SshFileWriteSocket.h
Examining data/qtop-2.3.4/base-ssh/SshTunnel.h
Examining data/qtop-2.3.4/base-ssh/SshTunnelAttributes.h
Examining data/qtop-2.3.4/base-ssh/SshUtil.cpp
Examining data/qtop-2.3.4/base-ssh/SshFileTransferObject.h
Examining data/qtop-2.3.4/base-ssh/SshFileWriteSocket.cpp
Examining data/qtop-2.3.4/base-ssh/SshConnection.cpp
Examining data/qtop-2.3.4/base-ssh/SshSingleton.h
Examining data/qtop-2.3.4/base-ssh/SshConnection.h
Examining data/qtop-2.3.4/base-ssh/SshConnectionAttributes.h
Examining data/qtop-2.3.4/base-ssh/SshSocket.h
Examining data/qtop-2.3.4/base-ssh/SshFileReadSocket.h
Examining data/qtop-2.3.4/base-ssh/SshLoginDialog.cpp
Examining data/qtop-2.3.4/base/CppUtil.h
Examining data/qtop-2.3.4/base/Singleton.h
Examining data/qtop-2.3.4/base/Option.cpp
Examining data/qtop-2.3.4/base/Options.h
Examining data/qtop-2.3.4/base/Command.h
Examining data/qtop-2.3.4/base/CommandLineArguments.h
Examining data/qtop-2.3.4/base/Sleep.h
Examining data/qtop-2.3.4/base/FileThread.h
Examining data/qtop-2.3.4/base/CommandLineParser.h
Examining data/qtop-2.3.4/base/NonCopyable.h
Examining data/qtop-2.3.4/base/ResourceMigration.h
Examining data/qtop-2.3.4/base/CommandLineParser.cpp
Examining data/qtop-2.3.4/base/Debug.cpp
Examining data/qtop-2.3.4/base/FileRecord.cpp
Examining data/qtop-2.3.4/base/File.cpp
Examining data/qtop-2.3.4/base/Option.h
Examining data/qtop-2.3.4/base/Key.cpp
Examining data/qtop-2.3.4/base/Debug.h
Examining data/qtop-2.3.4/base/File.h
Examining data/qtop-2.3.4/base/Margins.h
Examining data/qtop-2.3.4/base/Util.h
Examining data/qtop-2.3.4/base/FileRecord.h
Examining data/qtop-2.3.4/base/Util.cpp
Examining data/qtop-2.3.4/base/CustomProcess.h
Examining data/qtop-2.3.4/base/Color.h
Examining data/qtop-2.3.4/base/CounterMap.cpp
Examining data/qtop-2.3.4/base/CounterMap.h
Examining data/qtop-2.3.4/base/CommandLineArguments.cpp
Examining data/qtop-2.3.4/base/QOrderedSet.h
Examining data/qtop-2.3.4/base/Options.cpp
Examining data/qtop-2.3.4/base/Command.cpp
Examining data/qtop-2.3.4/base/TextFormat.h
Examining data/qtop-2.3.4/base/TimeStamp.cpp
Examining data/qtop-2.3.4/base/TimeStamp.h
Examining data/qtop-2.3.4/base/WeakPointer.h
Examining data/qtop-2.3.4/base/Key.h
Examining data/qtop-2.3.4/base/Color.cpp
Examining data/qtop-2.3.4/base/ResourceMigration.cpp
Examining data/qtop-2.3.4/base/FileThread.cpp
Examining data/qtop-2.3.4/base/CustomProcess.cpp
Examining data/qtop-2.3.4/base/Counter.h
Examining data/qtop-2.3.4/base/Singleton.cpp
Examining data/qtop-2.3.4/base-spellcheck/SpellCheckConfiguration.cpp
Examining data/qtop-2.3.4/base-spellcheck/AutoSpellConfiguration.cpp
Examining data/qtop-2.3.4/base-spellcheck/FilterSelectionButton.h
Examining data/qtop-2.3.4/base-spellcheck/SpellItemModel.h
Examining data/qtop-2.3.4/base-spellcheck/FilterSelectionButton.cpp
Examining data/qtop-2.3.4/base-spellcheck/SpellInterface.h
Examining data/qtop-2.3.4/base-spellcheck/DictionarySelectionButton.h
Examining data/qtop-2.3.4/base-spellcheck/SpellItemModel.cpp
Examining data/qtop-2.3.4/base-spellcheck/FilterMenu.cpp
Examining data/qtop-2.3.4/base-spellcheck/TexString.cpp
Examining data/qtop-2.3.4/base-spellcheck/SpellParser.h
Examining data/qtop-2.3.4/base-spellcheck/SuggestionMenu.cpp
Examining data/qtop-2.3.4/base-spellcheck/SpellDialog.h
Examining data/qtop-2.3.4/base-spellcheck/FilterMenu.h
Examining data/qtop-2.3.4/base-spellcheck/SpellInterface.cpp
Examining data/qtop-2.3.4/base-spellcheck/SpellDialog.cpp
Examining data/qtop-2.3.4/base-spellcheck/SpellCheckConfiguration.h
Examining data/qtop-2.3.4/base-spellcheck/TexString.h
Examining data/qtop-2.3.4/base-spellcheck/DictionarySelectionButton.cpp
Examining data/qtop-2.3.4/base-spellcheck/DictionaryMenu.h
Examining data/qtop-2.3.4/base-spellcheck/AutoSpellConfiguration.h
Examining data/qtop-2.3.4/base-spellcheck/Word.h
Examining data/qtop-2.3.4/base-spellcheck/DictionaryMenu.cpp
Examining data/qtop-2.3.4/base-spellcheck/SpellItemDialog.cpp
Examining data/qtop-2.3.4/base-spellcheck/SpellParser.cpp
Examining data/qtop-2.3.4/base-spellcheck/SpellItemDialog.h
Examining data/qtop-2.3.4/base-spellcheck/SuggestionMenu.h
Examining data/qtop-2.3.4/base-notifications/SystemNotifications_p.h
Examining data/qtop-2.3.4/base-notifications/SystemNotifications_p.cpp
Examining data/qtop-2.3.4/base-notifications/ImageData.h
Examining data/qtop-2.3.4/base-notifications/SystemNotifications.h
Examining data/qtop-2.3.4/base-notifications/ImageData.cpp
Examining data/qtop-2.3.4/base-notifications/TaskBarProgressNotifications.cpp
Examining data/qtop-2.3.4/base-notifications/TaskBarProgressNotifications.h
Examining data/qtop-2.3.4/base-notifications/Notification.h
Examining data/qtop-2.3.4/base-notifications/SystemNotifications.cpp
Examining data/qtop-2.3.4/base-qt/XmlColor.cpp
Examining data/qtop-2.3.4/base-qt/CounterDialog.h
Examining data/qtop-2.3.4/base-qt/WarningDialog.h
Examining data/qtop-2.3.4/base-qt/BrowsedLineEditor.cpp
Examining data/qtop-2.3.4/base-qt/ErrorHandler.h
Examining data/qtop-2.3.4/base-qt/IconView.h
Examining data/qtop-2.3.4/base-qt/OptionColorDisplay.h
Examining data/qtop-2.3.4/base-qt/BusyWidget.h
Examining data/qtop-2.3.4/base-qt/XmlColor.h
Examining data/qtop-2.3.4/base-qt/ElidedLabel.h
Examining data/qtop-2.3.4/base-qt/XmlTimeStamp.cpp
Examining data/qtop-2.3.4/base-qt/BaseFileInfoConfigurationWidget.h
Examining data/qtop-2.3.4/base-qt/TextSeparator.cpp
Examining data/qtop-2.3.4/base-qt/TextEncodingString.h
Examining data/qtop-2.3.4/base-qt/BaseReplaceWidget.h
Examining data/qtop-2.3.4/base-qt/BaseDialog.cpp
Examining data/qtop-2.3.4/base-qt/BaseConfigurationDialog.h
Examining data/qtop-2.3.4/base-qt/IconCacheModel.cpp
Examining data/qtop-2.3.4/base-qt/PlacesWidget.cpp
Examining data/qtop-2.3.4/base-qt/BaseReplaceWidget.cpp
Examining data/qtop-2.3.4/base-qt/CustomComboBox.cpp
Examining data/qtop-2.3.4/base-qt/IconSizeMenu.h
Examining data/qtop-2.3.4/base-qt/BaseMainWindow.h
Examining data/qtop-2.3.4/base-qt/OptionWidgetList.cpp
Examining data/qtop-2.3.4/base-qt/PrintPreviewDialog_p.h
Examining data/qtop-2.3.4/base-qt/MimeTypeIconProvider.h
Examining data/qtop-2.3.4/base-qt/TreeModel.h
Examining data/qtop-2.3.4/base-qt/SystemEnvironmentDialog.h
Examining data/qtop-2.3.4/base-qt/LineEditor_p.h
Examining data/qtop-2.3.4/base-qt/ProgressStatusBar.cpp
Examining data/qtop-2.3.4/base-qt/OptionWidget.h
Examining data/qtop-2.3.4/base-qt/TextEditorMarginWidget.h
Examining data/qtop-2.3.4/base-qt/XcbDefines.h
Examining data/qtop-2.3.4/base-qt/XmlDocument.h
Examining data/qtop-2.3.4/base-qt/ErrorHandler.cpp
Examining data/qtop-2.3.4/base-qt/TextEditorMarginWidget.cpp
Examining data/qtop-2.3.4/base-qt/CustomMenu.h
Examining data/qtop-2.3.4/base-qt/ColumnSortingMenu.cpp
Examining data/qtop-2.3.4/base-qt/ColorOptionModel.h
Examining data/qtop-2.3.4/base-qt/BaseMainWindow.cpp
Examining data/qtop-2.3.4/base-qt/XmlOptions.h
Examining data/qtop-2.3.4/base-qt/ColumnSelectionMenu.h
Examining data/qtop-2.3.4/base-qt/BaseFindWidget.h
Examining data/qtop-2.3.4/base-qt/BaseFindDialog.h
Examining data/qtop-2.3.4/base-qt/TreeItem.h
Examining data/qtop-2.3.4/base-qt/XmlFileRecord.cpp
Examining data/qtop-2.3.4/base-qt/ProgressStatusBar.h
Examining data/qtop-2.3.4/base-qt/TextPosition.cpp
Examining data/qtop-2.3.4/base-qt/BaseFileInformationDialog.h
Examining data/qtop-2.3.4/base-qt/ColumnSelectionMenu.cpp
Examining data/qtop-2.3.4/base-qt/ClockLabel.cpp
Examining data/qtop-2.3.4/base-qt/ColorMenu.cpp
Examining data/qtop-2.3.4/base-qt/IconView.cpp
Examining data/qtop-2.3.4/base-qt/CustomTextDocument.cpp
Examining data/qtop-2.3.4/base-qt/OptionFontInfo.h
Examining data/qtop-2.3.4/base-qt/IconCacheDialog.h
Examining data/qtop-2.3.4/base-qt/IconSizeMenu.cpp
Examining data/qtop-2.3.4/base-qt/ClockLabel.h
Examining data/qtop-2.3.4/base-qt/IconSize.cpp
Examining data/qtop-2.3.4/base-qt/BrowseIconButton.cpp
Examining data/qtop-2.3.4/base-qt/BaseSocketInterface.cpp
Examining data/qtop-2.3.4/base-qt/ColorGrabObject.h
Examining data/qtop-2.3.4/base-qt/UserSelectionFrame.cpp
Examining data/qtop-2.3.4/base-qt/CounterModel.cpp
Examining data/qtop-2.3.4/base-qt/XmlTimeStamp.h
Examining data/qtop-2.3.4/base-qt/BasePrintHelper.h
Examining data/qtop-2.3.4/base-qt/TreeView.h
Examining data/qtop-2.3.4/base-qt/RoundedRegion.cpp
Examining data/qtop-2.3.4/base-qt/TextEditionDelegate.h
Examining data/qtop-2.3.4/base-qt/TabbedDialog.h
Examining data/qtop-2.3.4/base-qt/TextPosition.h
Examining data/qtop-2.3.4/base-qt/OpenWithDialog.h
Examining data/qtop-2.3.4/base-qt/BrowseIconButton.h
Examining data/qtop-2.3.4/base-qt/IconCacheDialog.cpp
Examining data/qtop-2.3.4/base-qt/ColorComboBox.h
Examining data/qtop-2.3.4/base-qt/ColorGrabButton.cpp
Examining data/qtop-2.3.4/base-qt/BaseStatusBar.cpp
Examining data/qtop-2.3.4/base-qt/PrintPreviewDialog.cpp
Examining data/qtop-2.3.4/base-qt/FileDialog.cpp
Examining data/qtop-2.3.4/base-qt/OptionFontEditor.cpp
Examining data/qtop-2.3.4/base-qt/FilePermissionsWidget.cpp
Examining data/qtop-2.3.4/base-qt/DockWidget.h
Examining data/qtop-2.3.4/base-qt/FontInfo.cpp
Examining data/qtop-2.3.4/base-qt/IconViewItem.cpp
Examining data/qtop-2.3.4/base-qt/WidgetMonitor.cpp
Examining data/qtop-2.3.4/base-qt/PathEditor_p.h
Examining data/qtop-2.3.4/base-qt/ColumnSortingMenu.h
Examining data/qtop-2.3.4/base-qt/TreeViewItemDelegate.cpp
Examining data/qtop-2.3.4/base-qt/ScratchFileMonitor.h
Examining data/qtop-2.3.4/base-qt/OptionSpinBox.cpp
Examining data/qtop-2.3.4/base-qt/BaseReplaceDialog.cpp
Examining data/qtop-2.3.4/base-qt/LineEditor.cpp
Examining data/qtop-2.3.4/base-qt/ColorOptionListBox.cpp
Examining data/qtop-2.3.4/base-qt/ContextMenu.h
Examining data/qtop-2.3.4/base-qt/CustomDialog.h
Examining data/qtop-2.3.4/base-qt/TabbedDialog.cpp
Examining data/qtop-2.3.4/base-qt/TextEditor.h
Examining data/qtop-2.3.4/base-qt/OptionLineEditor.cpp
Examining data/qtop-2.3.4/base-qt/GridLayoutItem.h
Examining data/qtop-2.3.4/base-qt/OptionLineEditor.h
Examining data/qtop-2.3.4/base-qt/PathHistory.cpp
Examining data/qtop-2.3.4/base-qt/TreeViewConfiguration.cpp
Examining data/qtop-2.3.4/base-qt/BaseFileInfoIconView.cpp
Examining data/qtop-2.3.4/base-qt/WidgetMonitor.h
Examining data/qtop-2.3.4/base-qt/BaseFileInfoConfigurationWidget.cpp
Examining data/qtop-2.3.4/base-qt/BaseSocketInterface.h
Examining data/qtop-2.3.4/base-qt/OptionCheckBox.cpp
Examining data/qtop-2.3.4/base-qt/PrintPreviewDialog.h
Examining data/qtop-2.3.4/base-qt/QuestionDialog.h
Examining data/qtop-2.3.4/base-qt/CounterDialog.cpp
Examining data/qtop-2.3.4/base-qt/TextEditionDelegate_p.h
Examining data/qtop-2.3.4/base-qt/BasePrintHelper.cpp
Examining data/qtop-2.3.4/base-qt/OpenWithComboBox.cpp
Examining data/qtop-2.3.4/base-qt/FileRecordModel.cpp
Examining data/qtop-2.3.4/base-qt/RecentFilesMenu.h
Examining data/qtop-2.3.4/base-qt/BaseContextMenu.h
Examining data/qtop-2.3.4/base-qt/DetailsDialog.h
Examining data/qtop-2.3.4/base-qt/MessageBuffer.h
Examining data/qtop-2.3.4/base-qt/WinUtil.cpp
Examining data/qtop-2.3.4/base-qt/OptionRadioButton.cpp
Examining data/qtop-2.3.4/base-qt/NetworkConnectionMonitor.h
Examining data/qtop-2.3.4/base-qt/OptionCheckBox.h
Examining data/qtop-2.3.4/base-qt/BaseIconNames.h
Examining data/qtop-2.3.4/base-qt/WinUtil.h
Examining data/qtop-2.3.4/base-qt/ScratchFileRemoveDialog.h
Examining data/qtop-2.3.4/base-qt/TabWidget.cpp
Examining data/qtop-2.3.4/base-qt/DragMonitor.cpp
Examining data/qtop-2.3.4/base-qt/InformationDialog.cpp
Examining data/qtop-2.3.4/base-qt/MultipleClickCounter.h
Examining data/qtop-2.3.4/base-qt/ListModel.h
Examining data/qtop-2.3.4/base-qt/IconCache.h
Examining data/qtop-2.3.4/base-qt/BlockHighlight.h
Examining data/qtop-2.3.4/base-qt/CursorMonitor.h
Examining data/qtop-2.3.4/base-qt/HtmlTextNode.cpp
Examining data/qtop-2.3.4/base-qt/TextSeparator.h
Examining data/qtop-2.3.4/base-qt/XmlOptions.cpp
Examining data/qtop-2.3.4/base-qt/CounterModel.h
Examining data/qtop-2.3.4/base-qt/ImageFileDialog.h
Examining data/qtop-2.3.4/base-qt/BaseToolTipWidget.cpp
Examining data/qtop-2.3.4/base-qt/IconCacheModel.h
Examining data/qtop-2.3.4/base-qt/BaseFileInfoIconView.h
Examining data/qtop-2.3.4/base-qt/XmlOptions_p.h
Examining data/qtop-2.3.4/base-qt/OptionFontInfo.cpp
Examining data/qtop-2.3.4/base-qt/SelectLineWidget.cpp
Examining data/qtop-2.3.4/base-qt/RecentFilesConfiguration.cpp
Examining data/qtop-2.3.4/base-qt/BaseFileInfoToolTipWidget.h
Examining data/qtop-2.3.4/base-qt/CustomSlider.h
Examining data/qtop-2.3.4/base-qt/BaseFileInfoToolTipWidget.cpp
Examining data/qtop-2.3.4/base-qt/IconViewItem.h
Examining data/qtop-2.3.4/base-qt/HtmlDialog.cpp
Examining data/qtop-2.3.4/base-qt/OptionWidgetList.h
Examining data/qtop-2.3.4/base-qt/FileList.h
Examining data/qtop-2.3.4/base-qt/ColorDisplay.cpp
Examining data/qtop-2.3.4/base-qt/TextEncodingMenu.cpp
Examining data/qtop-2.3.4/base-qt/ColorDisplay.h
Examining data/qtop-2.3.4/base-qt/ValidFileThread.h
Examining data/qtop-2.3.4/base-qt/LineNumberDisplay.h
Examining data/qtop-2.3.4/base-qt/StandardAction.cpp
Examining data/qtop-2.3.4/base-qt/DefaultFolders.h
Examining data/qtop-2.3.4/base-qt/CustomToolBar.h
Examining data/qtop-2.3.4/base-qt/BaseStatusBar.h
Examining data/qtop-2.3.4/base-qt/TextEncodingDialog.cpp
Examining data/qtop-2.3.4/base-qt/LogWidget.h
Examining data/qtop-2.3.4/base-qt/RemoveLineBuffer.h
Examining data/qtop-2.3.4/base-qt/ColorOptionModel.cpp
Examining data/qtop-2.3.4/base-qt/ContextMenu.cpp
Examining data/qtop-2.3.4/base-qt/CustomDialog.cpp
Examining data/qtop-2.3.4/base-qt/PathHistoryConfiguration.cpp
Examining data/qtop-2.3.4/base-qt/BaseFileInfo.cpp
Examining data/qtop-2.3.4/base-qt/EmbeddedWidget.h
Examining data/qtop-2.3.4/base-qt/BaseContextMenu.cpp
Examining data/qtop-2.3.4/base-qt/TreeItemBase.h
Examining data/qtop-2.3.4/base-qt/TextEncodingMenu.h
Examining data/qtop-2.3.4/base-qt/BaseFileInfoModel.h
Examining data/qtop-2.3.4/base-qt/FileRecordBaseProperties.h
Examining data/qtop-2.3.4/base-qt/BaseFindDialog.cpp
Examining data/qtop-2.3.4/base-qt/GridLayoutItem.cpp
Examining data/qtop-2.3.4/base-qt/XmlOption.cpp
Examining data/qtop-2.3.4/base-qt/TreeView.cpp
Examining data/qtop-2.3.4/base-qt/BoxSelection.cpp
Examining data/qtop-2.3.4/base-qt/BaseProgressBar.h
Examining data/qtop-2.3.4/base-qt/DetailsDialog.cpp
Examining data/qtop-2.3.4/base-qt/XmlFileList.cpp
Examining data/qtop-2.3.4/base-qt/OptionModel.h
Examining data/qtop-2.3.4/base-qt/PathEditor.h
Examining data/qtop-2.3.4/base-qt/DebugMenu.h
Examining data/qtop-2.3.4/base-qt/SelectLineWidget.h
Examining data/qtop-2.3.4/base-qt/EmbeddedWidget.cpp
Examining data/qtop-2.3.4/base-qt/CustomToolButton.h
Examining data/qtop-2.3.4/base-qt/FileRecordToolTipWidget.h
Examining data/qtop-2.3.4/base-qt/TabWidget.h
Examining data/qtop-2.3.4/base-qt/OptionBrowsedLineEditor.cpp
Examining data/qtop-2.3.4/base-qt/SelectLineDialog.h
Examining data/qtop-2.3.4/base-qt/PathHistory.h
Examining data/qtop-2.3.4/base-qt/TextEncodingWidget.cpp
Examining data/qtop-2.3.4/base-qt/CustomSlider.cpp
Examining data/qtop-2.3.4/base-qt/SelectLineDialog.cpp
Examining data/qtop-2.3.4/base-qt/FontEditor.cpp
Examining data/qtop-2.3.4/base-qt/PixmapEngine.cpp
Examining data/qtop-2.3.4/base-qt/ColorComboBox.cpp
Examining data/qtop-2.3.4/base-qt/DragMonitor.h
Examining data/qtop-2.3.4/base-qt/BaseToolTipWidget.h
Examining data/qtop-2.3.4/base-qt/ScratchFileMonitor.cpp
Examining data/qtop-2.3.4/base-qt/ToolBarMenu.h
Examining data/qtop-2.3.4/base-qt/DockPanel_p.h
Examining data/qtop-2.3.4/base-qt/XmlTextFormatBlock.h
Examining data/qtop-2.3.4/base-qt/TextEncodingDialog.h
Examining data/qtop-2.3.4/base-qt/PrinterOptionWidget.cpp
Examining data/qtop-2.3.4/base-qt/CursorMonitor.cpp
Examining data/qtop-2.3.4/base-qt/CustomPixmap.h
Examining data/qtop-2.3.4/base-qt/ItemModel.h
Examining data/qtop-2.3.4/base-qt/PathEditor.cpp
Examining data/qtop-2.3.4/base-qt/ItemModel.cpp
Examining data/qtop-2.3.4/base-qt/ColorGrabObject.cpp
Examining data/qtop-2.3.4/base-qt/CustomToolBar.cpp
Examining data/qtop-2.3.4/base-qt/IconSize.h
Examining data/qtop-2.3.4/base-qt/SimpleListView.h
Examining data/qtop-2.3.4/base-qt/BaseFileIconProvider.cpp
Examining data/qtop-2.3.4/base-qt/FilePermissionsWidget.h
Examining data/qtop-2.3.4/base-qt/BaseFileInformationDialog.cpp
Examining data/qtop-2.3.4/base-qt/QtUtil.cpp
Examining data/qtop-2.3.4/base-qt/OptionComboBox.h
Examining data/qtop-2.3.4/base-qt/XcbUtil.cpp
Examining data/qtop-2.3.4/base-qt/BaseFileIconProvider.h
Examining data/qtop-2.3.4/base-qt/XmlFileRecord.h
Examining data/qtop-2.3.4/base-qt/FontInfo.h
Examining data/qtop-2.3.4/base-qt/RemoveLineBuffer.cpp
Examining data/qtop-2.3.4/base-qt/BusyWidget.cpp
Examining data/qtop-2.3.4/base-qt/OptionSlider.cpp
Examining data/qtop-2.3.4/base-qt/TabWidget_p.h
Examining data/qtop-2.3.4/base-qt/TextSelection.h
Examining data/qtop-2.3.4/base-qt/TextEncodingWidget.h
Examining data/qtop-2.3.4/base-qt/BrowsedLineEditor.h
Examining data/qtop-2.3.4/base-qt/PrinterOptionWidget.h
Examining data/qtop-2.3.4/base-qt/KeyModifier.cpp
Examining data/qtop-2.3.4/base-qt/ToolButtonStyleMenu.cpp
Examining data/qtop-2.3.4/base-qt/TextEncodingString.cpp
Examining data/qtop-2.3.4/base-qt/XmlCommandLineArguments.cpp
Examining data/qtop-2.3.4/base-qt/OptionSpinBox.h
Examining data/qtop-2.3.4/base-qt/XmlCommandLineArguments.h
Examining data/qtop-2.3.4/base-qt/ValidFileThread.cpp
Examining data/qtop-2.3.4/base-qt/InterruptionHandler.h
Examining data/qtop-2.3.4/base-qt/BaseConfigurationDialog.cpp
Examining data/qtop-2.3.4/base-qt/OptionComboBox.cpp
Examining data/qtop-2.3.4/base-qt/TextBlockData.h
Examining data/qtop-2.3.4/base-qt/BaseFileInfoItemDelegate.h
Examining data/qtop-2.3.4/base-qt/BaseDialog.h
Examining data/qtop-2.3.4/base-qt/HtmlTextNode.h
Examining data/qtop-2.3.4/base-qt/OptionRadioButton.h
Examining data/qtop-2.3.4/base-qt/GridLayout.cpp
Examining data/qtop-2.3.4/base-qt/IconEngine.cpp
Examining data/qtop-2.3.4/base-qt/DockPanel.cpp
Examining data/qtop-2.3.4/base-qt/PlacesWidget_p.h
Examining data/qtop-2.3.4/base-qt/MultipleClickCounter.cpp
Examining data/qtop-2.3.4/base-qt/OptionFontEditor.h
Examining data/qtop-2.3.4/base-qt/TextEditor.cpp
Examining data/qtop-2.3.4/base-qt/KeyModifier.h
Examining data/qtop-2.3.4/base-qt/NetworkConnectionMonitor.cpp
Examining data/qtop-2.3.4/base-qt/OptionDialog.h
Examining data/qtop-2.3.4/base-qt/TextEditionDelegate.cpp
Examining data/qtop-2.3.4/base-qt/CustomToolButton.cpp
Examining data/qtop-2.3.4/base-qt/XmlDocument.cpp
Examining data/qtop-2.3.4/base-qt/BaseReplaceDialog.h
Examining data/qtop-2.3.4/base-qt/FileList.cpp
Examining data/qtop-2.3.4/base-qt/BaseConfigurationDialog_p.h
Examining data/qtop-2.3.4/base-qt/TreeItemBase.cpp
Examining data/qtop-2.3.4/base-qt/OptionColorDisplay.cpp
Examining data/qtop-2.3.4/base-qt/BoxSelection.h
Examining data/qtop-2.3.4/base-qt/TextBlockFlags.h
Examining data/qtop-2.3.4/base-qt/PixmapCache.h
Examining data/qtop-2.3.4/base-qt/ElidedLabel.cpp
Examining data/qtop-2.3.4/base-qt/XmlFileList.h
Examining data/qtop-2.3.4/base-qt/ImageFileDialog.cpp
Examining data/qtop-2.3.4/base-qt/LineEditor.h
Examining data/qtop-2.3.4/base-qt/ScratchFileRemoveDialog.cpp
Examining data/qtop-2.3.4/base-qt/ToolBarMenu.cpp
Examining data/qtop-2.3.4/base-qt/OptionListBox.h
Examining data/qtop-2.3.4/base-qt/ColorGrabButton.h
Examining data/qtop-2.3.4/base-qt/StandardAction.h
Examining data/qtop-2.3.4/base-qt/DebugMenu.cpp
Examining data/qtop-2.3.4/base-qt/DefaultFolders.cpp
Examining data/qtop-2.3.4/base-qt/FileSystemWatcher.h
Examining data/qtop-2.3.4/base-qt/CustomComboBox.h
Examining data/qtop-2.3.4/base-qt/BlockHighlight.cpp
Examining data/qtop-2.3.4/base-qt/FontEditor.h
Examining data/qtop-2.3.4/base-qt/XmlError.h
Examining data/qtop-2.3.4/base-qt/TreeViewConfiguration.h
Examining data/qtop-2.3.4/base-qt/UserSelectionFrame.h
Examining data/qtop-2.3.4/base-qt/BaseFileInfo.h
Examining data/qtop-2.3.4/base-qt/PlacesWidget.h
Examining data/qtop-2.3.4/base-qt/DockWidget.cpp
Examining data/qtop-2.3.4/base-qt/OptionModel.cpp
Examining data/qtop-2.3.4/base-qt/LineNumberDisplay.cpp
Examining data/qtop-2.3.4/base-qt/WidgetDragMonitor.h
Examining data/qtop-2.3.4/base-qt/SimpleListView.cpp
Examining data/qtop-2.3.4/base-qt/OpenWithComboBox.h
Examining data/qtop-2.3.4/base-qt/XmlPathHistory.cpp
Examining data/qtop-2.3.4/base-qt/ColorOptionListBox.h
Examining data/qtop-2.3.4/base-qt/ToolButtonStyleMenu.h
Examining data/qtop-2.3.4/base-qt/OpenWithDialog.cpp
Examining data/qtop-2.3.4/base-qt/PathHistoryConfiguration.h
Examining data/qtop-2.3.4/base-qt/DockPanel.h
Examining data/qtop-2.3.4/base-qt/CustomTextDocument.h
Examining data/qtop-2.3.4/base-qt/CustomPixmap.cpp
Examining data/qtop-2.3.4/base-qt/FileSystemWatcher.cpp
Examining data/qtop-2.3.4/base-qt/FileDialog.h
Examining data/qtop-2.3.4/base-qt/XcbConnection.h
Examining data/qtop-2.3.4/base-qt/XmlPathHistory.h
Examining data/qtop-2.3.4/base-qt/LogWidget.cpp
Examining data/qtop-2.3.4/base-qt/FileRecordModel.h
Examining data/qtop-2.3.4/base-qt/RecentFilesConfiguration.h
Examining data/qtop-2.3.4/base-qt/XcbUtil.h
Examining data/qtop-2.3.4/base-qt/MimeTypeIconProvider.cpp
Examining data/qtop-2.3.4/base-qt/IconEngine.h
Examining data/qtop-2.3.4/base-qt/OptionListBox.cpp
Examining data/qtop-2.3.4/base-qt/DockWidget_p.h
Examining data/qtop-2.3.4/base-qt/QuestionDialog.cpp
Examining data/qtop-2.3.4/base-qt/CustomMenu.cpp
Examining data/qtop-2.3.4/base-qt/RoundedRegion.h
Examining data/qtop-2.3.4/base-qt/BaseProgressBar.cpp
Examining data/qtop-2.3.4/base-qt/TextFormatBlock.h
Examining data/qtop-2.3.4/base-qt/XmlTextFormatBlock.cpp
Examining data/qtop-2.3.4/base-qt/RecentFilesMenu.cpp
Examining data/qtop-2.3.4/base-qt/FileRecordToolTipWidget.cpp
Examining data/qtop-2.3.4/base-qt/OptionSlider.h
Examining data/qtop-2.3.4/base-qt/GridLayout.h
Examining data/qtop-2.3.4/base-qt/SimpleListView_p.h
Examining data/qtop-2.3.4/base-qt/SystemEnvironmentDialog.cpp
Examining data/qtop-2.3.4/base-qt/QtUtil.h
Examining data/qtop-2.3.4/base-qt/BaseFileInfoItemDelegate.cpp
Examining data/qtop-2.3.4/base-qt/OptionBrowsedLineEditor.h
Examining data/qtop-2.3.4/base-qt/TreeViewItemDelegate.h
Examining data/qtop-2.3.4/base-qt/ColorMenu.h
Examining data/qtop-2.3.4/base-qt/WidgetDragMonitor.cpp
Examining data/qtop-2.3.4/base-qt/HtmlDialog.h
Examining data/qtop-2.3.4/base-qt/XmlOption.h
Examining data/qtop-2.3.4/base-qt/InformationDialog.h
Examining data/qtop-2.3.4/base-qt/PixmapEngine.h
Examining data/qtop-2.3.4/base-qt/WarningDialog.cpp
Examining data/qtop-2.3.4/base-qt/BaseFindWidget.cpp
Examining data/qtop-2.3.4/base-qt/InterruptionHandler.cpp
Examining data/qtop-2.3.4/base-qt/OptionDialog.cpp
Examining data/qtop-2.3.4/base-svg/Svg.h
Examining data/qtop-2.3.4/base-svg/SvgThread.cpp
Examining data/qtop-2.3.4/base-svg/SvgPlasmaInterface.h
Examining data/qtop-2.3.4/base-svg/SvgEngine.h
Examining data/qtop-2.3.4/base-svg/BaseSvgRenderer.cpp
Examining data/qtop-2.3.4/base-svg/SvgPlasmaInterface.cpp
Examining data/qtop-2.3.4/base-svg/SvgConfiguration.cpp
Examining data/qtop-2.3.4/base-svg/SvgDefaultOptions.h
Examining data/qtop-2.3.4/base-svg/SvgId.h
Examining data/qtop-2.3.4/base-svg/SvgEngine.cpp
Examining data/qtop-2.3.4/base-svg/SvgRenderer.cpp
Examining data/qtop-2.3.4/base-svg/BaseSvgRenderer.h
Examining data/qtop-2.3.4/base-svg/SvgThread.h
Examining data/qtop-2.3.4/base-svg/SvgRenderer.h
Examining data/qtop-2.3.4/base-svg/SvgConfiguration.h
Examining data/qtop-2.3.4/base-svg/SvgHelpText.h
Examining data/qtop-2.3.4/base-server/ServerCommand.cpp
Examining data/qtop-2.3.4/base-server/ServerCommand.h
Examining data/qtop-2.3.4/base-server/BaseCoreApplication.h
Examining data/qtop-2.3.4/base-server/ServerConfiguration.h
Examining data/qtop-2.3.4/base-server/BaseCoreApplication.cpp
Examining data/qtop-2.3.4/base-server/BaseApplication.h
Examining data/qtop-2.3.4/base-server/ApplicationManager.cpp
Examining data/qtop-2.3.4/base-server/ServerConfiguration.cpp
Examining data/qtop-2.3.4/base-server/ApplicationId.h
Examining data/qtop-2.3.4/base-server/Client.cpp
Examining data/qtop-2.3.4/base-server/ApplicationManager.h
Examining data/qtop-2.3.4/base-server/Client.h
Examining data/qtop-2.3.4/base-server/BaseApplication.cpp
Examining data/qtop-2.3.4/base-server/ApplicationId.cpp
Examining data/qtop-2.3.4/src/UserSet.h
Examining data/qtop-2.3.4/src/JobCommand.h
Examining data/qtop-2.3.4/src/JobInterface.cpp
Examining data/qtop-2.3.4/src/main.cpp
Examining data/qtop-2.3.4/src/JobRecord.cpp
Examining data/qtop-2.3.4/src/SummaryFrame.cpp
Examining data/qtop-2.3.4/src/JobCommand.cpp
Examining data/qtop-2.3.4/src/JobInformationDialog.h
Examining data/qtop-2.3.4/src/Job.h
Examining data/qtop-2.3.4/src/Job.cpp
Examining data/qtop-2.3.4/src/HistogramWidget.cpp
Examining data/qtop-2.3.4/src/JobModel.cpp
Examining data/qtop-2.3.4/src/ConfigurationDialog.h
Examining data/qtop-2.3.4/src/Menu.cpp
Examining data/qtop-2.3.4/src/IconNames.h
Examining data/qtop-2.3.4/src/SignalMenu.cpp
Examining data/qtop-2.3.4/src/JobInformationDialog.cpp
Examining data/qtop-2.3.4/src/ToolTipWidget.cpp
Examining data/qtop-2.3.4/src/JobInterface.h
Examining data/qtop-2.3.4/src/JobManagerFrame.h
Examining data/qtop-2.3.4/src/NewFrameDialog.h
Examining data/qtop-2.3.4/src/JobThread.h
Examining data/qtop-2.3.4/src/JobRecord.h
Examining data/qtop-2.3.4/src/XcbInterface.cpp
Examining data/qtop-2.3.4/src/NewFrameDialog.cpp
Examining data/qtop-2.3.4/src/RecordHistogram.h
Examining data/qtop-2.3.4/src/RecordHistogram.cpp
Examining data/qtop-2.3.4/src/JobManagerFrame.cpp
Examining data/qtop-2.3.4/src/Application.h
Examining data/qtop-2.3.4/src/HistogramWidget.h
Examining data/qtop-2.3.4/src/SignalJobsDialog.h
Examining data/qtop-2.3.4/src/JobManager.cpp
Examining data/qtop-2.3.4/src/JobManager.h
Examining data/qtop-2.3.4/src/ToolTipWidget.h
Examining data/qtop-2.3.4/src/DefaultOptions.h
Examining data/qtop-2.3.4/src/UserSet.cpp
Examining data/qtop-2.3.4/src/Application.cpp
Examining data/qtop-2.3.4/src/MainWindow.cpp
Examining data/qtop-2.3.4/src/ConfigurationDialog.cpp
Examining data/qtop-2.3.4/src/SignalJobsDialog.cpp
Examining data/qtop-2.3.4/src/Menu.h
Examining data/qtop-2.3.4/src/XcbInterface.h
Examining data/qtop-2.3.4/src/SummaryFrame.h
Examining data/qtop-2.3.4/src/JobModel.h
Examining data/qtop-2.3.4/src/SignalMenu.h
Examining data/qtop-2.3.4/src/JobThread.cpp
Examining data/qtop-2.3.4/src/MainWindow.h

FINAL RESULTS:

data/qtop-2.3.4/base/File.cpp:157:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    if( !power ) out.sprintf( "%.0f", size );
data/qtop-2.3.4/base/File.cpp:162:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        out.sprintf( "%.1f", size );
data/qtop-2.3.4/base-qt/PlacesWidget.cpp:1489: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).
        if( !qfile.open( QIODevice::WriteOnly ) ) return false;
data/qtop-2.3.4/base-qt/XmlFileList.cpp:165: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).
        if( !qfile.open( QIODevice::WriteOnly ) ) return false;
data/qtop-2.3.4/base-qt/XmlOptions.cpp:180: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).
        if( !qfile.open( QIODevice::WriteOnly ) ) return false;
data/qtop-2.3.4/base-qt/XmlPathHistory.cpp:171: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).
        if( !qfile.open( QIODevice::WriteOnly ) ) return false;
data/qtop-2.3.4/base-ssh/SshBaseSocket.cpp:90:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( data, buffer_.data(), bytesRead );
data/qtop-2.3.4/base-ssh/SshFileTransferObject.cpp:84: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( device->open( QIODevice::WriteOnly ) ) return fromRemote( session, device );
data/qtop-2.3.4/base-ssh/SshFileTransferObject.cpp:133: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( device->open( QIODevice::ReadOnly ) ) return toRemote( session, device );
data/qtop-2.3.4/base-svg/BaseSvgRenderer.cpp:71: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).
        in.open( QIODevice::ReadOnly );
data/qtop-2.3.4/base/Debug.cpp:57: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).
{ device_.open( stdout, QIODevice::WriteOnly ); }
data/qtop-2.3.4/base/Debug.cpp:64:38:  [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( filename.isEmpty() ) device_.open( stdout, QIODevice::WriteOnly );
data/qtop-2.3.4/base/Debug.cpp:68: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).
        device_.open( QIODevice::WriteOnly );
data/qtop-2.3.4/base/File.cpp:191:45:  [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 value_.isEmpty() || QFile( *this ).open( QIODevice::ReadWrite ); }
data/qtop-2.3.4/base/File.cpp:221: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).
    bool first_open( first.open( QIODevice::ReadOnly ) );
data/qtop-2.3.4/base/File.cpp:222: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).
    bool second_open( second.open( QIODevice::ReadOnly ) );
data/qtop-2.3.4/base/File.cpp:396:25:  [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( *this ).open( QIODevice::WriteOnly ); }
data/qtop-2.3.4/src/Job.cpp:96: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(QIODevice::ReadOnly) )
data/qtop-2.3.4/src/Job.cpp:135: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(QIODevice::ReadOnly) ) return false;
data/qtop-2.3.4/src/Job.cpp:167: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(QIODevice::ReadOnly) ) return false;
data/qtop-2.3.4/src/Job.cpp:195: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(QIODevice::ReadOnly) ) return false;
data/qtop-2.3.4/src/JobThread.cpp:103: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(QIODevice::ReadOnly) ) return;
data/qtop-2.3.4/src/JobThread.cpp:128: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(QIODevice::ReadOnly) ) return;
data/qtop-2.3.4/base-qt/BaseConfigurationDialog.cpp:100:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read( XmlOptions::get() );
data/qtop-2.3.4/base-qt/BaseConfigurationDialog.cpp:169:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();
data/qtop-2.3.4/base-qt/BaseConfigurationDialog.cpp:509:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        listbox->read( XmlOptions::get() );
data/qtop-2.3.4/base-qt/BaseConfigurationDialog.cpp:529:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        iconThemeDialog_->read( XmlOptions::get() );
data/qtop-2.3.4/base-qt/BaseConfigurationDialog.cpp:667:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( XmlOptions::get() );
data/qtop-2.3.4/base-qt/BaseConfigurationDialog.cpp:681:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( XmlOptions::get() );
data/qtop-2.3.4/base-qt/BaseConfigurationDialog.cpp:717:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read();
data/qtop-2.3.4/base-qt/BaseConfigurationDialog.h:67:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    using OptionWidgetList::read;
data/qtop-2.3.4/base-qt/BaseConfigurationDialog.h:68:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read()
data/qtop-2.3.4/base-qt/BaseConfigurationDialog.h:70:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        OptionWidgetList::read( XmlOptions::get() );
data/qtop-2.3.4/base-qt/BaseFileInfoConfigurationWidget.cpp:51:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void BaseFileInfoConfigurationWidget::read( const Options& options )
data/qtop-2.3.4/base-qt/BaseFileInfoConfigurationWidget.h:41:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& ) override;
data/qtop-2.3.4/base-qt/BaseSocketInterface.cpp:77:85:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if( socket_->bytesAvailable() >= int(sizeof( buffertype_t )) ) socket_->read( reinterpret_cast<char*>( &bufferType_ ), sizeof( buffertype_t ) );
data/qtop-2.3.4/base-qt/BaseSocketInterface.cpp:90:85:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if( socket_->bytesAvailable() >= int(sizeof( buffersize_t )) ) socket_->read( reinterpret_cast<char*>( &bufferSize_ ), sizeof( buffersize_t ) );
data/qtop-2.3.4/base-qt/BaseSocketInterface.cpp:104:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            const QByteArray array = socket_->read( bufferSize_ );
data/qtop-2.3.4/base-qt/OptionBrowsedLineEditor.h:54:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override
data/qtop-2.3.4/base-qt/OptionCheckBox.h:47:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override
data/qtop-2.3.4/base-qt/OptionColorDisplay.h:42:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override
data/qtop-2.3.4/base-qt/OptionComboBox.h:45:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override
data/qtop-2.3.4/base-qt/OptionFontEditor.h:41:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override
data/qtop-2.3.4/base-qt/OptionFontInfo.h:42:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override
data/qtop-2.3.4/base-qt/OptionLineEditor.h:41:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override
data/qtop-2.3.4/base-qt/OptionListBox.cpp:213:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void OptionListBox::read( const Options& options )
data/qtop-2.3.4/base-qt/OptionListBox.h:53:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override;
data/qtop-2.3.4/base-qt/OptionRadioButton.h:42:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override
data/qtop-2.3.4/base-qt/OptionSlider.h:47:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override
data/qtop-2.3.4/base-qt/OptionSpinBox.h:55:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& options ) override
data/qtop-2.3.4/base-qt/OptionWidget.h:42:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( const Options& ) = 0;
data/qtop-2.3.4/base-qt/OptionWidgetList.cpp:49:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void OptionWidgetList::read( const Options& options )
data/qtop-2.3.4/base-qt/OptionWidgetList.cpp:55:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        widget->read( options );
data/qtop-2.3.4/base-qt/OptionWidgetList.h:50:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& ) override;
data/qtop-2.3.4/base-qt/RecentFilesConfiguration.cpp:144:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void RecentFilesConfiguration::read()
data/qtop-2.3.4/base-qt/RecentFilesConfiguration.h:46:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    using OptionWidgetList::read;
data/qtop-2.3.4/base-qt/RecentFilesConfiguration.h:50:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read();
data/qtop-2.3.4/base-qt/TreeViewConfiguration.cpp:73:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TreeViewConfiguration::read( const Options& options )
data/qtop-2.3.4/base-qt/TreeViewConfiguration.h:42:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Options& );
data/qtop-2.3.4/base-qt/XmlFileList.cpp:51:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read();
data/qtop-2.3.4/base-qt/XmlFileList.cpp:70:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read();
data/qtop-2.3.4/base-qt/XmlFileList.cpp:77:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool XmlFileList::read( File file )
data/qtop-2.3.4/base-qt/XmlFileList.h:57:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read( File = File() );
data/qtop-2.3.4/base-qt/XmlOptions.cpp:115:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool XmlOptions::read()
data/qtop-2.3.4/base-qt/XmlOptions.h:66:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    static bool read();
data/qtop-2.3.4/base-qt/XmlPathHistory.cpp:54:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read();
data/qtop-2.3.4/base-qt/XmlPathHistory.cpp:59:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool XmlPathHistory::read( File file )
data/qtop-2.3.4/base-qt/XmlPathHistory.cpp:193:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read();
data/qtop-2.3.4/base-qt/XmlPathHistory.h:47:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read( File = File() );
data/qtop-2.3.4/base-spellcheck/AutoSpellConfiguration.cpp:71:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read( XmlOptions::get() );
data/qtop-2.3.4/base-spellcheck/DictionarySelectionButton.cpp:46:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read( XmlOptions::get() );
data/qtop-2.3.4/base-spellcheck/DictionarySelectionButton.h:45:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read( const Options& options ) override
data/qtop-2.3.4/base-spellcheck/FilterSelectionButton.cpp:46:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read( XmlOptions::get() );
data/qtop-2.3.4/base-spellcheck/FilterSelectionButton.h:45:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read( const Options& options ) override
data/qtop-2.3.4/base-spellcheck/SpellCheckConfiguration.cpp:98:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read( XmlOptions::get() );
data/qtop-2.3.4/base-spellcheck/SpellCheckConfiguration.cpp:124:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dictionariesComboBox_->read( XmlOptions::get() );
data/qtop-2.3.4/base-spellcheck/SpellCheckConfiguration.cpp:147:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        filtersComboBox_->read( XmlOptions::get() );
data/qtop-2.3.4/base-ssh/SshFileTransferObject.cpp:258:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            qint64 bytesRead = sshSocket_->read( buffer_.data(), buffer_.size() );
data/qtop-2.3.4/base-ssh/SshFileTransferObject.cpp:325:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            qint64 bytesRead = localDevice_->read( buffer_.data(), buffer_.size() );
data/qtop-2.3.4/base-ssh/SshTunnel.cpp:65:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            qint64 bytesRead = tcpSocket_->read( buffer_.data(), buffer_.size() );
data/qtop-2.3.4/base-ssh/SshTunnel.cpp:106:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            qint64 bytesRead = sshSocket_->read( buffer_.data(), buffer_.size() );
data/qtop-2.3.4/base-svg/BaseSvgRenderer.cpp:156:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            auto source = in.read( chunkSize );
data/qtop-2.3.4/base-svg/SvgConfiguration.cpp:70:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        virtual void read( const Options& options )
data/qtop-2.3.4/base/CommandLineArguments.cpp:29: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).
    { if( argv[i] && strlen( argv[i] ) ) arguments_.append( argv[i] ); }
data/qtop-2.3.4/base/Sleep.h:27:17:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    static void usleep(unsigned long usecs){QThread::usleep(usecs);}
data/qtop-2.3.4/base/Sleep.h:27:54:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    static void usleep(unsigned long usecs){QThread::usleep(usecs);}
data/qtop-2.3.4/src/ConfigurationDialog.cpp:166:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read();
data/qtop-2.3.4/src/main.cpp:44:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    XmlOptions::read();

ANALYSIS SUMMARY:

Hits = 88
Lines analyzed = 79718 in approximately 1.77 seconds (45095 lines/second)
Physical Source Lines of Code (SLOC) = 40477
Hits@level = [0]   0 [1]  65 [2]  21 [3]   0 [4]   2 [5]   0
Hits@level+ = [0+]  88 [1+]  88 [2+]  23 [3+]   2 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 2.17407 [1+] 2.17407 [2+] 0.568224 [3+] 0.0494108 [4+] 0.0494108 [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.