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/fritzing-0.9.3b+dfsg/src/autoroute/autorouteprogressdialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/autorouteprogressdialog.h Examining data/fritzing-0.9.3b+dfsg/src/autoroute/autorouter.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/autorouter.h Examining data/fritzing-0.9.3b+dfsg/src/autoroute/autoroutersettingsdialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/autoroutersettingsdialog.h Examining data/fritzing-0.9.3b+dfsg/src/autoroute/cmrouter/DBcell.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/cmrouter/cmrouter.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/cmrouter/cmrouter.h Examining data/fritzing-0.9.3b+dfsg/src/autoroute/cmrouter/search.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/cmrouter/search2.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/cmrouter/tile.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/cmrouter/tile.h Examining data/fritzing-0.9.3b+dfsg/src/autoroute/cmrouter/tileutils.h Examining data/fritzing-0.9.3b+dfsg/src/autoroute/drc.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/drc.h Examining data/fritzing-0.9.3b+dfsg/src/autoroute/eventeater.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/eventeater.h Examining data/fritzing-0.9.3b+dfsg/src/autoroute/mazerouter/mazerouter.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/mazerouter/mazerouter.h Examining data/fritzing-0.9.3b+dfsg/src/autoroute/panelizer.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/panelizer.h Examining data/fritzing-0.9.3b+dfsg/src/autoroute/zoomcontrols.cpp Examining data/fritzing-0.9.3b+dfsg/src/autoroute/zoomcontrols.h Examining data/fritzing-0.9.3b+dfsg/src/commands.cpp Examining data/fritzing-0.9.3b+dfsg/src/commands.h Examining data/fritzing-0.9.3b+dfsg/src/connectors/bus.cpp Examining data/fritzing-0.9.3b+dfsg/src/connectors/bus.h Examining data/fritzing-0.9.3b+dfsg/src/connectors/busshared.cpp Examining data/fritzing-0.9.3b+dfsg/src/connectors/busshared.h Examining data/fritzing-0.9.3b+dfsg/src/connectors/connector.cpp Examining data/fritzing-0.9.3b+dfsg/src/connectors/connector.h Examining data/fritzing-0.9.3b+dfsg/src/connectors/connectoritem.cpp Examining data/fritzing-0.9.3b+dfsg/src/connectors/connectoritem.h Examining data/fritzing-0.9.3b+dfsg/src/connectors/connectorshared.cpp Examining data/fritzing-0.9.3b+dfsg/src/connectors/connectorshared.h Examining data/fritzing-0.9.3b+dfsg/src/connectors/ercdata.cpp Examining data/fritzing-0.9.3b+dfsg/src/connectors/ercdata.h Examining data/fritzing-0.9.3b+dfsg/src/connectors/nonconnectoritem.cpp Examining data/fritzing-0.9.3b+dfsg/src/connectors/nonconnectoritem.h Examining data/fritzing-0.9.3b+dfsg/src/connectors/svgidlayer.cpp Examining data/fritzing-0.9.3b+dfsg/src/connectors/svgidlayer.h Examining data/fritzing-0.9.3b+dfsg/src/debugdialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/debugdialog.h Examining data/fritzing-0.9.3b+dfsg/src/dialogs/groundfillseeddialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/dialogs/groundfillseeddialog.h Examining data/fritzing-0.9.3b+dfsg/src/dialogs/pinlabeldialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/dialogs/pinlabeldialog.h Examining data/fritzing-0.9.3b+dfsg/src/dialogs/prefsdialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/dialogs/prefsdialog.h Examining data/fritzing-0.9.3b+dfsg/src/dialogs/quotedialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/dialogs/quotedialog.h Examining data/fritzing-0.9.3b+dfsg/src/dialogs/recoverydialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/dialogs/recoverydialog.h Examining data/fritzing-0.9.3b+dfsg/src/dialogs/setcolordialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/dialogs/setcolordialog.h Examining data/fritzing-0.9.3b+dfsg/src/dialogs/translatorlistmodel.cpp Examining data/fritzing-0.9.3b+dfsg/src/dialogs/translatorlistmodel.h Examining data/fritzing-0.9.3b+dfsg/src/dock/layerpalette.cpp Examining data/fritzing-0.9.3b+dfsg/src/dock/layerpalette.h Examining data/fritzing-0.9.3b+dfsg/src/eagle/fritzing2eagle.cpp Examining data/fritzing-0.9.3b+dfsg/src/eagle/fritzing2eagle.h Examining data/fritzing-0.9.3b+dfsg/src/fapplication.cpp Examining data/fritzing-0.9.3b+dfsg/src/fapplication.h Examining data/fritzing-0.9.3b+dfsg/src/fsplashscreen.cpp Examining data/fritzing-0.9.3b+dfsg/src/fsplashscreen.h Examining data/fritzing-0.9.3b+dfsg/src/fsvgrenderer.cpp Examining data/fritzing-0.9.3b+dfsg/src/fsvgrenderer.h Examining data/fritzing-0.9.3b+dfsg/src/help/aboutbox.cpp Examining data/fritzing-0.9.3b+dfsg/src/help/aboutbox.h Examining data/fritzing-0.9.3b+dfsg/src/help/firsttimehelpdialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/help/firsttimehelpdialog.h Examining data/fritzing-0.9.3b+dfsg/src/help/tipsandtricks.cpp Examining data/fritzing-0.9.3b+dfsg/src/help/tipsandtricks.h Examining data/fritzing-0.9.3b+dfsg/src/infoview/htmlinfoview.cpp Examining data/fritzing-0.9.3b+dfsg/src/infoview/htmlinfoview.h Examining data/fritzing-0.9.3b+dfsg/src/installedfonts.h Examining data/fritzing-0.9.3b+dfsg/src/itemdrag.cpp Examining data/fritzing-0.9.3b+dfsg/src/itemdrag.h Examining data/fritzing-0.9.3b+dfsg/src/items/breadboard.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/breadboard.h Examining data/fritzing-0.9.3b+dfsg/src/items/capacitor.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/capacitor.h Examining data/fritzing-0.9.3b+dfsg/src/items/clipablewire.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/clipablewire.h Examining data/fritzing-0.9.3b+dfsg/src/items/dip.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/dip.h Examining data/fritzing-0.9.3b+dfsg/src/items/groundplane.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/groundplane.h Examining data/fritzing-0.9.3b+dfsg/src/items/hole.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/hole.h Examining data/fritzing-0.9.3b+dfsg/src/items/itembase.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/itembase.h Examining data/fritzing-0.9.3b+dfsg/src/items/jumperitem.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/jumperitem.h Examining data/fritzing-0.9.3b+dfsg/src/items/layerkinpaletteitem.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/layerkinpaletteitem.h Examining data/fritzing-0.9.3b+dfsg/src/items/led.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/led.h Examining data/fritzing-0.9.3b+dfsg/src/items/logoitem.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/logoitem.h Examining data/fritzing-0.9.3b+dfsg/src/items/moduleidnames.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/moduleidnames.h Examining data/fritzing-0.9.3b+dfsg/src/items/mysterypart.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/mysterypart.h Examining data/fritzing-0.9.3b+dfsg/src/items/note.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/note.h Examining data/fritzing-0.9.3b+dfsg/src/items/pad.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/pad.h Examining data/fritzing-0.9.3b+dfsg/src/items/paletteitem.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/paletteitem.h Examining data/fritzing-0.9.3b+dfsg/src/items/paletteitembase.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/paletteitembase.h Examining data/fritzing-0.9.3b+dfsg/src/items/partfactory.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/partfactory.h Examining data/fritzing-0.9.3b+dfsg/src/items/partlabel.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/partlabel.h Examining data/fritzing-0.9.3b+dfsg/src/items/perfboard.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/perfboard.h Examining data/fritzing-0.9.3b+dfsg/src/items/pinheader.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/pinheader.h Examining data/fritzing-0.9.3b+dfsg/src/items/propertydef.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/propertydef.h Examining data/fritzing-0.9.3b+dfsg/src/items/resistor.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/resistor.h Examining data/fritzing-0.9.3b+dfsg/src/items/resizableboard.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/resizableboard.h Examining data/fritzing-0.9.3b+dfsg/src/items/ruler.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/ruler.h Examining data/fritzing-0.9.3b+dfsg/src/items/schematicframe.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/schematicframe.h Examining data/fritzing-0.9.3b+dfsg/src/items/schematicsubpart.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/schematicsubpart.h Examining data/fritzing-0.9.3b+dfsg/src/items/screwterminal.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/screwterminal.h Examining data/fritzing-0.9.3b+dfsg/src/items/stripboard.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/stripboard.h Examining data/fritzing-0.9.3b+dfsg/src/items/symbolpaletteitem.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/symbolpaletteitem.h Examining data/fritzing-0.9.3b+dfsg/src/items/tracewire.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/tracewire.h Examining data/fritzing-0.9.3b+dfsg/src/items/via.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/via.h Examining data/fritzing-0.9.3b+dfsg/src/items/virtualwire.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/virtualwire.h Examining data/fritzing-0.9.3b+dfsg/src/items/wire.cpp Examining data/fritzing-0.9.3b+dfsg/src/items/wire.h Examining data/fritzing-0.9.3b+dfsg/src/layerattributes.cpp Examining data/fritzing-0.9.3b+dfsg/src/layerattributes.h Examining data/fritzing-0.9.3b+dfsg/src/lib/qtsysteminfo/QtSystemInfo.cpp Examining data/fritzing-0.9.3b+dfsg/src/lib/qtsysteminfo/QtSystemInfo.h Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/crypt.h Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/ioapi.c Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/ioapi.h Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazip.cpp Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazip.h Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.cpp Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.h Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfileinfo.h Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipnewinfo.cpp Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipnewinfo.h Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/unzip.c Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/unzip.h Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/zip.c Examining data/fritzing-0.9.3b+dfsg/src/lib/quazip/zip.h Examining data/fritzing-0.9.3b+dfsg/src/main.cpp Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/fdockwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/fdockwidget.h Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/fritzingwindow.cpp Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/fritzingwindow.h Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow.cpp Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow.h Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow_dock.cpp Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow_export.cpp Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow_menu.cpp Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/sketchareawidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/mainwindow/sketchareawidget.h Examining data/fritzing-0.9.3b+dfsg/src/model/modelbase.cpp Examining data/fritzing-0.9.3b+dfsg/src/model/modelbase.h Examining data/fritzing-0.9.3b+dfsg/src/model/modelpart.cpp Examining data/fritzing-0.9.3b+dfsg/src/model/modelpart.h Examining data/fritzing-0.9.3b+dfsg/src/model/modelpartshared.cpp Examining data/fritzing-0.9.3b+dfsg/src/model/modelpartshared.h Examining data/fritzing-0.9.3b+dfsg/src/model/palettemodel.cpp Examining data/fritzing-0.9.3b+dfsg/src/model/palettemodel.h Examining data/fritzing-0.9.3b+dfsg/src/model/sketchmodel.cpp Examining data/fritzing-0.9.3b+dfsg/src/model/sketchmodel.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/binmanager/binmanager.cpp Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/binmanager/binmanager.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/binmanager/stacktabbar.cpp Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/binmanager/stacktabbar.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/binmanager/stacktabwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/binmanager/stacktabwidget.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/graphicsflowlayout.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbincommands.cpp Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbincommands.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbiniconview.cpp Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbiniconview.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbinlistview.cpp Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbinlistview.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbinpalettewidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbinpalettewidget.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbinview.cpp Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbinview.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/searchlineedit.cpp Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/searchlineedit.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/svgiconwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/svgiconwidget.h Examining data/fritzing-0.9.3b+dfsg/src/partsbinpalette/graphicsflowlayout.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/baseremovebutton.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/hashpopulatewidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/hashpopulatewidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/kicadmoduledialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/kicadmoduledialog.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/abstractconnectorinfowidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/abstractconnectorinfowidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/abstracteditablelabelwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/abstracteditablelabelwidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/abstractimagebutton.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/addremoveconnectorbutton.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/addremovelistwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/addremovelistwidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/connectorinforemovebutton.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/connectorrectangle.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/connectorrectangle.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/connectorsinfowidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/connectorsinfowidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/cornerhandler.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/cornerhandler.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/editabledatewidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/editabledatewidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/editablelabel.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/editablelabel.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/editablelinewidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/editablelinewidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/editabletextwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/editabletextwidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/fixfontsdialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/fixfontsdialog.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/mismatchingconnectorwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/mismatchingconnectorwidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partconnectorswidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partconnectorswidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partinfowidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partinfowidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partseditormainwindow.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partseditormainwindow.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partseditorview.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partseditorview.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partseditorviewswidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partseditorviewswidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partspecificationswidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partspecificationswidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/pcbxml.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/pcbxml.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/resizablerectitem.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/resizablerectitem.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/simpleeditablelabelwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/simpleeditablelabelwidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/singleconnectorinfowidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/singleconnectorinfowidget.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/svgdomdocument.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/svgdomdocument.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/svgview.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/svgview.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/pecommands.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/pecommands.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/peconnectorsview.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/peconnectorsview.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/pegraphicsitem.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/pegraphicsitem.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/pemainwindow.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/pemetadataview.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/pemetadataview.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/pesvgview.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/pesvgview.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/petoolview.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/petoolview.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/peutils.cpp Examining data/fritzing-0.9.3b+dfsg/src/partseditor/peutils.h Examining data/fritzing-0.9.3b+dfsg/src/partseditor/pemainwindow.cpp Examining data/fritzing-0.9.3b+dfsg/src/processeventblocker.cpp Examining data/fritzing-0.9.3b+dfsg/src/processeventblocker.h Examining data/fritzing-0.9.3b+dfsg/src/program/console.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/console.h Examining data/fritzing-0.9.3b+dfsg/src/program/consolesettings.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/consolesettings.h Examining data/fritzing-0.9.3b+dfsg/src/program/consolewindow.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/consolewindow.h Examining data/fritzing-0.9.3b+dfsg/src/program/highlighter.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/highlighter.h Examining data/fritzing-0.9.3b+dfsg/src/program/platform.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/platform.h Examining data/fritzing-0.9.3b+dfsg/src/program/platformarduino.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/platformarduino.h Examining data/fritzing-0.9.3b+dfsg/src/program/platformlaunchpad.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/platformlaunchpad.h Examining data/fritzing-0.9.3b+dfsg/src/program/platformpicaxe.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/platformpicaxe.h Examining data/fritzing-0.9.3b+dfsg/src/program/programtab.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/programtab.h Examining data/fritzing-0.9.3b+dfsg/src/program/programwindow.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/programwindow.h Examining data/fritzing-0.9.3b+dfsg/src/program/syntaxer.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/syntaxer.h Examining data/fritzing-0.9.3b+dfsg/src/program/trienode.cpp Examining data/fritzing-0.9.3b+dfsg/src/program/trienode.h Examining data/fritzing-0.9.3b+dfsg/src/referencemodel/referencemodel.h Examining data/fritzing-0.9.3b+dfsg/src/referencemodel/sqlitereferencemodel.cpp Examining data/fritzing-0.9.3b+dfsg/src/referencemodel/sqlitereferencemodel.h Examining data/fritzing-0.9.3b+dfsg/src/routingstatus.h Examining data/fritzing-0.9.3b+dfsg/src/sketch/breadboardsketchwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/sketch/breadboardsketchwidget.h Examining data/fritzing-0.9.3b+dfsg/src/sketch/fgraphicsscene.cpp Examining data/fritzing-0.9.3b+dfsg/src/sketch/fgraphicsscene.h Examining data/fritzing-0.9.3b+dfsg/src/sketch/infographicsview.cpp Examining data/fritzing-0.9.3b+dfsg/src/sketch/infographicsview.h Examining data/fritzing-0.9.3b+dfsg/src/sketch/pcbsketchwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/sketch/pcbsketchwidget.h Examining data/fritzing-0.9.3b+dfsg/src/sketch/schematicsketchwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/sketch/schematicsketchwidget.h Examining data/fritzing-0.9.3b+dfsg/src/sketch/sketchwidget.cpp Examining data/fritzing-0.9.3b+dfsg/src/sketch/sketchwidget.h Examining data/fritzing-0.9.3b+dfsg/src/sketch/welcomeview.cpp Examining data/fritzing-0.9.3b+dfsg/src/sketch/welcomeview.h Examining data/fritzing-0.9.3b+dfsg/src/sketch/zoomablegraphicsview.cpp Examining data/fritzing-0.9.3b+dfsg/src/sketch/zoomablegraphicsview.h Examining data/fritzing-0.9.3b+dfsg/src/sketchtoolbutton.cpp Examining data/fritzing-0.9.3b+dfsg/src/sketchtoolbutton.h Examining data/fritzing-0.9.3b+dfsg/src/svg/gedaelement2svg.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/gedaelement2svg.h Examining data/fritzing-0.9.3b+dfsg/src/svg/gedaelementgrammar.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/gedaelementgrammar_p.h Examining data/fritzing-0.9.3b+dfsg/src/svg/gedaelementlexer.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/gedaelementlexer.h Examining data/fritzing-0.9.3b+dfsg/src/svg/gedaelementparser.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/gedaelementparser.h Examining data/fritzing-0.9.3b+dfsg/src/svg/gerbergenerator.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/gerbergenerator.h Examining data/fritzing-0.9.3b+dfsg/src/svg/groundplanegenerator.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/groundplanegenerator.h Examining data/fritzing-0.9.3b+dfsg/src/svg/kicad2svg.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/kicad2svg.h Examining data/fritzing-0.9.3b+dfsg/src/svg/kicadmodule2svg.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/kicadmodule2svg.h Examining data/fritzing-0.9.3b+dfsg/src/svg/kicadschematic2svg.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/kicadschematic2svg.h Examining data/fritzing-0.9.3b+dfsg/src/svg/svg2gerber.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/svg2gerber.h Examining data/fritzing-0.9.3b+dfsg/src/svg/svgfilesplitter.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/svgfilesplitter.h Examining data/fritzing-0.9.3b+dfsg/src/svg/svgflattener.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/svgflattener.h Examining data/fritzing-0.9.3b+dfsg/src/svg/svgpathgrammar.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/svgpathgrammar_p.h Examining data/fritzing-0.9.3b+dfsg/src/svg/svgpathlexer.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/svgpathlexer.h Examining data/fritzing-0.9.3b+dfsg/src/svg/svgpathparser.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/svgpathparser.h Examining data/fritzing-0.9.3b+dfsg/src/svg/svgpathrunner.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/svgpathrunner.h Examining data/fritzing-0.9.3b+dfsg/src/svg/x2svg.cpp Examining data/fritzing-0.9.3b+dfsg/src/svg/x2svg.h Examining data/fritzing-0.9.3b+dfsg/src/utils/abstractstatesbutton.h Examining data/fritzing-0.9.3b+dfsg/src/utils/autoclosemessagebox.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/autoclosemessagebox.h Examining data/fritzing-0.9.3b+dfsg/src/utils/bendpointaction.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/bendpointaction.h Examining data/fritzing-0.9.3b+dfsg/src/utils/bezier.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/bezier.h Examining data/fritzing-0.9.3b+dfsg/src/utils/bezierdisplay.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/bezierdisplay.h Examining data/fritzing-0.9.3b+dfsg/src/utils/boundedregexpvalidator.h Examining data/fritzing-0.9.3b+dfsg/src/utils/bundler.h Examining data/fritzing-0.9.3b+dfsg/src/utils/clickablelabel.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/clickablelabel.h Examining data/fritzing-0.9.3b+dfsg/src/utils/cursormaster.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/cursormaster.h Examining data/fritzing-0.9.3b+dfsg/src/utils/expandinglabel.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/expandinglabel.h Examining data/fritzing-0.9.3b+dfsg/src/utils/familypropertycombobox.h Examining data/fritzing-0.9.3b+dfsg/src/utils/fileprogressdialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/fileprogressdialog.h Examining data/fritzing-0.9.3b+dfsg/src/utils/flineedit.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/flineedit.h Examining data/fritzing-0.9.3b+dfsg/src/utils/fmessagebox.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/fmessagebox.h Examining data/fritzing-0.9.3b+dfsg/src/utils/focusoutcombobox.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/focusoutcombobox.h Examining data/fritzing-0.9.3b+dfsg/src/utils/folderutils.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/folderutils.h Examining data/fritzing-0.9.3b+dfsg/src/utils/fsizegrip.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/fsizegrip.h Examining data/fritzing-0.9.3b+dfsg/src/utils/graphicsutils.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/graphicsutils.h Examining data/fritzing-0.9.3b+dfsg/src/utils/graphutils.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/graphutils.h Examining data/fritzing-0.9.3b+dfsg/src/utils/lockmanager.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/lockmanager.h Examining data/fritzing-0.9.3b+dfsg/src/utils/misc.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/misc.h Examining data/fritzing-0.9.3b+dfsg/src/utils/ratsnestcolors.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/ratsnestcolors.h Examining data/fritzing-0.9.3b+dfsg/src/utils/resizehandle.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/resizehandle.h Examining data/fritzing-0.9.3b+dfsg/src/utils/s2s.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/s2s.h Examining data/fritzing-0.9.3b+dfsg/src/utils/schematicrectconstants.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/schematicrectconstants.h Examining data/fritzing-0.9.3b+dfsg/src/utils/textutils.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/textutils.h Examining data/fritzing-0.9.3b+dfsg/src/utils/zoomslider.cpp Examining data/fritzing-0.9.3b+dfsg/src/utils/zoomslider.h Examining data/fritzing-0.9.3b+dfsg/src/version/modfiledialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/version/modfiledialog.h Examining data/fritzing-0.9.3b+dfsg/src/version/partschecker.h Examining data/fritzing-0.9.3b+dfsg/src/version/updatedialog.cpp Examining data/fritzing-0.9.3b+dfsg/src/version/updatedialog.h Examining data/fritzing-0.9.3b+dfsg/src/version/version.cpp Examining data/fritzing-0.9.3b+dfsg/src/version/version.h Examining data/fritzing-0.9.3b+dfsg/src/version/versionchecker.cpp Examining data/fritzing-0.9.3b+dfsg/src/version/versionchecker.h Examining data/fritzing-0.9.3b+dfsg/src/version/partschecker.cpp Examining data/fritzing-0.9.3b+dfsg/src/viewgeometry.cpp Examining data/fritzing-0.9.3b+dfsg/src/viewgeometry.h Examining data/fritzing-0.9.3b+dfsg/src/viewlayer.cpp Examining data/fritzing-0.9.3b+dfsg/src/viewlayer.h Examining data/fritzing-0.9.3b+dfsg/src/waitpushundostack.cpp Examining data/fritzing-0.9.3b+dfsg/src/waitpushundostack.h Examining data/fritzing-0.9.3b+dfsg/tools/fixfz/fixfz.cpp Examining data/fritzing-0.9.3b+dfsg/tools/fixfz/fixfz.h Examining data/fritzing-0.9.3b+dfsg/tools/schem2schem/main.cpp Examining data/fritzing-0.9.3b+dfsg/tools/schem2schem/s2sapplication.cpp Examining data/fritzing-0.9.3b+dfsg/tools/schem2schem/s2sapplication.h Examining data/fritzing-0.9.3b+dfsg/ui_consolesettings.h Examining data/fritzing-0.9.3b+dfsg/ui_consolewindow.h Examining data/fritzing-0.9.3b+dfsg/ui_modfiledialog.h FINAL RESULTS: data/fritzing-0.9.3b+dfsg/src/fapplication.cpp:746:21: [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. suffix = QLocale::system().name(); // Returns the language and country of this locale as a string of the form "language_country", where language is a lowercase, two-letter ISO 639 language code, and country is an uppercase, two-letter ISO 3166 country code. data/fritzing-0.9.3b+dfsg/src/fapplication.cpp:1295:23: [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. language = QLocale::system().name(); data/fritzing-0.9.3b+dfsg/src/fsplashscreen.cpp:190:2: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand ( time(NULL) ); data/fritzing-0.9.3b+dfsg/src/lib/quazip/crypt.h:117:9: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand((unsigned)(time(NULL) ^ ZCR_SEED2)); data/fritzing-0.9.3b+dfsg/src/utils/misc.h:53:22: [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. #define getenvUser() getenv("USERNAME") data/fritzing-0.9.3b+dfsg/src/utils/misc.h:55:22: [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. #define getenvUser() getenv("USER") data/fritzing-0.9.3b+dfsg/src/autoroute/drc.cpp:1045: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::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/autoroute/drc.cpp:1059: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 (!file2.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/autoroute/mazerouter/mazerouter.cpp:180: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(toBits, fromBits, bytes); data/fritzing-0.9.3b+dfsg/src/autoroute/mazerouter/mazerouter.cpp:416: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(((uchar *) data) + toIndex * x * y * sizeof(GridValue), ((uchar *) data) + fromIndex * x * y * sizeof(GridValue), x * y * sizeof(GridValue)); data/fritzing-0.9.3b+dfsg/src/autoroute/panelizer.cpp:1635: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 (file.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/autoroute/panelizer.cpp:1896:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (file.open(QFile::Append)) { data/fritzing-0.9.3b+dfsg/src/autoroute/panelizer.cpp:1930: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(QFile::WriteOnly)) { data/fritzing-0.9.3b+dfsg/src/debugdialog.cpp:153: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 (m_file.open(QIODevice::Append | QIODevice::Text)) { data/fritzing-0.9.3b+dfsg/src/dialogs/quotedialog.cpp:168: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 (!styleSheet.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/dialogs/recoverydialog.cpp:150: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/fapplication.cpp:242: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/fapplication.cpp:315: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()) { data/fritzing-0.9.3b+dfsg/src/fapplication.cpp:1940:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (file.open(QIODevice::WriteOnly | QIODevice::Truncate)) { data/fritzing-0.9.3b+dfsg/src/fapplication.cpp:1982: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 (file.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/fapplication.cpp:1994: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 (file.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/fsplashscreen.cpp:40: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(QFile::ReadOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/fsvgrenderer.cpp:86: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(QFile::ReadOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/items/groundplane.cpp:60: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/items/itembase.cpp:1475: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). file.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/items/jumperitem.cpp:87: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/items/jumperitem.cpp:94: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/items/logoitem.cpp:144: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). if (f.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/items/logoitem.cpp:359: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/items/logoitem.cpp:465: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). file.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/items/logoitem.cpp:470: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). buffer.open(QIODevice::WriteOnly); data/fritzing-0.9.3b+dfsg/src/items/logoitem.cpp:573: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). if (f.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/items/mysterypart.cpp:154: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/items/paletteitem.cpp:484: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). file1.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/items/paletteitem.cpp:492: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). file2.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/items/perfboard.cpp:106: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/fritzing-0.9.3b+dfsg/src/items/perfboard.cpp:112: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/fritzing-0.9.3b+dfsg/src/items/perfboard.cpp:162: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/fritzing-0.9.3b+dfsg/src/items/perfboard.cpp:168: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/fritzing-0.9.3b+dfsg/src/items/pinheader.cpp:484: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). file.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/items/pinheader.cpp:488: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). file2.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/items/resizableboard.cpp:412:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/items/resizableboard.cpp:607: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)) return; data/fritzing-0.9.3b+dfsg/src/items/schematicframe.cpp:117: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). file2.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/items/schematicframe.cpp:123: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). file.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/items/symbolpaletteitem.cpp:317: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/lib/qtsysteminfo/QtSystemInfo.cpp:175:25: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (releaseFile.open(QFile::ReadOnly)) data/fritzing-0.9.3b+dfsg/src/lib/qtsysteminfo/QtSystemInfo.cpp:202:45: [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 (releaseFile.exists() && releaseFile.open(QFile::ReadOnly)) data/fritzing-0.9.3b+dfsg/src/lib/qtsysteminfo/QtSystemInfo.cpp:236:45: [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 (releaseFile.exists() && releaseFile.open(QFile::ReadOnly)) data/fritzing-0.9.3b+dfsg/src/lib/qtsysteminfo/QtSystemInfo.cpp:275:45: [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 (releaseFile.exists() && releaseFile.open(QFile::ReadOnly)) data/fritzing-0.9.3b+dfsg/src/lib/quazip/crypt.h:105:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char header[RAND_HEAD_LEN-2]; /* random header */ data/fritzing-0.9.3b+dfsg/src/lib/quazip/ioapi.c:93:16: [2] (misc) fopen: 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 = fopen(filename, mode_fopen); data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazip.cpp:57: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). bool QuaZip::open(Mode mode, zlib_filefunc_def* ioApi) data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazip.h:173: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). bool open(Mode mode, zlib_filefunc_def *ioApi =NULL); data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.cpp:144: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). bool QuaZipFile::open(OpenMode mode) data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.cpp:146: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). return open(mode, NULL); data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.cpp:149: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). bool QuaZipFile::open(OpenMode mode, int *method, int *level, bool raw, const char *password) data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.cpp:162: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(!zip->open(QuaZip::mdUnzip)) { data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.cpp:198: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). bool QuaZipFile::open(OpenMode mode, const QuaZipNewInfo& info, data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.h:300: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). virtual bool open(OpenMode mode); data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.h:306: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). bool open(OpenMode mode, const char *password) data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.h:307: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). {return open(mode, NULL, NULL, false, password);} data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.h:320: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). bool open(OpenMode mode, int *method, int *level, bool raw, const char *password =NULL); data/fritzing-0.9.3b+dfsg/src/lib/quazip/quazipfile.h:342: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). bool open(OpenMode mode, const QuaZipNewInfo& info, data/fritzing-0.9.3b+dfsg/src/lib/quazip/unzip.c:867:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char szCurrentFileName[UNZ_MAXFILENAMEINZIP+1]; data/fritzing-0.9.3b+dfsg/src/lib/quazip/unzip.c:1068: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 source[12]; data/fritzing-0.9.3b+dfsg/src/lib/quazip/zip.c:107:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char data[SIZEDATA_INDATABLOCK]; data/fritzing-0.9.3b+dfsg/src/lib/quazip/zip.c:277:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[4]; data/fritzing-0.9.3b+dfsg/src/lib/quazip/zip.c:889:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bufHead[RAND_HEAD_LEN]; data/fritzing-0.9.3b+dfsg/src/main.cpp:55: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::Append | QIODevice::Text)) { data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow.cpp:1458: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::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow.cpp:2637: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). file.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow.cpp:2885: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 (file.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow.cpp:2928: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 (!styleSheet.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow.cpp:2936: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(oxygenStyleSheet.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow.cpp:2952: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(platformDependantStyleSheet.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow_export.cpp:778: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(QFile::WriteOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow_export.cpp:1167: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(QFile::ReadOnly)) return; data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow_export.cpp:1200: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow_export.cpp:1210: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 (file2.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow_export.cpp:1601: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). fp.open(QIODevice::WriteOnly); data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow_menu.cpp:198:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (file.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow_menu.cpp:241: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(QFile::ReadOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/model/modelbase.cpp:79: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(QFile::ReadOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/model/modelbase.cpp:442: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 (!file1.open(QFile::WriteOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/model/palettemodel.cpp:231: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(QFile::ReadOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/partsbinpalette/binmanager/binmanager.cpp:425: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(bin->open(fileName, bin, fastLoad)) { data/fritzing-0.9.3b+dfsg/src/partsbinpalette/binmanager/binmanager.cpp:819: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). file.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbinpalettewidget.cpp:456:29: [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 PartsBinPaletteWidget::open(QString fileName, QWidget * progressTarget, bool fastLoad) { data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbinpalettewidget.cpp:465: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(QFile::ReadOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/partsbinpalette/partsbinpalettewidget.h:88: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). bool open(QString fileName, QWidget * progressTarget, bool fastLoad); data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/abstractconnectorinfowidget.cpp:73:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!styleSheet.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partseditormainwindow.cpp:119: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 (!styleSheet.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partseditormainwindow.cpp:580: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(QFile::WriteOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/partseditorview.cpp:692: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/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/svgdomdocument.cpp:88: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(QFile::WriteOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/svgview.cpp:107: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(QFile::ReadOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/partseditor/pemainwindow.cpp:871:23: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!file.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/partseditor/pemainwindow.cpp:1564: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 (!origFile.open(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/partseditor/pemainwindow.cpp:2888: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(QFile::ReadOnly)) return referenceFile; data/fritzing-0.9.3b+dfsg/src/program/consolewindow.cpp:60: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 (!styleSheet.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/program/consolewindow.cpp:138: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 (serial->open(QIODevice::ReadWrite)) { data/fritzing-0.9.3b+dfsg/src/program/programtab.cpp:477: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/program/programtab.cpp:481: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/program/programtab.cpp:492: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/program/programtab.cpp:708: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(QFile::WriteOnly)) { data/fritzing-0.9.3b+dfsg/src/program/programwindow.cpp:115: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 (!styleSheet.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/program/syntaxer.cpp:131: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). file.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/referencemodel/sqlitereferencemodel.cpp:202: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 (!db.open()) continue; data/fritzing-0.9.3b+dfsg/src/referencemodel/sqlitereferencemodel.cpp:539:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!m_database.open()) { data/fritzing-0.9.3b+dfsg/src/svg/gedaelement2svg.cpp:56: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/svg/gerbergenerator.cpp:352: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 (!out.open(QIODevice::WriteOnly | QIODevice::Text)) { data/fritzing-0.9.3b+dfsg/src/svg/gerbergenerator.cpp:913: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 (!out.open(QIODevice::WriteOnly | QIODevice::Text)) { data/fritzing-0.9.3b+dfsg/src/svg/kicadmodule2svg.cpp:66: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(QFile::ReadOnly)) return modules; data/fritzing-0.9.3b+dfsg/src/svg/kicadmodule2svg.cpp:102: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/svg/kicadschematic2svg.cpp:54: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(QFile::ReadOnly)) return defs; data/fritzing-0.9.3b+dfsg/src/svg/kicadschematic2svg.cpp:77: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/svg/svgfilesplitter.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(QFile::ReadOnly | QFile::Text)) { data/fritzing-0.9.3b+dfsg/src/utils/folderutils.cpp:423: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(!inFile.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/utils/folderutils.cpp:447: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). if(!zip.open(QuaZip::mdCreate)) { data/fritzing-0.9.3b+dfsg/src/utils/folderutils.cpp:477: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(!inFile.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/utils/folderutils.cpp:481: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(!outFile.open(QIODevice::WriteOnly, QuaZipNewInfo(inFile.fileName(), inFile.fileName()))) { data/fritzing-0.9.3b+dfsg/src/utils/folderutils.cpp:524: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). if(!zip.open(QuaZip::mdUnzip)) { data/fritzing-0.9.3b+dfsg/src/utils/folderutils.cpp:544: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)) { data/fritzing-0.9.3b+dfsg/src/utils/folderutils.cpp:558: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(!out.open(QIODevice::WriteOnly)) { data/fritzing-0.9.3b+dfsg/src/utils/folderutils.cpp:571: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(!out.open(QIODevice::WriteOnly)) { data/fritzing-0.9.3b+dfsg/src/utils/folderutils.cpp:584: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[BUFFERSIZE]; data/fritzing-0.9.3b+dfsg/src/utils/graphicsutils.cpp:363: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/fritzing-0.9.3b+dfsg/src/utils/lockmanager.cpp:52: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(QFile::WriteOnly)) { data/fritzing-0.9.3b+dfsg/src/utils/s2s.cpp:235: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 | QIODevice::Text)) { data/fritzing-0.9.3b+dfsg/src/utils/textutils.cpp:1354: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). file.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/utils/textutils.cpp:1612: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 | QIODevice::Truncate)) { data/fritzing-0.9.3b+dfsg/src/utils/textutils.cpp:1679: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(QFile::ReadOnly)) return moduleId; data/fritzing-0.9.3b+dfsg/src/utils/zoomslider.cpp:194: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). file.open(QFile::ReadOnly); data/fritzing-0.9.3b+dfsg/src/version/partschecker.cpp:146:13: [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 oid[GIT_OID_HEXSZ + 1] = {0}; data/fritzing-0.9.3b+dfsg/src/version/partschecker.cpp:195: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 buffer[GIT_OID_HEXSZ + 1] = {0}; data/fritzing-0.9.3b+dfsg/src/version/partschecker.cpp:426: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 buffer[GIT_OID_HEXSZ + 1] = {0}; data/fritzing-0.9.3b+dfsg/src/version/updatedialog.cpp:123: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). if (css.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/version/updatedialog.cpp:185: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 (permissionTest.open(QFile::WriteOnly)) { data/fritzing-0.9.3b+dfsg/src/version/updatedialog.cpp:191: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 (db.open(QFile::Append)) { data/fritzing-0.9.3b+dfsg/src/waitpushundostack.cpp:166: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 (m_file.open(QIODevice::Append | QIODevice::Text)) { data/fritzing-0.9.3b+dfsg/tools/fixfz/fixfz.cpp:125: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 (imageFile.open(QIODevice::ReadOnly)) { data/fritzing-0.9.3b+dfsg/tools/fixfz/fixfz.cpp:142: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 (data.open(QFile::WriteOnly | QFile::Truncate)) { data/fritzing-0.9.3b+dfsg/tools/schem2schem/s2sapplication.cpp:81: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(QFile::ReadOnly)) { data/fritzing-0.9.3b+dfsg/src/fapplication.cpp:251:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). QByteArray bytes = file.read(buffersize); data/fritzing-0.9.3b+dfsg/src/fapplication.cpp:256:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). QByteArray bytes = file.read(remaining); data/fritzing-0.9.3b+dfsg/src/fapplication.cpp:1943:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). QByteArray bytes = reply->read(buffersize); data/fritzing-0.9.3b+dfsg/src/lib/quazip/unzip.c:850:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) data/fritzing-0.9.3b+dfsg/src/lib/quazip/zip.c:754:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_comment = (uInt)strlen(comment); data/fritzing-0.9.3b+dfsg/src/lib/quazip/zip.c:756:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_filename = (uInt)strlen(filename); data/fritzing-0.9.3b+dfsg/src/lib/quazip/zip.c:1167:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_global_comment = (uInt)strlen(global_comment); data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow.cpp:227:10: [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. bool equal; data/fritzing-0.9.3b+dfsg/src/mainwindow/mainwindow.cpp:1532:17: [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 (msi.equal) { data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/connectorsinfowidget.cpp:566:5: [1] (buffer) mismatch: 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(mismatch) { data/fritzing-0.9.3b+dfsg/src/partseditor/obsolete/connectorsinfowidget.cpp:567:34: [1] (buffer) mismatch: 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. removeMismatchingConnectorInfo(mismatch, true, true); ANALYSIS SUMMARY: Hits = 155 Lines analyzed = 146934 in approximately 3.54 seconds (41510 lines/second) Physical Source Lines of Code (SLOC) = 104898 Hits@level = [0] 1 [1] 11 [2] 138 [3] 4 [4] 2 [5] 0 Hits@level+ = [0+] 156 [1+] 155 [2+] 144 [3+] 6 [4+] 2 [5+] 0 Hits/KSLOC@level+ = [0+] 1.48716 [1+] 1.47763 [2+] 1.37276 [3+] 0.0571984 [4+] 0.0190661 [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.