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/kmail-20.08.2/kmail-refresh-settings/refreshsettringsfinishpage.cpp
Examining data/kmail-20.08.2/kmail-refresh-settings/refreshsettingscleanuppage.h
Examining data/kmail-20.08.2/kmail-refresh-settings/refreshsettingsassistant.cpp
Examining data/kmail-20.08.2/kmail-refresh-settings/main.cpp
Examining data/kmail-20.08.2/kmail-refresh-settings/refreshsettingscleanuppage.cpp
Examining data/kmail-20.08.2/kmail-refresh-settings/refreshsettingsfirstpage.h
Examining data/kmail-20.08.2/kmail-refresh-settings/refreshsettringsfinishpage.h
Examining data/kmail-20.08.2/kmail-refresh-settings/refreshsettingsfirstpage.cpp
Examining data/kmail-20.08.2/kmail-refresh-settings/refreshsettingsassistant.h
Examining data/kmail-20.08.2/agents/archivemailagent/addarchivemaildialog.h
Examining data/kmail-20.08.2/agents/archivemailagent/widgets/formatcombobox.h
Examining data/kmail-20.08.2/agents/archivemailagent/widgets/unitcombobox.h
Examining data/kmail-20.08.2/agents/archivemailagent/widgets/unitcombobox.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/widgets/formatcombobox.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailinfo.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/autotests/unitcomboboxtest.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/autotests/formatcomboboxtest.h
Examining data/kmail-20.08.2/agents/archivemailagent/autotests/archivemailinfotest.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/autotests/archivemailwidgettest.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/autotests/archivemailinfotest.h
Examining data/kmail-20.08.2/agents/archivemailagent/autotests/formatcomboboxtest.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/autotests/unitcomboboxtest.h
Examining data/kmail-20.08.2/agents/archivemailagent/autotests/archivemailwidgettest.h
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailwidget.h
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailagentutil.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailinfo.h
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailmanager.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/addarchivemaildialog.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailmanager.h
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailagent.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailagentutil.h
Examining data/kmail-20.08.2/agents/archivemailagent/job/archivejob.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/job/archivejob.h
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailwidget.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailkernel.cpp
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailkernel.h
Examining data/kmail-20.08.2/agents/archivemailagent/archivemailagent.h
Examining data/kmail-20.08.2/agents/followupreminderagent/followupremindermanager.h
Examining data/kmail-20.08.2/agents/followupreminderagent/followupreminderinfoconfigwidget.h
Examining data/kmail-20.08.2/agents/followupreminderagent/jobs/followupreminderfinishtaskjob.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/jobs/followupremindershowmessagejob.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/jobs/followupremindershowmessagejob.h
Examining data/kmail-20.08.2/agents/followupreminderagent/jobs/followupreminderfinishtaskjob.h
Examining data/kmail-20.08.2/agents/followupreminderagent/jobs/followupreminderjob.h
Examining data/kmail-20.08.2/agents/followupreminderagent/jobs/followupreminderjob.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/autotests/followupremindernoanswerdialogtest.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/autotests/followupreminderconfigtest.h
Examining data/kmail-20.08.2/agents/followupreminderagent/autotests/followupremindernoanswerdialogtest.h
Examining data/kmail-20.08.2/agents/followupreminderagent/autotests/followupreminderinfotest.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/autotests/followupreminderconfigtest.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/autotests/followupreminderinfotest.h
Examining data/kmail-20.08.2/agents/followupreminderagent/followupreminderutil.h
Examining data/kmail-20.08.2/agents/followupreminderagent/followupreminderinfo.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/followupremindernoanswerdialog.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/followupremindernoanswerdialog.h
Examining data/kmail-20.08.2/agents/followupreminderagent/followupreminderinfowidget.h
Examining data/kmail-20.08.2/agents/followupreminderagent/followupreminderinfo.h
Examining data/kmail-20.08.2/agents/followupreminderagent/followupreminderinfowidget.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/followupreminderagent.h
Examining data/kmail-20.08.2/agents/followupreminderagent/followupreminderutil.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/followupremindermanager.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/followupreminderinfoconfigwidget.cpp
Examining data/kmail-20.08.2/agents/followupreminderagent/followupreminderagent.cpp
Examining data/kmail-20.08.2/agents/mailfilteragent/dummykernel.h
Examining data/kmail-20.08.2/agents/mailfilteragent/mailfilterpurposemenuwidget.h
Examining data/kmail-20.08.2/agents/mailfilteragent/mailfilteragent.cpp
Examining data/kmail-20.08.2/agents/mailfilteragent/filterlogdialog.h
Examining data/kmail-20.08.2/agents/mailfilteragent/filtermanager.h
Examining data/kmail-20.08.2/agents/mailfilteragent/filtermanager.cpp
Examining data/kmail-20.08.2/agents/mailfilteragent/mailfilteragent.h
Examining data/kmail-20.08.2/agents/mailfilteragent/dummykernel.cpp
Examining data/kmail-20.08.2/agents/mailfilteragent/mailfilterpurposemenuwidget.cpp
Examining data/kmail-20.08.2/agents/mailfilteragent/filterlogdialog.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/sendlatermanager.h
Examining data/kmail-20.08.2/agents/sendlateragent/autotests/sendlaterconfigtest.h
Examining data/kmail-20.08.2/agents/sendlateragent/autotests/sendlaterutiltest.h
Examining data/kmail-20.08.2/agents/sendlateragent/autotests/sendlaterconfiguredialogtest.h
Examining data/kmail-20.08.2/agents/sendlateragent/autotests/sendlaterconfiguredialogtest.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/autotests/sendlaterutiltest.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/autotests/sendlaterconfigtest.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterconfigurewidget.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterutil_p.h
Examining data/kmail-20.08.2/agents/sendlateragent/sendlateragent.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/tests/sendlaterinfo_gui.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterconfiguredialog.h
Examining data/kmail-20.08.2/agents/sendlateragent/sendlateragent.h
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterremovemessagejob.h
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterutil.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterconfiguredialog.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterjob.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterremovemessagejob.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterconfigurewidget.h
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterjob.h
Examining data/kmail-20.08.2/agents/sendlateragent/sendlatermanager.cpp
Examining data/kmail-20.08.2/agents/sendlateragent/sendlaterutil.h
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/mailkernel.h
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/autotests/unifiedmailboxmanagertest.cpp
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/unifiedmailboxagent.h
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/unifiedmailboxagent.cpp
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/common.h
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/unifiedmailboxmanager.h
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/utils.h
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/settingsdialog.cpp
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/unifiedmailbox.cpp
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/unifiedmailboxeditor.h
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/unifiedmailbox.h
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/unifiedmailboxmanager.cpp
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/settingsdialog.h
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/mailkernel.cpp
Examining data/kmail-20.08.2/agents/unifiedmailboxagent/unifiedmailboxeditor.cpp
Examining data/kmail-20.08.2/src/kmmigrateapplication.cpp
Examining data/kmail-20.08.2/src/kmail_part.cpp
Examining data/kmail-20.08.2/src/kmlaunchexternalcomponent.h
Examining data/kmail-20.08.2/src/kmail_part.h
Examining data/kmail-20.08.2/src/mailserviceimpl.h
Examining data/kmail-20.08.2/src/widgets/displaymessageformatactionmenu.cpp
Examining data/kmail-20.08.2/src/widgets/displaymessageformatactionmenu.h
Examining data/kmail-20.08.2/src/widgets/vacationscriptindicatorwidget.cpp
Examining data/kmail-20.08.2/src/widgets/vacationscriptindicatorwidget.h
Examining data/kmail-20.08.2/src/widgets/zoomlabelwidget.cpp
Examining data/kmail-20.08.2/src/widgets/kactionmenutransport.cpp
Examining data/kmail-20.08.2/src/widgets/zoomlabelwidget.h
Examining data/kmail-20.08.2/src/widgets/collectionpane.cpp
Examining data/kmail-20.08.2/src/widgets/kactionmenuaccount.cpp
Examining data/kmail-20.08.2/src/widgets/kactionmenutransport.h
Examining data/kmail-20.08.2/src/widgets/kactionmenuaccount.h
Examining data/kmail-20.08.2/src/widgets/collectionpane.h
Examining data/kmail-20.08.2/src/kmreaderwin.h
Examining data/kmail-20.08.2/src/autotests/tagselectdialogtest.cpp
Examining data/kmail-20.08.2/src/autotests/cryptostateindicatorwidgettest.cpp
Examining data/kmail-20.08.2/src/autotests/displaymessageformatactionmenutest.h
Examining data/kmail-20.08.2/src/autotests/kactionmenutransporttest.cpp
Examining data/kmail-20.08.2/src/autotests/kmcommandstest.cpp
Examining data/kmail-20.08.2/src/autotests/kactionmenutransporttest.h
Examining data/kmail-20.08.2/src/autotests/identityaddvcarddialogtest.h
Examining data/kmail-20.08.2/src/autotests/cryptostateindicatorwidgettest.h
Examining data/kmail-20.08.2/src/autotests/tagselectdialogtest.h
Examining data/kmail-20.08.2/src/autotests/createfollowupreminderonexistingmessagejobtest.h
Examining data/kmail-20.08.2/src/autotests/displaymessageformatactionmenutest.cpp
Examining data/kmail-20.08.2/src/autotests/kmcommandstest.h
Examining data/kmail-20.08.2/src/autotests/createfollowupreminderonexistingmessagejobtest.cpp
Examining data/kmail-20.08.2/src/autotests/identityaddvcarddialogtest.cpp
Examining data/kmail-20.08.2/src/mailserviceimpl.cpp
Examining data/kmail-20.08.2/src/kmreadermainwin.h
Examining data/kmail-20.08.2/src/kmail_private_export.h
Examining data/kmail-20.08.2/src/aboutdata.h
Examining data/kmail-20.08.2/src/sieveimapinterface/kmailsieveimapinstanceinterface.cpp
Examining data/kmail-20.08.2/src/sieveimapinterface/kmailsieveimapinstanceinterface.h
Examining data/kmail-20.08.2/src/sieveimapinterface/tests/vacation/main.cpp
Examining data/kmail-20.08.2/src/sieveimapinterface/tests/sievemanagerdialog/sievemanagerdialog.cpp
Examining data/kmail-20.08.2/src/sieveimapinterface/tests/sievedebugdialog/sievedebugdialog.cpp
Examining data/kmail-20.08.2/src/sieveimapinterface/kmsieveimappasswordprovider.h
Examining data/kmail-20.08.2/src/sieveimapinterface/kmsieveimappasswordprovider.cpp
Examining data/kmail-20.08.2/src/tests/searchdbustest.cpp
Examining data/kmail-20.08.2/src/tests/searchmailertest.cpp
Examining data/kmail-20.08.2/src/tests/searchdbustest.h
Examining data/kmail-20.08.2/src/tests/ktoolinvocationtest.cpp
Examining data/kmail-20.08.2/src/tests/dbustest.cpp
Examining data/kmail-20.08.2/src/util.h
Examining data/kmail-20.08.2/src/userfeedback/kmailuserfeedbackprovider.h
Examining data/kmail-20.08.2/src/userfeedback/plugininfosource.cpp
Examining data/kmail-20.08.2/src/userfeedback/accountinfosource.cpp
Examining data/kmail-20.08.2/src/userfeedback/accountinfosource.h
Examining data/kmail-20.08.2/src/userfeedback/kmailuserfeedbackprovider.cpp
Examining data/kmail-20.08.2/src/userfeedback/plugininfosource.h
Examining data/kmail-20.08.2/src/manageshowcollectionproperties.h
Examining data/kmail-20.08.2/src/kmail_options.h
Examining data/kmail-20.08.2/src/identity/identityfolderrequester.cpp
Examining data/kmail-20.08.2/src/identity/identityinvalidfolder.h
Examining data/kmail-20.08.2/src/identity/identityeditvcarddialog.cpp
Examining data/kmail-20.08.2/src/identity/newidentitydialog.cpp
Examining data/kmail-20.08.2/src/identity/identitylistview.h
Examining data/kmail-20.08.2/src/identity/identityaddvcarddialog.cpp
Examining data/kmail-20.08.2/src/identity/identitypage.h
Examining data/kmail-20.08.2/src/identity/identitypage.cpp
Examining data/kmail-20.08.2/src/identity/identityinvalidfolder.cpp
Examining data/kmail-20.08.2/src/identity/xfaceconfigurator.cpp
Examining data/kmail-20.08.2/src/identity/identityeditvcarddialog.h
Examining data/kmail-20.08.2/src/identity/identityaddvcarddialog.h
Examining data/kmail-20.08.2/src/identity/xfaceconfigurator.h
Examining data/kmail-20.08.2/src/identity/newidentitydialog.h
Examining data/kmail-20.08.2/src/identity/identitydialog.cpp
Examining data/kmail-20.08.2/src/identity/identityfolderrequester.h
Examining data/kmail-20.08.2/src/identity/identitylistview.cpp
Examining data/kmail-20.08.2/src/identity/identitydialog.h
Examining data/kmail-20.08.2/src/kmkernel.cpp
Examining data/kmail-20.08.2/src/dialog/archivefolderdialog.h
Examining data/kmail-20.08.2/src/dialog/addemailtoexistingcontactdialog.h
Examining data/kmail-20.08.2/src/dialog/kmknotify.h
Examining data/kmail-20.08.2/src/dialog/kmknotify.cpp
Examining data/kmail-20.08.2/src/dialog/addemailtoexistingcontactdialog.cpp
Examining data/kmail-20.08.2/src/dialog/spellcheckerconfigdialog.h
Examining data/kmail-20.08.2/src/dialog/archivefolderdialog.cpp
Examining data/kmail-20.08.2/src/dialog/spellcheckerconfigdialog.cpp
Examining data/kmail-20.08.2/src/search/checkindexingmanager.cpp
Examining data/kmail-20.08.2/src/search/checkindexingjob.h
Examining data/kmail-20.08.2/src/search/checkindexingjob.cpp
Examining data/kmail-20.08.2/src/search/checkindexingmanager.h
Examining data/kmail-20.08.2/src/kmmainwidget.h
Examining data/kmail-20.08.2/src/plugininterface/kmailplugininterface.cpp
Examining data/kmail-20.08.2/src/plugininterface/kmailplugininterface.h
Examining data/kmail-20.08.2/src/messageactions.h
Examining data/kmail-20.08.2/src/undosend/autotests/undosendcreatejobtest.cpp
Examining data/kmail-20.08.2/src/undosend/autotests/undosendcomboboxtest.cpp
Examining data/kmail-20.08.2/src/undosend/autotests/undosendcreatejobtest.h
Examining data/kmail-20.08.2/src/undosend/autotests/undosendcomboboxtest.h
Examining data/kmail-20.08.2/src/undosend/undosendmanager.h
Examining data/kmail-20.08.2/src/undosend/undosendcreatejob.cpp
Examining data/kmail-20.08.2/src/undosend/undosendcombobox.h
Examining data/kmail-20.08.2/src/undosend/undosendcombobox.cpp
Examining data/kmail-20.08.2/src/undosend/undosendmanager.cpp
Examining data/kmail-20.08.2/src/undosend/undosendcreatejob.h
Examining data/kmail-20.08.2/src/messageactions.cpp
Examining data/kmail-20.08.2/src/kmsystemtray.h
Examining data/kmail-20.08.2/src/tag/tagselectdialog.h
Examining data/kmail-20.08.2/src/tag/tagactionmanager.h
Examining data/kmail-20.08.2/src/tag/tagselectdialog.cpp
Examining data/kmail-20.08.2/src/tag/tagactionmanager.cpp
Examining data/kmail-20.08.2/src/unityservicemanager.cpp
Examining data/kmail-20.08.2/src/kmkernel.h
Examining data/kmail-20.08.2/src/kmmigrateapplication.h
Examining data/kmail-20.08.2/src/job/markallmessagesasreadinfolderandsubfolderjob.h
Examining data/kmail-20.08.2/src/job/createnewcontactjob.cpp
Examining data/kmail-20.08.2/src/job/createforwardmessagejob.cpp
Examining data/kmail-20.08.2/src/job/composenewmessagejob.cpp
Examining data/kmail-20.08.2/src/job/autotests/createreplymessagejobtest.h
Examining data/kmail-20.08.2/src/job/autotests/createreplymessagejobtest.cpp
Examining data/kmail-20.08.2/src/job/autotests/createforwardmessagejobtest.cpp
Examining data/kmail-20.08.2/src/job/autotests/createforwardmessagejobtest.h
Examining data/kmail-20.08.2/src/job/createforwardmessagejob.h
Examining data/kmail-20.08.2/src/job/removeduplicatemessageinfolderandsubfolderjob.h
Examining data/kmail-20.08.2/src/job/opencomposerjob.h
Examining data/kmail-20.08.2/src/job/createreplymessagejob.cpp
Examining data/kmail-20.08.2/src/job/addressvalidationjob.h
Examining data/kmail-20.08.2/src/job/createnewcontactjob.h
Examining data/kmail-20.08.2/src/job/removeduplicatemailjob.cpp
Examining data/kmail-20.08.2/src/job/createfollowupreminderonexistingmessagejob.cpp
Examining data/kmail-20.08.2/src/job/savedraftjob.h
Examining data/kmail-20.08.2/src/job/addressvalidationjob.cpp
Examining data/kmail-20.08.2/src/job/removecollectionjob.h
Examining data/kmail-20.08.2/src/job/newmessagejob.h
Examining data/kmail-20.08.2/src/job/saveasfilejob.cpp
Examining data/kmail-20.08.2/src/job/dndfromarkjob.h
Examining data/kmail-20.08.2/src/job/saveasfilejob.h
Examining data/kmail-20.08.2/src/job/handleclickedurljob.h
Examining data/kmail-20.08.2/src/job/createfollowupreminderonexistingmessagejob.h
Examining data/kmail-20.08.2/src/job/newmessagejob.cpp
Examining data/kmail-20.08.2/src/job/removeduplicatemessageinfolderandsubfolderjob.cpp
Examining data/kmail-20.08.2/src/job/dndfromarkjob.cpp
Examining data/kmail-20.08.2/src/job/removeduplicatemailjob.h
Examining data/kmail-20.08.2/src/job/fillcomposerjob.h
Examining data/kmail-20.08.2/src/job/composenewmessagejob.h
Examining data/kmail-20.08.2/src/job/removecollectionjob.cpp
Examining data/kmail-20.08.2/src/job/opencomposerhiddenjob.cpp
Examining data/kmail-20.08.2/src/job/markallmessagesasreadinfolderandsubfolderjob.cpp
Examining data/kmail-20.08.2/src/job/fillcomposerjob.cpp
Examining data/kmail-20.08.2/src/job/addemailtoexistingcontactjob.h
Examining data/kmail-20.08.2/src/job/handleclickedurljob.cpp
Examining data/kmail-20.08.2/src/job/savedraftjob.cpp
Examining data/kmail-20.08.2/src/job/createtaskjob.cpp
Examining data/kmail-20.08.2/src/job/createtaskjob.h
Examining data/kmail-20.08.2/src/job/addemailtoexistingcontactjob.cpp
Examining data/kmail-20.08.2/src/job/opencomposerjob.cpp
Examining data/kmail-20.08.2/src/job/createreplymessagejob.h
Examining data/kmail-20.08.2/src/job/opencomposerhiddenjob.h
Examining data/kmail-20.08.2/src/kcm_kmail.cpp
Examining data/kmail-20.08.2/src/settings/kmailsettings.h
Examining data/kmail-20.08.2/src/settings/kmailsettings.cpp
Examining data/kmail-20.08.2/src/kmcommands.cpp
Examining data/kmail-20.08.2/src/kmreadermainwin.cpp
Examining data/kmail-20.08.2/src/kmcommands.h
Examining data/kmail-20.08.2/src/main.cpp
Examining data/kmail-20.08.2/src/collectionpage/collectionmailinglistpage.cpp
Examining data/kmail-20.08.2/src/collectionpage/collectiontemplatespage.cpp
Examining data/kmail-20.08.2/src/collectionpage/collectionquotawidget.h
Examining data/kmail-20.08.2/src/collectionpage/collectiontemplatespage.h
Examining data/kmail-20.08.2/src/collectionpage/collectionviewpage.cpp
Examining data/kmail-20.08.2/src/collectionpage/collectionquotawidget.cpp
Examining data/kmail-20.08.2/src/collectionpage/collectionmailinglistpage.h
Examining data/kmail-20.08.2/src/collectionpage/collectionshortcutpage.cpp
Examining data/kmail-20.08.2/src/collectionpage/collectionviewpage.h
Examining data/kmail-20.08.2/src/collectionpage/collectionshortcutpage.h
Examining data/kmail-20.08.2/src/collectionpage/collectionquotapage.cpp
Examining data/kmail-20.08.2/src/collectionpage/collectionquotapage.h
Examining data/kmail-20.08.2/src/foldershortcutactionmanager.cpp
Examining data/kmail-20.08.2/src/undostack.cpp
Examining data/kmail-20.08.2/src/searchdialog/searchpatternwarning.h
Examining data/kmail-20.08.2/src/searchdialog/searchwindow.cpp
Examining data/kmail-20.08.2/src/searchdialog/incompleteindexdialog.cpp
Examining data/kmail-20.08.2/src/searchdialog/kmsearchmessagemodel.h
Examining data/kmail-20.08.2/src/searchdialog/searchpatternwarning.cpp
Examining data/kmail-20.08.2/src/searchdialog/incompleteindexdialog.h
Examining data/kmail-20.08.2/src/searchdialog/kmsearchmessagemodel.cpp
Examining data/kmail-20.08.2/src/searchdialog/searchdescriptionattribute.h
Examining data/kmail-20.08.2/src/searchdialog/kmailsearchpatternedit.cpp
Examining data/kmail-20.08.2/src/searchdialog/searchwindow.h
Examining data/kmail-20.08.2/src/searchdialog/searchdescriptionattribute.cpp
Examining data/kmail-20.08.2/src/searchdialog/kmailsearchpatternedit.h
Examining data/kmail-20.08.2/src/secondarywindow.cpp
Examining data/kmail-20.08.2/src/kmmainwin.h
Examining data/kmail-20.08.2/src/kontactplugin/summary/kcmkontactsummary.h
Examining data/kmail-20.08.2/src/kontactplugin/summary/summaryview_plugin.cpp
Examining data/kmail-20.08.2/src/kontactplugin/summary/summaryview_plugin.h
Examining data/kmail-20.08.2/src/kontactplugin/summary/kcmkontactsummary.cpp
Examining data/kmail-20.08.2/src/kontactplugin/summary/summaryview_part.h
Examining data/kmail-20.08.2/src/kontactplugin/summary/summaryview_part.cpp
Examining data/kmail-20.08.2/src/kontactplugin/summary/dropwidget.cpp
Examining data/kmail-20.08.2/src/kontactplugin/summary/dropwidget.h
Examining data/kmail-20.08.2/src/kontactplugin/kmail/summarywidget.cpp
Examining data/kmail-20.08.2/src/kontactplugin/kmail/kcmkmailsummary.cpp
Examining data/kmail-20.08.2/src/kontactplugin/kmail/kcmkmailsummary.h
Examining data/kmail-20.08.2/src/kontactplugin/kmail/summarywidget.h
Examining data/kmail-20.08.2/src/kontactplugin/kmail/kmail_plugin.cpp
Examining data/kmail-20.08.2/src/kontactplugin/kmail/kmail_plugin.h
Examining data/kmail-20.08.2/src/kmmainwin.cpp
Examining data/kmail-20.08.2/src/folderarchive/folderarchiveagentcheckcollection.cpp
Examining data/kmail-20.08.2/src/folderarchive/folderarchiveutil.h
Examining data/kmail-20.08.2/src/folderarchive/autotests/folderarchiveaccountinfotest.cpp
Examining data/kmail-20.08.2/src/folderarchive/autotests/folderarchiveaccountinfotest.h
Examining data/kmail-20.08.2/src/folderarchive/folderarchivemanager.cpp
Examining data/kmail-20.08.2/src/folderarchive/folderarchiveagentjob.cpp
Examining data/kmail-20.08.2/src/folderarchive/folderarchiveaccountinfo.h
Examining data/kmail-20.08.2/src/folderarchive/folderarchiveagentjob.h
Examining data/kmail-20.08.2/src/folderarchive/folderarchivemanager.h
Examining data/kmail-20.08.2/src/folderarchive/folderarchivecache.cpp
Examining data/kmail-20.08.2/src/folderarchive/folderarchiveaccountinfo.cpp
Examining data/kmail-20.08.2/src/folderarchive/folderarchivecache.h
Examining data/kmail-20.08.2/src/folderarchive/folderarchiveagentcheckcollection.h
Examining data/kmail-20.08.2/src/folderarchive/folderarchiveutil.cpp
Examining data/kmail-20.08.2/src/unityservicemanager.h
Examining data/kmail-20.08.2/src/foldershortcutactionmanager.h
Examining data/kmail-20.08.2/src/kmlaunchexternalcomponent.cpp
Examining data/kmail-20.08.2/src/kmreaderwin.cpp
Examining data/kmail-20.08.2/src/attributes/taskattribute.cpp
Examining data/kmail-20.08.2/src/attributes/taskattribute.h
Examining data/kmail-20.08.2/src/manageshowcollectionproperties.cpp
Examining data/kmail-20.08.2/src/kmsystemtray.cpp
Examining data/kmail-20.08.2/src/secondarywindow.h
Examining data/kmail-20.08.2/src/util.cpp
Examining data/kmail-20.08.2/src/configuredialog/configuresecuritypage.cpp
Examining data/kmail-20.08.2/src/configuredialog/configureappearancepage.h
Examining data/kmail-20.08.2/src/configuredialog/configuredialog.h
Examining data/kmail-20.08.2/src/configuredialog/configagentdelegate.cpp
Examining data/kmail-20.08.2/src/configuredialog/configuredialog_p.cpp
Examining data/kmail-20.08.2/src/configuredialog/configurecomposerpage.h
Examining data/kmail-20.08.2/src/configuredialog/configurepluginpage.cpp
Examining data/kmail-20.08.2/src/configuredialog/configurecomposerpage.cpp
Examining data/kmail-20.08.2/src/configuredialog/colorlistbox.cpp
Examining data/kmail-20.08.2/src/configuredialog/configureplugins/configurepluginslistwidget.h
Examining data/kmail-20.08.2/src/configuredialog/configureplugins/configurepluginslistwidget.cpp
Examining data/kmail-20.08.2/src/configuredialog/configuredialoglistview.cpp
Examining data/kmail-20.08.2/src/configuredialog/configmodule.h
Examining data/kmail-20.08.2/src/configuredialog/configuredialog_p.h
Examining data/kmail-20.08.2/src/configuredialog/configureappearancepage.cpp
Examining data/kmail-20.08.2/src/configuredialog/configuredialog.cpp
Examining data/kmail-20.08.2/src/configuredialog/configurepluginpage.h
Examining data/kmail-20.08.2/src/configuredialog/configuremiscpage.cpp
Examining data/kmail-20.08.2/src/configuredialog/configureaccountpage.h
Examining data/kmail-20.08.2/src/configuredialog/configagentdelegate.h
Examining data/kmail-20.08.2/src/configuredialog/configuredialoglistview.h
Examining data/kmail-20.08.2/src/configuredialog/configureaccountpage.cpp
Examining data/kmail-20.08.2/src/configuredialog/configuremiscpage.h
Examining data/kmail-20.08.2/src/configuredialog/colorlistbox.h
Examining data/kmail-20.08.2/src/configuredialog/configuresecuritypage.h
Examining data/kmail-20.08.2/src/editor/kmcomposerglobalaction.h
Examining data/kmail-20.08.2/src/editor/kmcomposereditorng.cpp
Examining data/kmail-20.08.2/src/editor/attachment/attachmentview.h
Examining data/kmail-20.08.2/src/editor/attachment/attachmentcontroller.h
Examining data/kmail-20.08.2/src/editor/attachment/attachmentview.cpp
Examining data/kmail-20.08.2/src/editor/attachment/attachmentcontroller.cpp
Examining data/kmail-20.08.2/src/editor/composer.h
Examining data/kmail-20.08.2/src/editor/widgets/cryptostateindicatorwidget.cpp
Examining data/kmail-20.08.2/src/editor/widgets/cryptostateindicatorwidget.h
Examining data/kmail-20.08.2/src/editor/validatesendmailshortcut.cpp
Examining data/kmail-20.08.2/src/editor/kmcomposerwin.cpp
Examining data/kmail-20.08.2/src/editor/pimmessagebox.h
Examining data/kmail-20.08.2/src/editor/codec/codecaction.h
Examining data/kmail-20.08.2/src/editor/codec/codecmanager.cpp
Examining data/kmail-20.08.2/src/editor/codec/codecaction.cpp
Examining data/kmail-20.08.2/src/editor/codec/codecmanager.h
Examining data/kmail-20.08.2/src/editor/kmcomposerupdatetemplatejob.h
Examining data/kmail-20.08.2/src/editor/kmcomposerupdatetemplatejob.cpp
Examining data/kmail-20.08.2/src/editor/plugininterface/kmailplugineditorcheckbeforesendmanagerinterface.cpp
Examining data/kmail-20.08.2/src/editor/plugininterface/kmailplugineditormanagerinterface.cpp
Examining data/kmail-20.08.2/src/editor/plugininterface/kmailplugineditorinitmanagerinterface.cpp
Examining data/kmail-20.08.2/src/editor/plugininterface/kmailplugineditorinitmanagerinterface.h
Examining data/kmail-20.08.2/src/editor/plugininterface/kmailplugineditorcheckbeforesendmanagerinterface.h
Examining data/kmail-20.08.2/src/editor/plugininterface/kmailplugineditorconverttextmanagerinterface.h
Examining data/kmail-20.08.2/src/editor/plugininterface/kmailplugingrammareditormanagerinterface.cpp
Examining data/kmail-20.08.2/src/editor/plugininterface/kmailplugingrammareditormanagerinterface.h
Examining data/kmail-20.08.2/src/editor/plugininterface/kmailplugineditormanagerinterface.h
Examining data/kmail-20.08.2/src/editor/plugininterface/kmailplugineditorconverttextmanagerinterface.cpp
Examining data/kmail-20.08.2/src/editor/kmcomposerwin.h
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/potentialphishingemailjob.cpp
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/autotests/potentialphishingdetaildialogtest.h
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/autotests/potentialphishingemailwarningtest.h
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/autotests/potentialphishingemailjobtest.cpp
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/autotests/potentialphishingdetailwidgettest.h
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/autotests/potentialphishingemailjobtest.h
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/autotests/potentialphishingdetailwidgettest.cpp
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/autotests/potentialphishingemailwarningtest.cpp
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/autotests/potentialphishingdetaildialogtest.cpp
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/potentialphishingemailwarning.h
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/potentialphishingdetaildialog.cpp
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/potentialphishingemailjob.h
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/potentialphishingdetailwidget.cpp
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/potentialphishingdetaildialog.h
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/potentialphishingemailwarning.cpp
Examining data/kmail-20.08.2/src/editor/potentialphishingemail/potentialphishingdetailwidget.h
Examining data/kmail-20.08.2/src/editor/composer.cpp
Examining data/kmail-20.08.2/src/editor/kmcomposerglobalaction.cpp
Examining data/kmail-20.08.2/src/editor/kmcomposereditorng.h
Examining data/kmail-20.08.2/src/editor/kmcomposercreatenewcomposerjob.h
Examining data/kmail-20.08.2/src/editor/kmcomposercreatenewcomposerjob.cpp
Examining data/kmail-20.08.2/src/editor/pimmessagebox.cpp
Examining data/kmail-20.08.2/src/editor/validatesendmailshortcut.h
Examining data/kmail-20.08.2/src/editor/warningwidgets/externaleditorwarning.h
Examining data/kmail-20.08.2/src/editor/warningwidgets/attachmentaddedfromexternalwarning.cpp
Examining data/kmail-20.08.2/src/editor/warningwidgets/autotests/externaleditorwarningtest.h
Examining data/kmail-20.08.2/src/editor/warningwidgets/autotests/incorrectidentityfolderwarningtest.h
Examining data/kmail-20.08.2/src/editor/warningwidgets/autotests/incorrectidentityfolderwarningtest.cpp
Examining data/kmail-20.08.2/src/editor/warningwidgets/autotests/externaleditorwarningtest.cpp
Examining data/kmail-20.08.2/src/editor/warningwidgets/attachmentmissingwarning.cpp
Examining data/kmail-20.08.2/src/editor/warningwidgets/incorrectidentityfolderwarning.cpp
Examining data/kmail-20.08.2/src/editor/warningwidgets/incorrectidentityfolderwarning.h
Examining data/kmail-20.08.2/src/editor/warningwidgets/attachmentmissingwarning.h
Examining data/kmail-20.08.2/src/editor/warningwidgets/externaleditorwarning.cpp
Examining data/kmail-20.08.2/src/editor/warningwidgets/attachmentaddedfromexternalwarning.h
Examining data/kmail-20.08.2/src/aboutdata.cpp
Examining data/kmail-20.08.2/src/undostack.h
Examining data/kmail-20.08.2/src/kmmainwidget.cpp
Examining data/kmail-20.08.2/ktnef/src/messagepropertydialog.cpp
Examining data/kmail-20.08.2/ktnef/src/metafuncs.h
Examining data/kmail-20.08.2/ktnef/src/qwmf.h
Examining data/kmail-20.08.2/ktnef/src/wmfstruct.h
Examining data/kmail-20.08.2/ktnef/src/attachpropertydialog.cpp
Examining data/kmail-20.08.2/ktnef/src/ktnefview.h
Examining data/kmail-20.08.2/ktnef/src/ktnefmain.cpp
Examining data/kmail-20.08.2/ktnef/src/main.cpp
Examining data/kmail-20.08.2/ktnef/src/qwmf.cpp
Examining data/kmail-20.08.2/ktnef/src/ktnefview.cpp
Examining data/kmail-20.08.2/ktnef/src/messagepropertydialog.h
Examining data/kmail-20.08.2/ktnef/src/attachpropertydialog.h
Examining data/kmail-20.08.2/ktnef/src/ktnefmain.h

