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/pgmodeler-0.9.3~beta/crashhandler/src/crashhandlerform.cpp
Examining data/pgmodeler-0.9.3~beta/crashhandler/src/crashhandlerform.h
Examining data/pgmodeler-0.9.3~beta/crashhandler/src/main.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/attributestoggleritem.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/attributestoggleritem.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/baseobjectview.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/baseobjectview.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/basetableview.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/basetableview.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/beziercurveitem.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/beziercurveitem.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/graphicalview.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/graphicalview.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/objectsscene.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/objectsscene.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/relationshipview.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/relationshipview.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/roundedrectitem.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/roundedrectitem.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/schemaview.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/schemaview.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/styledtextboxview.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/styledtextboxview.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/tableobjectview.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/tableobjectview.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/tabletitleview.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/tabletitleview.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/tableview.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/tableview.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/textboxview.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/textboxview.h
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/textpolygonitem.cpp
Examining data/pgmodeler-0.9.3~beta/libobjrenderer/src/textpolygonitem.h
Examining data/pgmodeler-0.9.3~beta/libparsers/src/attribsmap.h
Examining data/pgmodeler-0.9.3~beta/libparsers/src/attributes.cpp
Examining data/pgmodeler-0.9.3~beta/libparsers/src/attributes.h
Examining data/pgmodeler-0.9.3~beta/libparsers/src/schemaparser.cpp
Examining data/pgmodeler-0.9.3~beta/libparsers/src/schemaparser.h
Examining data/pgmodeler-0.9.3~beta/libparsers/src/xmlparser.cpp
Examining data/pgmodeler-0.9.3~beta/libparsers/src/xmlparser.h
Examining data/pgmodeler-0.9.3~beta/libpgconnector/src/catalog.cpp
Examining data/pgmodeler-0.9.3~beta/libpgconnector/src/catalog.h
Examining data/pgmodeler-0.9.3~beta/libpgconnector/src/connection.cpp
Examining data/pgmodeler-0.9.3~beta/libpgconnector/src/connection.h
Examining data/pgmodeler-0.9.3~beta/libpgconnector/src/resultset.cpp
Examining data/pgmodeler-0.9.3~beta/libpgconnector/src/resultset.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/aggregate.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/aggregate.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/basegraphicobject.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/basegraphicobject.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/baseobject.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/baseobject.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/baserelationship.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/baserelationship.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/basetable.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/basetable.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/cast.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/cast.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/collation.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/collation.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/column.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/column.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/constraint.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/constraint.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/conversion.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/conversion.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/copyoptions.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/copyoptions.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/databasemodel.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/databasemodel.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/defaultlanguages.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/domain.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/domain.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/element.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/element.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/eventtrigger.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/eventtrigger.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/excludeelement.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/excludeelement.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/extension.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/extension.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/foreigndatawrapper.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/foreigndatawrapper.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/foreignobject.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/foreignobject.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/foreignserver.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/foreignserver.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/foreigntable.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/foreigntable.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/function.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/function.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/genericsql.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/genericsql.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/index.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/index.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/indexelement.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/indexelement.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/language.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/language.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operation.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operation.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operationlist.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operationlist.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operator.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operator.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operatorclass.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operatorclass.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operatorclasselement.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operatorclasselement.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operatorfamily.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/operatorfamily.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/parameter.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/parameter.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/partitionkey.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/partitionkey.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/permission.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/permission.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgmodelerns.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgmodelerns.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/actiontype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/actiontype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/basetype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/basetype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/behaviortype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/behaviortype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/categorytype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/categorytype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/constrainttype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/constrainttype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/deferraltype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/deferraltype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/encodingtype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/encodingtype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/eventtriggertype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/eventtriggertype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/eventtype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/eventtype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/executiontype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/executiontype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/firingtype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/firingtype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/functiontype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/functiontype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/identitytype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/identitytype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/indexingtype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/indexingtype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/intervaltype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/intervaltype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/matchtype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/matchtype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/partitioningtype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/partitioningtype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/pgsqltype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/pgsqltype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/policycmdtype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/policycmdtype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/securitytype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/securitytype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/spatialtype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/spatialtype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/storagetype.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/storagetype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/templatetype.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/pgsqltypes/usertypeconfig.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/physicaltable.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/physicaltable.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/policy.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/policy.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/reference.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/reference.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/relationship.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/relationship.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/role.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/role.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/rule.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/rule.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/schema.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/schema.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/sequence.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/sequence.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/table.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/table.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/tableobject.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/tableobject.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/tablespace.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/tablespace.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/tag.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/tag.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/textbox.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/textbox.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/trigger.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/trigger.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/type.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/type.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/typeattribute.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/typeattribute.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/usermapping.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/usermapping.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/view.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler/src/view.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/aboutwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/aboutwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/aggregatewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/aggregatewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/appearanceconfigwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/appearanceconfigwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/baseconfigwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/baseconfigwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/baseform.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/baseform.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/baseobjectwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/baseobjectwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/bugreportform.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/bugreportform.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/bulkdataeditwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/bulkdataeditwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/castwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/castwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/changelogwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/changelogwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/codecompletionwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/codecompletionwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/collationwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/collationwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/colorpickerwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/colorpickerwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/columnwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/columnwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/configurationform.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/configurationform.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/connectionsconfigwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/connectionsconfigwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/constraintwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/constraintwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/conversionwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/conversionwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/csvloadwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/csvloadwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/customsqlwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/customsqlwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/databaseexplorerwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/databaseexplorerwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/databaseimportform.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/databaseimportform.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/databaseimporthelper.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/databaseimporthelper.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/databasewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/databasewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/datamanipulationform.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/datamanipulationform.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/domainwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/domainwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/donatewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/donatewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/elementstablewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/elementstablewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/elementwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/elementwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/eventtriggerwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/eventtriggerwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/extensionwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/extensionwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/fileselectorwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/fileselectorwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/findreplacewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/findreplacewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/foreigndatawrapperwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/foreigndatawrapperwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/foreignserverwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/foreignserverwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/functionwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/functionwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/generalconfigwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/generalconfigwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/genericsqlwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/genericsqlwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/htmlitemdelegate.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/htmlitemdelegate.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/indexwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/indexwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/languagewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/languagewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/layerswidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/layerswidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/linenumberswidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/linenumberswidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/mainwindow.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/mainwindow.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/messagebox.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/messagebox.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/metadatahandlingform.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/metadatahandlingform.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modeldatabasediffform.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modeldatabasediffform.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelexportform.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelexportform.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelexporthelper.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelexporthelper.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelfixform.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelfixform.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelnavigationwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelnavigationwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelobjectswidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelobjectswidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modeloverviewwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modeloverviewwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelrestorationform.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelrestorationform.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelsdiffhelper.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelsdiffhelper.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelvalidationhelper.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelvalidationhelper.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelvalidationwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelvalidationwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/newobjectoverlaywidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/newobjectoverlaywidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/numberedtexteditor.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/numberedtexteditor.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectdepsrefswidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectdepsrefswidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectfinderwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectfinderwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectrenamewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectrenamewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectsdiffinfo.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectsdiffinfo.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectselectorwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectselectorwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectsfilterwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectsfilterwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectstablewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/objectstablewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/operationlistwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/operationlistwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/operatorclasswidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/operatorclasswidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/operatorfamilywidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/operatorfamilywidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/operatorwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/operatorwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/parameterwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/parameterwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/permissionwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/permissionwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/pgmodelerplugin.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/pgmodelerplugin.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/pgmodeleruins.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/pgmodeleruins.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/pgsqltypewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/pgsqltypewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/plaintextitemdelegate.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/plaintextitemdelegate.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/pluginsconfigwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/pluginsconfigwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/policywidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/policywidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/referencewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/referencewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/relationshipconfigwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/relationshipconfigwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/relationshipwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/relationshipwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/resultsetmodel.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/resultsetmodel.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/rolewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/rolewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/rulewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/rulewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sceneinfowidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sceneinfowidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/schemawidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/schemawidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sequencewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sequencewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/snippetsconfigwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/snippetsconfigwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sourcecodewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sourcecodewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqlexecutionhelper.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqlexecutionhelper.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqlexecutionwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqlexecutionwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqltoolwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqltoolwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/swapobjectsidswidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/swapobjectsidswidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/syntaxhighlighter.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/syntaxhighlighter.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/tabledatawidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/tabledatawidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/tablespacewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/tablespacewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/tablewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/tablewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/tagwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/tagwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/taskprogresswidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/taskprogresswidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/textboxwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/textboxwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/triggerwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/triggerwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/typewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/typewidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/updatenotifierwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/updatenotifierwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/usermappingwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/usermappingwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/validationinfo.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/validationinfo.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/viewwidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/viewwidget.h
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/welcomewidget.cpp
Examining data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/welcomewidget.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/application.cpp
Examining data/pgmodeler-0.9.3~beta/libutils/src/application.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/doublenan.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/exception.cpp
Examining data/pgmodeler-0.9.3~beta/libutils/src/exception.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/globalattributes.cpp
Examining data/pgmodeler-0.9.3~beta/libutils/src/globalattributes.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/pgsqlversions.cpp
Examining data/pgmodeler-0.9.3~beta/libutils/src/pgsqlversions.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/qfontmetricscompat.cpp
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/qfontmetricscompat.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/qlabelcompat.cpp
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/qlabelcompat.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/qlinefcompat.cpp
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/qlinefcompat.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/qplaintexteditcompat.cpp
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/qplaintexteditcompat.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/qtextstreamcompat.cpp
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/qtextstreamcompat.h
Examining data/pgmodeler-0.9.3~beta/libutils/src/qtcompat/splitbehaviorcompat.h
Examining data/pgmodeler-0.9.3~beta/main-cli/src/main.cpp
Examining data/pgmodeler-0.9.3~beta/main-cli/src/pgmodelercli.cpp
Examining data/pgmodeler-0.9.3~beta/main-cli/src/pgmodelercli.h
Examining data/pgmodeler-0.9.3~beta/main/src/main.cpp
Examining data/pgmodeler-0.9.3~beta/main/src/pgmodelerapp.cpp
Examining data/pgmodeler-0.9.3~beta/main/src/pgmodelerapp.h
Examining data/pgmodeler-0.9.3~beta/tests/src/baseobjecttest/baseobjecttest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/databasemodeltest/databasemodeltest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/datadicttest/datadicttest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/fileselectortest/fileselectortest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/foreigndatawrappertest/foreigndatawrappertest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/linenumberstest/linenumberstest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/main/main.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/partrelationshiptest/partrelationshiptest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/roletest/roletest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/schemaparsertest/schemaparsertest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/servertest/servertest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/syntaxhighlightertest/syntaxhighlightertest.cpp
Examining data/pgmodeler-0.9.3~beta/tests/src/usermappingtest/usermappingtest.cpp

