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/rkward-0.7.2/rkward/rkward.cpp
Examining data/rkward-0.7.2/rkward/dialogs/rkreadlinedialog.h
Examining data/rkward-0.7.2/rkward/dialogs/rkrecoverdialog.cpp
Examining data/rkward-0.7.2/rkward/dialogs/rkimportdialog.h
Examining data/rkward-0.7.2/rkward/dialogs/rkreadlinedialog.cpp
Examining data/rkward-0.7.2/rkward/dialogs/startupdialog.cpp
Examining data/rkward-0.7.2/rkward/dialogs/rkloadlibsdialog.h
Examining data/rkward-0.7.2/rkward/dialogs/rkimportdialog.cpp
Examining data/rkward-0.7.2/rkward/dialogs/rkerrordialog.h
Examining data/rkward-0.7.2/rkward/dialogs/startupdialog.h
Examining data/rkward-0.7.2/rkward/dialogs/rkselectlistdialog.h
Examining data/rkward-0.7.2/rkward/dialogs/rkerrordialog.cpp
Examining data/rkward-0.7.2/rkward/dialogs/rksetupwizard.h
Examining data/rkward-0.7.2/rkward/dialogs/rkrecoverdialog.h
Examining data/rkward-0.7.2/rkward/dialogs/rkloadlibsdialog.cpp
Examining data/rkward-0.7.2/rkward/dialogs/rksetupwizard.cpp
Examining data/rkward-0.7.2/rkward/dialogs/rkselectlistdialog.cpp
Examining data/rkward-0.7.2/rkward/rkward.h
Examining data/rkward-0.7.2/rkward/plugin/rkdropdown.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkpluginframe.h
Examining data/rkward-0.7.2/rkward/plugin/rkpluginbrowser.h
Examining data/rkward-0.7.2/rkward/plugin/rkcheckbox.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkpluginsaveobject.h
Examining data/rkward-0.7.2/rkward/plugin/rkpreviewbox.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkvarslot.h
Examining data/rkward-0.7.2/rkward/plugin/rkcomponentproperties.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkformula.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkpluginframe.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkvarselector.h
Examining data/rkward-0.7.2/rkward/plugin/rkpluginbrowser.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkdropdown.h
Examining data/rkward-0.7.2/rkward/plugin/rkcomponent.h
Examining data/rkward-0.7.2/rkward/plugin/rkvalueselector.h
Examining data/rkward-0.7.2/rkward/plugin/rktabpage.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkcomponentmap.h
Examining data/rkward-0.7.2/rkward/plugin/rkvarslot.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkvalueselector.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkcomponentmeta.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkcomponentmeta.h
Examining data/rkward-0.7.2/rkward/plugin/rkoptionset.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkpreviewbox.h
Examining data/rkward-0.7.2/rkward/plugin/rkoptionset.h
Examining data/rkward-0.7.2/rkward/plugin/rkstandardcomponentgui.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkabstractoptionselector.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkcomponentmap.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkpluginsaveobject.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkinput.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkpluginspinbox.cpp
Examining data/rkward-0.7.2/rkward/plugin/rktext.h
Examining data/rkward-0.7.2/rkward/plugin/rktext.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkstandardcomponent.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkstandardcomponentgui.h
Examining data/rkward-0.7.2/rkward/plugin/rkformula.h
Examining data/rkward-0.7.2/rkward/plugin/rkmatrixinput.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkstandardcomponent.h
Examining data/rkward-0.7.2/rkward/plugin/rkvarselector.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkradio.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkcomponentcontext.h
Examining data/rkward-0.7.2/rkward/plugin/rktabpage.h
Examining data/rkward-0.7.2/rkward/plugin/rkradio.h
Examining data/rkward-0.7.2/rkward/plugin/rkinput.h
Examining data/rkward-0.7.2/rkward/plugin/rkpluginspinbox.h
Examining data/rkward-0.7.2/rkward/plugin/rkmatrixinput.h
Examining data/rkward-0.7.2/rkward/plugin/rkcheckbox.h
Examining data/rkward-0.7.2/rkward/plugin/rkabstractoptionselector.h
Examining data/rkward-0.7.2/rkward/plugin/rkcomponentproperties.h
Examining data/rkward-0.7.2/rkward/plugin/rkcomponent.cpp
Examining data/rkward-0.7.2/rkward/plugin/rkcomponentcontext.cpp
Examining data/rkward-0.7.2/rkward/windows/rkhelpsearchwindow.h
Examining data/rkward-0.7.2/rkward/windows/rktoplevelwindowgui.h
Examining data/rkward-0.7.2/rkward/windows/rkdebugmessagewindow.cpp
Examining data/rkward-0.7.2/rkward/windows/rkworkplace.cpp
Examining data/rkward-0.7.2/rkward/windows/rktoolwindowlist.h
Examining data/rkward-0.7.2/rkward/windows/katepluginintegration.h
Examining data/rkward-0.7.2/rkward/windows/rkfilebrowser.h
Examining data/rkward-0.7.2/rkward/windows/rkhtmlwindow.h
Examining data/rkward-0.7.2/rkward/windows/rkhelpsearchwindow.cpp
Examining data/rkward-0.7.2/rkward/windows/katepluginintegration.cpp
Examining data/rkward-0.7.2/rkward/windows/robjectbrowser.h
Examining data/rkward-0.7.2/rkward/windows/detachedwindowcontainer.cpp
Examining data/rkward-0.7.2/rkward/windows/rktoolwindowbar.cpp
Examining data/rkward-0.7.2/rkward/windows/rkdebugconsole.cpp
Examining data/rkward-0.7.2/rkward/windows/rkmdiwindow.h
Examining data/rkward-0.7.2/rkward/windows/rkhtmlwindow.cpp
Examining data/rkward-0.7.2/rkward/windows/rkworkplaceview.cpp
Examining data/rkward-0.7.2/rkward/windows/rkdebugconsole.h
Examining data/rkward-0.7.2/rkward/windows/rkcallstackviewer.h
Examining data/rkward-0.7.2/rkward/windows/robjectbrowser.cpp
Examining data/rkward-0.7.2/rkward/windows/detachedwindowcontainer.h
Examining data/rkward-0.7.2/rkward/windows/rkcommandeditorwindow.cpp
Examining data/rkward-0.7.2/rkward/windows/rkwindowcatcher.cpp
Examining data/rkward-0.7.2/rkward/windows/rcontrolwindow.h
Examining data/rkward-0.7.2/rkward/windows/rkcommandlog.cpp
Examining data/rkward-0.7.2/rkward/windows/rkwindowcatcher.h
Examining data/rkward-0.7.2/rkward/windows/rkmdiwindow.cpp
Examining data/rkward-0.7.2/rkward/windows/rkworkplaceview.h
Examining data/rkward-0.7.2/rkward/windows/rkcommandlog.h
Examining data/rkward-0.7.2/rkward/windows/rcontrolwindow.cpp
Examining data/rkward-0.7.2/rkward/windows/rktoplevelwindowgui.cpp
Examining data/rkward-0.7.2/rkward/windows/rkfilebrowser.cpp
Examining data/rkward-0.7.2/rkward/windows/rkworkplace.h
Examining data/rkward-0.7.2/rkward/windows/rkcodecompletion.h
Examining data/rkward-0.7.2/rkward/windows/rktoolwindowbar.h
Examining data/rkward-0.7.2/rkward/windows/rkdebugmessagewindow.h
Examining data/rkward-0.7.2/rkward/windows/rktoolwindowlist.cpp
Examining data/rkward-0.7.2/rkward/windows/rkcommandeditorwindow.h
Examining data/rkward-0.7.2/rkward/windows/rkcallstackviewer.cpp
Examining data/rkward-0.7.2/rkward/windows/rkcodecompletion.cpp
Examining data/rkward-0.7.2/rkward/core/rkmodificationtracker.cpp
Examining data/rkward-0.7.2/rkward/core/renvironmentobject.cpp
Examining data/rkward-0.7.2/rkward/core/rkvariable.cpp
Examining data/rkward-0.7.2/rkward/core/robject.h
Examining data/rkward-0.7.2/rkward/core/robjectlist.h
Examining data/rkward-0.7.2/rkward/core/rkpseudoobjects.h
Examining data/rkward-0.7.2/rkward/core/rkrownames.h
Examining data/rkward-0.7.2/rkward/core/rfunctionobject.h
Examining data/rkward-0.7.2/rkward/core/robjectlist.cpp
Examining data/rkward-0.7.2/rkward/core/rkpseudoobjects.cpp
Examining data/rkward-0.7.2/rkward/core/renvironmentobject.h
Examining data/rkward-0.7.2/rkward/core/rcontainerobject.h
Examining data/rkward-0.7.2/rkward/core/rkrownames.cpp
Examining data/rkward-0.7.2/rkward/core/rkmodificationtracker.h
Examining data/rkward-0.7.2/rkward/core/rkvariable.h
Examining data/rkward-0.7.2/rkward/core/robject.cpp
Examining data/rkward-0.7.2/rkward/core/rfunctionobject.cpp
Examining data/rkward-0.7.2/rkward/core/rcontainerobject.cpp
Examining data/rkward-0.7.2/rkward/rkglobals.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduleoutput.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodulegeneral.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodulecommandeditor.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodulekateplugins.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodulewatch.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodule.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduledebug.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettings.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduledebug.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduleconsole.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodule.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduleplugins.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduleobjectbrowser.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodulewatch.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduler.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodulegraphics.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodulekateplugins.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodulecommandeditor.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettings.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodulegraphics.cpp
Examining data/rkward-0.7.2/rkward/settings/rksettingsmodulegeneral.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduler.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduleobjectbrowser.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduleconsole.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduleoutput.h
Examining data/rkward-0.7.2/rkward/settings/rksettingsmoduleplugins.cpp
Examining data/rkward-0.7.2/rkward/rkconsole.cpp
Examining data/rkward-0.7.2/rkward/scriptbackends/scriptbackend.h
Examining data/rkward-0.7.2/rkward/scriptbackends/qtscriptbackend.h
Examining data/rkward-0.7.2/rkward/scriptbackends/rkcomponentscripting.cpp
Examining data/rkward-0.7.2/rkward/scriptbackends/scriptbackend.cpp
Examining data/rkward-0.7.2/rkward/scriptbackends/qtscripti18n.h
Examining data/rkward-0.7.2/rkward/scriptbackends/qtscriptbackend.cpp
Examining data/rkward-0.7.2/rkward/scriptbackends/simplebackend.h
Examining data/rkward-0.7.2/rkward/scriptbackends/rkcomponentscripting.h
Examining data/rkward-0.7.2/rkward/scriptbackends/simplebackend.cpp
Examining data/rkward-0.7.2/rkward/scriptbackends/qtscripti18n.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkbackendtransmitter.h
Examining data/rkward-0.7.2/rkward/rbackend/rkreventloop.h
Examining data/rkward-0.7.2/rkward/rbackend/rkstructuregetter.h
Examining data/rkward-0.7.2/rkward/rbackend/rkrbackend.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rcommand.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rksignalsupport.h
Examining data/rkward-0.7.2/rkward/rbackend/rkfrontendtransmitter.h
Examining data/rkward-0.7.2/rkward/rbackend/rkfrontendtransmitter.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkwarddevice/rkgraphicsdevice_setup.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkwarddevice/rkgraphicsdevice_backendtransmitter.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkwarddevice/rkgraphicsdevice_protocol_shared.h
Examining data/rkward-0.7.2/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.h
Examining data/rkward-0.7.2/rkward/rbackend/rkwarddevice/rkgraphicsdevice_backendtransmitter.h
Examining data/rkward-0.7.2/rkward/rbackend/rkwarddevice/rkgraphicsdevice.h
Examining data/rkward-0.7.2/rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkreventloop.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rdata.h
Examining data/rkward-0.7.2/rkward/rbackend/rkrbackendprotocol_shared.h
Examining data/rkward-0.7.2/rkward/rbackend/rksessionvars.h
Examining data/rkward-0.7.2/rkward/rbackend/rkasyncdatastreamhelper.h
Examining data/rkward-0.7.2/rkward/rbackend/rkrsupport.h
Examining data/rkward-0.7.2/rkward/rbackend/rksessionvars.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkbackendtransmitter.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rdata.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rksignalsupport.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkrbackend.h
Examining data/rkward-0.7.2/rkward/rbackend/rcommand.h
Examining data/rkward-0.7.2/rkward/rbackend/rcommandreceiver.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkrsupport.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rcommandreceiver.h
Examining data/rkward-0.7.2/rkward/rbackend/rkrbackendprotocol_frontend.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkstructuregetter.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rcommandstack.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rcommandstack.h
Examining data/rkward-0.7.2/rkward/rbackend/rkrbackendprotocol_shared.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkrinterface.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rkrbackendprotocol_backend.h
Examining data/rkward-0.7.2/rkward/rbackend/rkrbackendprotocol_frontend.h
Examining data/rkward-0.7.2/rkward/rbackend/rkrinterface.h
Examining data/rkward-0.7.2/rkward/rbackend/rktransmitter.cpp
Examining data/rkward-0.7.2/rkward/rbackend/rktransmitter.h
Examining data/rkward-0.7.2/rkward/rbackend/rkrbackendprotocol_backend.cpp
Examining data/rkward-0.7.2/rkward/version.h
Examining data/rkward-0.7.2/rkward/agents/rkprintagent.h
Examining data/rkward-0.7.2/rkward/agents/showedittextfileagent.h
Examining data/rkward-0.7.2/rkward/agents/rkquitagent.h
Examining data/rkward-0.7.2/rkward/agents/rkeditobjectagent.cpp
Examining data/rkward-0.7.2/rkward/agents/rkloadagent.cpp
Examining data/rkward-0.7.2/rkward/agents/rkdebughandler.h
Examining data/rkward-0.7.2/rkward/agents/rkloadagent.h
Examining data/rkward-0.7.2/rkward/agents/rkquitagent.cpp
Examining data/rkward-0.7.2/rkward/agents/rkprintagent.cpp
Examining data/rkward-0.7.2/rkward/agents/rkeditobjectagent.h
Examining data/rkward-0.7.2/rkward/agents/rkdebughandler.cpp
Examining data/rkward-0.7.2/rkward/agents/showedittextfileagent.cpp
Examining data/rkward-0.7.2/rkward/agents/rksaveagent.h
Examining data/rkward-0.7.2/rkward/agents/rksaveagent.cpp
Examining data/rkward-0.7.2/rkward/robjectviewer.cpp
Examining data/rkward-0.7.2/rkward/rkglobals.h
Examining data/rkward-0.7.2/rkward/debug.h
Examining data/rkward-0.7.2/rkward/robjectviewer.h
Examining data/rkward-0.7.2/rkward/main.cpp
Examining data/rkward-0.7.2/rkward/dataeditor/rktextmatrix.h
Examining data/rkward-0.7.2/rkward/dataeditor/twintable.h
Examining data/rkward-0.7.2/rkward/dataeditor/rkeditordataframe.cpp
Examining data/rkward-0.7.2/rkward/dataeditor/twintablemember.cpp
Examining data/rkward-0.7.2/rkward/dataeditor/rkeditor.h
Examining data/rkward-0.7.2/rkward/dataeditor/rktextmatrix.cpp
Examining data/rkward-0.7.2/rkward/dataeditor/rkvareditmodel.h
Examining data/rkward-0.7.2/rkward/dataeditor/twintable.cpp
Examining data/rkward-0.7.2/rkward/dataeditor/rkeditordataframe.h
Examining data/rkward-0.7.2/rkward/dataeditor/rkeditor.cpp
Examining data/rkward-0.7.2/rkward/dataeditor/rkvareditmodel.cpp
Examining data/rkward-0.7.2/rkward/dataeditor/twintablemember.h
Examining data/rkward-0.7.2/rkward/misc/rkjobsequence.cpp
Examining data/rkward-0.7.2/rkward/misc/rkmessagecatalog.h
Examining data/rkward-0.7.2/rkward/misc/editlabelsdialog.h
Examining data/rkward-0.7.2/rkward/misc/getfilenamewidget.cpp
Examining data/rkward-0.7.2/rkward/misc/rkobjectlistview.cpp
Examining data/rkward-0.7.2/rkward/misc/rkcommandhistory.h
Examining data/rkward-0.7.2/rkward/misc/rkobjectlistview.h
Examining data/rkward-0.7.2/rkward/misc/rkspinbox.cpp
Examining data/rkward-0.7.2/rkward/misc/rkxmlguisyncer_p.h
Examining data/rkward-0.7.2/rkward/misc/rkspecialactions.h
Examining data/rkward-0.7.2/rkward/misc/rkdbusapi.cpp
Examining data/rkward-0.7.2/rkward/misc/rkcommonfunctions.h
Examining data/rkward-0.7.2/rkward/misc/rkfindbar.h
Examining data/rkward-0.7.2/rkward/misc/rkfindbar.cpp
Examining data/rkward-0.7.2/rkward/misc/rktableview.h
Examining data/rkward-0.7.2/rkward/misc/rkstandardicons.cpp
Examining data/rkward-0.7.2/rkward/misc/celleditor.h
Examining data/rkward-0.7.2/rkward/misc/rksaveobjectchooser.h
Examining data/rkward-0.7.2/rkward/misc/editformatdialog.cpp
Examining data/rkward-0.7.2/rkward/misc/rkdialogbuttonbox.cpp
Examining data/rkward-0.7.2/rkward/misc/multistringselector.cpp
Examining data/rkward-0.7.2/rkward/misc/rkxmlguipreviewarea.cpp
Examining data/rkward-0.7.2/rkward/misc/rkxmlguisyncer.h
Examining data/rkward-0.7.2/rkward/misc/rkdialogbuttonbox.h
Examining data/rkward-0.7.2/rkward/misc/getfilenamewidget.h
Examining data/rkward-0.7.2/rkward/misc/rkspinbox.h
Examining data/rkward-0.7.2/rkward/misc/rkstandardactions.h
Examining data/rkward-0.7.2/rkward/misc/rkstandardicons.h
Examining data/rkward-0.7.2/rkward/misc/rkaccordiontable.cpp
Examining data/rkward-0.7.2/rkward/misc/rkaccordiontable.h
Examining data/rkward-0.7.2/rkward/misc/rkdynamicsearchline.cpp
Examining data/rkward-0.7.2/rkward/misc/rkcommandhistory.cpp
Examining data/rkward-0.7.2/rkward/misc/xmlhelper.h
Examining data/rkward-0.7.2/rkward/misc/rkdummypart.h
Examining data/rkward-0.7.2/rkward/misc/rkprogresscontrol.cpp
Examining data/rkward-0.7.2/rkward/misc/rktableview.cpp
Examining data/rkward-0.7.2/rkward/misc/editformatdialog.h
Examining data/rkward-0.7.2/rkward/misc/rkdbusapi.h
Examining data/rkward-0.7.2/rkward/misc/celleditor.cpp
Examining data/rkward-0.7.2/rkward/misc/rkstandardactions.cpp
Examining data/rkward-0.7.2/rkward/misc/xmlhelper.cpp
Examining data/rkward-0.7.2/rkward/misc/editlabelsdialog.cpp
Examining data/rkward-0.7.2/rkward/misc/rkspecialactions.cpp
Examining data/rkward-0.7.2/rkward/misc/rksaveobjectchooser.cpp
Examining data/rkward-0.7.2/rkward/misc/rkjobsequence.h
Examining data/rkward-0.7.2/rkward/misc/rkxmlguisyncer.cpp
Examining data/rkward-0.7.2/rkward/misc/rkdummypart.cpp
Examining data/rkward-0.7.2/rkward/misc/rkmessagecatalog.cpp
Examining data/rkward-0.7.2/rkward/misc/rkcommonfunctions.cpp
Examining data/rkward-0.7.2/rkward/misc/multistringselector.h
Examining data/rkward-0.7.2/rkward/misc/rkprogresscontrol.h
Examining data/rkward-0.7.2/rkward/misc/rkxmlguipreviewarea.h
Examining data/rkward-0.7.2/rkward/misc/rkdynamicsearchline.h
Examining data/rkward-0.7.2/rkward/rkconsole.h