FINAL RESULTS:

data/kmail-20.08.2/agents/archivemailagent/archivemailinfo.cpp:90: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.
    const char *extensions[numExtensions] = { ".zip", ".tar", ".tar.bz2", ".tar.gz" };
data/kmail-20.08.2/agents/archivemailagent/archivemailinfo.cpp:104: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.
    const char *extensions[numExtensions] = { ".zip", ".tar", ".tar.bz2", ".tar.gz" };
data/kmail-20.08.2/ktnef/src/attachpropertydialog.cpp:196: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 (f.open(QIODevice::WriteOnly)) {
data/kmail-20.08.2/ktnef/src/attachpropertydialog.cpp:230: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).
        rendBuffer.open(QIODevice::ReadOnly);
data/kmail-20.08.2/ktnef/src/attachpropertydialog.cpp:243: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).
            wmfBuffer.open(QIODevice::ReadOnly);
data/kmail-20.08.2/ktnef/src/ktnefmain.cpp:111: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).
    KStandardAction::open(this, &KTNEFMain::openFile, actionCollection());
data/kmail-20.08.2/ktnef/src/ktnefmain.cpp:507: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).
        tmpFile->open();
data/kmail-20.08.2/ktnef/src/ktnefmain.cpp:534: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 (f.open(QIODevice::WriteOnly)) {
data/kmail-20.08.2/ktnef/src/qwmf.cpp:159:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!file.open(QIODevice::ReadOnly)) {
data/kmail-20.08.2/ktnef/src/qwmf.cpp:168: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).
    buffer.open(QIODevice::ReadOnly);