FINAL RESULTS:

data/pgmodeler-0.9.3~beta/crashhandler/src/main.cpp:33:28:  [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.
		translator.load(QLocale::system().name(), GlobalAttributes::getLanguagesDir());
data/pgmodeler-0.9.3~beta/main-cli/src/main.cpp:40:28:  [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.
		translator.load(QLocale::system().name(), GlobalAttributes::getLanguagesDir());
data/pgmodeler-0.9.3~beta/main/src/main.cpp:81:11:  [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.
	exit(1 + system(cmd.toStdString().c_str()));
data/pgmodeler-0.9.3~beta/main/src/pgmodelerapp.cpp:68: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.
	QString lang_id = QLocale::system().name();
data/pgmodeler-0.9.3~beta/libutils/src/globalattributes.cpp:97:47:  [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.
	QStringList paths={ QDir::toNativeSeparators(getenv(varname.toStdString().c_str())),
data/pgmodeler-0.9.3~beta/libutils/src/globalattributes.cpp:200:13:  [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.
	PluginsDir=getenv("PGMODELER_PLUGINS_DIR") ? QString(getenv("PGMODELER_PLUGINS_DIR")).replace('\\','/') : PLUGINSDIR;
data/pgmodeler-0.9.3~beta/libutils/src/globalattributes.cpp:200:55:  [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.
	PluginsDir=getenv("PGMODELER_PLUGINS_DIR") ? QString(getenv("PGMODELER_PLUGINS_DIR")).replace('\\','/') : PLUGINSDIR;
data/pgmodeler-0.9.3~beta/crashhandler/src/crashhandlerform.cpp:48: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).
	input.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/crashhandler/src/crashhandlerform.cpp:122: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).
	input.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/crashhandler/src/crashhandlerform.cpp:184: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).
			output.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/libparsers/src/schemaparser.cpp:208: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).
		input.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/libparsers/src/xmlparser.cpp:78: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).
			input.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/libparsers/src/xmlparser.cpp:301:4:  [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 hex_value[10] = "";
data/pgmodeler-0.9.3~beta/libparsers/src/xmlparser.cpp:304:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(hex_value, "%p", curr_elem->next->psvi);
data/pgmodeler-0.9.3~beta/libparsers/src/xmlparser.cpp:445:4:  [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 hex_value[10] = "";
data/pgmodeler-0.9.3~beta/libparsers/src/xmlparser.cpp:446:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(hex_value, "%p", xml_doc->last->last->psvi);
data/pgmodeler-0.9.3~beta/libpgconnector/src/catalog.cpp:356: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(!input.open(QFile::ReadOnly))
data/pgmodeler-0.9.3~beta/libpgconnector/src/resultset.cpp:225:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		return atoi(PQcmdTuples(sql_result));
data/pgmodeler-0.9.3~beta/libpgmodeler/src/databasemodel.cpp:7939: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).
	output.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler/src/databasemodel.cpp:10380: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).
	output.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler/src/databasemodel.cpp:11408: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).
			output.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler/src/sequence.cpp:137: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 ops[2]={'\0','\0'};
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/baseconfigwidget.cpp:78: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).
		output.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/bugreportform.cpp:64: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).
		input.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/bugreportform.cpp:109: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).
	output.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/bugreportform.cpp:147: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).
			input.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/csvloadwidget.cpp:150: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/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/databaseimporthelper.cpp:606: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).
				import_log.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/metadatahandlingform.cpp:160: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).
				tmp_file.open();
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modeldatabasediffform.cpp:743: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).
			tmp_sql_file.open();
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modeldatabasediffform.cpp:748: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).
			out_tmp_file.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modeldatabasediffform.cpp:787: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(!output.open(QFile::WriteOnly))
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelexporthelper.cpp:285: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).
	svg_file.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelexporthelper.cpp:306: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).
		svg_file.open(QFile::WriteOnly | QFile::Truncate);
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelrestorationform.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).
		input.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.cpp:104: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).
	tmp_file.open();
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.cpp:1817:17:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	QTemporaryFile tmpfile;
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.cpp:1831:4:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
			tmpfile.setAutoRemove(false);
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.cpp:1832:4:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
			tmpfile.setFileTemplate(GlobalAttributes::getTemporaryFilePath(QString("%1_XXXXXX.dbk").arg(this->db_model->getName())));
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.cpp:1833:4:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
			tmpfile.open();
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.cpp:1833: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).
			tmpfile.open();
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.cpp:1834:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
			bkpfile = tmpfile.fileName();
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.cpp:1835:4:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
			tmpfile.close();
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/modelwidget.cpp:1836:4:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
			tmpfile.remove();
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/numberedtexteditor.cpp:345: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/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/numberedtexteditor.cpp:369: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).
		tmp_file.open();
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/numberedtexteditor.cpp:376: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(!input.open(QFile::WriteOnly | QFile::Truncate))
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/numberedtexteditor.cpp:417: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(!input.open(QFile::ReadOnly))
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sourcecodewidget.cpp:105: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(!out.open(QFile::WriteOnly))
data/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqlexecutionwidget.cpp:655: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/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqlexecutionwidget.cpp:678: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/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqlexecutionwidget.cpp:713: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/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqlexecutionwidget.cpp:959: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/pgmodeler-0.9.3~beta/libpgmodeler_ui/src/sqltoolwidget.cpp:361: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/pgmodeler-0.9.3~beta/main-cli/src/pgmodelercli.cpp:910: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).
	input.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/main-cli/src/pgmodelercli.cpp:1710: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(!output.open(QFile::WriteOnly))
