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/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdlockedsharedmemorypointer.cpp Examining data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdlockedsharedmemorypointer.h Examining data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsharedmemorylocker.cpp Examining data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsharedmemorylocker.h Examining data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp Examining data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.h Examining data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdtoolsglobal.cpp Examining data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdtoolsglobal.h Examining data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/pimpl_ptr.cpp Examining data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/pimpl_ptr.h Examining data/calamares-3.2.33/3rdparty/waitingspinnerwidget.cpp Examining data/calamares-3.2.33/3rdparty/waitingspinnerwidget.h Examining data/calamares-3.2.33/ci/coverity-model.c Examining data/calamares-3.2.33/lang/txload.cpp Examining data/calamares-3.2.33/src/calamares/CalamaresApplication.cpp Examining data/calamares-3.2.33/src/calamares/CalamaresApplication.h Examining data/calamares-3.2.33/src/calamares/CalamaresWindow.cpp Examining data/calamares-3.2.33/src/calamares/CalamaresWindow.h Examining data/calamares-3.2.33/src/calamares/DebugWindow.cpp Examining data/calamares-3.2.33/src/calamares/DebugWindow.h Examining data/calamares-3.2.33/src/calamares/VariantModel.cpp Examining data/calamares-3.2.33/src/calamares/VariantModel.h Examining data/calamares-3.2.33/src/calamares/main.cpp Examining data/calamares-3.2.33/src/calamares/progresstree/ProgressTreeDelegate.cpp Examining data/calamares-3.2.33/src/calamares/progresstree/ProgressTreeDelegate.h Examining data/calamares-3.2.33/src/calamares/progresstree/ProgressTreeView.cpp Examining data/calamares-3.2.33/src/calamares/progresstree/ProgressTreeView.h Examining data/calamares-3.2.33/src/calamares/test_conf.cpp Examining data/calamares-3.2.33/src/calamares/testmain.cpp Examining data/calamares-3.2.33/src/libcalamares/CppJob.cpp Examining data/calamares-3.2.33/src/libcalamares/CppJob.h Examining data/calamares-3.2.33/src/libcalamares/DllMacro.h Examining data/calamares-3.2.33/src/libcalamares/GlobalStorage.cpp Examining data/calamares-3.2.33/src/libcalamares/GlobalStorage.h Examining data/calamares-3.2.33/src/libcalamares/Job.cpp Examining data/calamares-3.2.33/src/libcalamares/Job.h Examining data/calamares-3.2.33/src/libcalamares/JobExample.cpp Examining data/calamares-3.2.33/src/libcalamares/JobExample.h Examining data/calamares-3.2.33/src/libcalamares/JobQueue.cpp Examining data/calamares-3.2.33/src/libcalamares/JobQueue.h Examining data/calamares-3.2.33/src/libcalamares/ProcessJob.cpp Examining data/calamares-3.2.33/src/libcalamares/ProcessJob.h Examining data/calamares-3.2.33/src/libcalamares/PythonHelper.cpp Examining data/calamares-3.2.33/src/libcalamares/PythonHelper.h Examining data/calamares-3.2.33/src/libcalamares/PythonJob.cpp Examining data/calamares-3.2.33/src/libcalamares/PythonJob.h Examining data/calamares-3.2.33/src/libcalamares/PythonJobApi.cpp Examining data/calamares-3.2.33/src/libcalamares/PythonJobApi.h Examining data/calamares-3.2.33/src/libcalamares/Settings.cpp Examining data/calamares-3.2.33/src/libcalamares/Settings.h Examining data/calamares-3.2.33/src/libcalamares/Tests.cpp Examining data/calamares-3.2.33/src/libcalamares/geoip/GeoIPFixed.cpp Examining data/calamares-3.2.33/src/libcalamares/geoip/GeoIPFixed.h Examining data/calamares-3.2.33/src/libcalamares/geoip/GeoIPJSON.cpp Examining data/calamares-3.2.33/src/libcalamares/geoip/GeoIPJSON.h Examining data/calamares-3.2.33/src/libcalamares/geoip/GeoIPTests.cpp Examining data/calamares-3.2.33/src/libcalamares/geoip/GeoIPTests.h Examining data/calamares-3.2.33/src/libcalamares/geoip/GeoIPXML.cpp Examining data/calamares-3.2.33/src/libcalamares/geoip/GeoIPXML.h Examining data/calamares-3.2.33/src/libcalamares/geoip/Handler.cpp Examining data/calamares-3.2.33/src/libcalamares/geoip/Handler.h Examining data/calamares-3.2.33/src/libcalamares/geoip/Interface.cpp Examining data/calamares-3.2.33/src/libcalamares/geoip/Interface.h Examining data/calamares-3.2.33/src/libcalamares/geoip/test_geoip.cpp Examining data/calamares-3.2.33/src/libcalamares/locale/CountryData_p.cpp Examining data/calamares-3.2.33/src/libcalamares/locale/Global.cpp Examining data/calamares-3.2.33/src/libcalamares/locale/Global.h Examining data/calamares-3.2.33/src/libcalamares/locale/Label.cpp Examining data/calamares-3.2.33/src/libcalamares/locale/Label.h Examining data/calamares-3.2.33/src/libcalamares/locale/LabelModel.cpp Examining data/calamares-3.2.33/src/libcalamares/locale/LabelModel.h Examining data/calamares-3.2.33/src/libcalamares/locale/Lookup.cpp Examining data/calamares-3.2.33/src/libcalamares/locale/Lookup.h Examining data/calamares-3.2.33/src/libcalamares/locale/Tests.cpp Examining data/calamares-3.2.33/src/libcalamares/locale/TimeZone.cpp Examining data/calamares-3.2.33/src/libcalamares/locale/TimeZone.h Examining data/calamares-3.2.33/src/libcalamares/locale/TranslatableConfiguration.cpp Examining data/calamares-3.2.33/src/libcalamares/locale/TranslatableConfiguration.h Examining data/calamares-3.2.33/src/libcalamares/locale/TranslatableString.cpp Examining data/calamares-3.2.33/src/libcalamares/locale/TranslatableString.h Examining data/calamares-3.2.33/src/libcalamares/modulesystem/Actions.h Examining data/calamares-3.2.33/src/libcalamares/modulesystem/Descriptor.cpp Examining data/calamares-3.2.33/src/libcalamares/modulesystem/Descriptor.h Examining data/calamares-3.2.33/src/libcalamares/modulesystem/InstanceKey.cpp Examining data/calamares-3.2.33/src/libcalamares/modulesystem/InstanceKey.h Examining data/calamares-3.2.33/src/libcalamares/modulesystem/Module.cpp Examining data/calamares-3.2.33/src/libcalamares/modulesystem/Module.h Examining data/calamares-3.2.33/src/libcalamares/modulesystem/Requirement.h Examining data/calamares-3.2.33/src/libcalamares/modulesystem/RequirementsChecker.cpp Examining data/calamares-3.2.33/src/libcalamares/modulesystem/RequirementsChecker.h Examining data/calamares-3.2.33/src/libcalamares/modulesystem/RequirementsModel.cpp Examining data/calamares-3.2.33/src/libcalamares/modulesystem/RequirementsModel.h Examining data/calamares-3.2.33/src/libcalamares/modulesystem/Tests.cpp Examining data/calamares-3.2.33/src/libcalamares/network/Manager.cpp Examining data/calamares-3.2.33/src/libcalamares/network/Manager.h Examining data/calamares-3.2.33/src/libcalamares/network/Tests.cpp Examining data/calamares-3.2.33/src/libcalamares/network/Tests.h Examining data/calamares-3.2.33/src/libcalamares/partition/FileSystem.cpp Examining data/calamares-3.2.33/src/libcalamares/partition/FileSystem.h Examining data/calamares-3.2.33/src/libcalamares/partition/KPMHelper.h Examining data/calamares-3.2.33/src/libcalamares/partition/KPMManager.cpp Examining data/calamares-3.2.33/src/libcalamares/partition/KPMManager.h Examining data/calamares-3.2.33/src/libcalamares/partition/KPMTests.cpp Examining data/calamares-3.2.33/src/libcalamares/partition/Mount.cpp Examining data/calamares-3.2.33/src/libcalamares/partition/Mount.h Examining data/calamares-3.2.33/src/libcalamares/partition/PartitionIterator.cpp Examining data/calamares-3.2.33/src/libcalamares/partition/PartitionIterator.h Examining data/calamares-3.2.33/src/libcalamares/partition/PartitionQuery.cpp Examining data/calamares-3.2.33/src/libcalamares/partition/PartitionQuery.h Examining data/calamares-3.2.33/src/libcalamares/partition/PartitionSize.cpp Examining data/calamares-3.2.33/src/libcalamares/partition/PartitionSize.h Examining data/calamares-3.2.33/src/libcalamares/partition/Sync.cpp Examining data/calamares-3.2.33/src/libcalamares/partition/Sync.h Examining data/calamares-3.2.33/src/libcalamares/partition/Tests.cpp Examining data/calamares-3.2.33/src/libcalamares/partition/Tests.h Examining data/calamares-3.2.33/src/libcalamares/utils/BoostPython.h Examining data/calamares-3.2.33/src/libcalamares/utils/CalamaresUtilsSystem.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/CalamaresUtilsSystem.h Examining data/calamares-3.2.33/src/libcalamares/utils/CommandList.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/CommandList.h Examining data/calamares-3.2.33/src/libcalamares/utils/Dirs.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/Dirs.h Examining data/calamares-3.2.33/src/libcalamares/utils/Entropy.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/Entropy.h Examining data/calamares-3.2.33/src/libcalamares/utils/Logger.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/Logger.h Examining data/calamares-3.2.33/src/libcalamares/utils/NamedEnum.h Examining data/calamares-3.2.33/src/libcalamares/utils/NamedSuffix.h Examining data/calamares-3.2.33/src/libcalamares/utils/Permissions.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/Permissions.h Examining data/calamares-3.2.33/src/libcalamares/utils/PluginFactory.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/PluginFactory.h Examining data/calamares-3.2.33/src/libcalamares/utils/RAII.h Examining data/calamares-3.2.33/src/libcalamares/utils/Retranslator.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/Retranslator.h Examining data/calamares-3.2.33/src/libcalamares/utils/String.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/String.h Examining data/calamares-3.2.33/src/libcalamares/utils/TestPaths.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/Tests.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/Traits.h Examining data/calamares-3.2.33/src/libcalamares/utils/UMask.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/UMask.h Examining data/calamares-3.2.33/src/libcalamares/utils/Units.h Examining data/calamares-3.2.33/src/libcalamares/utils/Variant.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/Variant.h Examining data/calamares-3.2.33/src/libcalamares/utils/Yaml.cpp Examining data/calamares-3.2.33/src/libcalamares/utils/Yaml.h Examining data/calamares-3.2.33/src/libcalamares/utils/moc-warnings.h Examining data/calamares-3.2.33/src/libcalamaresui/Branding.cpp Examining data/calamares-3.2.33/src/libcalamaresui/Branding.h Examining data/calamares-3.2.33/src/libcalamaresui/ViewManager.cpp Examining data/calamares-3.2.33/src/libcalamaresui/ViewManager.h Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/CppJobModule.cpp Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/CppJobModule.h Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/ModuleFactory.cpp Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/ModuleFactory.h Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/ModuleManager.cpp Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/ModuleManager.h Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/ProcessJobModule.cpp Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/ProcessJobModule.h Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/PythonJobModule.cpp Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/PythonJobModule.h Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/PythonQtViewModule.cpp Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/PythonQtViewModule.h Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/ViewModule.cpp Examining data/calamares-3.2.33/src/libcalamaresui/modulesystem/ViewModule.h Examining data/calamares-3.2.33/src/libcalamaresui/utils/CalamaresUtilsGui.cpp Examining data/calamares-3.2.33/src/libcalamaresui/utils/CalamaresUtilsGui.h Examining data/calamares-3.2.33/src/libcalamaresui/utils/ImageRegistry.cpp Examining data/calamares-3.2.33/src/libcalamaresui/utils/ImageRegistry.h Examining data/calamares-3.2.33/src/libcalamaresui/utils/Paste.cpp Examining data/calamares-3.2.33/src/libcalamaresui/utils/Paste.h Examining data/calamares-3.2.33/src/libcalamaresui/utils/PythonQtUtils.cpp Examining data/calamares-3.2.33/src/libcalamaresui/utils/PythonQtUtils.h Examining data/calamares-3.2.33/src/libcalamaresui/utils/Qml.cpp Examining data/calamares-3.2.33/src/libcalamaresui/utils/Qml.h Examining data/calamares-3.2.33/src/libcalamaresui/utils/QtCompat.h Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/BlankViewStep.cpp Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/BlankViewStep.h Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/ExecutionViewStep.cpp Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/ExecutionViewStep.h Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/PythonQtGlobalStorageWrapper.cpp Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/PythonQtGlobalStorageWrapper.h Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/PythonQtJob.cpp Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/PythonQtJob.h Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/PythonQtUtilsWrapper.cpp Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/PythonQtUtilsWrapper.h Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/PythonQtViewStep.cpp Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/PythonQtViewStep.h Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/QmlViewStep.cpp Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/QmlViewStep.h Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/Slideshow.cpp Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/Slideshow.h Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/ViewStep.cpp Examining data/calamares-3.2.33/src/libcalamaresui/viewpages/ViewStep.h Examining data/calamares-3.2.33/src/libcalamaresui/widgets/ClickableLabel.cpp Examining data/calamares-3.2.33/src/libcalamaresui/widgets/ClickableLabel.h Examining data/calamares-3.2.33/src/libcalamaresui/widgets/FixedAspectRatioLabel.cpp Examining data/calamares-3.2.33/src/libcalamaresui/widgets/FixedAspectRatioLabel.h Examining data/calamares-3.2.33/src/libcalamaresui/widgets/PrettyRadioButton.cpp Examining data/calamares-3.2.33/src/libcalamaresui/widgets/PrettyRadioButton.h Examining data/calamares-3.2.33/src/libcalamaresui/widgets/WaitingWidget.cpp Examining data/calamares-3.2.33/src/libcalamaresui/widgets/WaitingWidget.h Examining data/calamares-3.2.33/src/modules/contextualprocess/Binding.h Examining data/calamares-3.2.33/src/modules/contextualprocess/ContextualProcessJob.cpp Examining data/calamares-3.2.33/src/modules/contextualprocess/ContextualProcessJob.h Examining data/calamares-3.2.33/src/modules/contextualprocess/Tests.cpp Examining data/calamares-3.2.33/src/modules/contextualprocess/Tests.h Examining data/calamares-3.2.33/src/modules/dracutlukscfg/DracutLuksCfgJob.cpp Examining data/calamares-3.2.33/src/modules/dracutlukscfg/DracutLuksCfgJob.h Examining data/calamares-3.2.33/src/modules/dummycpp/DummyCppJob.cpp Examining data/calamares-3.2.33/src/modules/dummycpp/DummyCppJob.h Examining data/calamares-3.2.33/src/modules/finished/FinishedPage.cpp Examining data/calamares-3.2.33/src/modules/finished/FinishedPage.h Examining data/calamares-3.2.33/src/modules/finished/FinishedViewStep.cpp Examining data/calamares-3.2.33/src/modules/finished/FinishedViewStep.h Examining data/calamares-3.2.33/src/modules/fsresizer/ResizeFSJob.cpp Examining data/calamares-3.2.33/src/modules/fsresizer/ResizeFSJob.h Examining data/calamares-3.2.33/src/modules/fsresizer/Tests.cpp Examining data/calamares-3.2.33/src/modules/fsresizer/Tests.h Examining data/calamares-3.2.33/src/modules/hostinfo/HostInfoJob.cpp Examining data/calamares-3.2.33/src/modules/hostinfo/HostInfoJob.h Examining data/calamares-3.2.33/src/modules/hostinfo/Tests.cpp Examining data/calamares-3.2.33/src/modules/initcpio/InitcpioJob.cpp Examining data/calamares-3.2.33/src/modules/initcpio/InitcpioJob.h Examining data/calamares-3.2.33/src/modules/initcpio/Tests.cpp Examining data/calamares-3.2.33/src/modules/initcpio/Tests.h Examining data/calamares-3.2.33/src/modules/initramfs/InitramfsJob.cpp Examining data/calamares-3.2.33/src/modules/initramfs/InitramfsJob.h Examining data/calamares-3.2.33/src/modules/initramfs/Tests.cpp Examining data/calamares-3.2.33/src/modules/initramfs/Tests.h Examining data/calamares-3.2.33/src/modules/interactiveterminal/InteractiveTerminalPage.cpp Examining data/calamares-3.2.33/src/modules/interactiveterminal/InteractiveTerminalPage.h Examining data/calamares-3.2.33/src/modules/interactiveterminal/InteractiveTerminalViewStep.cpp Examining data/calamares-3.2.33/src/modules/interactiveterminal/InteractiveTerminalViewStep.h Examining data/calamares-3.2.33/src/modules/keyboard/AdditionalLayoutInfo.h Examining data/calamares-3.2.33/src/modules/keyboard/Config.cpp Examining data/calamares-3.2.33/src/modules/keyboard/Config.h Examining data/calamares-3.2.33/src/modules/keyboard/KeyboardLayoutModel.cpp Examining data/calamares-3.2.33/src/modules/keyboard/KeyboardLayoutModel.h Examining data/calamares-3.2.33/src/modules/keyboard/KeyboardPage.cpp Examining data/calamares-3.2.33/src/modules/keyboard/KeyboardPage.h Examining data/calamares-3.2.33/src/modules/keyboard/KeyboardViewStep.cpp Examining data/calamares-3.2.33/src/modules/keyboard/KeyboardViewStep.h Examining data/calamares-3.2.33/src/modules/keyboard/SetKeyboardLayoutJob.cpp Examining data/calamares-3.2.33/src/modules/keyboard/SetKeyboardLayoutJob.h Examining data/calamares-3.2.33/src/modules/keyboard/Tests.cpp Examining data/calamares-3.2.33/src/modules/keyboard/keyboardwidget/keyboardglobal.cpp Examining data/calamares-3.2.33/src/modules/keyboard/keyboardwidget/keyboardglobal.h Examining data/calamares-3.2.33/src/modules/keyboard/keyboardwidget/keyboardpreview.cpp Examining data/calamares-3.2.33/src/modules/keyboard/keyboardwidget/keyboardpreview.h Examining data/calamares-3.2.33/src/modules/keyboardq/KeyboardQmlViewStep.cpp Examining data/calamares-3.2.33/src/modules/keyboardq/KeyboardQmlViewStep.h Examining data/calamares-3.2.33/src/modules/license/LicensePage.cpp Examining data/calamares-3.2.33/src/modules/license/LicensePage.h Examining data/calamares-3.2.33/src/modules/license/LicenseViewStep.cpp Examining data/calamares-3.2.33/src/modules/license/LicenseViewStep.h Examining data/calamares-3.2.33/src/modules/license/LicenseWidget.cpp Examining data/calamares-3.2.33/src/modules/license/LicenseWidget.h Examining data/calamares-3.2.33/src/modules/locale/Config.cpp Examining data/calamares-3.2.33/src/modules/locale/Config.h Examining data/calamares-3.2.33/src/modules/locale/LCLocaleDialog.cpp Examining data/calamares-3.2.33/src/modules/locale/LCLocaleDialog.h Examining data/calamares-3.2.33/src/modules/locale/LocaleConfiguration.cpp Examining data/calamares-3.2.33/src/modules/locale/LocaleConfiguration.h Examining data/calamares-3.2.33/src/modules/locale/LocalePage.cpp Examining data/calamares-3.2.33/src/modules/locale/LocalePage.h Examining data/calamares-3.2.33/src/modules/locale/LocaleViewStep.cpp Examining data/calamares-3.2.33/src/modules/locale/LocaleViewStep.h Examining data/calamares-3.2.33/src/modules/locale/SetTimezoneJob.cpp Examining data/calamares-3.2.33/src/modules/locale/SetTimezoneJob.h Examining data/calamares-3.2.33/src/modules/locale/Tests.cpp Examining data/calamares-3.2.33/src/modules/locale/timezonewidget/TimeZoneImage.cpp Examining data/calamares-3.2.33/src/modules/locale/timezonewidget/TimeZoneImage.h Examining data/calamares-3.2.33/src/modules/locale/timezonewidget/timezonewidget.cpp Examining data/calamares-3.2.33/src/modules/locale/timezonewidget/timezonewidget.h Examining data/calamares-3.2.33/src/modules/localeq/LocaleQmlViewStep.cpp Examining data/calamares-3.2.33/src/modules/localeq/LocaleQmlViewStep.h Examining data/calamares-3.2.33/src/modules/luksbootkeyfile/LuksBootKeyFileJob.cpp Examining data/calamares-3.2.33/src/modules/luksbootkeyfile/LuksBootKeyFileJob.h Examining data/calamares-3.2.33/src/modules/machineid/MachineIdJob.cpp Examining data/calamares-3.2.33/src/modules/machineid/MachineIdJob.h Examining data/calamares-3.2.33/src/modules/machineid/Tests.cpp Examining data/calamares-3.2.33/src/modules/machineid/Workers.cpp Examining data/calamares-3.2.33/src/modules/machineid/Workers.h Examining data/calamares-3.2.33/src/modules/netinstall/Config.cpp Examining data/calamares-3.2.33/src/modules/netinstall/Config.h Examining data/calamares-3.2.33/src/modules/netinstall/NetInstallPage.cpp Examining data/calamares-3.2.33/src/modules/netinstall/NetInstallPage.h Examining data/calamares-3.2.33/src/modules/netinstall/NetInstallViewStep.cpp Examining data/calamares-3.2.33/src/modules/netinstall/NetInstallViewStep.h Examining data/calamares-3.2.33/src/modules/netinstall/PackageModel.cpp Examining data/calamares-3.2.33/src/modules/netinstall/PackageModel.h Examining data/calamares-3.2.33/src/modules/netinstall/PackageTreeItem.cpp Examining data/calamares-3.2.33/src/modules/netinstall/PackageTreeItem.h Examining data/calamares-3.2.33/src/modules/netinstall/Tests.cpp Examining data/calamares-3.2.33/src/modules/notesqml/NotesQmlViewStep.cpp Examining data/calamares-3.2.33/src/modules/notesqml/NotesQmlViewStep.h Examining data/calamares-3.2.33/src/modules/oemid/IDJob.cpp Examining data/calamares-3.2.33/src/modules/oemid/IDJob.h Examining data/calamares-3.2.33/src/modules/oemid/OEMViewStep.cpp Examining data/calamares-3.2.33/src/modules/oemid/OEMViewStep.h Examining data/calamares-3.2.33/src/modules/packagechooser/ItemAppData.cpp Examining data/calamares-3.2.33/src/modules/packagechooser/ItemAppData.h Examining data/calamares-3.2.33/src/modules/packagechooser/ItemAppStream.cpp Examining data/calamares-3.2.33/src/modules/packagechooser/ItemAppStream.h Examining data/calamares-3.2.33/src/modules/packagechooser/PackageChooserPage.cpp Examining data/calamares-3.2.33/src/modules/packagechooser/PackageChooserPage.h Examining data/calamares-3.2.33/src/modules/packagechooser/PackageChooserViewStep.cpp Examining data/calamares-3.2.33/src/modules/packagechooser/PackageChooserViewStep.h Examining data/calamares-3.2.33/src/modules/packagechooser/PackageModel.cpp Examining data/calamares-3.2.33/src/modules/packagechooser/PackageModel.h Examining data/calamares-3.2.33/src/modules/packagechooser/Tests.cpp Examining data/calamares-3.2.33/src/modules/packagechooser/Tests.h Examining data/calamares-3.2.33/src/modules/partition/core/BootLoaderModel.cpp Examining data/calamares-3.2.33/src/modules/partition/core/BootLoaderModel.h Examining data/calamares-3.2.33/src/modules/partition/core/ColorUtils.cpp Examining data/calamares-3.2.33/src/modules/partition/core/ColorUtils.h Examining data/calamares-3.2.33/src/modules/partition/core/Config.cpp Examining data/calamares-3.2.33/src/modules/partition/core/Config.h Examining data/calamares-3.2.33/src/modules/partition/core/DeviceList.cpp Examining data/calamares-3.2.33/src/modules/partition/core/DeviceList.h Examining data/calamares-3.2.33/src/modules/partition/core/DeviceModel.cpp Examining data/calamares-3.2.33/src/modules/partition/core/DeviceModel.h Examining data/calamares-3.2.33/src/modules/partition/core/KPMHelpers.cpp Examining data/calamares-3.2.33/src/modules/partition/core/KPMHelpers.h Examining data/calamares-3.2.33/src/modules/partition/core/OsproberEntry.h Examining data/calamares-3.2.33/src/modules/partition/core/PartUtils.cpp Examining data/calamares-3.2.33/src/modules/partition/core/PartUtils.h Examining data/calamares-3.2.33/src/modules/partition/core/PartitionActions.cpp Examining data/calamares-3.2.33/src/modules/partition/core/PartitionActions.h Examining data/calamares-3.2.33/src/modules/partition/core/PartitionCoreModule.cpp Examining data/calamares-3.2.33/src/modules/partition/core/PartitionCoreModule.h Examining data/calamares-3.2.33/src/modules/partition/core/PartitionInfo.cpp Examining data/calamares-3.2.33/src/modules/partition/core/PartitionInfo.h Examining data/calamares-3.2.33/src/modules/partition/core/PartitionLayout.cpp Examining data/calamares-3.2.33/src/modules/partition/core/PartitionLayout.h Examining data/calamares-3.2.33/src/modules/partition/core/PartitionModel.cpp Examining data/calamares-3.2.33/src/modules/partition/core/PartitionModel.h Examining data/calamares-3.2.33/src/modules/partition/gui/BootInfoWidget.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/BootInfoWidget.h Examining data/calamares-3.2.33/src/modules/partition/gui/ChoicePage.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/ChoicePage.h Examining data/calamares-3.2.33/src/modules/partition/gui/CreatePartitionDialog.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/CreatePartitionDialog.h Examining data/calamares-3.2.33/src/modules/partition/gui/CreateVolumeGroupDialog.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/CreateVolumeGroupDialog.h Examining data/calamares-3.2.33/src/modules/partition/gui/DeviceInfoWidget.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/DeviceInfoWidget.h Examining data/calamares-3.2.33/src/modules/partition/gui/EditExistingPartitionDialog.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/EditExistingPartitionDialog.h Examining data/calamares-3.2.33/src/modules/partition/gui/EncryptWidget.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/EncryptWidget.h Examining data/calamares-3.2.33/src/modules/partition/gui/ListPhysicalVolumeWidgetItem.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/ListPhysicalVolumeWidgetItem.h Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionBarsView.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionBarsView.h Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionDialogHelpers.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionDialogHelpers.h Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionLabelsView.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionLabelsView.h Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionPage.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionPage.h Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionSizeController.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionSizeController.h Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionSplitterWidget.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionSplitterWidget.h Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionViewSelectionFilter.h Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionViewStep.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/PartitionViewStep.h Examining data/calamares-3.2.33/src/modules/partition/gui/ReplaceWidget.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/ReplaceWidget.h Examining data/calamares-3.2.33/src/modules/partition/gui/ResizeVolumeGroupDialog.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/ResizeVolumeGroupDialog.h Examining data/calamares-3.2.33/src/modules/partition/gui/ScanningDialog.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/ScanningDialog.h Examining data/calamares-3.2.33/src/modules/partition/gui/VolumeGroupBaseDialog.cpp Examining data/calamares-3.2.33/src/modules/partition/gui/VolumeGroupBaseDialog.h Examining data/calamares-3.2.33/src/modules/partition/jobs/ClearMountsJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/ClearMountsJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/ClearTempMountsJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/ClearTempMountsJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/CreatePartitionJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/CreatePartitionJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/CreatePartitionTableJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/CreatePartitionTableJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/CreateVolumeGroupJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/CreateVolumeGroupJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/DeactivateVolumeGroupJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/DeactivateVolumeGroupJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/DeletePartitionJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/DeletePartitionJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/FillGlobalStorageJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/FillGlobalStorageJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/FormatPartitionJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/FormatPartitionJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/PartitionJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/PartitionJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/RemoveVolumeGroupJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/RemoveVolumeGroupJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/ResizePartitionJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/ResizePartitionJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/ResizeVolumeGroupJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/ResizeVolumeGroupJob.h Examining data/calamares-3.2.33/src/modules/partition/jobs/SetPartitionFlagsJob.cpp Examining data/calamares-3.2.33/src/modules/partition/jobs/SetPartitionFlagsJob.h Examining data/calamares-3.2.33/src/modules/partition/tests/ClearMountsJobTests.cpp Examining data/calamares-3.2.33/src/modules/partition/tests/ClearMountsJobTests.h Examining data/calamares-3.2.33/src/modules/partition/tests/CreateLayoutsTests.cpp Examining data/calamares-3.2.33/src/modules/partition/tests/CreateLayoutsTests.h Examining data/calamares-3.2.33/src/modules/partition/tests/PartitionJobTests.cpp Examining data/calamares-3.2.33/src/modules/partition/tests/PartitionJobTests.h Examining data/calamares-3.2.33/src/modules/plasmalnf/PlasmaLnfJob.cpp Examining data/calamares-3.2.33/src/modules/plasmalnf/PlasmaLnfJob.h Examining data/calamares-3.2.33/src/modules/plasmalnf/PlasmaLnfPage.cpp Examining data/calamares-3.2.33/src/modules/plasmalnf/PlasmaLnfPage.h Examining data/calamares-3.2.33/src/modules/plasmalnf/PlasmaLnfViewStep.cpp Examining data/calamares-3.2.33/src/modules/plasmalnf/PlasmaLnfViewStep.h Examining data/calamares-3.2.33/src/modules/plasmalnf/ThemeInfo.h Examining data/calamares-3.2.33/src/modules/plasmalnf/ThemeWidget.cpp Examining data/calamares-3.2.33/src/modules/plasmalnf/ThemeWidget.h Examining data/calamares-3.2.33/src/modules/preservefiles/PreserveFiles.cpp Examining data/calamares-3.2.33/src/modules/preservefiles/PreserveFiles.h Examining data/calamares-3.2.33/src/modules/removeuser/RemoveUserJob.cpp Examining data/calamares-3.2.33/src/modules/removeuser/RemoveUserJob.h Examining data/calamares-3.2.33/src/modules/shellprocess/ShellProcessJob.cpp Examining data/calamares-3.2.33/src/modules/shellprocess/ShellProcessJob.h Examining data/calamares-3.2.33/src/modules/shellprocess/Tests.cpp Examining data/calamares-3.2.33/src/modules/shellprocess/Tests.h Examining data/calamares-3.2.33/src/modules/summary/SummaryPage.cpp Examining data/calamares-3.2.33/src/modules/summary/SummaryPage.h Examining data/calamares-3.2.33/src/modules/summary/SummaryViewStep.cpp Examining data/calamares-3.2.33/src/modules/summary/SummaryViewStep.h Examining data/calamares-3.2.33/src/modules/tracking/Config.cpp Examining data/calamares-3.2.33/src/modules/tracking/Config.h Examining data/calamares-3.2.33/src/modules/tracking/Tests.cpp Examining data/calamares-3.2.33/src/modules/tracking/TrackingJobs.cpp Examining data/calamares-3.2.33/src/modules/tracking/TrackingJobs.h Examining data/calamares-3.2.33/src/modules/tracking/TrackingPage.cpp Examining data/calamares-3.2.33/src/modules/tracking/TrackingPage.h Examining data/calamares-3.2.33/src/modules/tracking/TrackingType.h Examining data/calamares-3.2.33/src/modules/tracking/TrackingViewStep.cpp Examining data/calamares-3.2.33/src/modules/tracking/TrackingViewStep.h Examining data/calamares-3.2.33/src/modules/users/CheckPWQuality.cpp Examining data/calamares-3.2.33/src/modules/users/CheckPWQuality.h Examining data/calamares-3.2.33/src/modules/users/Config.cpp Examining data/calamares-3.2.33/src/modules/users/Config.h Examining data/calamares-3.2.33/src/modules/users/CreateUserJob.cpp Examining data/calamares-3.2.33/src/modules/users/CreateUserJob.h Examining data/calamares-3.2.33/src/modules/users/MiscJobs.cpp Examining data/calamares-3.2.33/src/modules/users/MiscJobs.h Examining data/calamares-3.2.33/src/modules/users/SetHostNameJob.cpp Examining data/calamares-3.2.33/src/modules/users/SetHostNameJob.h Examining data/calamares-3.2.33/src/modules/users/SetPasswordJob.cpp Examining data/calamares-3.2.33/src/modules/users/SetPasswordJob.h Examining data/calamares-3.2.33/src/modules/users/TestGroupInformation.cpp Examining data/calamares-3.2.33/src/modules/users/TestPasswordJob.cpp Examining data/calamares-3.2.33/src/modules/users/TestSetHostNameJob.cpp Examining data/calamares-3.2.33/src/modules/users/Tests.cpp Examining data/calamares-3.2.33/src/modules/users/UsersPage.cpp Examining data/calamares-3.2.33/src/modules/users/UsersPage.h Examining data/calamares-3.2.33/src/modules/users/UsersViewStep.cpp Examining data/calamares-3.2.33/src/modules/users/UsersViewStep.h Examining data/calamares-3.2.33/src/modules/usersq/UsersQmlViewStep.cpp Examining data/calamares-3.2.33/src/modules/usersq/UsersQmlViewStep.h Examining data/calamares-3.2.33/src/modules/webview/WebViewStep.cpp Examining data/calamares-3.2.33/src/modules/webview/WebViewStep.h Examining data/calamares-3.2.33/src/modules/welcome/Config.cpp Examining data/calamares-3.2.33/src/modules/welcome/Config.h Examining data/calamares-3.2.33/src/modules/welcome/WelcomePage.cpp Examining data/calamares-3.2.33/src/modules/welcome/WelcomePage.h Examining data/calamares-3.2.33/src/modules/welcome/WelcomeViewStep.cpp Examining data/calamares-3.2.33/src/modules/welcome/WelcomeViewStep.h Examining data/calamares-3.2.33/src/modules/welcome/checker/CheckerContainer.cpp Examining data/calamares-3.2.33/src/modules/welcome/checker/CheckerContainer.h Examining data/calamares-3.2.33/src/modules/welcome/checker/GeneralRequirements.cpp Examining data/calamares-3.2.33/src/modules/welcome/checker/GeneralRequirements.h Examining data/calamares-3.2.33/src/modules/welcome/checker/ResultWidget.cpp Examining data/calamares-3.2.33/src/modules/welcome/checker/ResultWidget.h Examining data/calamares-3.2.33/src/modules/welcome/checker/ResultsListWidget.cpp Examining data/calamares-3.2.33/src/modules/welcome/checker/ResultsListWidget.h Examining data/calamares-3.2.33/src/modules/welcome/checker/partman_devices.c Examining data/calamares-3.2.33/src/modules/welcome/checker/partman_devices.h Examining data/calamares-3.2.33/src/modules/welcomeq/WelcomeQmlViewStep.cpp Examining data/calamares-3.2.33/src/modules/welcomeq/WelcomeQmlViewStep.h FINAL RESULTS: data/calamares-3.2.33/src/libcalamares/utils/Permissions.cpp:85:13: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. int r = chmod( path.toUtf8().constData(), mode_t( mode ) ); data/calamares-3.2.33/src/modules/partition/core/PartUtils.cpp:293:22: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. QProcess readlink; data/calamares-3.2.33/src/modules/partition/core/PartUtils.cpp:333:17: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. readlink.start( "readlink", { "-en", partPath } ); data/calamares-3.2.33/src/modules/partition/core/PartUtils.cpp:334:23: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. if ( !readlink.waitForStarted( 1000 ) ) data/calamares-3.2.33/src/modules/partition/core/PartUtils.cpp:338:23: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. if ( !readlink.waitForFinished( 1000 ) ) data/calamares-3.2.33/src/modules/partition/core/PartUtils.cpp:342:22: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. if ( readlink.exitCode() != 0 || readlink.exitStatus() != QProcess::NormalExit ) data/calamares-3.2.33/src/modules/partition/core/PartUtils.cpp:342:50: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. if ( readlink.exitCode() != 0 || readlink.exitStatus() != QProcess::NormalExit ) data/calamares-3.2.33/src/modules/partition/core/PartUtils.cpp:346:52: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. partPath = QString::fromLocal8Bit( readlink.readAllStandardOutput() ).trimmed(); data/calamares-3.2.33/src/modules/shellprocess/Tests.cpp:160:8: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. - "chown @@USER@@ @@ROOT@@/calatest*" data/calamares-3.2.33/src/calamares/CalamaresApplication.cpp:81:49: [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. CalamaresUtils::installTranslator( QLocale::system(), QString() ); data/calamares-3.2.33/src/libcalamares/utils/TestPaths.cpp:58:14: [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. QVERIFY( system ); data/calamares-3.2.33/src/libcalamares/utils/TestPaths.cpp:71:16: [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. m_system = system; data/calamares-3.2.33/src/modules/contextualprocess/Tests.cpp:42:14: [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. QVERIFY( system ); data/calamares-3.2.33/src/modules/machineid/Tests.cpp:169:14: [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. QVERIFY( system ); data/calamares-3.2.33/src/modules/users/SetPasswordJob.cpp:93:46: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. QString encrypted = QString::fromLatin1( crypt( m_newPassword.toUtf8(), make_salt( 16 ).toUtf8() ) ); data/calamares-3.2.33/src/modules/users/TestSetHostNameJob.cpp:60:14: [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. QVERIFY( system ); data/calamares-3.2.33/src/modules/welcome/Config.cpp:118:47: [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. QLocale defaultLocale = QLocale( QLocale::system().name() ); data/calamares-3.2.33/src/calamares/test_conf.cpp:36:21: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( ( opt = getopt( argc, argv, "vb" ) ) != -1 ) data/calamares-3.2.33/src/libcalamares/modulesystem/Descriptor.h:106:10: [3] (misc) chroot: chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22). Make sure the program immediately chdir("/"), closes file descriptors, and drops root privileges, and that all necessary files (and no more!) are in the new root. bool chroot() const { return m_processChroot; } data/calamares-3.2.33/src/libcalamaresui/modulesystem/ProcessJobModule.cpp:62:38: [3] (misc) chroot: chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22). Make sure the program immediately chdir("/"), closes file descriptors, and drops root privileges, and that all necessary files (and no more!) are in the new root. m_runInChroot = moduleDescriptor.chroot(); data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp:368:11: [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( magicCookie, "kdsingleapp", 12 ); data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp:379: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 magicCookie[ 12 ]; data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp:385: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 commandLines[ KDSINGLEAPPLICATIONGUARD_MAX_COMMAND_LINE ]; data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp:423:13: [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( commandline + argpos, &PrematureEndOfOptions, MarkerSize ); data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp:431:13: [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( commandline + argpos, &len16, MarkerSize ); data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp:434:13: [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( commandline + argpos, utf8.data(), len16 ); data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp:440:5: [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( commandline + argpos, &RegularEndOfOptions, MarkerSize ); data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp:463: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( &marker, commandline + argpos, MarkerSize ); data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdtoolsglobal.cpp:15:11: [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. unsigned char v[3]; data/calamares-3.2.33/lang/txload.cpp:44: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( QIODevice::ReadOnly ) ) data/calamares-3.2.33/lang/txload.cpp:224:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !outfile.open( QIODevice::WriteOnly ) ) data/calamares-3.2.33/src/calamares/test_conf.cpp:65: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 ( f.open( QFile::ReadOnly | QFile::Text ) ) data/calamares-3.2.33/src/libcalamares/GlobalStorage.cpp:119: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 ( !f.open( QFile::WriteOnly ) ) data/calamares-3.2.33/src/libcalamares/GlobalStorage.cpp:133: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 ( !f.open( QFile::ReadOnly ) ) data/calamares-3.2.33/src/libcalamares/Settings.cpp:253: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). if ( file.exists() && file.open( QFile::ReadOnly | QFile::Text ) ) data/calamares-3.2.33/src/libcalamares/geoip/test_geoip.cpp:68:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char arr[ 1024 ]; data/calamares-3.2.33/src/libcalamares/locale/TimeZone.cpp:215: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 ( file.open( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/libcalamares/modulesystem/Module.cpp:97:48: [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 ( configFile.exists() && configFile.open( QFile::ReadOnly | QFile::Text ) ) data/calamares-3.2.33/src/libcalamares/utils/CalamaresUtilsSystem.cpp:266: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 ( !f.open( m ) ) data/calamares-3.2.33/src/libcalamares/utils/CalamaresUtilsSystem.cpp:373: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 | QIODevice::Text ) ) data/calamares-3.2.33/src/libcalamares/utils/Entropy.cpp:33: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 ( urandom.exists() && urandom.open( QIODevice::ReadOnly ) ) data/calamares-3.2.33/src/libcalamares/utils/Logger.cpp:142: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). f.open( QIODevice::ReadOnly | QIODevice::Text ); data/calamares-3.2.33/src/libcalamares/utils/Logger.cpp:151: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). f.open( QIODevice::WriteOnly | QIODevice::Text ); data/calamares-3.2.33/src/libcalamares/utils/Logger.cpp:163: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). logfile.open( logFile().toLocal8Bit(), std::ios::app ); data/calamares-3.2.33/src/libcalamares/utils/Tests.cpp:202: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). QVERIFY( tf.open() ); data/calamares-3.2.33/src/libcalamares/utils/Tests.cpp:226: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). QVERIFY( ft.open() ); data/calamares-3.2.33/src/libcalamares/utils/Tests.cpp:438: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). QVERIFY( f.open() ); data/calamares-3.2.33/src/libcalamares/utils/Tests.cpp:466: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). QVERIFY( f.open() ); data/calamares-3.2.33/src/libcalamares/utils/Yaml.cpp:191: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). if ( yamlFile.exists() && yamlFile.open( QFile::ReadOnly | QFile::Text ) ) data/calamares-3.2.33/src/libcalamares/utils/Yaml.cpp:318: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 ( !f.open( QFile::WriteOnly ) ) data/calamares-3.2.33/src/libcalamaresui/Branding.cpp:156: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). if ( file.exists() && file.open( QFile::ReadOnly | QFile::Text ) ) data/calamares-3.2.33/src/libcalamaresui/Branding.cpp:327: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). stylesheetFile.open( QFile::ReadOnly ); data/calamares-3.2.33/src/libcalamaresui/utils/Paste.cpp:27:27: [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 ( !pasteSourceFile.open( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/libcalamaresui/utils/Paste.cpp:71: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 resp[ 1024 ]; data/calamares-3.2.33/src/modules/dracutlukscfg/DracutLuksCfgJob.cpp:145:26: [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 ( !configFile.open( QIODevice::WriteOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/hostinfo/HostInfoJob.cpp:90: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 sysctl_buffer[ sysctl_buffer_size ]; data/calamares-3.2.33/src/modules/hostinfo/HostInfoJob.cpp:143: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 ( cpuinfo.open( QIODevice::ReadOnly ) ) data/calamares-3.2.33/src/modules/hostinfo/Tests.cpp:64:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( modalias.open( QIODevice::ReadOnly ) ) data/calamares-3.2.33/src/modules/keyboard/Config.cpp:119: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 ( !layoutTable.open( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/keyboard/SetKeyboardLayoutJob.cpp:93: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( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/keyboard/SetKeyboardLayoutJob.cpp:201: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/calamares-3.2.33/src/modules/keyboard/SetKeyboardLayoutJob.cpp:216: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( QIODevice::WriteOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/keyboard/SetKeyboardLayoutJob.cpp:255: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( QIODevice::WriteOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/keyboard/SetKeyboardLayoutJob.cpp:316: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( QIODevice::WriteOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/keyboard/keyboardwidget/keyboardglobal.cpp:58:8: [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). fh.open( QIODevice::ReadOnly ); data/calamares-3.2.33/src/modules/keyboard/keyboardwidget/keyboardglobal.cpp:103:8: [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). fh.open( QIODevice::ReadOnly ); data/calamares-3.2.33/src/modules/license/LicenseWidget.cpp:34: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( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/locale/Config.cpp:53:42: [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 ( supported.exists() && supported.open( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/locale/Config.cpp:67: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). if ( localeGen.open( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/locale/SetTimezoneJob.cpp:76: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). if ( !timezoneFile.open( QIODevice::WriteOnly | QIODevice::Text | QIODevice::Truncate ) ) data/calamares-3.2.33/src/modules/machineid/Tests.cpp:122: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). source.open( QIODevice::WriteOnly ); data/calamares-3.2.33/src/modules/machineid/Workers.cpp:29:26: [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 ( f.exists() && f.open( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/machineid/Workers.cpp:90: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 ( !entropyFile.open( QIODevice::WriteOnly ) ) data/calamares-3.2.33/src/modules/netinstall/Tests.cpp:315: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). QVERIFY( f.open( QIODevice::ReadOnly ) ); data/calamares-3.2.33/src/modules/oemid/IDJob.cpp:49: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 ( !output.open( QIODevice::WriteOnly ) ) data/calamares-3.2.33/src/modules/packagechooser/ItemAppData.cpp:32: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( QIODevice::ReadOnly ) ) data/calamares-3.2.33/src/modules/partition/core/PartUtils.cpp:253: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). if ( fstabFile.open( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/partition/jobs/ClearMountsJob.cpp:59: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). if ( dev_partitions.open( QFile::ReadOnly ) ) data/calamares-3.2.33/src/modules/partition/jobs/ClearTempMountsJob.cpp:49: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 ( !mtab.open( QFile::ReadOnly | QFile::Text ) ) data/calamares-3.2.33/src/modules/partition/tests/PartitionJobTests.cpp:82: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). QVERIFY( file.open( QIODevice::WriteOnly ) ); data/calamares-3.2.33/src/modules/partition/tests/PartitionJobTests.cpp:435:27: [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). QVERIFY( file.open( QIODevice::ReadOnly ) ); data/calamares-3.2.33/src/modules/preservefiles/PreserveFiles.cpp:86:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !sourcef.open( QFile::ReadOnly ) ) data/calamares-3.2.33/src/modules/preservefiles/PreserveFiles.cpp:93:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !destf.open( QFile::WriteOnly ) ) data/calamares-3.2.33/src/modules/users/Config.cpp:302:42: [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 ( dmiFile.exists() && dmiFile.open( QIODevice::ReadOnly ) ) data/calamares-3.2.33/src/modules/users/MiscJobs.cpp:78:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !groupsFile.open( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/welcome/checker/GeneralRequirements.cpp:370: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 ( typeFile.open( QIODevice::ReadOnly | QIODevice::Text ) ) data/calamares-3.2.33/src/modules/welcome/checker/partman_devices.c:45: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). fd = open(path, O_RDONLY | O_NONBLOCK); data/calamares-3.2.33/src/modules/welcome/checker/partman_devices.c:63: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). fd = open(path, O_RDONLY | O_NONBLOCK); data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp:780:13: [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. usleep(20000); data/calamares-3.2.33/3rdparty/kdsingleapplicationguard/kdtoolsglobal.cpp:22:14: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return std::equal( lhs.v, lhs.v + 3, rhs.v ); data/calamares-3.2.33/lang/txload.cpp:49:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). QByteArray ba( file.read( 1024 * 1024 ) ); data/calamares-3.2.33/src/libcalamares/GlobalStorage.cpp:139:50: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). QJsonDocument d = QJsonDocument::fromJson( f.read( 1_MiB ), &e ); data/calamares-3.2.33/src/libcalamares/geoip/test_geoip.cpp:69:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::cin.read( arr, sizeof( arr ) ); data/calamares-3.2.33/src/libcalamares/utils/Entropy.cpp:35:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). readSize = urandom.read( buffer, size ); data/calamares-3.2.33/src/libcalamares/utils/UMask.cpp:22:12: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). return umask( u ); data/calamares-3.2.33/src/modules/machineid/Workers.cpp:31:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). QByteArray v = f.read( 16 ); data/calamares-3.2.33/src/modules/preservefiles/PreserveFiles.cpp:103:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). b = sourcef.read( 1_MiB ); ANALYSIS SUMMARY: Hits = 97 Lines analyzed = 69075 in approximately 1.65 seconds (41973 lines/second) Physical Source Lines of Code (SLOC) = 47227 Hits@level = [0] 0 [1] 9 [2] 68 [3] 3 [4] 8 [5] 9 Hits@level+ = [0+] 97 [1+] 97 [2+] 88 [3+] 20 [4+] 17 [5+] 9 Hits/KSLOC@level+ = [0+] 2.05391 [1+] 2.05391 [2+] 1.86334 [3+] 0.423487 [4+] 0.359964 [5+] 0.190569 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.