data/kmail-20.08.2/ktnef/src/qwmf.cpp:725: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(&copyParm[ 4 ], &parm[ 1 ], parm[ 0 ]);
data/kmail-20.08.2/ktnef/src/qwmf.cpp:1084: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 swap[ 4 ];
data/kmail-20.08.2/src/dialog/archivefolderdialog.cpp:207: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.
    const char *extensions[numExtensions] = { ".zip", ".tar", ".tar.bz2", ".tar.gz" };
data/kmail-20.08.2/src/identity/identityeditvcarddialog.cpp:104:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (file.open(QIODevice::ReadOnly)) {
data/kmail-20.08.2/src/identity/identityeditvcarddialog.cpp:120:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (file.open(QIODevice::WriteOnly | QIODevice::Text)) {
data/kmail-20.08.2/src/job/opencomposerjob.cpp:87: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 (!f.open(QIODevice::ReadOnly)) {
data/kmail-20.08.2/src/kmkernel.cpp:996: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 (autoSaveFile.open(QIODevice::ReadOnly)) {
data/kmail-20.08.2/src/kmmainwidget.cpp:2857:36:  [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).
    mOpenAction = KStandardAction::open(this, &KMMainWidget::slotOpenMsg,
data/kmail-20.08.2/src/kontactplugin/kmail/kmail_plugin.cpp:117: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).
        tmp.open();

ANALYSIS SUMMARY:

Hits = 19
Lines analyzed = 67263 in approximately 4.37 seconds (15384 lines/second)
Physical Source Lines of Code (SLOC) = 47307
Hits@level = [0]   6 [1]   0 [2]  19 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  25 [1+]  19 [2+]  19 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.528463 [1+] 0.401632 [2+] 0.401632 [3+]   0 [4+]   0 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.