data/pgmodeler-0.9.3~beta/main-cli/src/pgmodelercli.cpp:1935: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).
				out.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/main-cli/src/pgmodelercli.cpp:1953: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).
			out.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/main-cli/src/pgmodelercli.cpp:1960: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).
			out.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/main-cli/src/pgmodelercli.cpp:1994: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).
			out.open(QFile::Truncate | QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/main/src/main.cpp:45: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).
	output.open(QFile::WriteOnly);
data/pgmodeler-0.9.3~beta/main/src/pgmodelerapp.cpp:72: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(input.open(QFile::ReadOnly))
data/pgmodeler-0.9.3~beta/main/src/pgmodelerapp.cpp:117: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).
	ui_style.open(QFile::ReadOnly);
data/pgmodeler-0.9.3~beta/crashhandler/src/crashhandlerform.cpp:138:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		input.read(buf, fi.size());
data/pgmodeler-0.9.3~beta/libpgconnector/src/connection.cpp:431:5:  [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(PQerrorMessage(connection))>0)
data/pgmodeler-0.9.3~beta/libpgconnector/src/connection.cpp:470:5:  [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(PQerrorMessage(connection)) > 0)

ANALYSIS SUMMARY:

Hits = 66
Lines analyzed = 123748 in approximately 2.95 seconds (41968 lines/second)
Physical Source Lines of Code (SLOC) = 91885
Hits@level = [0]   3 [1]   3 [2]  56 [3]   3 [4]   4 [5]   0
Hits@level+ = [0+]  69 [1+]  66 [2+]  63 [3+]   7 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 0.750939 [1+] 0.718289 [2+] 0.68564 [3+] 0.0761822 [4+] 0.0435327 [5+]   0
Dot directories skipped = 2 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.