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/ksystemlog-20.04.2/tests/systemAnalyzerTest.cpp Examining data/ksystemlog-20.04.2/tests/kioLogFileReaderTest.cpp Examining data/ksystemlog-20.04.2/tests/testUtil.h Examining data/ksystemlog-20.04.2/tests/testUtil.cpp Examining data/ksystemlog-20.04.2/tests/logModeFactoryTest.cpp Examining data/ksystemlog-20.04.2/tests/findIncompatibleKioTest.cpp Examining data/ksystemlog-20.04.2/tests/kernelAnalyzerTest.cpp Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgLogMode.h Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgFactory.h Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/xorg/xorgConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/daemon/daemonConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/daemon/daemonConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/daemon/daemonConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/daemon/daemonFactory.h Examining data/ksystemlog-20.04.2/src/modes/daemon/daemonFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/daemon/daemonLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/daemon/daemonLogMode.h Examining data/ksystemlog-20.04.2/src/modes/daemon/daemonConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/authentication/authenticationConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/authentication/authenticationFactory.h Examining data/ksystemlog-20.04.2/src/modes/authentication/authenticationLogMode.h Examining data/ksystemlog-20.04.2/src/modes/authentication/authenticationConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/authentication/authenticationFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/authentication/authenticationConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/authentication/authenticationAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/authentication/authenticationLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/authentication/authenticationConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/authentication/authenticationAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/journald/journaldAddressDialog.h Examining data/ksystemlog-20.04.2/src/modes/journald/journaldConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/journald/journaldTypes.cpp Examining data/ksystemlog-20.04.2/src/modes/journald/journaldConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/journald/journaldTypes.h Examining data/ksystemlog-20.04.2/src/modes/journald/journaldLocalAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/journald/journaldAddressDialog.cpp Examining data/ksystemlog-20.04.2/src/modes/journald/journaldConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/journald/journaldItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/journald/journaldLocalAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/journald/journaldAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/journald/journaldConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/journald/journaldLogMode.h Examining data/ksystemlog-20.04.2/src/modes/journald/journaldItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/journald/journaldNetworkAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/journald/journaldFactory.h Examining data/ksystemlog-20.04.2/src/modes/journald/journaldFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/journald/journaldNetworkAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/journald/journaldLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/journald/journaldAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/postfix/postfixConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/postfix/postfixLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/postfix/postfixFactory.h Examining data/ksystemlog-20.04.2/src/modes/postfix/postfixConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/postfix/postfixAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/postfix/postfixLogMode.h Examining data/ksystemlog-20.04.2/src/modes/postfix/postfixConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/postfix/postfixFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/postfix/postfixAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/postfix/postfixConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/open/openAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/open/openLogMode.h Examining data/ksystemlog-20.04.2/src/modes/open/openFactory.h Examining data/ksystemlog-20.04.2/src/modes/open/openFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/open/openAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/open/openLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/kernel/kernelItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/kernel/kernelLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/kernel/kernelLogMode.h Examining data/ksystemlog-20.04.2/src/modes/kernel/kernelAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/kernel/kernelFactory.h Examining data/ksystemlog-20.04.2/src/modes/kernel/kernelItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/kernel/kernelFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/kernel/kernelAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/samba/sambaLogMode.h Examining data/ksystemlog-20.04.2/src/modes/samba/sambaFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/samba/sambaAccessLogMode.h Examining data/ksystemlog-20.04.2/src/modes/samba/sambaAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/samba/sambaConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/samba/sambaItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/samba/sambaLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/samba/sambaConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/samba/netbiosLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/samba/sambaAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/samba/sambaConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/samba/sambaConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/samba/netbiosLogMode.h Examining data/ksystemlog-20.04.2/src/modes/samba/sambaItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/samba/sambaFactory.h Examining data/ksystemlog-20.04.2/src/modes/samba/sambaAccessLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPdfLogMode.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPageLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPdfAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPageAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPageItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPageItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsAccessAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPdfItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsAccessLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPdfItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPdfLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPageAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsFactory.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsAccessLogMode.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsAccessItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPdfAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsAccessAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsLogMode.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsPageLogMode.h Examining data/ksystemlog-20.04.2/src/modes/cups/cupsItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/cups/cupsAccessItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/cron/cronFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/cron/cronLogMode.h Examining data/ksystemlog-20.04.2/src/modes/cron/cronConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/cron/cronConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/cron/cronFactory.h Examining data/ksystemlog-20.04.2/src/modes/cron/cronAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/cron/cronConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/cron/cronItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/cron/cronAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/cron/cronConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/cron/cronLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/cron/cronItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidFactory.h Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidLogMode.h Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/acpid/acpidConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionFactory.h Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionLogMode.h Examining data/ksystemlog-20.04.2/src/modes/xsession/xsessionItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/apache/apacheAccessItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/apache/apacheItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/modes/apache/apacheFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/apache/apacheLogMode.h Examining data/ksystemlog-20.04.2/src/modes/apache/apacheAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/apache/apacheConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/apache/apacheAccessItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/apache/apacheConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/apache/apacheItemBuilder.h Examining data/ksystemlog-20.04.2/src/modes/apache/apacheConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/apache/apacheAccessAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/apache/apacheLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/apache/apacheAccessAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/apache/apacheAccessLogMode.h Examining data/ksystemlog-20.04.2/src/modes/apache/apacheFactory.h Examining data/ksystemlog-20.04.2/src/modes/apache/apacheConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/apache/apacheAccessLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/apache/apacheAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/base/logLevelSelectionDialog.h Examining data/ksystemlog-20.04.2/src/modes/base/genericConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/base/parsingHelper.h Examining data/ksystemlog-20.04.2/src/modes/base/syslogAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/modes/base/fileList.cpp Examining data/ksystemlog-20.04.2/src/modes/base/parsingHelper.cpp Examining data/ksystemlog-20.04.2/src/modes/base/genericConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/base/syslogAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/base/fileList.h Examining data/ksystemlog-20.04.2/src/modes/base/multipleFileList.cpp Examining data/ksystemlog-20.04.2/src/modes/base/fileListHelper.cpp Examining data/ksystemlog-20.04.2/src/modes/base/fileListHelper.h Examining data/ksystemlog-20.04.2/src/modes/base/multipleFileList.h Examining data/ksystemlog-20.04.2/src/modes/base/logLevelFileList.h Examining data/ksystemlog-20.04.2/src/modes/base/logLevelSelectionDialog.cpp Examining data/ksystemlog-20.04.2/src/modes/base/logLevelFileList.cpp Examining data/ksystemlog-20.04.2/src/modes/system/systemConfiguration.h Examining data/ksystemlog-20.04.2/src/modes/system/systemConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/modes/system/systemAnalyzer.h Examining data/ksystemlog-20.04.2/src/modes/system/systemFactory.h Examining data/ksystemlog-20.04.2/src/modes/system/systemConfiguration.cpp Examining data/ksystemlog-20.04.2/src/modes/system/systemLogMode.h Examining data/ksystemlog-20.04.2/src/modes/system/systemLogMode.cpp Examining data/ksystemlog-20.04.2/src/modes/system/systemConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/modes/system/systemFactory.cpp Examining data/ksystemlog-20.04.2/src/modes/system/systemAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/configurationDialog.h Examining data/ksystemlog-20.04.2/src/generalConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/detailDialog.h Examining data/ksystemlog-20.04.2/src/tabLogViewsWidget.h Examining data/ksystemlog-20.04.2/src/statusBar.h Examining data/ksystemlog-20.04.2/src/configurationDialog.cpp Examining data/ksystemlog-20.04.2/src/logModePluginsLoader.h Examining data/ksystemlog-20.04.2/src/loggerDialog.h Examining data/ksystemlog-20.04.2/src/statusBar.cpp Examining data/ksystemlog-20.04.2/src/tabLogManager.cpp Examining data/ksystemlog-20.04.2/src/detailDialog.cpp Examining data/ksystemlog-20.04.2/src/lib/logModeItemBuilder.h Examining data/ksystemlog-20.04.2/src/lib/defaults.h Examining data/ksystemlog-20.04.2/src/lib/localLogFileReader.h Examining data/ksystemlog-20.04.2/src/lib/logViewFilterWidget.cpp Examining data/ksystemlog-20.04.2/src/lib/logViewSearchWidget.cpp Examining data/ksystemlog-20.04.2/src/lib/fileAnalyzer.cpp Examining data/ksystemlog-20.04.2/src/lib/view.h Examining data/ksystemlog-20.04.2/src/lib/logViewExport.h Examining data/ksystemlog-20.04.2/src/lib/logModeAction.cpp Examining data/ksystemlog-20.04.2/src/lib/fileAnalyzer.h Examining data/ksystemlog-20.04.2/src/lib/levelPrintPage.h Examining data/ksystemlog-20.04.2/src/lib/logFileReaderPrivate.h Examining data/ksystemlog-20.04.2/src/lib/logViewModel.h Examining data/ksystemlog-20.04.2/src/lib/logModeConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/lib/kioLogFileReader.h Examining data/ksystemlog-20.04.2/src/lib/logFileReader.cpp Examining data/ksystemlog-20.04.2/src/lib/logModeFactory.h Examining data/ksystemlog-20.04.2/src/lib/logViewColumns.cpp Examining data/ksystemlog-20.04.2/src/lib/view.cpp Examining data/ksystemlog-20.04.2/src/lib/loadingBar.cpp Examining data/ksystemlog-20.04.2/src/lib/processOutputLogFileReader.cpp Examining data/ksystemlog-20.04.2/src/lib/multipleActions.cpp Examining data/ksystemlog-20.04.2/src/lib/logModeConfiguration.h Examining data/ksystemlog-20.04.2/src/lib/logViewColumns.h Examining data/ksystemlog-20.04.2/src/lib/logFile.cpp Examining data/ksystemlog-20.04.2/src/lib/logViewSearchWidget.h Examining data/ksystemlog-20.04.2/src/lib/logFile.h Examining data/ksystemlog-20.04.2/src/lib/logFileReader.h Examining data/ksystemlog-20.04.2/src/lib/logMode.h Examining data/ksystemlog-20.04.2/src/lib/logMode.cpp Examining data/ksystemlog-20.04.2/src/lib/logManager.h Examining data/ksystemlog-20.04.2/src/lib/logLine.cpp Examining data/ksystemlog-20.04.2/src/lib/globals.cpp Examining data/ksystemlog-20.04.2/src/lib/analyzer.h Examining data/ksystemlog-20.04.2/src/lib/logManager.cpp Examining data/ksystemlog-20.04.2/src/lib/multipleActions.h Examining data/ksystemlog-20.04.2/src/lib/simpleAction.h Examining data/ksystemlog-20.04.2/src/lib/logModeConfigurationWidget.h Examining data/ksystemlog-20.04.2/src/lib/processOutputLogFileReader.h Examining data/ksystemlog-20.04.2/src/lib/logViewColumn.cpp Examining data/ksystemlog-20.04.2/src/lib/logging.h Examining data/ksystemlog-20.04.2/src/lib/logViewWidgetItem.cpp Examining data/ksystemlog-20.04.2/src/lib/logViewWidget.cpp Examining data/ksystemlog-20.04.2/src/lib/logLine.h Examining data/ksystemlog-20.04.2/src/lib/logModeAction.h Examining data/ksystemlog-20.04.2/src/lib/logModeItemBuilder.cpp Examining data/ksystemlog-20.04.2/src/lib/globals.h Examining data/ksystemlog-20.04.2/src/lib/logModeFactory.cpp Examining data/ksystemlog-20.04.2/src/lib/logLevel.cpp Examining data/ksystemlog-20.04.2/src/lib/logViewWidget.h Examining data/ksystemlog-20.04.2/src/lib/logViewFilterWidget.h Examining data/ksystemlog-20.04.2/src/lib/logViewWidgetItem.h Examining data/ksystemlog-20.04.2/src/lib/analyzer.cpp Examining data/ksystemlog-20.04.2/src/lib/logViewColumn.h Examining data/ksystemlog-20.04.2/src/lib/localLogFileReader.cpp Examining data/ksystemlog-20.04.2/src/lib/logViewExport.cpp Examining data/ksystemlog-20.04.2/src/lib/levelPrintPage.cpp Examining data/ksystemlog-20.04.2/src/lib/loadingBar.h Examining data/ksystemlog-20.04.2/src/lib/logModeConfiguration.cpp Examining data/ksystemlog-20.04.2/src/lib/kioLogFileReader.cpp Examining data/ksystemlog-20.04.2/src/lib/logViewModel.cpp Examining data/ksystemlog-20.04.2/src/lib/simpleAction.cpp Examining data/ksystemlog-20.04.2/src/lib/logLevel.h Examining data/ksystemlog-20.04.2/src/loggerDialog.cpp Examining data/ksystemlog-20.04.2/src/mainWindow.h Examining data/ksystemlog-20.04.2/src/main.cpp Examining data/ksystemlog-20.04.2/src/generalConfigurationWidget.cpp Examining data/ksystemlog-20.04.2/src/tabLogViewsWidget.cpp Examining data/ksystemlog-20.04.2/src/logModePluginsLoader.cpp Examining data/ksystemlog-20.04.2/src/mainWindow.cpp Examining data/ksystemlog-20.04.2/src/config/dummyConfig.cpp Examining data/ksystemlog-20.04.2/src/tabLogManager.h FINAL RESULTS: data/ksystemlog-20.04.2/src/lib/kioLogFileReader.cpp:79:24: [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). void KioLogFileReader::open() data/ksystemlog-20.04.2/src/lib/kioLogFileReader.cpp:82:23: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). d->fileJob = KIO::open(d->logFile.url(), QIODevice::ReadOnly | QIODevice::Text); data/ksystemlog-20.04.2/src/lib/kioLogFileReader.cpp:84:40: [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). connect(d->fileJob, &KIO::FileJob::open, this, &KioLogFileReader::openDone); data/ksystemlog-20.04.2/src/lib/kioLogFileReader.h:50: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). void open(); data/ksystemlog-20.04.2/src/lib/localLogFileReader.cpp:107:32: [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). QIODevice *LocalLogFileReader::open() data/ksystemlog-20.04.2/src/lib/localLogFileReader.cpp:156:23: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!inputDevice->open(QIODevice::ReadOnly)) { data/ksystemlog-20.04.2/src/lib/localLogFileReader.cpp:205: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). QIODevice *inputDevice = open(); data/ksystemlog-20.04.2/src/lib/localLogFileReader.h:53: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). QIODevice *open(); data/ksystemlog-20.04.2/src/lib/logViewExport.cpp:232: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 (ioDev->open(QIODevice::WriteOnly)) { data/ksystemlog-20.04.2/src/modes/journald/journaldLocalAnalyzer.cpp:65: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 (file.open(QIODevice::ReadOnly | QFile::Text)) { data/ksystemlog-20.04.2/src/modes/journald/journaldLocalAnalyzer.cpp:201: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(fd, QIODevice::ReadOnly); data/ksystemlog-20.04.2/src/modes/kernel/kernelAnalyzer.h:75: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). file.open(QIODevice::ReadOnly | QIODevice::Text); data/ksystemlog-20.04.2/tests/findIncompatibleKioTest.cpp:93: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::WriteOnly | QIODevice::Text)) { data/ksystemlog-20.04.2/tests/findIncompatibleKioTest.cpp:273: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). file.open(QIODevice::ReadOnly); data/ksystemlog-20.04.2/tests/kioLogFileReaderTest.cpp:64: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). logFileReader->open(); data/ksystemlog-20.04.2/tests/kioLogFileReaderTest.cpp:66:184: [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). connect(logFileReader, &KioLogFileReader::lineRead, this, [=](const QString &line) { logDebug() << "Line " << line; static QFile file(fixturePath); static bool open = false; if (!open) { QVERIFY(file.open(QIODevice::ReadOnly | QIODevice::Text)); open = true; } static QTextStream stream(&file); QCOMPARE(line, stream.readLine()); data/ksystemlog-20.04.2/tests/kioLogFileReaderTest.cpp:66:205: [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). connect(logFileReader, &KioLogFileReader::lineRead, this, [=](const QString &line) { logDebug() << "Line " << line; static QFile file(fixturePath); static bool open = false; if (!open) { QVERIFY(file.open(QIODevice::ReadOnly | QIODevice::Text)); open = true; } static QTextStream stream(&file); QCOMPARE(line, stream.readLine()); data/ksystemlog-20.04.2/tests/testUtil.cpp:113: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 (data.open(QFile::Append | QIODevice::Text)) { data/ksystemlog-20.04.2/src/lib/kioLogFileReader.cpp:104:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). d->fileJob->read(READ_SIZE); data/ksystemlog-20.04.2/src/lib/kioLogFileReader.cpp:130:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). d->fileJob->read(READ_SIZE); ANALYSIS SUMMARY: Hits = 20 Lines analyzed = 25638 in approximately 1.60 seconds (15980 lines/second) Physical Source Lines of Code (SLOC) = 13395 Hits@level = [0] 0 [1] 2 [2] 18 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 20 [1+] 20 [2+] 18 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 1.49309 [1+] 1.49309 [2+] 1.34378 [3+] 0 [4+] 0 [5+] 0 Dot directories skipped = 2 (--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.