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/qelectrotech-0.7.0/SingleApplication/examples/basic/main.cpp Examining data/qelectrotech-0.7.0/SingleApplication/examples/calculator/button.cpp Examining data/qelectrotech-0.7.0/SingleApplication/examples/calculator/button.h Examining data/qelectrotech-0.7.0/SingleApplication/examples/calculator/calculator.cpp Examining data/qelectrotech-0.7.0/SingleApplication/examples/calculator/calculator.h Examining data/qelectrotech-0.7.0/SingleApplication/examples/calculator/main.cpp Examining data/qelectrotech-0.7.0/SingleApplication/examples/sending_arguments/main.cpp Examining data/qelectrotech-0.7.0/SingleApplication/examples/sending_arguments/messagereceiver.cpp Examining data/qelectrotech-0.7.0/SingleApplication/examples/sending_arguments/messagereceiver.h Examining data/qelectrotech-0.7.0/SingleApplication/singleapplication.cpp Examining data/qelectrotech-0.7.0/SingleApplication/singleapplication.h Examining data/qelectrotech-0.7.0/SingleApplication/singleapplication_p.cpp Examining data/qelectrotech-0.7.0/SingleApplication/singleapplication_p.h Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementcollectionhandler.cpp Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementcollectionhandler.h Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementcollectionitem.cpp Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementcollectionitem.h Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementscollectionmodel.cpp Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementscollectionmodel.h Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementscollectionwidget.cpp Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementscollectionwidget.h Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementslocation.cpp Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementslocation.h Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementstreeview.cpp Examining data/qelectrotech-0.7.0/sources/ElementsCollection/elementstreeview.h Examining data/qelectrotech-0.7.0/sources/ElementsCollection/fileelementcollectionitem.cpp Examining data/qelectrotech-0.7.0/sources/ElementsCollection/fileelementcollectionitem.h Examining data/qelectrotech-0.7.0/sources/ElementsCollection/ui/renamedialog.cpp Examining data/qelectrotech-0.7.0/sources/ElementsCollection/ui/renamedialog.h Examining data/qelectrotech-0.7.0/sources/ElementsCollection/xmlelementcollection.cpp Examining data/qelectrotech-0.7.0/sources/ElementsCollection/xmlelementcollection.h Examining data/qelectrotech-0.7.0/sources/ElementsCollection/xmlprojectelementcollectionitem.cpp Examining data/qelectrotech-0.7.0/sources/ElementsCollection/xmlprojectelementcollectionitem.h Examining data/qelectrotech-0.7.0/sources/NameList/nameslist.cpp Examining data/qelectrotech-0.7.0/sources/NameList/nameslist.h Examining data/qelectrotech-0.7.0/sources/NameList/ui/namelistdialog.cpp Examining data/qelectrotech-0.7.0/sources/NameList/ui/namelistdialog.h Examining data/qelectrotech-0.7.0/sources/NameList/ui/namelistwidget.cpp Examining data/qelectrotech-0.7.0/sources/NameList/ui/namelistwidget.h Examining data/qelectrotech-0.7.0/sources/PropertiesEditor/propertieseditordialog.h Examining data/qelectrotech-0.7.0/sources/PropertiesEditor/propertieseditordockwidget.cpp Examining data/qelectrotech-0.7.0/sources/PropertiesEditor/propertieseditordockwidget.h Examining data/qelectrotech-0.7.0/sources/PropertiesEditor/propertieseditorwidget.cpp Examining data/qelectrotech-0.7.0/sources/PropertiesEditor/propertieseditorwidget.h Examining data/qelectrotech-0.7.0/sources/QPropertyUndoCommand/qpropertyundocommand.cpp Examining data/qelectrotech-0.7.0/sources/QPropertyUndoCommand/qpropertyundocommand.h Examining data/qelectrotech-0.7.0/sources/QetGraphicsItemModeler/qetgraphicshandleritem.cpp Examining data/qelectrotech-0.7.0/sources/QetGraphicsItemModeler/qetgraphicshandleritem.h Examining data/qelectrotech-0.7.0/sources/QetGraphicsItemModeler/qetgraphicshandlerutility.cpp Examining data/qelectrotech-0.7.0/sources/QetGraphicsItemModeler/qetgraphicshandlerutility.h Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/searchandreplaceworker.cpp Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/searchandreplaceworker.h Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/ui/replaceadvanceddialog.cpp Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/ui/replaceadvanceddialog.h Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/ui/replaceconductordialog.cpp Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/ui/replaceconductordialog.h Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/ui/replaceelementdialog.cpp Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/ui/replaceelementdialog.h Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/ui/replacefoliowidget.cpp Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/ui/replacefoliowidget.h Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/ui/searchandreplacewidget.cpp Examining data/qelectrotech-0.7.0/sources/SearchAndReplace/ui/searchandreplacewidget.h Examining data/qelectrotech-0.7.0/sources/aboutqet.cpp Examining data/qelectrotech-0.7.0/sources/aboutqet.h Examining data/qelectrotech-0.7.0/sources/autoNum/assignvariables.cpp Examining data/qelectrotech-0.7.0/sources/autoNum/assignvariables.h Examining data/qelectrotech-0.7.0/sources/autoNum/numerotationcontext.cpp Examining data/qelectrotech-0.7.0/sources/autoNum/numerotationcontext.h Examining data/qelectrotech-0.7.0/sources/autoNum/numerotationcontextcommands.cpp Examining data/qelectrotech-0.7.0/sources/autoNum/numerotationcontextcommands.h Examining data/qelectrotech-0.7.0/sources/autoNum/ui/autonumberingdockwidget.cpp Examining data/qelectrotech-0.7.0/sources/autoNum/ui/autonumberingdockwidget.h Examining data/qelectrotech-0.7.0/sources/autoNum/ui/autonumberingmanagementw.cpp Examining data/qelectrotech-0.7.0/sources/autoNum/ui/autonumberingmanagementw.h Examining data/qelectrotech-0.7.0/sources/autoNum/ui/folioautonumbering.cpp Examining data/qelectrotech-0.7.0/sources/autoNum/ui/folioautonumbering.h Examining data/qelectrotech-0.7.0/sources/autoNum/ui/formulaautonumberingw.cpp Examining data/qelectrotech-0.7.0/sources/autoNum/ui/formulaautonumberingw.h Examining data/qelectrotech-0.7.0/sources/autoNum/ui/numparteditorw.cpp Examining data/qelectrotech-0.7.0/sources/autoNum/ui/numparteditorw.h Examining data/qelectrotech-0.7.0/sources/autoNum/ui/selectautonumw.cpp Examining data/qelectrotech-0.7.0/sources/autoNum/ui/selectautonumw.h Examining data/qelectrotech-0.7.0/sources/borderproperties.cpp Examining data/qelectrotech-0.7.0/sources/borderproperties.h Examining data/qelectrotech-0.7.0/sources/bordertitleblock.cpp Examining data/qelectrotech-0.7.0/sources/bordertitleblock.h Examining data/qelectrotech-0.7.0/sources/conductorautonumerotation.cpp Examining data/qelectrotech-0.7.0/sources/conductorautonumerotation.h Examining data/qelectrotech-0.7.0/sources/conductorprofile.cpp Examining data/qelectrotech-0.7.0/sources/conductorprofile.h Examining data/qelectrotech-0.7.0/sources/conductorproperties.cpp Examining data/qelectrotech-0.7.0/sources/conductorproperties.h Examining data/qelectrotech-0.7.0/sources/conductorsegment.cpp Examining data/qelectrotech-0.7.0/sources/conductorsegment.h Examining data/qelectrotech-0.7.0/sources/conductorsegmentprofile.h Examining data/qelectrotech-0.7.0/sources/configdialog.cpp Examining data/qelectrotech-0.7.0/sources/configdialog.h Examining data/qelectrotech-0.7.0/sources/configpage.h Examining data/qelectrotech-0.7.0/sources/configpages.cpp Examining data/qelectrotech-0.7.0/sources/configpages.h Examining data/qelectrotech-0.7.0/sources/createdxf.cpp Examining data/qelectrotech-0.7.0/sources/createdxf.h Examining data/qelectrotech-0.7.0/sources/diagram.cpp Examining data/qelectrotech-0.7.0/sources/diagram.h Examining data/qelectrotech-0.7.0/sources/diagramcommands.cpp Examining data/qelectrotech-0.7.0/sources/diagramcommands.h Examining data/qelectrotech-0.7.0/sources/diagramcontent.cpp Examining data/qelectrotech-0.7.0/sources/diagramcontent.h Examining data/qelectrotech-0.7.0/sources/diagramcontext.cpp Examining data/qelectrotech-0.7.0/sources/diagramcontext.h Examining data/qelectrotech-0.7.0/sources/diagramevent/diagrameventaddelement.cpp Examining data/qelectrotech-0.7.0/sources/diagramevent/diagrameventaddelement.h Examining data/qelectrotech-0.7.0/sources/diagramevent/diagrameventaddimage.cpp Examining data/qelectrotech-0.7.0/sources/diagramevent/diagrameventaddimage.h Examining data/qelectrotech-0.7.0/sources/diagramevent/diagrameventaddshape.cpp Examining data/qelectrotech-0.7.0/sources/diagramevent/diagrameventaddshape.h Examining data/qelectrotech-0.7.0/sources/diagramevent/diagrameventaddtext.cpp Examining data/qelectrotech-0.7.0/sources/diagramevent/diagrameventaddtext.h Examining data/qelectrotech-0.7.0/sources/diagramevent/diagrameventinterface.cpp Examining data/qelectrotech-0.7.0/sources/diagramevent/diagrameventinterface.h Examining data/qelectrotech-0.7.0/sources/diagramfoliolist.cpp Examining data/qelectrotech-0.7.0/sources/diagramfoliolist.h Examining data/qelectrotech-0.7.0/sources/diagramposition.cpp Examining data/qelectrotech-0.7.0/sources/diagramposition.h Examining data/qelectrotech-0.7.0/sources/diagramprintdialog.cpp Examining data/qelectrotech-0.7.0/sources/diagramprintdialog.h Examining data/qelectrotech-0.7.0/sources/diagramschooser.cpp Examining data/qelectrotech-0.7.0/sources/diagramschooser.h Examining data/qelectrotech-0.7.0/sources/diagramview.cpp Examining data/qelectrotech-0.7.0/sources/diagramview.h Examining data/qelectrotech-0.7.0/sources/dvevent/dveventinterface.cpp Examining data/qelectrotech-0.7.0/sources/dvevent/dveventinterface.h Examining data/qelectrotech-0.7.0/sources/editor/arceditor.cpp Examining data/qelectrotech-0.7.0/sources/editor/arceditor.h Examining data/qelectrotech-0.7.0/sources/editor/editorcommands.cpp Examining data/qelectrotech-0.7.0/sources/editor/editorcommands.h Examining data/qelectrotech-0.7.0/sources/editor/elementcontent.h Examining data/qelectrotech-0.7.0/sources/editor/elementitemeditor.cpp Examining data/qelectrotech-0.7.0/sources/editor/elementitemeditor.h Examining data/qelectrotech-0.7.0/sources/editor/elementprimitivedecorator.cpp Examining data/qelectrotech-0.7.0/sources/editor/elementprimitivedecorator.h Examining data/qelectrotech-0.7.0/sources/editor/elementscene.cpp Examining data/qelectrotech-0.7.0/sources/editor/elementscene.h Examining data/qelectrotech-0.7.0/sources/editor/elementview.cpp Examining data/qelectrotech-0.7.0/sources/editor/elementview.h Examining data/qelectrotech-0.7.0/sources/editor/ellipseeditor.cpp Examining data/qelectrotech-0.7.0/sources/editor/ellipseeditor.h Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddarc.cpp Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddarc.h Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventadddynamictextfield.cpp Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventadddynamictextfield.h Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddellipse.cpp Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddellipse.h Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddline.cpp Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddline.h Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddpolygon.cpp Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddpolygon.h Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddrect.cpp Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddrect.h Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddterminal.cpp Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddterminal.h Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddtext.cpp Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventaddtext.h Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventinterface.cpp Examining data/qelectrotech-0.7.0/sources/editor/esevent/eseventinterface.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/abstractpartellipse.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/abstractpartellipse.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/customelementgraphicpart.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/customelementgraphicpart.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/customelementpart.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/customelementpart.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partarc.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partarc.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partdynamictextfield.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partdynamictextfield.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partellipse.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partellipse.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partline.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partline.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partpolygon.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partpolygon.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partrectangle.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partrectangle.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partterminal.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/partterminal.h Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/parttext.cpp Examining data/qelectrotech-0.7.0/sources/editor/graphicspart/parttext.h Examining data/qelectrotech-0.7.0/sources/editor/lineeditor.cpp Examining data/qelectrotech-0.7.0/sources/editor/lineeditor.h Examining data/qelectrotech-0.7.0/sources/editor/polygoneditor.cpp Examining data/qelectrotech-0.7.0/sources/editor/polygoneditor.h Examining data/qelectrotech-0.7.0/sources/editor/qetelementeditor.h Examining data/qelectrotech-0.7.0/sources/editor/styleeditor.cpp Examining data/qelectrotech-0.7.0/sources/editor/styleeditor.h Examining data/qelectrotech-0.7.0/sources/editor/terminaleditor.cpp Examining data/qelectrotech-0.7.0/sources/editor/terminaleditor.h Examining data/qelectrotech-0.7.0/sources/editor/ui/dynamictextfieldeditor.cpp Examining data/qelectrotech-0.7.0/sources/editor/ui/dynamictextfieldeditor.h Examining data/qelectrotech-0.7.0/sources/editor/ui/elementpropertieseditorwidget.cpp Examining data/qelectrotech-0.7.0/sources/editor/ui/elementpropertieseditorwidget.h Examining data/qelectrotech-0.7.0/sources/editor/ui/rectangleeditor.cpp Examining data/qelectrotech-0.7.0/sources/editor/ui/rectangleeditor.h Examining data/qelectrotech-0.7.0/sources/editor/ui/texteditor.cpp Examining data/qelectrotech-0.7.0/sources/editor/ui/texteditor.h Examining data/qelectrotech-0.7.0/sources/editor/qetelementeditor.cpp Examining data/qelectrotech-0.7.0/sources/elementdialog.cpp Examining data/qelectrotech-0.7.0/sources/elementdialog.h Examining data/qelectrotech-0.7.0/sources/elementprovider.cpp Examining data/qelectrotech-0.7.0/sources/elementprovider.h Examining data/qelectrotech-0.7.0/sources/elementscategoryeditor.cpp Examining data/qelectrotech-0.7.0/sources/elementscategoryeditor.h Examining data/qelectrotech-0.7.0/sources/elementscollectioncache.cpp Examining data/qelectrotech-0.7.0/sources/elementscollectioncache.h Examining data/qelectrotech-0.7.0/sources/elementsmover.cpp Examining data/qelectrotech-0.7.0/sources/elementsmover.h Examining data/qelectrotech-0.7.0/sources/elementspanel.cpp Examining data/qelectrotech-0.7.0/sources/elementspanel.h Examining data/qelectrotech-0.7.0/sources/elementspanelwidget.cpp Examining data/qelectrotech-0.7.0/sources/elementspanelwidget.h Examining data/qelectrotech-0.7.0/sources/elementtextpattern.cpp Examining data/qelectrotech-0.7.0/sources/elementtextpattern.h Examining data/qelectrotech-0.7.0/sources/elementtextsmover.cpp Examining data/qelectrotech-0.7.0/sources/elementtextsmover.h Examining data/qelectrotech-0.7.0/sources/exportdialog.cpp Examining data/qelectrotech-0.7.0/sources/exportdialog.h Examining data/qelectrotech-0.7.0/sources/exportproperties.cpp Examining data/qelectrotech-0.7.0/sources/exportproperties.h Examining data/qelectrotech-0.7.0/sources/exportpropertieswidget.cpp Examining data/qelectrotech-0.7.0/sources/exportpropertieswidget.h Examining data/qelectrotech-0.7.0/sources/factory/elementfactory.cpp Examining data/qelectrotech-0.7.0/sources/factory/elementfactory.h Examining data/qelectrotech-0.7.0/sources/factory/elementpicturefactory.cpp Examining data/qelectrotech-0.7.0/sources/factory/elementpicturefactory.h Examining data/qelectrotech-0.7.0/sources/genericpanel.cpp Examining data/qelectrotech-0.7.0/sources/genericpanel.h Examining data/qelectrotech-0.7.0/sources/main.cpp Examining data/qelectrotech-0.7.0/sources/newelementwizard.cpp Examining data/qelectrotech-0.7.0/sources/newelementwizard.h Examining data/qelectrotech-0.7.0/sources/nomenclature.cpp Examining data/qelectrotech-0.7.0/sources/nomenclature.h Examining data/qelectrotech-0.7.0/sources/projectconfigpages.cpp Examining data/qelectrotech-0.7.0/sources/projectconfigpages.h Examining data/qelectrotech-0.7.0/sources/projectview.cpp Examining data/qelectrotech-0.7.0/sources/projectview.h Examining data/qelectrotech-0.7.0/sources/properties/propertiesinterface.cpp Examining data/qelectrotech-0.7.0/sources/properties/propertiesinterface.h Examining data/qelectrotech-0.7.0/sources/properties/reportproperties.cpp Examining data/qelectrotech-0.7.0/sources/properties/reportproperties.h Examining data/qelectrotech-0.7.0/sources/properties/xrefproperties.cpp Examining data/qelectrotech-0.7.0/sources/properties/xrefproperties.h Examining data/qelectrotech-0.7.0/sources/qet.cpp Examining data/qelectrotech-0.7.0/sources/qet.h Examining data/qelectrotech-0.7.0/sources/qetapp.cpp Examining data/qelectrotech-0.7.0/sources/qetapp.h Examining data/qelectrotech-0.7.0/sources/qetarguments.cpp Examining data/qelectrotech-0.7.0/sources/qetarguments.h Examining data/qelectrotech-0.7.0/sources/qetdiagrameditor.cpp Examining data/qelectrotech-0.7.0/sources/qetdiagrameditor.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/conductor.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/conductor.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/conductortextitem.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/conductortextitem.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/crossrefitem.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/crossrefitem.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/diagramimageitem.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/diagramimageitem.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/diagramtextitem.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/diagramtextitem.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/dynamicelementtextitem.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/dynamicelementtextitem.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/element.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/element.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/elementtextitemgroup.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/elementtextitemgroup.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/independenttextitem.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/independenttextitem.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/masterelement.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/masterelement.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/qetgraphicsitem.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/qetgraphicsitem.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/qetshapeitem.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/qetshapeitem.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/qgraphicsitemutility.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/qgraphicsitemutility.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/reportelement.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/reportelement.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/simpleelement.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/simpleelement.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/slaveelement.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/slaveelement.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/terminal.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/terminal.h Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/terminalelement.cpp Examining data/qelectrotech-0.7.0/sources/qetgraphicsitem/terminalelement.h Examining data/qelectrotech-0.7.0/sources/qeticons.cpp Examining data/qelectrotech-0.7.0/sources/qeticons.h Examining data/qelectrotech-0.7.0/sources/qetinformation.cpp Examining data/qelectrotech-0.7.0/sources/qetinformation.h Examining data/qelectrotech-0.7.0/sources/qetmainwindow.cpp Examining data/qelectrotech-0.7.0/sources/qetmainwindow.h Examining data/qelectrotech-0.7.0/sources/qetmessagebox.cpp Examining data/qelectrotech-0.7.0/sources/qetmessagebox.h Examining data/qelectrotech-0.7.0/sources/qetprintpreviewdialog.cpp Examining data/qelectrotech-0.7.0/sources/qetprintpreviewdialog.h Examining data/qelectrotech-0.7.0/sources/qetproject.cpp Examining data/qelectrotech-0.7.0/sources/qetproject.h Examining data/qelectrotech-0.7.0/sources/qetregexpvalidator.cpp Examining data/qelectrotech-0.7.0/sources/qetregexpvalidator.h Examining data/qelectrotech-0.7.0/sources/qetresult.cpp Examining data/qelectrotech-0.7.0/sources/qetresult.h Examining data/qelectrotech-0.7.0/sources/qetxml.cpp Examining data/qelectrotech-0.7.0/sources/qetxml.h Examining data/qelectrotech-0.7.0/sources/qfilenameedit.cpp Examining data/qelectrotech-0.7.0/sources/qfilenameedit.h Examining data/qelectrotech-0.7.0/sources/qgimanager.cpp Examining data/qelectrotech-0.7.0/sources/qgimanager.h Examining data/qelectrotech-0.7.0/sources/qtextorientationspinboxwidget.cpp Examining data/qelectrotech-0.7.0/sources/qtextorientationspinboxwidget.h Examining data/qelectrotech-0.7.0/sources/qtextorientationwidget.cpp Examining data/qelectrotech-0.7.0/sources/qtextorientationwidget.h Examining data/qelectrotech-0.7.0/sources/recentfiles.cpp Examining data/qelectrotech-0.7.0/sources/recentfiles.h Examining data/qelectrotech-0.7.0/sources/richtext/richtexteditor.cpp Examining data/qelectrotech-0.7.0/sources/richtext/richtexteditor_p.h Examining data/qelectrotech-0.7.0/sources/richtext/ui_addlinkdialog.h Examining data/qelectrotech-0.7.0/sources/titleblock/dimension.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/dimension.h Examining data/qelectrotech-0.7.0/sources/titleblock/dimensionwidget.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/dimensionwidget.h Examining data/qelectrotech-0.7.0/sources/titleblock/gridlayoutanimation.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/gridlayoutanimation.h Examining data/qelectrotech-0.7.0/sources/titleblock/helpercell.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/helpercell.h Examining data/qelectrotech-0.7.0/sources/titleblock/integrationmovetemplateshandler.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/integrationmovetemplateshandler.h Examining data/qelectrotech-0.7.0/sources/titleblock/movetemplateshandler.h Examining data/qelectrotech-0.7.0/sources/titleblock/qettemplateeditor.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/qettemplateeditor.h Examining data/qelectrotech-0.7.0/sources/titleblock/splittedhelpercell.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/splittedhelpercell.h Examining data/qelectrotech-0.7.0/sources/titleblock/templatecellsset.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templatecellsset.h Examining data/qelectrotech-0.7.0/sources/titleblock/templatecellwidget.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templatecellwidget.h Examining data/qelectrotech-0.7.0/sources/titleblock/templatecommands.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templatecommands.h Examining data/qelectrotech-0.7.0/sources/titleblock/templatedeleter.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templatedeleter.h Examining data/qelectrotech-0.7.0/sources/titleblock/templatelocation.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templatelocation.h Examining data/qelectrotech-0.7.0/sources/titleblock/templatelocationchooser.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templatelocationchooser.h Examining data/qelectrotech-0.7.0/sources/titleblock/templatelocationsaver.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templatelocationsaver.h Examining data/qelectrotech-0.7.0/sources/titleblock/templatelogomanager.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templatelogomanager.h Examining data/qelectrotech-0.7.0/sources/titleblock/templatescollection.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templatescollection.h Examining data/qelectrotech-0.7.0/sources/titleblock/templateview.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templateview.h Examining data/qelectrotech-0.7.0/sources/titleblock/templatevisualcell.cpp Examining data/qelectrotech-0.7.0/sources/titleblock/templatevisualcell.h Examining data/qelectrotech-0.7.0/sources/titleblockcell.cpp Examining data/qelectrotech-0.7.0/sources/titleblockcell.h Examining data/qelectrotech-0.7.0/sources/titleblockproperties.cpp Examining data/qelectrotech-0.7.0/sources/titleblockproperties.h Examining data/qelectrotech-0.7.0/sources/titleblocktemplate.cpp Examining data/qelectrotech-0.7.0/sources/titleblocktemplate.h Examining data/qelectrotech-0.7.0/sources/titleblocktemplaterenderer.cpp Examining data/qelectrotech-0.7.0/sources/titleblocktemplaterenderer.h Examining data/qelectrotech-0.7.0/sources/ui/abstractelementpropertieseditorwidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/abstractelementpropertieseditorwidget.h Examining data/qelectrotech-0.7.0/sources/ui/alignmenttextdialog.cpp Examining data/qelectrotech-0.7.0/sources/ui/alignmenttextdialog.h Examining data/qelectrotech-0.7.0/sources/ui/borderpropertieswidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/borderpropertieswidget.h Examining data/qelectrotech-0.7.0/sources/ui/compositetexteditdialog.cpp Examining data/qelectrotech-0.7.0/sources/ui/compositetexteditdialog.h Examining data/qelectrotech-0.7.0/sources/ui/conductorpropertiesdialog.cpp Examining data/qelectrotech-0.7.0/sources/ui/conductorpropertiesdialog.h Examining data/qelectrotech-0.7.0/sources/ui/conductorpropertieswidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/conductorpropertieswidget.h Examining data/qelectrotech-0.7.0/sources/ui/configpage/generalconfigurationpage.cpp Examining data/qelectrotech-0.7.0/sources/ui/configpage/generalconfigurationpage.h Examining data/qelectrotech-0.7.0/sources/ui/diagramcontextwidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/diagramcontextwidget.h Examining data/qelectrotech-0.7.0/sources/ui/diagrampropertiesdialog.cpp Examining data/qelectrotech-0.7.0/sources/ui/diagrampropertiesdialog.h Examining data/qelectrotech-0.7.0/sources/ui/diagrampropertieseditordockwidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/diagrampropertieseditordockwidget.h Examining data/qelectrotech-0.7.0/sources/ui/diagramselection.cpp Examining data/qelectrotech-0.7.0/sources/ui/diagramselection.h Examining data/qelectrotech-0.7.0/sources/ui/dialogwaiting.cpp Examining data/qelectrotech-0.7.0/sources/ui/dialogwaiting.h Examining data/qelectrotech-0.7.0/sources/ui/dynamicelementtextitemeditor.cpp Examining data/qelectrotech-0.7.0/sources/ui/dynamicelementtextitemeditor.h Examining data/qelectrotech-0.7.0/sources/ui/dynamicelementtextmodel.cpp Examining data/qelectrotech-0.7.0/sources/ui/dynamicelementtextmodel.h Examining data/qelectrotech-0.7.0/sources/ui/elementinfopartwidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/elementinfopartwidget.h Examining data/qelectrotech-0.7.0/sources/ui/elementinfowidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/elementinfowidget.h Examining data/qelectrotech-0.7.0/sources/ui/elementpropertieswidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/elementpropertieswidget.h Examining data/qelectrotech-0.7.0/sources/ui/formulaassistantdialog.cpp Examining data/qelectrotech-0.7.0/sources/ui/formulaassistantdialog.h Examining data/qelectrotech-0.7.0/sources/ui/imagepropertieswidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/imagepropertieswidget.h Examining data/qelectrotech-0.7.0/sources/ui/importelementdialog.cpp Examining data/qelectrotech-0.7.0/sources/ui/importelementdialog.h Examining data/qelectrotech-0.7.0/sources/ui/importelementtextpatterndialog.cpp Examining data/qelectrotech-0.7.0/sources/ui/importelementtextpatterndialog.h Examining data/qelectrotech-0.7.0/sources/ui/inditextpropertieswidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/inditextpropertieswidget.h Examining data/qelectrotech-0.7.0/sources/ui/linksingleelementwidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/linksingleelementwidget.h Examining data/qelectrotech-0.7.0/sources/ui/masterpropertieswidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/masterpropertieswidget.h Examining data/qelectrotech-0.7.0/sources/ui/multipastedialog.cpp Examining data/qelectrotech-0.7.0/sources/ui/multipastedialog.h Examining data/qelectrotech-0.7.0/sources/ui/potentialselectordialog.cpp Examining data/qelectrotech-0.7.0/sources/ui/potentialselectordialog.h Examining data/qelectrotech-0.7.0/sources/ui/projectpropertiesdialog.cpp Examining data/qelectrotech-0.7.0/sources/ui/projectpropertiesdialog.h Examining data/qelectrotech-0.7.0/sources/ui/reportpropertiewidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/reportpropertiewidget.h Examining data/qelectrotech-0.7.0/sources/ui/shapegraphicsitempropertieswidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/shapegraphicsitempropertieswidget.h Examining data/qelectrotech-0.7.0/sources/ui/titleblockpropertieswidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/titleblockpropertieswidget.h Examining data/qelectrotech-0.7.0/sources/ui/xrefpropertieswidget.cpp Examining data/qelectrotech-0.7.0/sources/ui/xrefpropertieswidget.h Examining data/qelectrotech-0.7.0/sources/undocommand/addelementtextcommand.cpp Examining data/qelectrotech-0.7.0/sources/undocommand/addelementtextcommand.h Examining data/qelectrotech-0.7.0/sources/undocommand/changeelementinformationcommand.cpp Examining data/qelectrotech-0.7.0/sources/undocommand/changeelementinformationcommand.h Examining data/qelectrotech-0.7.0/sources/undocommand/changetitleblockcommand.cpp Examining data/qelectrotech-0.7.0/sources/undocommand/changetitleblockcommand.h Examining data/qelectrotech-0.7.0/sources/undocommand/deleteqgraphicsitemcommand.cpp Examining data/qelectrotech-0.7.0/sources/undocommand/deleteqgraphicsitemcommand.h Examining data/qelectrotech-0.7.0/sources/undocommand/linkelementcommand.cpp Examining data/qelectrotech-0.7.0/sources/undocommand/linkelementcommand.h Examining data/qelectrotech-0.7.0/sources/undocommand/rotateselectioncommand.cpp Examining data/qelectrotech-0.7.0/sources/undocommand/rotateselectioncommand.h Examining data/qelectrotech-0.7.0/sources/undocommand/rotatetextscommand.cpp Examining data/qelectrotech-0.7.0/sources/undocommand/rotatetextscommand.h Examining data/qelectrotech-0.7.0/sources/utils/conductorcreator.cpp Examining data/qelectrotech-0.7.0/sources/utils/conductorcreator.h Examining data/qelectrotech-0.7.0/sources/utils/macosxopenevent.cpp Examining data/qelectrotech-0.7.0/sources/utils/macosxopenevent.h FINAL RESULTS: data/qelectrotech-0.7.0/sources/elementscategoryeditor.cpp:70:30: [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. cat_names.addName(QLocale::system().name().left(2), tr("Nom de la nouvelle catégorie", "default name when creating a new category")); data/qelectrotech-0.7.0/sources/newelementwizard.cpp:135:29: [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. hash_name.addName(QLocale::system().name().left(2), tr("Nom du nouvel élément", "default name when creating a new element")); data/qelectrotech-0.7.0/sources/qetapp.cpp:188:62: [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. if(system_language == "system") {system_language = QLocale::system().name().left(2);} data/qelectrotech-0.7.0/SingleApplication/singleapplication_p.cpp:104:9: [2] (buffer) wchar_t: 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. wchar_t username [ UNLEN + 1 ]; data/qelectrotech-0.7.0/sources/ElementsCollection/elementslocation.cpp:508: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 (dir_conf.exists() && dir_conf.open(QIODevice::ReadOnly | QIODevice::Text)) data/qelectrotech-0.7.0/sources/ElementsCollection/fileelementcollectionitem.cpp:127: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 (dir_conf.exists() && dir_conf.open(QIODevice::ReadOnly | QIODevice::Text)) { data/qelectrotech-0.7.0/sources/autoNum/assignvariables.cpp:519: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(QFile::ReadOnly | QFile::Text)) data/qelectrotech-0.7.0/sources/autoNum/assignvariables.cpp:561: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(QFile::ReadOnly | QFile::Text)) data/qelectrotech-0.7.0/sources/createdxf.cpp:49: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 (!file.open(QFile::WriteOnly)) { data/qelectrotech-0.7.0/sources/createdxf.cpp:237: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 (!file.open(QFile::Append)) { data/qelectrotech-0.7.0/sources/createdxf.cpp:260: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 (!file.open(QFile::Append)) { data/qelectrotech-0.7.0/sources/createdxf.cpp:294: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 (!file.open(QFile::Append)) { data/qelectrotech-0.7.0/sources/createdxf.cpp:569: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 (!file.open(QFile::Append)) { data/qelectrotech-0.7.0/sources/createdxf.cpp:675: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 (!file.open(QFile::Append)) { data/qelectrotech-0.7.0/sources/createdxf.cpp:712: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 (!file.open(QFile::Append)) { data/qelectrotech-0.7.0/sources/createdxf.cpp:754: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 (!file.open(QFile::Append)) { data/qelectrotech-0.7.0/sources/editor/qetelementeditor.cpp:227: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). connect(open, SIGNAL(triggered()), this, SLOT(slot_open())); data/qelectrotech-0.7.0/sources/editor/qetelementeditor.cpp:329:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). main_toolbar -> addAction(open); data/qelectrotech-0.7.0/sources/editor/qetelementeditor.cpp:379:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file_menu -> addAction(open); data/qelectrotech-0.7.0/sources/editor/qetelementeditor.cpp:810: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)) { data/qelectrotech-0.7.0/sources/editor/qetelementeditor.cpp:1544: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 (!element_file.open(QIODevice::ReadOnly)) { data/qelectrotech-0.7.0/sources/editor/qetelementeditor.h:71: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). QAction *new_element, *open, *open_dxf, *open_file, *save, *save_as, *save_as_file, *reload, *quit; data/qelectrotech-0.7.0/sources/elementscollectioncache.cpp:43: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 (!cache_db_.open()) data/qelectrotech-0.7.0/sources/elementscollectioncache.cpp:314: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). buffer.open(QIODevice::WriteOnly); data/qelectrotech-0.7.0/sources/elementtextpattern.cpp:199: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(!conf_file.open(QIODevice::ReadOnly | QIODevice::Text)) data/qelectrotech-0.7.0/sources/exportdialog.cpp:1005: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). buffer.open(QIODevice::WriteOnly); data/qelectrotech-0.7.0/sources/nomenclature.cpp:67: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::WriteOnly | QIODevice::Text)){ data/qelectrotech-0.7.0/sources/qet.cpp:347: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 (!file_license -> open(QIODevice::ReadOnly | QIODevice::Text)) { data/qelectrotech-0.7.0/sources/qet.cpp:549:30: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). bool file_opening = file.open(QIODevice::WriteOnly); data/qelectrotech-0.7.0/sources/qet.cpp:669: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). bool open_ = file->open(QIODevice::WriteOnly); data/qelectrotech-0.7.0/sources/qetapp.cpp:1243: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). file.open(QFile::ReadOnly); data/qelectrotech-0.7.0/sources/qetapp.cpp:1853: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). stale->open(QIODevice::ReadWrite); data/qelectrotech-0.7.0/sources/qetgraphicsitem/diagramimageitem.cpp:179: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). buffer.open(QIODevice::ReadWrite); data/qelectrotech-0.7.0/sources/qetproject.cpp:91: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). backup->open(QIODevice::ReadWrite); data/qelectrotech-0.7.0/sources/qetproject.cpp:154: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->isOpen() && !file->open(QIODevice::ReadOnly | QIODevice::Text)) { data/qelectrotech-0.7.0/sources/qetproject.cpp:268: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 (!m_backup_file->open(QIODevice::WriteOnly)) { data/qelectrotech-0.7.0/sources/qetproject.cpp:1678: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). (!m_backup_file->isOpen() && !m_backup_file->open(QIODevice::ReadWrite))) { data/qelectrotech-0.7.0/sources/qetxml.cpp:174:34: [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 (qet_dir.exists() && qet_dir.open(QIODevice::ReadOnly | QIODevice::Text)) data/qelectrotech-0.7.0/sources/qetxml.cpp:205:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (file.exists() && file.open(QIODevice::ReadOnly | QIODevice::Text)) data/qelectrotech-0.7.0/sources/qetxml.cpp:240: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). bool file_opening = file.open(QIODevice::WriteOnly); data/qelectrotech-0.7.0/sources/titleblock/qettemplateeditor.cpp:379:64: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). connect(open_, SIGNAL(triggered()), this, SLOT(open())); data/qelectrotech-0.7.0/sources/titleblock/qettemplateeditor.cpp:749:35: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void QETTitleBlockTemplateEditor::open() { data/qelectrotech-0.7.0/sources/titleblock/qettemplateeditor.h:116: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). void open(); data/qelectrotech-0.7.0/sources/titleblock/templatescollection.cpp:430: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 (!xml_file.open(QIODevice::ReadOnly)) { data/qelectrotech-0.7.0/sources/titleblocktemplate.cpp:82:21: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!template_file.open(QIODevice::ReadOnly | QIODevice::Text)) { data/qelectrotech-0.7.0/sources/titleblocktemplate.cpp:1079: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 (!logo_file.open(QIODevice::ReadOnly)) return(false); data/qelectrotech-0.7.0/sources/titleblocktemplate.cpp:1100: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 (!target_file.open(QIODevice::WriteOnly | QIODevice::Truncate)) { data/qelectrotech-0.7.0/SingleApplication/singleapplication_p.cpp:341:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). QByteArray msgBytes = sock->read(info.msgLen); data/qelectrotech-0.7.0/sources/conductorproperties.cpp:466:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:477:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:488:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:499:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:510:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:521:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:532:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:543:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:554:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:565:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:576:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:587:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:598:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:609:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:620:6: [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. if (equal) data/qelectrotech-0.7.0/sources/conductorproperties.cpp:631:6: [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. if (equal) data/qelectrotech-0.7.0/sources/ui/masterpropertieswidget.cpp:195:6: [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. if(equal) ANALYSIS SUMMARY: Hits = 65 Lines analyzed = 101925 in approximately 2.82 seconds (36202 lines/second) Physical Source Lines of Code (SLOC) = 62335 Hits@level = [0] 0 [1] 18 [2] 44 [3] 0 [4] 3 [5] 0 Hits@level+ = [0+] 65 [1+] 65 [2+] 47 [3+] 3 [4+] 3 [5+] 0 Hits/KSLOC@level+ = [0+] 1.04275 [1+] 1.04275 [2+] 0.753991 [3+] 0.0481271 [4+] 0.0481271 [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.