FINAL RESULTS:

data/rkward-0.7.2/rkward/main.cpp:163:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf (buffer, bufsize-1, fmt, ap);
data/rkward-0.7.2/rkward/misc/rkxmlguipreviewarea.cpp:185:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	id = QString ().sprintf ("%p", this).remove ('%');
data/rkward-0.7.2/rkward/rbackend/rkrbackendprotocol_backend.cpp:65:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		vsnprintf (buffer, bufsize-1, fmt, ap);
data/rkward-0.7.2/rkward/dialogs/rkloadlibsdialog.cpp:342:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	QString R_binary (getenv ("R_BINARY"));
data/rkward-0.7.2/rkward/main.cpp:195:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		QString instroot = QString (getenv ("PROGRAMFILES")) + "/R";
data/rkward-0.7.2/rkward/main.cpp:196:64:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if (!QFileInfo (instroot).isReadable ()) instroot = QString (getenv ("PROGRAMFILES(x86)")) + "/R";
data/rkward-0.7.2/rkward/agents/rkloadagent.h:42:18:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	QTemporaryFile* tmpfile;
data/rkward-0.7.2/rkward/dialogs/rkerrordialog.cpp:80:9:  [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).
		proxy.open ();
data/rkward-0.7.2/rkward/dialogs/rkloadlibsdialog.cpp:333:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (file.open (QIODevice::WriteOnly)) {
data/rkward-0.7.2/rkward/main.cpp:159:2:  [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 buffer[bufsize];
data/rkward-0.7.2/rkward/misc/rkcommonfunctions.cpp:191: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 (resource_ver.open (QIODevice::ReadOnly) && (resource_ver.read (100).trimmed () == RKWARD_VERSION)) {
data/rkward-0.7.2/rkward/misc/xmlhelper.cpp:51:9:  [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)) displayError (0, i18n("Could not open file %1 for reading", filename), debug_level, DL_ERROR);
data/rkward-0.7.2/rkward/rbackend/rkrbackend.cpp:443:2:  [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 buffer[1024];
data/rkward-0.7.2/rkward/rbackend/rkrbackend.cpp:1457:9:  [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 | QIODevice::Append)) {
data/rkward-0.7.2/rkward/rbackend/rkrbackendprotocol_backend.cpp:61:3:  [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 buffer[bufsize];
data/rkward-0.7.2/rkward/rbackend/rkrbackendprotocol_shared.cpp:254: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).
		return (debug_file->open (QIODevice::WriteOnly | QIODevice::Truncate));
data/rkward-0.7.2/rkward/rbackend/rkreventloop.cpp:84:8:  [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.
static char buf[16];
data/rkward-0.7.2/rkward/rbackend/rkreventloop.cpp:90:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[16];
data/rkward-0.7.2/rkward/rbackend/rkrinterface.cpp:649:31:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				bool ok = command_logfile.open (QIODevice::WriteOnly | QIODevice::Truncate);
data/rkward-0.7.2/rkward/rkconsole.cpp:702:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
			delete (tmpfile);
data/rkward-0.7.2/rkward/rkconsole.cpp:711:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!file.open (QIODevice::Text | QIODevice::ReadOnly)) return;
data/rkward-0.7.2/rkward/rkconsole.cpp:715:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	delete (tmpfile);
data/rkward-0.7.2/rkward/rkconsole.cpp:728:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	tempfile.open ();
data/rkward-0.7.2/rkward/scriptbackends/qtscriptbackend.cpp:260:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (!file.open (QIODevice::ReadOnly | QIODevice::Text)) {
data/rkward-0.7.2/rkward/scriptbackends/qtscriptbackend.cpp:346: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 | QIODevice::Text)) {
data/rkward-0.7.2/rkward/scriptbackends/rkcomponentscripting.cpp:99:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!file.open (QIODevice::ReadOnly | QIODevice::Text)) {
data/rkward-0.7.2/rkward/windows/rkcommandeditorwindow.cpp:621: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).
	RK_ASSERT (save.open ());
data/rkward-0.7.2/rkward/windows/rkcommandeditorwindow.cpp:871:33:  [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).
	RK_ASSERT (preview_input_file->open (QIODevice::WriteOnly));
data/rkward-0.7.2/rkward/windows/rkhtmlwindow.cpp:572:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				f.open (QIODevice::ReadOnly);
data/rkward-0.7.2/rkward/windows/rkhtmlwindow.cpp:761: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).
	current_cache_file->open ();
data/rkward-0.7.2/rkward/misc/rkcommonfunctions.cpp:191:66:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (resource_ver.open (QIODevice::ReadOnly) && (resource_ver.read (100).trimmed () == RKWARD_VERSION)) {
data/rkward-0.7.2/rkward/rbackend/rkasyncdatastreamhelper.h:74:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				auxbuffer = device->read (sizeof (LENGTH_TYPE));
data/rkward-0.7.2/rkward/rbackend/rkasyncdatastreamhelper.h:84:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		inbuffer = device->read (expected_read_size);
data/rkward-0.7.2/rkward/rbackend/rkrbackend.cpp:445:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		int bytes = read (stdout_stderr_fd, buffer, 1023);
data/rkward-0.7.2/rkward/rbackend/rkreventloop.cpp:91:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	bool read_ok = read (ifd, buf, 16);
data/rkward-0.7.2/rkward/scriptbackends/qtscriptbackend.cpp:213:3:  [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 (20);	// getValue () may be called very often, and we expect an answer very soon, so we don't sleep too long.

ANALYSIS SUMMARY:

Hits = 36
Lines analyzed = 63145 in approximately 1.82 seconds (34650 lines/second)
Physical Source Lines of Code (SLOC) = 43846
Hits@level = [0]   8 [1]   6 [2]  24 [3]   3 [4]   3 [5]   0
Hits@level+ = [0+]  44 [1+]  36 [2+]  30 [3+]   6 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 1.00351 [1+] 0.821056 [2+] 0.684213 [3+] 0.136843 [4+] 0.0684213 [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.