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/libgda5-5.2.9/control-center/gdaui-dsn-assistant.c Examining data/libgda5-5.2.9/control-center/provider-config.c Examining data/libgda5-5.2.9/control-center/gdaui-dsn-assistant.h Examining data/libgda5-5.2.9/control-center/dsn-config.c Examining data/libgda5-5.2.9/control-center/provider-config.h Examining data/libgda5-5.2.9/control-center/gdaui-dsn-editor.h Examining data/libgda5-5.2.9/control-center/dsn-properties-dialog.h Examining data/libgda5-5.2.9/control-center/dsn-properties-dialog.c Examining data/libgda5-5.2.9/control-center/main.c Examining data/libgda5-5.2.9/control-center/gdaui-login-dialog.c Examining data/libgda5-5.2.9/control-center/gdaui-bar.h Examining data/libgda5-5.2.9/control-center/gdaui-login-dialog.h Examining data/libgda5-5.2.9/control-center/gdaui-dsn-editor.c Examining data/libgda5-5.2.9/control-center/gdaui-bar.c Examining data/libgda5-5.2.9/control-center/dsn-config.h Examining data/libgda5-5.2.9/libgda-xslt/sql_exslt_internal.c Examining data/libgda5-5.2.9/libgda-xslt/sql_backend.h Examining data/libgda5-5.2.9/libgda-xslt/sqlexslt.c Examining data/libgda5-5.2.9/libgda-xslt/libgda-xslt.h Examining data/libgda5-5.2.9/libgda-xslt/sql_backend.c Examining data/libgda5-5.2.9/providers/skel-implementation/models/gda-models-provider.h Examining data/libgda5-5.2.9/providers/skel-implementation/models/libmain.c Examining data/libgda5-5.2.9/providers/skel-implementation/models/gda-models-provider.c Examining data/libgda5-5.2.9/providers/skel-implementation/models/gda-models.h Examining data/libgda5-5.2.9/providers/skel-implementation/capi/capi_token_types.h Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-provider.c Examining data/libgda5-5.2.9/providers/skel-implementation/capi/libmain.c Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-provider.h Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-parser.h Examining data/libgda5-5.2.9/providers/skel-implementation/capi/parser.c Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-blob-op.h Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-pstmt.h Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-blob-op.c Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-meta.h Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-ddl.c Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-recordset.c Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-pstmt.c Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-parser.c Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi.h Examining data/libgda5-5.2.9/providers/skel-implementation/capi/parser.h Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-meta.c Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-recordset.h Examining data/libgda5-5.2.9/providers/skel-implementation/capi/gda-capi-ddl.h Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-recordset.c Examining data/libgda5-5.2.9/providers/oracle/gen_def.c Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-recordset.h Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-parser.c Examining data/libgda5-5.2.9/providers/oracle/libmain.c Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-ddl.c Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-meta.h Examining data/libgda5-5.2.9/providers/oracle/parser.c Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.h Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-pstmt.h Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c Examining data/libgda5-5.2.9/providers/oracle/gda-oracle.h Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-blob-op.c Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-pstmt.c Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-util.c Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-meta.c Examining data/libgda5-5.2.9/providers/oracle/oracle_token_types.h Examining data/libgda5-5.2.9/providers/oracle/parser.h Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-util.h Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-blob-op.h Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-ddl.h Examining data/libgda5-5.2.9/providers/oracle/gda-oracle-parser.h Examining data/libgda5-5.2.9/providers/firebird/libmain-client.c Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-parser.h Examining data/libgda5-5.2.9/providers/firebird/gen_def.c Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-provider.c Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-provider.h Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c Examining data/libgda5-5.2.9/providers/firebird/parser.c Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-blob-op.c Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-blob-op.h Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-pstmt.h Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-ddl.h Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-util.h Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-parser.c Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-meta.h Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-util.c Examining data/libgda5-5.2.9/providers/firebird/firebird_token_types.h Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-ddl.c Examining data/libgda5-5.2.9/providers/firebird/parser.h Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-meta.c Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.h Examining data/libgda5-5.2.9/providers/firebird/libmain-embed.c Examining data/libgda5-5.2.9/providers/firebird/gda-firebird.h Examining data/libgda5-5.2.9/providers/firebird/gda-firebird-pstmt.c Examining data/libgda5-5.2.9/providers/sqlite/libmain.c Examining data/libgda5-5.2.9/providers/postgres/libmain.c Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-ddl.h Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-util.c Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-pstmt.c Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-pstmt.h Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-handler-bin.h Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-ddl.c Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-recordset.h Examining data/libgda5-5.2.9/providers/postgres/gda-postgres.h Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-util.h Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-blob-op.h Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-blob-op.c Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-handler-bin.c Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-provider.h Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-provider.c Examining data/libgda5-5.2.9/providers/postgres/gda-postgres-recordset.c Examining data/libgda5-5.2.9/providers/reuseable/reuse-all.h Examining data/libgda5-5.2.9/providers/reuseable/gda-provider-reuseable.h Examining data/libgda5-5.2.9/providers/reuseable/reuse-all.c Examining data/libgda5-5.2.9/providers/reuseable/postgres/gda-postgres-meta.h Examining data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c Examining data/libgda5-5.2.9/providers/reuseable/postgres/gda-postgres-parser.h Examining data/libgda5-5.2.9/providers/reuseable/postgres/gda-postgres-parser.c Examining data/libgda5-5.2.9/providers/reuseable/postgres/gda-postgres-reuseable.h Examining data/libgda5-5.2.9/providers/reuseable/postgres/parser.c Examining data/libgda5-5.2.9/providers/reuseable/postgres/gda-postgres-reuseable.c Examining data/libgda5-5.2.9/providers/reuseable/postgres/gda-postgres-meta.c Examining data/libgda5-5.2.9/providers/reuseable/postgres/parser.h Examining data/libgda5-5.2.9/providers/reuseable/postgres/postgres_token_types.h Examining data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c Examining data/libgda5-5.2.9/providers/reuseable/mysql/gda-mysql-reuseable.h Examining data/libgda5-5.2.9/providers/reuseable/mysql/gda-mysql-parser.c Examining data/libgda5-5.2.9/providers/reuseable/mysql/parser.c Examining data/libgda5-5.2.9/providers/reuseable/mysql/gda-mysql-meta.h Examining data/libgda5-5.2.9/providers/reuseable/mysql/gda-mysql-meta.c Examining data/libgda5-5.2.9/providers/reuseable/mysql/mysql_token_types.h Examining data/libgda5-5.2.9/providers/reuseable/mysql/gda-mysql-reuseable.c Examining data/libgda5-5.2.9/providers/reuseable/mysql/parser.h Examining data/libgda5-5.2.9/providers/reuseable/mysql/gda-mysql-parser.h Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-blob-op.h Examining data/libgda5-5.2.9/providers/mysql/libmain.c Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-pstmt.c Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-handler-bin.h Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-handler-boolean.c Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-util.c Examining data/libgda5-5.2.9/providers/mysql/gda-mysql.h Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.h Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-ddl.h Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-recordset.c Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-ddl.c Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-recordset.h Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-handler-boolean.h Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-handler-bin.c Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-pstmt.h Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-util.h Examining data/libgda5-5.2.9/providers/mysql/gda-mysql-blob-op.c Examining data/libgda5-5.2.9/providers/web/gda-web-ddl.c Examining data/libgda5-5.2.9/providers/web/gda-web-util.h Examining data/libgda5-5.2.9/providers/web/gda-web-pstmt.c Examining data/libgda5-5.2.9/providers/web/libmain.c Examining data/libgda5-5.2.9/providers/web/gda-web-provider.c Examining data/libgda5-5.2.9/providers/web/gda-web-blob-op.h Examining data/libgda5-5.2.9/providers/web/gda-web-blob-op.c Examining data/libgda5-5.2.9/providers/web/gda-web-ddl.h Examining data/libgda5-5.2.9/providers/web/gda-web.h Examining data/libgda5-5.2.9/providers/web/gda-web-util.c Examining data/libgda5-5.2.9/providers/web/gda-web-meta.h Examining data/libgda5-5.2.9/providers/web/gda-web-recordset.c Examining data/libgda5-5.2.9/providers/web/gda-web-recordset.h Examining data/libgda5-5.2.9/providers/web/gda-web-meta.c Examining data/libgda5-5.2.9/providers/web/gda-web-pstmt.h Examining data/libgda5-5.2.9/providers/web/gda-web-provider.h Examining data/libgda5-5.2.9/providers/ldap/gda-ldap-util.c Examining data/libgda5-5.2.9/providers/ldap/gda-ldap-util.h Examining data/libgda5-5.2.9/providers/ldap/gda-ldap.h Examining data/libgda5-5.2.9/providers/ldap/libmain.c Examining data/libgda5-5.2.9/providers/ldap/gda-ldap-provider.c Examining data/libgda5-5.2.9/providers/ldap/gdaprov-data-model-ldap.h Examining data/libgda5-5.2.9/providers/ldap/gda-ldap-provider.h Examining data/libgda5-5.2.9/providers/ldap/gdaprov-data-model-ldap.c Examining data/libgda5-5.2.9/providers/bdbsql/libmain.c Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-test.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJValue.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJProvider.h Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-blob-op.h Examining data/libgda5-5.2.9/providers/jdbc/gda-list-jdbc-providers.c Examining data/libgda5-5.2.9/providers/jdbc/libmain.c Examining data/libgda5-5.2.9/providers/jdbc/GdaInputStream.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJColumnInfos.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJProvider.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJConnection.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJConnection.h Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-provider.h Examining data/libgda5-5.2.9/providers/jdbc/GdaJPStmt.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJResultSet.h Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-meta.c Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-recordset.c Examining data/libgda5-5.2.9/providers/jdbc/GdaInputStream.h Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-ddl.c Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-recordset.h Examining data/libgda5-5.2.9/providers/jdbc/GdaJValue.h Examining data/libgda5-5.2.9/providers/jdbc/jni-wrapper.h Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-pstmt.h Examining data/libgda5-5.2.9/providers/jdbc/GdaJResultSet.c Examining data/libgda5-5.2.9/providers/jdbc/jdbc-resources.h Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-provider.c Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-ddl.h Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc.h Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-util.h Examining data/libgda5-5.2.9/providers/jdbc/jdbc-resources.c Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-meta.h Examining data/libgda5-5.2.9/providers/jdbc/jni-wrapper.c Examining data/libgda5-5.2.9/providers/jdbc/jni-globals.h Examining data/libgda5-5.2.9/providers/jdbc/GdaJResultSetInfos.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJColumnInfos.h Examining data/libgda5-5.2.9/providers/jdbc/GdaJMeta.h Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-util.c Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-blob-op.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJMeta.c Examining data/libgda5-5.2.9/providers/jdbc/gda-jdbc-pstmt.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJBlobOp.h Examining data/libgda5-5.2.9/providers/jdbc/GdaJResultSetInfos.h Examining data/libgda5-5.2.9/providers/jdbc/GdaJBlobOp.c Examining data/libgda5-5.2.9/providers/jdbc/GdaJPStmt.h Examining data/libgda5-5.2.9/providers/mdb/libmain.c Examining data/libgda5-5.2.9/providers/mdb/gda-mdb.h Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/table.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/money.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/iconv.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/mem.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/dump.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/index.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/sargs.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/map.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/catalog.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbprivate.h Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbodbc.h Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbver.h Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/include/config.h Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbsql.h Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/stats.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/kkd.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/backend.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/props.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/worktable.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/options.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c Examining data/libgda5-5.2.9/providers/mdb/libmdb-src/like.c Examining data/libgda5-5.2.9/providers/mdb/gda-mdb-provider.h Examining data/libgda5-5.2.9/providers/mdb/gda-mdb-provider.c Examining data/libgda5-5.2.9/providers/bdb/libmain.c Examining data/libgda5-5.2.9/providers/bdb/gda-bdb-test.c Examining data/libgda5-5.2.9/providers/bdb/gda-bdb-provider.c Examining data/libgda5-5.2.9/providers/bdb/gda-bdb-provider.h Examining data/libgda5-5.2.9/providers/bdb/gda-bdb.h Examining data/libgda5-5.2.9/providers/sqlcipher/libmain.c Examining data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c Examining data/libgda5-5.2.9/providers/sqlcipher/sqlite3ext.h Examining data/libgda5-5.2.9/providers/sqlcipher/sqlite3.h Examining data/libgda5-5.2.9/doc/C/examples/full_example.c Examining data/libgda5-5.2.9/doc/C/examples/blobtest.c Examining data/libgda5-5.2.9/testing/gdaui-test-data-entries.c Examining data/libgda5-5.2.9/testing/gdaui-test-errors.c Examining data/libgda5-5.2.9/testing/gda-test-blob.c Examining data/libgda5-5.2.9/testing/gdaui-test-widget-entry.c Examining data/libgda5-5.2.9/testing/gda-provider-status.c Examining data/libgda5-5.2.9/testing/gda-test-connection.c Examining data/libgda5-5.2.9/testing/html.c Examining data/libgda5-5.2.9/testing/virtual-test.c Examining data/libgda5-5.2.9/testing/gdaui-test-rt-editor.c Examining data/libgda5-5.2.9/testing/virtual-test-2.c Examining data/libgda5-5.2.9/testing/html.h Examining data/libgda5-5.2.9/libgda/gda-debug-macros.h Examining data/libgda5-5.2.9/libgda/gda-data-model-bdb.h Examining data/libgda5-5.2.9/libgda/gda-column.h Examining data/libgda5-5.2.9/libgda/gda-xa-transaction.c Examining data/libgda5-5.2.9/libgda/gda-connection-internal.h Examining data/libgda5-5.2.9/libgda/gda-data-model-dir.h Examining data/libgda5-5.2.9/libgda/gda-data-pivot.h Examining data/libgda5-5.2.9/libgda/dir-blob-op.h Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-tables.c Examining data/libgda5-5.2.9/libgda/gda-data-model-array.h Examining data/libgda5-5.2.9/libgda/gda-types.h Examining data/libgda5-5.2.9/libgda/gda-data-model-iter.c Examining data/libgda5-5.2.9/libgda/gda-tree-manager.c Examining data/libgda5-5.2.9/libgda/gda-server-provider.h Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-ldap.h Examining data/libgda5-5.2.9/libgda/thread-wrapper/gda-thread-wrapper.h Examining data/libgda5-5.2.9/libgda/thread-wrapper/gda-thread-meta.c Examining data/libgda5-5.2.9/libgda/thread-wrapper/gda-thread-recordset.h Examining data/libgda5-5.2.9/libgda/thread-wrapper/gda-thread-wrapper.c Examining data/libgda5-5.2.9/libgda/thread-wrapper/gda-thread-provider.c Examining data/libgda5-5.2.9/libgda/thread-wrapper/gda-thread-meta.h Examining data/libgda5-5.2.9/libgda/thread-wrapper/gda-thread-blob-op.c Examining data/libgda5-5.2.9/libgda/thread-wrapper/gda-thread-blob-op.h Examining data/libgda5-5.2.9/libgda/thread-wrapper/gda-thread-recordset.c Examining data/libgda5-5.2.9/libgda/thread-wrapper/gda-thread-provider.h Examining data/libgda5-5.2.9/libgda/gda-set.c Examining data/libgda5-5.2.9/libgda/gda-custom-marshal.h Examining data/libgda5-5.2.9/libgda/gda-batch.c Examining data/libgda5-5.2.9/libgda/gda-data-model-import.h Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-schemas.h Examining data/libgda5-5.2.9/libgda/libgda.h Examining data/libgda5-5.2.9/libgda/gda-connection-private.h Examining data/libgda5-5.2.9/libgda/gda-blob-op.h Examining data/libgda5-5.2.9/libgda/gda-meta-struct-private.h Examining data/libgda5-5.2.9/libgda/gda-statement-extra.h Examining data/libgda5-5.2.9/libgda/gda-data-model-extra.h Examining data/libgda5-5.2.9/libgda/gda-mutex.c Examining data/libgda5-5.2.9/libgda/gda-tree-manager.h Examining data/libgda5-5.2.9/libgda/gda-transaction-status.c Examining data/libgda5-5.2.9/libgda/gda-data-select-extra.h Examining data/libgda5-5.2.9/libgda/binreloc/gda-binreloc.h Examining data/libgda5-5.2.9/libgda/binreloc/binreloc.h Examining data/libgda5-5.2.9/libgda/binreloc/binreloc.c Examining data/libgda5-5.2.9/libgda/binreloc/gda-binreloc.c Examining data/libgda5-5.2.9/libgda/gda-holder.c Examining data/libgda5-5.2.9/libgda/gda-batch.h Examining data/libgda5-5.2.9/libgda/gda-data-model-dsn-list.c Examining data/libgda5-5.2.9/libgda/gda-row.h Examining data/libgda5-5.2.9/libgda/gda-data-model-bdb.c Examining data/libgda5-5.2.9/libgda/gda-data-model-iter-extra.h Examining data/libgda5-5.2.9/libgda/gda-config.c Examining data/libgda5-5.2.9/libgda/gda-transaction-status-private.h Examining data/libgda5-5.2.9/libgda/gda-server-operation-private.h Examining data/libgda5-5.2.9/libgda/libcsv.c Examining data/libgda5-5.2.9/libgda/md5.h Examining data/libgda5-5.2.9/libgda/gda-data-proxy.h Examining data/libgda5-5.2.9/libgda/gda-set.h Examining data/libgda5-5.2.9/libgda/gda-data-model.c Examining data/libgda5-5.2.9/libgda/gda-data-model-private.h Examining data/libgda5-5.2.9/libgda/gda-value.h Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-select.c Examining data/libgda5-5.2.9/libgda/gda-tree-node.c Examining data/libgda5-5.2.9/libgda/gda-data-proxy.c Examining data/libgda5-5.2.9/libgda/gda-blob-op.c Examining data/libgda5-5.2.9/libgda/gda-data-handler.h Examining data/libgda5-5.2.9/libgda/gda-statement.c Examining data/libgda5-5.2.9/libgda/gda-decl.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-symbols-util.c Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-blob-op.c Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-handler-bin.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-handler-boolean.c Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-pstmt.h Examining data/libgda5-5.2.9/libgda/sqlite/gen_emb_string.c Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vprovider-data-model.h Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vprovider-hub.c Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vconnection-hub.c Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-virtual-connection.h Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vconnection-hub.h Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-virtual-provider.c Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vprovider-hub.h Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-virtual-provider.h Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vconnection-data-model.h Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-virtual-connection.c Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vconnection-data-model.c Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vconnection-data-model-private.h Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-ldap-connection.c Examining data/libgda5-5.2.9/libgda/sqlite/virtual/libgda-virtual.h Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-ldap-connection.h Examining data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vprovider-data-model.c Examining data/libgda5-5.2.9/libgda/sqlite/keywords_hash.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-ddl.c Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-handler-bin.c Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-recordset.c Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-pstmt.c Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-handler-boolean.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-meta.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-util.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-ddl.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-util.c Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-blob-op.h Examining data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c Examining data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-recordset.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-symbols-util.h Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-provider.h Examining data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-provider.c Examining data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-meta.c Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-tables.h Examining data/libgda5-5.2.9/libgda/gda-data-handler.c Examining data/libgda5-5.2.9/libgda/gda-data-meta-wrapper.h Examining data/libgda5-5.2.9/libgda/gda-data-model-array.c Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-boolean.c Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-time.h Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-type.h Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-numerical.h Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-string.c Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-string.h Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-bin.c Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-bin.h Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-boolean.h Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-type.c Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-numerical.c Examining data/libgda5-5.2.9/libgda/handlers/gda-handler-time.c Examining data/libgda5-5.2.9/libgda/gda-data-model-dir.c Examining data/libgda5-5.2.9/libgda/gda-data-model-ldap.h Examining data/libgda5-5.2.9/libgda/csv.h Examining data/libgda5-5.2.9/libgda/gda-data-access-wrapper.h Examining data/libgda5-5.2.9/libgda/gda-tree.h Examining data/libgda5-5.2.9/libgda/gda-mutex.h Examining data/libgda5-5.2.9/libgda/gda-lockable.c Examining data/libgda5-5.2.9/libgda/gda-data-meta-wrapper.c Examining data/libgda5-5.2.9/libgda/gda-enums.h Examining data/libgda5-5.2.9/libgda/gda-log.c Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-schemas.c Examining data/libgda5-5.2.9/libgda/gda-server-operation.c Examining data/libgda5-5.2.9/libgda/gda-init.c Examining data/libgda5-5.2.9/libgda/gda-server-provider-private.h Examining data/libgda5-5.2.9/libgda/gda-xa-transaction.h Examining data/libgda5-5.2.9/libgda/gda-connection-event.h Examining data/libgda5-5.2.9/libgda/libgda-global-variables.h Examining data/libgda5-5.2.9/libgda/gda-meta-store.h Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-select.h Examining data/libgda5-5.2.9/libgda/gda-lockable.h Examining data/libgda5-5.2.9/libgda/gda-log.h Examining data/libgda5-5.2.9/libgda/gda-attributes-manager.h Examining data/libgda5-5.2.9/libgda/gda-repetitive-statement.c Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-ldap.c Examining data/libgda5-5.2.9/libgda/gda-data-select.c Examining data/libgda5-5.2.9/libgda/gda-data-model-ldap.c Examining data/libgda5-5.2.9/libgda/gda-connection-event.c Examining data/libgda5-5.2.9/libgda/gda-data-select.h Examining data/libgda5-5.2.9/libgda/gda-connection.h Examining data/libgda5-5.2.9/libgda/gda-quark-list.c Examining data/libgda5-5.2.9/libgda/gda-meta-store-extra.h Examining data/libgda5-5.2.9/libgda/gda-statement.h Examining data/libgda5-5.2.9/libgda/md5c.c Examining data/libgda5-5.2.9/libgda/gda-server-operation.h Examining data/libgda5-5.2.9/libgda/gda-holder.h Examining data/libgda5-5.2.9/libgda/gda-server-provider-extra.c Examining data/libgda5-5.2.9/libgda/gda-quark-list.h Examining data/libgda5-5.2.9/libgda/gda-sql-builder.h Examining data/libgda5-5.2.9/libgda/gda-connection-sqlite.h Examining data/libgda5-5.2.9/libgda/gda-server-provider-extra.h Examining data/libgda5-5.2.9/libgda/gda-sql-builder.c Examining data/libgda5-5.2.9/libgda/gda-meta-store.c Examining data/libgda5-5.2.9/libgda/dir-blob-op.c Examining data/libgda5-5.2.9/libgda/gda-transaction-status.h Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-columns.h Examining data/libgda5-5.2.9/libgda/gda-tree.c Examining data/libgda5-5.2.9/libgda/providers-support/gda-pstmt.c Examining data/libgda5-5.2.9/libgda/providers-support/gda-meta-column-types.h Examining data/libgda5-5.2.9/libgda/providers-support/gda-pstmt.h Examining data/libgda5-5.2.9/libgda/providers-support/gda-data-select-priv.h Examining data/libgda5-5.2.9/libgda/gda-repetitive-statement.h Examining data/libgda5-5.2.9/libgda/gda-connection.c Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-label.c Examining data/libgda5-5.2.9/libgda/gda-util.h Examining data/libgda5-5.2.9/libgda/gda-meta-struct-io.c Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-label.h Examining data/libgda5-5.2.9/libgda/gda-data-model-dsn-list.h Examining data/libgda5-5.2.9/libgda/gda-value.c Examining data/libgda5-5.2.9/libgda/gda-column.c Examining data/libgda5-5.2.9/libgda/global.h Examining data/libgda5-5.2.9/libgda/gda-custom-marshal.c Examining data/libgda5-5.2.9/libgda/gda-data-model-import.c Examining data/libgda5-5.2.9/libgda/gda-util.c Examining data/libgda5-5.2.9/libgda/gda-server-provider.c Examining data/libgda5-5.2.9/libgda/gda-types.c Examining data/libgda5-5.2.9/libgda/gda-statement-priv.h Examining data/libgda5-5.2.9/libgda/gda-data-model-iter.h Examining data/libgda5-5.2.9/libgda/gda-data-access-wrapper.c Examining data/libgda5-5.2.9/libgda/gda-config.h Examining data/libgda5-5.2.9/libgda/gda-data-comparator.c Examining data/libgda5-5.2.9/libgda/gda-data-pivot.c Examining data/libgda5-5.2.9/libgda/gda-marshal.c Examining data/libgda5-5.2.9/libgda/gda-data-comparator.h Examining data/libgda5-5.2.9/libgda/gda-attributes-manager.c Examining data/libgda5-5.2.9/libgda/gda-tree-node.h Examining data/libgda5-5.2.9/libgda/gda-tree-mgr-columns.c Examining data/libgda5-5.2.9/libgda/gda-row.c Examining data/libgda5-5.2.9/libgda/gda-meta-struct.h Examining data/libgda5-5.2.9/libgda/gda-meta-struct.c Examining data/libgda5-5.2.9/libgda/gda-data-model.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-select.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-trans.h Examining data/libgda5-5.2.9/libgda/sql-parser/gen_def.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-sql-parser.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-select.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-delete.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-insert.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-util.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-delete.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-decl.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-sql-statement.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-unknown.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-compound.c Examining data/libgda5-5.2.9/libgda/sql-parser/parser.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-pspec.c Examining data/libgda5-5.2.9/libgda/sql-parser/lempar.c Examining data/libgda5-5.2.9/libgda/sql-parser/token_types.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-unknown.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-compound.h Examining data/libgda5-5.2.9/libgda/sql-parser/parser_tokens.h Examining data/libgda5-5.2.9/libgda/sql-parser/delimiter.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-sql-parser-enum-types.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-sql-parser-enum-types.h Examining data/libgda5-5.2.9/libgda/sql-parser/lemon.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-parts.h Examining data/libgda5-5.2.9/libgda/sql-parser/delimiter.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-update.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-parts.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-pspec.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-util.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-sql-parser-private.h Examining data/libgda5-5.2.9/libgda/sql-parser/parser.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-insert.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-sql-parser.c Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-update.h Examining data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-trans.c Examining data/libgda5-5.2.9/tools/information-schema-doc.c Examining data/libgda5-5.2.9/tools/gda-tree-mgr-xml.h Examining data/libgda5-5.2.9/tools/gda-threader.h Examining data/libgda5-5.2.9/tools/command-exec.c Examining data/libgda5-5.2.9/tools/web-server.c Examining data/libgda5-5.2.9/tools/information-schema-types.c Examining data/libgda5-5.2.9/tools/config-info.c Examining data/libgda5-5.2.9/tools/config-info.h Examining data/libgda5-5.2.9/tools/tool-utils.c Examining data/libgda5-5.2.9/tools/gda-sql.h Examining data/libgda5-5.2.9/tools/gda-tree-mgr-xml.c Examining data/libgda5-5.2.9/tools/gda-list-config.c Examining data/libgda5-5.2.9/tools/html-doc.c Examining data/libgda5-5.2.9/tools/gda-sql.c Examining data/libgda5-5.2.9/tools/browser/dummy-perspective/dummy-perspective.h Examining data/libgda5-5.2.9/tools/browser/dummy-perspective/perspective-main.c Examining data/libgda5-5.2.9/tools/browser/dummy-perspective/perspective-main.h Examining data/libgda5-5.2.9/tools/browser/dummy-perspective/dummy-perspective.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/class-properties.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/hierarchy-view.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-browser-perspective.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-favorite-selector.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/hierarchy-view.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/vtable-dialog.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/classes-view.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/entry-properties.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/mgr-ldap-entries.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/marshal.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/marshal.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/entry-properties.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/filter-editor.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/perspective-main.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-classes-page.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/mgr-ldap-classes.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/filter-editor.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/classes-view.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/class-properties.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/mgr-ldap-entries.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-search-page.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-browser-perspective.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-entries-page.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/vtable-dialog.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/mgr-ldap-classes.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-search-page.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/perspective-main.h Examining data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-favorite-selector.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-classes-page.c Examining data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-entries-page.c Examining data/libgda5-5.2.9/tools/browser/data-manager/xml-spec-editor.h Examining data/libgda5-5.2.9/tools/browser/data-manager/analyser.h Examining data/libgda5-5.2.9/tools/browser/data-manager/xml-spec-editor.c Examining data/libgda5-5.2.9/tools/browser/data-manager/data-source-manager.c Examining data/libgda5-5.2.9/tools/browser/data-manager/ui-spec-editor.h Examining data/libgda5-5.2.9/tools/browser/data-manager/data-source.h Examining data/libgda5-5.2.9/tools/browser/data-manager/marshal.c Examining data/libgda5-5.2.9/tools/browser/data-manager/marshal.h Examining data/libgda5-5.2.9/tools/browser/data-manager/perspective-main.c Examining data/libgda5-5.2.9/tools/browser/data-manager/data-source-editor.h Examining data/libgda5-5.2.9/tools/browser/data-manager/data-console.h Examining data/libgda5-5.2.9/tools/browser/data-manager/data-widget.c Examining data/libgda5-5.2.9/tools/browser/data-manager/data-favorite-selector.h Examining data/libgda5-5.2.9/tools/browser/data-manager/analyser.c Examining data/libgda5-5.2.9/tools/browser/data-manager/ui-spec-editor.c Examining data/libgda5-5.2.9/tools/browser/data-manager/data-console.c Examining data/libgda5-5.2.9/tools/browser/data-manager/data-favorite-selector.c Examining data/libgda5-5.2.9/tools/browser/data-manager/data-manager-perspective.c Examining data/libgda5-5.2.9/tools/browser/data-manager/data-source.c Examining data/libgda5-5.2.9/tools/browser/data-manager/data-source-editor.c Examining data/libgda5-5.2.9/tools/browser/data-manager/data-widget.h Examining data/libgda5-5.2.9/tools/browser/data-manager/data-source-manager.h Examining data/libgda5-5.2.9/tools/browser/data-manager/data-manager-perspective.h Examining data/libgda5-5.2.9/tools/browser/data-manager/perspective-main.h Examining data/libgda5-5.2.9/tools/browser/auth-dialog.c Examining data/libgda5-5.2.9/tools/browser/browser-core.h Examining data/libgda5-5.2.9/tools/browser/browser-perspective.c Examining data/libgda5-5.2.9/tools/browser/dnd.h Examining data/libgda5-5.2.9/tools/browser/query-exec/query-console-page.c Examining data/libgda5-5.2.9/tools/browser/query-exec/query-favorite-selector.h Examining data/libgda5-5.2.9/tools/browser/query-exec/query-result.c Examining data/libgda5-5.2.9/tools/browser/query-exec/marshal.c Examining data/libgda5-5.2.9/tools/browser/query-exec/marshal.h Examining data/libgda5-5.2.9/tools/browser/query-exec/perspective-main.c Examining data/libgda5-5.2.9/tools/browser/query-exec/query-exec-perspective.c Examining data/libgda5-5.2.9/tools/browser/query-exec/query-result.h Examining data/libgda5-5.2.9/tools/browser/query-exec/query-favorite-selector.c Examining data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c Examining data/libgda5-5.2.9/tools/browser/query-exec/query-exec-perspective.h Examining data/libgda5-5.2.9/tools/browser/query-exec/query-console-page.h Examining data/libgda5-5.2.9/tools/browser/query-exec/perspective-main.h Examining data/libgda5-5.2.9/tools/browser/query-exec/query-editor.h Examining data/libgda5-5.2.9/tools/browser/browser-connections-list.h Examining data/libgda5-5.2.9/tools/browser/marshal.c Examining data/libgda5-5.2.9/tools/browser/marshal.h Examining data/libgda5-5.2.9/tools/browser/text-search.c Examining data/libgda5-5.2.9/tools/browser/browser-virtual-connection.h Examining data/libgda5-5.2.9/tools/browser/connection-binding-properties.h Examining data/libgda5-5.2.9/tools/browser/browser-stock-icons.h Examining data/libgda5-5.2.9/tools/browser/browser-spinner.h Examining data/libgda5-5.2.9/tools/browser/canvas-example.c Examining data/libgda5-5.2.9/tools/browser/login-dialog.h Examining data/libgda5-5.2.9/tools/browser/connection-binding-properties.c Examining data/libgda5-5.2.9/tools/browser/browser-variable.c Examining data/libgda5-5.2.9/tools/browser/browser-variable.h Examining data/libgda5-5.2.9/tools/browser/support.c Examining data/libgda5-5.2.9/tools/browser/auth-dialog.h Examining data/libgda5-5.2.9/tools/browser/browser-spinner.c Examining data/libgda5-5.2.9/tools/browser/browser-connection.c Examining data/libgda5-5.2.9/tools/browser/browser-page.h Examining data/libgda5-5.2.9/tools/browser/mgr-favorites.c Examining data/libgda5-5.2.9/tools/browser/browser-core.c Examining data/libgda5-5.2.9/tools/browser/support.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/table-preferences.c Examining data/libgda5-5.2.9/tools/browser/schema-browser/marshal.c Examining data/libgda5-5.2.9/tools/browser/schema-browser/marshal.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/schema-browser-perspective.c Examining data/libgda5-5.2.9/tools/browser/schema-browser/perspective-main.c Examining data/libgda5-5.2.9/tools/browser/schema-browser/schema-browser-perspective.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/table-relations.c Examining data/libgda5-5.2.9/tools/browser/schema-browser/mgr-columns.c Examining data/libgda5-5.2.9/tools/browser/schema-browser/objects-index.c Examining data/libgda5-5.2.9/tools/browser/schema-browser/table-info.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/favorite-selector.c Examining data/libgda5-5.2.9/tools/browser/schema-browser/relations-diagram.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/favorite-selector.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/relations-diagram.c Examining data/libgda5-5.2.9/tools/browser/schema-browser/objects-index.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/table-relations.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/table-columns.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/table-info.c Examining data/libgda5-5.2.9/tools/browser/schema-browser/table-preferences.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/perspective-main.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/mgr-columns.h Examining data/libgda5-5.2.9/tools/browser/schema-browser/table-columns.c Examining data/libgda5-5.2.9/tools/browser/main.c Examining data/libgda5-5.2.9/tools/browser/text-search.h Examining data/libgda5-5.2.9/tools/browser/mgr-favorites.h Examining data/libgda5-5.2.9/tools/browser/browser-window.h Examining data/libgda5-5.2.9/tools/browser/gdaui-bar.h Examining data/libgda5-5.2.9/tools/browser/browser-connection.h Examining data/libgda5-5.2.9/tools/browser/decl.h Examining data/libgda5-5.2.9/tools/browser/browser-page.c Examining data/libgda5-5.2.9/tools/browser/dnd.c Examining data/libgda5-5.2.9/tools/browser/login-dialog.c Examining data/libgda5-5.2.9/tools/browser/common/ui-formgrid.c Examining data/libgda5-5.2.9/tools/browser/common/gdaui-entry-import.h Examining data/libgda5-5.2.9/tools/browser/common/gdaui-data-import.h Examining data/libgda5-5.2.9/tools/browser/common/marshal.c Examining data/libgda5-5.2.9/tools/browser/common/marshal.h Examining data/libgda5-5.2.9/tools/browser/common/fk-declare.c Examining data/libgda5-5.2.9/tools/browser/common/gdaui-data-import.c Examining data/libgda5-5.2.9/tools/browser/common/ui-formgrid.h Examining data/libgda5-5.2.9/tools/browser/common/objects-cloud.c Examining data/libgda5-5.2.9/tools/browser/common/widget-overlay.h Examining data/libgda5-5.2.9/tools/browser/common/objects-cloud.h Examining data/libgda5-5.2.9/tools/browser/common/favorites-actions.h Examining data/libgda5-5.2.9/tools/browser/common/favorites-actions.c Examining data/libgda5-5.2.9/tools/browser/common/fk-declare.h Examining data/libgda5-5.2.9/tools/browser/common/widget-overlay.c Examining data/libgda5-5.2.9/tools/browser/common/gdaui-entry-import.c Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-print.c Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-print.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-table.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas.c Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-fkey.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-item.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-decl.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-text.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-item.c Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-table.c Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-fkey.c Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-db-relations.c Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-column.c Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-utility.c Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-priv.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-column.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-utility.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-db-relations.h Examining data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-text.c Examining data/libgda5-5.2.9/tools/browser/browser-stock-icons.c Examining data/libgda5-5.2.9/tools/browser/browser-connection-priv.h Examining data/libgda5-5.2.9/tools/browser/browser-window.c Examining data/libgda5-5.2.9/tools/browser/gdaui-bar.c Examining data/libgda5-5.2.9/tools/browser/browser-virtual-connection.c Examining data/libgda5-5.2.9/tools/browser/browser-perspective.h Examining data/libgda5-5.2.9/tools/browser/browser-connections-list.c Examining data/libgda5-5.2.9/tools/tools-favorites.h Examining data/libgda5-5.2.9/tools/gda-threader.c Examining data/libgda5-5.2.9/tools/html-doc.h Examining data/libgda5-5.2.9/tools/web-server.h Examining data/libgda5-5.2.9/tools/tools-favorites.c Examining data/libgda5-5.2.9/tools/cmdtool/tool-decl.h Examining data/libgda5-5.2.9/tools/cmdtool/tool-output.c Examining data/libgda5-5.2.9/tools/cmdtool/tool-output.h Examining data/libgda5-5.2.9/tools/cmdtool/tool-errors.c Examining data/libgda5-5.2.9/tools/cmdtool/tool-command.c Examining data/libgda5-5.2.9/tools/cmdtool/tool-input.h Examining data/libgda5-5.2.9/tools/cmdtool/tool-defines.h Examining data/libgda5-5.2.9/tools/cmdtool/tool.h Examining data/libgda5-5.2.9/tools/cmdtool/tool-help.c Examining data/libgda5-5.2.9/tools/cmdtool/tool-help.h Examining data/libgda5-5.2.9/tools/cmdtool/tool-input.c Examining data/libgda5-5.2.9/tools/cmdtool/tool-errors.h Examining data/libgda5-5.2.9/tools/cmdtool/tool-command.h Examining data/libgda5-5.2.9/tools/command-exec.h Examining data/libgda5-5.2.9/tools/gda-list-server-op.c Examining data/libgda5-5.2.9/tools/tool-utils.h Examining data/libgda5-5.2.9/libgda-report/engine/rt-parser.c Examining data/libgda5-5.2.9/libgda-report/engine/gda-report-engine.h Examining data/libgda5-5.2.9/libgda-report/engine/test-rt-parser.c Examining data/libgda5-5.2.9/libgda-report/engine/rt-parser.h Examining data/libgda5-5.2.9/libgda-report/engine/gda-report-engine.c Examining data/libgda5-5.2.9/libgda-report/RML/gda-report-rml-document.h Examining data/libgda5-5.2.9/libgda-report/RML/gda-report-rml-document.c Examining data/libgda5-5.2.9/libgda-report/libgda-report.h Examining data/libgda5-5.2.9/libgda-report/DocBook/gda-report-docbook-document.h Examining data/libgda5-5.2.9/libgda-report/DocBook/gda-report-docbook-document.c Examining data/libgda5-5.2.9/libgda-report/gda-report-document.c Examining data/libgda5-5.2.9/libgda-report/gda-report-document.h Examining data/libgda5-5.2.9/libgda-report/gda-report-document-private.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-plugin.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-rt-editor.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-proxy.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-enum-types.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-proxy-info.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-basic-form.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-entry.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-grid.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-form.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-server-operation.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-decl.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-raw-grid.h Examining data/libgda5-5.2.9/libgda-ui/marshallers/gdaui-marshal.c Examining data/libgda5-5.2.9/libgda-ui/marshallers/gdaui-custom-marshal.c Examining data/libgda5-5.2.9/libgda-ui/marshallers/gdaui-custom-marshal.h Examining data/libgda5-5.2.9/libgda-ui/marshallers/gdaui-marshal.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-set.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-init.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-raw-form.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-cloud.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-login.c Examining data/libgda5-5.2.9/libgda-ui/demos/combo.c Examining data/libgda5-5.2.9/libgda-ui/demos/demos.h Examining data/libgda5-5.2.9/libgda-ui/demos/form.c Examining data/libgda5-5.2.9/libgda-ui/demos/grid_model_change.c Examining data/libgda5-5.2.9/libgda-ui/demos/cloud.c Examining data/libgda5-5.2.9/libgda-ui/demos/basic_form.c Examining data/libgda5-5.2.9/libgda-ui/demos/grid_data_layout.c Examining data/libgda5-5.2.9/libgda-ui/demos/grid.c Examining data/libgda5-5.2.9/libgda-ui/demos/form_model_change.c Examining data/libgda5-5.2.9/libgda-ui/demos/grid_rw.c Examining data/libgda5-5.2.9/libgda-ui/demos/tree.c Examining data/libgda5-5.2.9/libgda-ui/demos/form_pict.c Examining data/libgda5-5.2.9/libgda-ui/demos/form_data_layout.c Examining data/libgda5-5.2.9/libgda-ui/demos/ddl_queries.c Examining data/libgda5-5.2.9/libgda-ui/demos/login.c Examining data/libgda5-5.2.9/libgda-ui/demos/data_model_dir.c Examining data/libgda5-5.2.9/libgda-ui/demos/provider_sel.c Examining data/libgda5-5.2.9/libgda-ui/demos/main.c Examining data/libgda5-5.2.9/libgda-ui/demos/form_rw.c Examining data/libgda5-5.2.9/libgda-ui/demos/linked_grid_form.c Examining data/libgda5-5.2.9/libgda-ui/demos/linked_model_param.c Examining data/libgda5-5.2.9/libgda-ui/demos/grid_pict.c Examining data/libgda5-5.2.9/libgda-ui/demos/demo-common.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-server-operation.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-easy.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-enums.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-filter.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-raw-grid.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-provider-selector.c Examining data/libgda5-5.2.9/libgda-ui/bulleth.h Examining data/libgda5-5.2.9/libgda-ui/libgda-ui.h Examining data/libgda5-5.2.9/libgda-ui/internal/utility.c Examining data/libgda5-5.2.9/libgda-ui/internal/utility.h Examining data/libgda5-5.2.9/libgda-ui/internal/gdaui-dsn-selector.c Examining data/libgda5-5.2.9/libgda-ui/internal/popup-container.c Examining data/libgda5-5.2.9/libgda-ui/internal/popup-container.h Examining data/libgda5-5.2.9/libgda-ui/internal/gdaui-provider-auth-editor.c Examining data/libgda5-5.2.9/libgda-ui/internal/gdaui-dsn-selector.h Examining data/libgda5-5.2.9/libgda-ui/internal/gdaui-provider-spec-editor.h Examining data/libgda5-5.2.9/libgda-ui/internal/gdaui-provider-auth-editor.h Examining data/libgda5-5.2.9/libgda-ui/internal/gdaui-provider-spec-editor.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-cloud.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-store.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-set.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-form.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-resources.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-grid.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-selector.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-provider-selector.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-filter.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-resources.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-enum-types.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-proxy.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-tree-store.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-combo.h Examining data/libgda5-5.2.9/libgda-ui/bullet.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-basic-form.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-timestamp.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-formatted-entry.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/widget-embedder.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-shell.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-combo.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-shell.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-filesel.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/common-pict.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/libmain.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-password.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-password.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-format.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-util.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-rt.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-pict.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-pict.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-text.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-rt.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-util.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-cidr.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/common-pict.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-text.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/custom-marshal.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/custom-marshal.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-format.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-wrapper.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-util.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-none.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-boolean.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/common-bin.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-time.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-info.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-boolean.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/common-bin.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-number.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-string.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-date.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-bin.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-date.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-combo.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-common-time.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-common-time.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-formatted-entry.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-none.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-util.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-number.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-boolean.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-bin.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-boolean.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-wrapper.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/widget-embedder.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-info.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-time.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-string.h Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-timestamp.c Examining data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-combo.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-raw-form.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-rt-editor.c Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-proxy-info.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-store.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-selector.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-data-entry.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-login.h Examining data/libgda5-5.2.9/libgda-ui/gdaui-tree-store.c Examining data/libgda5-5.2.9/tests/gda-ddl-creator.h Examining data/libgda5-5.2.9/tests/multi-threading/common.c Examining data/libgda5-5.2.9/tests/multi-threading/check_parser.c Examining data/libgda5-5.2.9/tests/multi-threading/dummy-object.h Examining data/libgda5-5.2.9/tests/multi-threading/check_mutex.c Examining data/libgda5-5.2.9/tests/multi-threading/dummy-object.c Examining data/libgda5-5.2.9/tests/multi-threading/check_threaded_cnc.c Examining data/libgda5-5.2.9/tests/multi-threading/check_wrapper.c Examining data/libgda5-5.2.9/tests/multi-threading/common.h Examining data/libgda5-5.2.9/tests/multi-threading/check_cnc_lock.c Examining data/libgda5-5.2.9/tests/test-cnc-utils.c Examining data/libgda5-5.2.9/tests/data-model-errors.h Examining data/libgda5-5.2.9/tests/test-input-parsers.c Examining data/libgda5-5.2.9/tests/test-sql-identifier.c Examining data/libgda5-5.2.9/tests/providers/check_postgres.c Examining data/libgda5-5.2.9/tests/providers/check_mdb.c Examining data/libgda5-5.2.9/tests/providers/check_sqlite.c Examining data/libgda5-5.2.9/tests/providers/check_bdb.c Examining data/libgda5-5.2.9/tests/providers/prov-test-common.h Examining data/libgda5-5.2.9/tests/providers/check_firebird.c Examining data/libgda5-5.2.9/tests/providers/prov-test-util.c Examining data/libgda5-5.2.9/tests/providers/check_oracle.c Examining data/libgda5-5.2.9/tests/providers/prov-test-util.h Examining data/libgda5-5.2.9/tests/providers/prov-test-common.c Examining data/libgda5-5.2.9/tests/providers/check_mysql.c Examining data/libgda5-5.2.9/tests/test-connection-string-split.c Examining data/libgda5-5.2.9/tests/value-holders/check_statement.c Examining data/libgda5-5.2.9/tests/value-holders/check_holder.c Examining data/libgda5-5.2.9/tests/value-holders/common.c Examining data/libgda5-5.2.9/tests/value-holders/check_set.c Examining data/libgda5-5.2.9/tests/value-holders/common.h Examining data/libgda5-5.2.9/tests/test-errors.h Examining data/libgda5-5.2.9/tests/test-identifiers-quotes.c Examining data/libgda5-5.2.9/tests/test-sql-builder.c Examining data/libgda5-5.2.9/tests/parser/check_script.c Examining data/libgda5-5.2.9/tests/parser/check_rewrite_for_null.c Examining data/libgda5-5.2.9/tests/parser/check_parser.c Examining data/libgda5-5.2.9/tests/parser/check_dml_comp.c Examining data/libgda5-5.2.9/tests/parser/check_rewrite_for_default.c Examining data/libgda5-5.2.9/tests/parser/check_validation.c Examining data/libgda5-5.2.9/tests/parser/check_normalization.c Examining data/libgda5-5.2.9/tests/test-ddl-creator.c Examining data/libgda5-5.2.9/tests/test-sql-renderer.c Examining data/libgda5-5.2.9/tests/gda-ddl-creator.c Examining data/libgda5-5.2.9/tests/ui/check_sets.c Examining data/libgda5-5.2.9/tests/ui/common.c Examining data/libgda5-5.2.9/tests/ui/check_raw_grid_model.c Examining data/libgda5-5.2.9/tests/ui/common.h Examining data/libgda5-5.2.9/tests/data-model-errors.c Examining data/libgda5-5.2.9/tests/test-cnc-utils.h Examining data/libgda5-5.2.9/tests/test-bin-converter.c Examining data/libgda5-5.2.9/tests/data-models/check_vcnc.c Examining data/libgda5-5.2.9/tests/data-models/check_model_import.c Examining data/libgda5-5.2.9/tests/data-models/check_pmodel.c Examining data/libgda5-5.2.9/tests/data-models/check_pivot.c Examining data/libgda5-5.2.9/tests/data-models/check_empty_rs.c Examining data/libgda5-5.2.9/tests/data-models/check_data_proxy.c Examining data/libgda5-5.2.9/tests/data-models/check_virtual.c Examining data/libgda5-5.2.9/tests/data-models/check_model_errors.c Examining data/libgda5-5.2.9/tests/data-models/check_model_copy.c Examining data/libgda5-5.2.9/tests/test-errors.c Examining data/libgda5-5.2.9/tests/test-quark-list.c Examining data/libgda5-5.2.9/tests/meta-store/check_meta_store_memory.c Examining data/libgda5-5.2.9/tests/meta-store/common.c Examining data/libgda5-5.2.9/tests/meta-store/check_meta_store_mysql.c Examining data/libgda5-5.2.9/tests/meta-store/check_meta_store_postgresql.c Examining data/libgda5-5.2.9/tests/meta-store/common.h Examining data/libgda5-5.2.9/tests/meta-store/check_meta_store_sqlite.c Examining data/libgda5-5.2.9/samples/SqlBuilder/example.c Examining data/libgda5-5.2.9/samples/BDB/access-custom.c Examining data/libgda5-5.2.9/samples/BDB/custom-bdb-model.h Examining data/libgda5-5.2.9/samples/BDB/custom-bdb-model.c Examining data/libgda5-5.2.9/samples/BDB/access-raw.c Examining data/libgda5-5.2.9/samples/BDB/fill.c Examining data/libgda5-5.2.9/samples/BDB/common.h Examining data/libgda5-5.2.9/samples/MetaStore/example.c Examining data/libgda5-5.2.9/samples/MetaStore/background.c Examining data/libgda5-5.2.9/samples/Blobs/blobtest.c Examining data/libgda5-5.2.9/samples/CustomUIPlugin/libmain.c Examining data/libgda5-5.2.9/samples/CustomUIPlugin/custom-entry-password.h Examining data/libgda5-5.2.9/samples/CustomUIPlugin/custom-entry-password.c Examining data/libgda5-5.2.9/samples/F-Spot/repair-path.c Examining data/libgda5-5.2.9/samples/Report/customers-report-docbook.c Examining data/libgda5-5.2.9/samples/Report/schema-report.c Examining data/libgda5-5.2.9/samples/Report/customers-report.c Examining data/libgda5-5.2.9/samples/Report/customers-report-rml.c Examining data/libgda5-5.2.9/samples/DDL/ddl.c Examining data/libgda5-5.2.9/samples/LdapBrowser/ldap-browser.c Examining data/libgda5-5.2.9/samples/SimpleUIForm/example.c Examining data/libgda5-5.2.9/samples/XSLT/transform.c Examining data/libgda5-5.2.9/samples/AsyncExec/example.c Examining data/libgda5-5.2.9/samples/Virtual/virtual-test.c Examining data/libgda5-5.2.9/samples/TableCopy/common.c Examining data/libgda5-5.2.9/samples/TableCopy/table-copy.c Examining data/libgda5-5.2.9/samples/TableCopy/table-copy-easier.c Examining data/libgda5-5.2.9/samples/TableCopy/common.h Examining data/libgda5-5.2.9/samples/Tree/example.c Examining data/libgda5-5.2.9/samples/DirDataModel/find-duplicates.c Examining data/libgda5-5.2.9/samples/SimpleExample/example.c Examining data/libgda5-5.2.9/samples/WritableSelect/example.c FINAL RESULTS: data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:34855:42: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. { "readlink", (sqlite3_syscall_ptr)readlink, 0 }, data/libgda5-5.2.9/control-center/main.c:47:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf (sz, sizeof sz, format, args); data/libgda5-5.2.9/libgda-ui/internal/utility.c:477:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf (sz, sizeof sz, format, args); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:23:12: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. extern int access(); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:1346:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr,format,ap); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:1383:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(*paz, z); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:1394:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(user_templatename, z); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2749:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(name,filename); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2752:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(name,suffix); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3031:16: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if( path ) sprintf(path,"%s/%s",argv0,name); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3040:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pathbuf, pathlist); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3046:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(path,"%s/%s",pathbuf,name); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3050:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if( access(path,modemask)==0 ) break; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3120:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if( access(user_templatename,004)==-1 ){ data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3139:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf,"%s.lt",lemp->filename); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3141:7: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if( access(buf,004)==0 ){ data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3143:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. }else if( access(templatename,004)==0 ){ data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3292:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(&z[used], zInt); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3513:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(types[hash],stddt); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3902:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line,"\"%s\",",lemp->symbols[i]->name); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:4068:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(pattern,"#define %s%-30s %2d\n",prefix,lemp->symbols[i]->name,i); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:4297:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(cpy,y); data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:265:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(p->zOrigName, p->zName); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:26320:42: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. { "access", (sqlite3_syscall_ptr)access, 0 }, data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:42456:28: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define sqlite3DebugPrintf printf data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:53824:42: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define TRACE(X) if(sqlite3BtreeTrace){printf X;fflush(stdout);} data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:67185:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(pOut, zFormat1, pc, data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:99272:14: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. FUNCTION(printf, -1, 0, 0, printfFunc ), data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:103125:12: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. char * (*snprintf)(int,char*,const char*,...); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:103237:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. char *(*vsnprintf)(int,char*,const char*,va_list); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:103377:53: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define sqlite3_snprintf sqlite3_api->snprintf data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:103476:53: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define sqlite3_uri_vsnprintf sqlite3_api->vsnprintf data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:351:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (p, "%*s.%0*" ISC_INT64_FORMAT "d", data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:429:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(p, "%*s", 22, date_s); data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:454:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(p, "%*s ", 10, date_s); data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:474:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(p, "%*s ", 11, date_s); data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:493:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(p, "%17s ", blob_s); data/libgda5-5.2.9/providers/mdb/libmdb-src/catalog.c:104:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(entry->object_name, obj_name); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:171:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(col->bind_ptr, value ? "0" : "1"); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:233:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(col->bind_ptr, str); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:698:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(text, "%0*" G_GINT32_FORMAT, prec, GINT32_FROM_LE(l)); data/libgda5-5.2.9/providers/mdb/libmdb-src/options.c:47:6: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stdout,fmt, ap); data/libgda5-5.2.9/providers/mdb/libmdb-src/table.c:52:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(table->name, entry->object_name); data/libgda5-5.2.9/providers/mdb/libmdb-src/table.c:347:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf("%6" G_GUINT32_FORMAT, pgnum); data/libgda5-5.2.9/providers/mdb/libmdb-src/worktable.c:35:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tcol->name, col_name); data/libgda5-5.2.9/providers/mdb/libmdb-src/worktable.c:65:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(entry->object_name, name); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:18998:34: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define CODEC_TRACE_MUTEX(...) {fprintf(stderr, __VA_ARGS__);fflush(stderr);} data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19008:28: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define CODEC_TRACE(...) {fprintf(stderr, __VA_ARGS__);fflush(stderr);} data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19018:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(DESC); \ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:34729:42: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. { "access", (sqlite3_syscall_ptr)access, 0 }, data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:51516:28: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define sqlite3DebugPrintf printf data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:62867:42: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define TRACE(X) if(sqlite3BtreeTrace){printf X;fflush(stdout);} data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:76792:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(pOut, zFormat1, pc, data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:111384:14: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. FUNCTION(printf, -1, 0, 0, printfFunc ), data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:115451:12: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. char * (*snprintf)(int,char*,const char*,...); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:115563:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. char *(*vsnprintf)(int,char*,const char*,va_list); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:115735:53: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define sqlite3_snprintf sqlite3_api->snprintf data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:115759:53: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define sqlite3_vsnprintf sqlite3_api->vsnprintf data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:115835:53: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define sqlite3_uri_vsnprintf sqlite3_api->vsnprintf data/libgda5-5.2.9/providers/sqlcipher/sqlite3ext.h:137:12: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. char * (*snprintf)(int,char*,const char*,...); data/libgda5-5.2.9/providers/sqlcipher/sqlite3ext.h:249:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. char *(*vsnprintf)(int,char*,const char*,va_list); data/libgda5-5.2.9/providers/sqlcipher/sqlite3ext.h:421:53: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define sqlite3_snprintf sqlite3_api->snprintf data/libgda5-5.2.9/providers/sqlcipher/sqlite3ext.h:445:53: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define sqlite3_vsnprintf sqlite3_api->vsnprintf data/libgda5-5.2.9/providers/sqlcipher/sqlite3ext.h:521:53: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define sqlite3_uri_vsnprintf sqlite3_api->vsnprintf data/libgda5-5.2.9/tools/browser/browser-window.c:1426:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf (sz, sizeof (sz), format, args); data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:1254:3: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf (timebuf, sizeof(timebuf), ngettext ("%lu minute ago:\n", data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:1261:3: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf (timebuf, sizeof(timebuf), ngettext ("%lu hour ago\n", data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:1267:2: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf (timebuf, sizeof(timebuf), ngettext ("%lu day ago\n", data/libgda5-5.2.9/tools/browser/support.c:138:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf (sz, sizeof (sz), format, args); data/libgda5-5.2.9/tools/browser/support.c:180:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf (sz, sizeof (sz), format, args); data/libgda5-5.2.9/tools/cmdtool/tool-output.c:761:32: [4] (shell) popen: 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. pipe = popen (pager, "w"); data/libgda5-5.2.9/tools/gda-sql.c:1100:46: [4] (shell) popen: 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. main_data->term_console->output_stream = popen (copy+1, "w"); data/libgda5-5.2.9/tools/gda-sql.c:1875:11: [4] (shell) popen: 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. pipe = popen (pager, "w"); data/libgda5-5.2.9/tools/gda-sql.c:3447:14: [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. systemres = system (edit_command); data/libgda5-5.2.9/libgda-ui/gdaui-data-store.c:156:23: [3] (random) g_random_int: 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. store->priv->stamp = g_random_int (); data/libgda5-5.2.9/libgda-ui/gdaui-data-store.c:167:43: [3] (random) g_random_int: 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. ((GdauiDataStore*) store)->priv->stamp = g_random_int (); data/libgda5-5.2.9/libgda-ui/gdaui-data-store.c:181:43: [3] (random) g_random_int: 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. ((GdauiDataStore*) store)->priv->stamp = g_random_int (); data/libgda5-5.2.9/libgda-ui/gdaui-data-store.c:195:43: [3] (random) g_random_int: 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. ((GdauiDataStore*) store)->priv->stamp = g_random_int (); data/libgda5-5.2.9/libgda-ui/gdaui-data-store.c:243:25: [3] (random) g_random_int: 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. store->priv->stamp = g_random_int (); data/libgda5-5.2.9/libgda-ui/gdaui-data-store.c:291:25: [3] (random) g_random_int: 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. store->priv->stamp = g_random_int (); data/libgda5-5.2.9/libgda-ui/gdaui-data-store.c:298:25: [3] (random) g_random_int: 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. store->priv->stamp = g_random_int (); data/libgda5-5.2.9/libgda-ui/gdaui-tree-store.c:284:23: [3] (random) g_random_int_range: 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. store->priv->stamp = g_random_int_range (1, G_MAXINT); data/libgda5-5.2.9/libgda-ui/gdaui-tree-store.c:310:25: [3] (random) g_random_int_range: 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. store->priv->stamp = g_random_int_range (1, G_MAXINT); data/libgda5-5.2.9/libgda-ui/gdaui-tree-store.c:362:25: [3] (random) g_random_int_range: 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. store->priv->stamp = g_random_int_range (1, G_MAXINT); data/libgda5-5.2.9/libgda-ui/gdaui-tree-store.c:1023:23: [3] (random) g_random_int_range: 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. store->priv->stamp = g_random_int_range (1, G_MAXINT); data/libgda5-5.2.9/libgda-ui/gdaui-tree-store.c:1046:23: [3] (random) g_random_int_range: 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. store->priv->stamp = g_random_int_range (1, G_MAXINT); data/libgda5-5.2.9/libgda-ui/gdaui-tree-store.c:1069:23: [3] (random) g_random_int_range: 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. store->priv->stamp = g_random_int_range (1, G_MAXINT); data/libgda5-5.2.9/libgda-ui/gdaui-tree-store.c:1090:23: [3] (random) g_random_int_range: 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. store->priv->stamp = g_random_int_range (1, G_MAXINT); data/libgda5-5.2.9/libgda/gda-data-model.c:2427:9: [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. cstr = getenv ("GDA_DATA_MODEL_DUMP_TRUNCATE"); data/libgda5-5.2.9/libgda/gda-data-model.c:2507:9: [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. cstr = getenv ("GDA_DATA_MODEL_DUMP_TRUNCATE"); data/libgda5-5.2.9/libgda/gda-quark-list.c:78:22: [3] (random) g_random_int_range: 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. random_blob [i] = g_random_int_range (1, 255); data/libgda5-5.2.9/libgda/gda-quark-list.c:144:25: [3] (random) g_random_int_range: 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. pvalue->cvalue[i] = g_random_int_range (1, 255); data/libgda5-5.2.9/libgda/gda-quark-list.c:191:19: [3] (random) g_random_int_range: 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. pvalue->offset = g_random_int_range (0, RANDOM_BLOB_SIZE - l - 2); data/libgda5-5.2.9/libgda/gda-quark-list.c:196:16: [3] (random) g_random_int_range: 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. cvalue [i] = g_random_int_range (0, 255); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3034:16: [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. pathlist = getenv("PATH"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:20385:7: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&winMutex_staticMutexes[i].mutex); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:20479:9: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&p->mutex); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:20545:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&p->mutex); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:28823:10: [3] (random) random: 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. lk = random(); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31411:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[1] ) azDirs[1] = getenv("SQLITE_TMPDIR"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31412:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[2] ) azDirs[2] = getenv("TMPDIR"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31845: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. char *envforce = getenv("SQLITE_FORCE_PROXY_LOCKING"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:38131:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:38132:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[1] ) azDirs[1] = getenv("TMPDIR"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:38133:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[2] ) azDirs[2] = getenv("TMP"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:38134:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[3] ) azDirs[3] = getenv("TEMP"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:38135:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[4] ) azDirs[4] = getenv("USERPROFILE"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:99290:15: [3] (random) random: 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. VFUNCTION(random, 0, 0, 0, randomFunc ), data/libgda5-5.2.9/providers/jdbc/jni-wrapper.c:121:46: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It 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. confdir = g_build_path (G_DIR_SEPARATOR_S, g_get_home_dir (), ".libgda", NULL); data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:80: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. mdbpath = (gchar *) getenv("MDBPATH"); data/libgda5-5.2.9/providers/mdb/libmdb-src/iconv.c:185:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!(iconv_code=(char *)getenv("MDB_ICONV"))) { data/libgda5-5.2.9/providers/mdb/libmdb-src/iconv.c:199:33: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!(jet3_iconv_code=(char *)getenv("MDB_JET3_CHARSET"))) { data/libgda5-5.2.9/providers/mdb/libmdb-src/options.c:60:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!optset && (s=getenv("MDBOPTS"))) { data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19958:9: [3] (random) random: 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. int (*random)(void *ctx, void *buffer, int length); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20876:25: [3] (random) random: 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. if(c_ctx->provider->random(c_ctx->provider_ctx, iv_out, c_ctx->reserve_sz) != SQLITE_OK) return SQLITE_ERROR; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20947:35: [3] (random) random: 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. if(ctx->read_ctx->provider->random(ctx->read_ctx->provider_ctx, ctx->kdf_salt, FILE_HEADER_SZ) != SQLITE_OK) return SQLITE_ERROR; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:21257:20: [3] (random) random: 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. unsigned char *random; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:21261:12: [3] (random) random: 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. memset(random, 0, buffer_sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:21262:26: [3] (random) random: 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. cipher_hex2bin(z, n, random); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:21263:75: [3] (random) random: 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. rc = ctx->read_ctx->provider->add_random(ctx->read_ctx->provider_ctx, random, buffer_sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:21264:20: [3] (random) random: 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. sqlcipher_free(random, buffer_sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:28427:7: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&winMutex_staticMutexes[i].mutex); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:28521:9: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&p->mutex); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:28587:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&p->mutex); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:37213:10: [3] (random) random: 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. lk = random(); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:39792:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:39793:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[1] ) azDirs[1] = getenv("TMPDIR"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40243: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. char *envforce = getenv("SQLITE_FORCE_PROXY_LOCKING"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:46869:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:46870:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[1] ) azDirs[1] = getenv("TMPDIR"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:46871:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[2] ) azDirs[2] = getenv("TMP"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:46872:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[3] ) azDirs[3] = getenv("TEMP"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:46873:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if( !azDirs[4] ) azDirs[4] = getenv("USERPROFILE"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:111396:15: [3] (random) random: 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. VFUNCTION(random, 0, 0, 0, randomFunc ), data/libgda5-5.2.9/samples/F-Spot/repair-path.c:81:51: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It 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. cnc_dir_name = g_build_path (G_DIR_SEPARATOR_S, g_get_home_dir (), ".gnome2", "f-spot", NULL); data/libgda5-5.2.9/testing/gda-provider-status.c:84:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv ("GDA_SQL_CNC")) { data/libgda5-5.2.9/testing/gda-provider-status.c:86:27: [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. cnc = open_connection (getenv ("GDA_SQL_CNC"), &error); data/libgda5-5.2.9/tests/meta-store/check_meta_store_mysql.c:32:15: [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. cnc_string = getenv ("MYSQL_META_CNC"); data/libgda5-5.2.9/tests/meta-store/check_meta_store_postgresql.c:32:15: [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. cnc_string = getenv ("POSTGRESQL_META_CNC"); data/libgda5-5.2.9/tests/test-cnc-utils.c:112:15: [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. cnc_params = getenv (str); data/libgda5-5.2.9/tests/test-cnc-utils.c:145:11: [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. env = getenv (str); data/libgda5-5.2.9/tests/test-cnc-utils.c:149:11: [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. env = getenv (str); data/libgda5-5.2.9/tests/test-cnc-utils.c:227:14: [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. db_params = getenv (str); data/libgda5-5.2.9/tests/test-cnc-utils.c:316:6: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv (str)) data/libgda5-5.2.9/tests/test-cnc-utils.c:341:15: [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. db_params = getenv (str); data/libgda5-5.2.9/tools/browser/main.c:66:8: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (! getenv ("GDA_DATA_MODEL_DUMP_TITLE")) data/libgda5-5.2.9/tools/browser/main.c:68:8: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (! getenv ("GDA_DATA_MODEL_NULL_AS_EMPTY")) data/libgda5-5.2.9/tools/browser/main.c:71:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (! getenv ("GDA_DATA_MODEL_DUMP_TRUNCATE")) data/libgda5-5.2.9/tools/cmdtool/tool-input.c:405:6: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv (TOOL_HISTORY_ENV_NAME)) { data/libgda5-5.2.9/tools/cmdtool/tool-input.c:407:11: [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. ename = getenv (TOOL_HISTORY_ENV_NAME); data/libgda5-5.2.9/tools/cmdtool/tool-output.c:731:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv (TOOL_NO_PAGER)) data/libgda5-5.2.9/tools/cmdtool/tool-output.c:753:25: [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. pager = getenv ("PAGER"); data/libgda5-5.2.9/tools/config-info.c:658:46: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It 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. confdir = g_build_path (G_DIR_SEPARATOR_S, g_get_home_dir (), ".libgda", NULL); data/libgda5-5.2.9/tools/gda-sql.c:436:6: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv ("GDA_SQL_CNC")) { data/libgda5-5.2.9/tools/gda-sql.c:439:25: [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. const gchar *envstr = getenv ("GDA_SQL_CNC"); data/libgda5-5.2.9/tools/gda-sql.c:1144:35: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It 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. tmp = g_strdup_printf ("%s%s", g_get_home_dir (), file+1); data/libgda5-5.2.9/tools/gda-sql.c:1720:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (! getenv ("GDA_DATA_MODEL_DUMP_TITLE")) data/libgda5-5.2.9/tools/gda-sql.c:1722:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (! getenv ("GDA_DATA_MODEL_NULL_AS_EMPTY")) data/libgda5-5.2.9/tools/gda-sql.c:1725:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (! getenv ("GDA_DATA_MODEL_DUMP_TRUNCATE")) data/libgda5-5.2.9/tools/gda-sql.c:1845:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv (TOOL_NO_PAGER)) data/libgda5-5.2.9/tools/gda-sql.c:1867:11: [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. pager = getenv ("PAGER"); data/libgda5-5.2.9/tools/gda-sql.c:3423:17: [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. editor_name = getenv("GDA_SQL_EDITOR"); data/libgda5-5.2.9/tools/gda-sql.c:3425:18: [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. editor_name = getenv("EDITOR"); data/libgda5-5.2.9/tools/gda-sql.c:3427:18: [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. editor_name = getenv("VISUAL"); data/libgda5-5.2.9/tools/gda-sql.c:5701:32: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It 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. tmpname = g_build_filename (g_get_tmp_dir (), suffix, NULL); data/libgda5-5.2.9/tools/web-server.c:1026:31: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It 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. dotname = g_build_filename (g_get_tmp_dir (), suffix, NULL); data/libgda5-5.2.9/tools/web-server.c:1034:32: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It 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. pngname = g_build_filename (g_get_tmp_dir (), suffix, NULL); data/libgda5-5.2.9/tools/web-server.c:1038:32: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It 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. mapname = g_build_filename (g_get_tmp_dir (), suffix, NULL); data/libgda5-5.2.9/doc/C/examples/blobtest.c:31:8: [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). id = atoi (argv[2]); data/libgda5-5.2.9/libgda-report/engine/gda-report-engine.c:1311:17: [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). gint nth = atoi (col_name + 1); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c:318:2: [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 (new_text, number_text, number_length + 1); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c:373:17: [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 (text, "%f", 1.23); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c:386:17: [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 (text, "%f", 1234.); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c:549:34: [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). datacell->priv->max_length = atoi (str); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c:559:34: [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). datacell->priv->n_decimals = atoi (str); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-common-time.c:767:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer [256]; data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-common-time.c:782:17: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buffer, "???"); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-number.c:440:3: [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 (text, "%'f", 1234.); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-number.c:470:32: [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). mgstr->priv->nb_decimals = atoi (str); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-string.c:566:27: [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). mgstr->priv->maxsize = atoi (str); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c:215:17: [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 (text, "%f", 1.23); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/common-pict.c:60:6: [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 (bindata->data, bin->data, bin->binary_length); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/common-pict.c:70:6: [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 (bindata->data, bin->data, bin->binary_length); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c:358:12: [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). net = atoi (ptr); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c:395:13: [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). oldval = atoi (svalues->mask_array[j]); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c:397:13: [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). oldval = atoi (svalues->ip_array[j]); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c:441:11: [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). part = atoi (array [i]); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c:551:14: [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). ippart = atoi (svalues->ip_array [i]); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c:647: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). val = atoi (svalues->ip_array [i]); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c:654: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). val = atoi (svalues->mask_array [i]); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-text.c:228:2: [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 (search_path, current_search_path, sizeof (gchar*) * len); data/libgda5-5.2.9/libgda-ui/demos/cloud.c:50:8: [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). row = atoi (gtk_entry_get_text (GTK_ENTRY (entry))); data/libgda5-5.2.9/libgda-ui/demos/cloud.c:61:8: [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). row = atoi (gtk_entry_get_text (GTK_ENTRY (entry))); data/libgda5-5.2.9/libgda-ui/demos/combo.c:63:8: [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). row = atoi (gtk_entry_get_text (GTK_ENTRY (entry))); data/libgda5-5.2.9/libgda-ui/demos/combo.c:74:8: [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). row = atoi (gtk_entry_get_text (GTK_ENTRY (entry))); data/libgda5-5.2.9/libgda-ui/gdaui-combo.c:466:3: [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 (combo->priv->cols_index, lcols_index, sizeof (gint) * ln_cols); data/libgda5-5.2.9/libgda-ui/gdaui-init.c:319:3: [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 (np->valid_g_types, plugin->valid_g_types, sizeof (GType) * np->nb_g_types); data/libgda5-5.2.9/libgda/gda-data-access-wrapper.c:494:3: [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 (wrapper->priv->rows_mapping, mapping, mapping_size * sizeof (gint)); data/libgda5-5.2.9/libgda/gda-data-model.c:2429:15: [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). max_width = atoi (cstr); data/libgda5-5.2.9/libgda/gda-data-model.c:2509:15: [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). max_width = atoi (cstr); data/libgda5-5.2.9/libgda/gda-quark-list.c:170:2: [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 (p2->pvalue, p1->pvalue, l + 1); data/libgda5-5.2.9/libgda/gda-value.c:889:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[G_ASCII_DTOSTR_BUF_SIZE]; data/libgda5-5.2.9/libgda/gda-value.c:2333: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[G_ASCII_DTOSTR_BUF_SIZE]; data/libgda5-5.2.9/libgda/gda-value.c:2338: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[G_ASCII_DTOSTR_BUF_SIZE]; data/libgda5-5.2.9/libgda/gda-xa-transaction.h:80:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char data [128]; data/libgda5-5.2.9/libgda/md5.h:37: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 buffer[64]; /* input buffer */ data/libgda5-5.2.9/libgda/md5c.c:56:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char PADDING[64] = { data/libgda5-5.2.9/libgda/md5c.c:159:10: [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 digest[16]; /* message digest */ data/libgda5-5.2.9/libgda/md5c.c:162: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 bits[8]; data/libgda5-5.2.9/libgda/md5c.c:189:10: [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 block[64]; data/libgda5-5.2.9/libgda/md5c.c:333:7: [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 *)output)[i] = (char)value; data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:76:15: [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). fd_imposed = fopen (file_imposed, "r"); data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:81:14: [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). fd_parser = fopen (PARSER_HEADER, "r"); data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:86:13: [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). fd_delim = fopen (DELIM_HEADER, "r"); data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:174: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). value = atoi (z); data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:182:3: [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 (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:196:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFSIZE]; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:1372:15: [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. azDefine = (char **) realloc(azDefine, sizeof(azDefine[0])*nDefine); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:1644: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 *set[LISTSIZE]; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:1736:16: [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. (*(void(*)(char *))(op[j].arg))(&argv[i][2]); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:1829:20: [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. (*(void(*)(char *))(op[j].arg))(sv); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:1976: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. const char *alias[MAXRHS]; /* Aliases for each RHS symbol (or NULL) */ data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2352: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 zLine[50]; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2369:11: [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(zLine, "#line %d ", psp->tokenlineno); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2379:11: [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(zBuf, zLine, nLine); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2394:9: [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(zBuf, zNew, nNew); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2528:8: [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). fp = fopen(ps.filename,"rb"); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2768:8: [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). fp = fopen(lemp->outname,mode); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2964:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[20]; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2966:9: [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(buf,"(%d)",cfp->rp->index); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3088: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 line[LINESIZE]; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3113: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 buf[1000]; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3126:10: [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). in = fopen(user_templatename,"rb"); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3137:5: [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(buf,"%.*s.lt",(int)(cp-lemp->filename),lemp->filename); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3154:8: [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). in = fopen(tpltname,"rb"); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3265:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char empty[1] = { 0 }; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3270: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 zInt[40]; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3290:7: [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(zInt, "%d", p1); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3313: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 used[MAXRHS]; /* True for each RHS element which is used */ data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3319: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. static char newlinestr[2] = { '\n', '\0' }; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:3616: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 line[LINESIZE]; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:4059: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 line[LINESIZE]; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:4060: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 pattern[LINESIZE]; data/libgda5-5.2.9/libgda/sqlite/gen_emb_string.c:43:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[MAXSIZE]; data/libgda5-5.2.9/libgda/sqlite/gen_emb_string.c:82:3: [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 (efile->fname, cfile + i + 1, len - i); data/libgda5-5.2.9/libgda/sqlite/gen_emb_string.c:92:10: [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 (cfile, "r"); data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:53:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char zOrigName[40]; /* Original keyword name before processing */ data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:140:2: [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 (aKeywordTable [nKeyword].zName, keyword, sizeof (char) * len); data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:158: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 buffer[BUFSIZE+1]; data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:162:11: [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). stream = fopen (filename, "r"); data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:244:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char zText[10000]; data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:381:3: [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(&zText[k], p->zName, p->len); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:12365: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 zSelName[12]; /* Symbolic name of this SELECT use for debugging */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:12551:20: [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. typedef unsigned char yDbMask[(SQLITE_MAX_ATTACHED+9)/8]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:13974:31: [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. SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[256] = { data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:14900: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 zBase[100]; /* Initial space */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:15990: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 *z, zBuf[30]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:16256: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 zBuf[100]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:16276: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 zBuf[100]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:16295: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 zBuf[100]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:16332: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 zBuf[100]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:16520: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 zBuf[20]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:17527: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 zTitle[100]; /* The title text */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:17697:7: [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(pBt, &aAddr[1], pHdr->nBacktrace*sizeof(void*)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:17706:7: [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(z, mem.zTitle, mem.nTitle); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:17773: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(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:17879:3: [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(mem.zTitle, zTitle, n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:17903:9: [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). out = fopen(zFilename, "w"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:18492:7: [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(p, pPrior, nOld); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:18494:7: [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(p, pPrior, nBytes); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:18550:11: [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). out = fopen(zFilename, "w"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:19048: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(p, pPrior, nOld); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:19170:11: [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). out = fopen(zFilename, "w"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:21358:9: [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(pNew, p, db->lookaside.sz); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:21406: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(zNew, z, n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:21418: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(zNew, z, (size_t)n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:21678: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 buf[etBUFSIZE]; /* Conversion buffer */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22248:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( zOld==0 && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22282: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(&p->zText[p->nChar], z, N); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22301: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(&p->zText[p->nChar-N], z, N); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22324:9: [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(p->zText, p->zBase, p->nChar+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22372: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 zBase[SQLITE_PRINT_BUF_SIZE]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22404: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 zBase[SQLITE_PRINT_BUF_SIZE]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22490: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 zMsg[SQLITE_PRINT_BUF_SIZE*3]; /* Complete log message */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22519: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 zBuf[500]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22599: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 zBuf[500]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22651:7: [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 zLine[100]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:22723: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 zFlgs[30]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:23003: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 s[256]; /* State variables */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:23056: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 k[256]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:23097:3: [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( data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:23104:3: [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( data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:23599: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 zBuf[100]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:23709: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 zBuf[100]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:23866: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 zBuf[20]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:24522: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(pOut, &u, 8); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:24563:7: [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(pValue, &u, 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:24997:3: [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(&x,p,4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:25001:3: [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(&x,p,4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:25005:3: [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(&x,p,4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:25014:3: [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(p,&v,4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:25017:3: [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(p,&x,4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:25020:3: [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(p,&x,4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:25291:3: [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(&a, &x, 8); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:25997: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 aPadding[32]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:26283: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(zFile, flags, mode); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:26869:3: [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(pNew->zCanonicalName, zAbsoluteName, n+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:27047: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 aSemName[MAX_PATHNAME+2]; /* Name of that semaphore */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:27087: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 aErr[80]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:27275: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(&pInode->fileId, &fileId, sizeof(fileId)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:29179:7: [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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:29183:7: [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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:29298:7: [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 oldCntr[4]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:29314:7: [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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:29318:7: [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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:29496: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 zDirname[MAX_PATHNAME+1]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31565: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 zDb[MAX_PATHNAME+1]; /* Database file path */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31592: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(zDb, zPath, nDb); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31670: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 zTmpname[MAX_PATHNAME+2]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31851:18: [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). useProxy = atoi(envforce)>0; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32104:7: [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(zBuf, &t, sizeof(t)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32105:7: [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(&zBuf[sizeof(t)], &randomnessPid, sizeof(randomnessPid)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32448: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 buf[MAXPATHLEN]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32626: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 tPath[MAXPATHLEN]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32627: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 buf[PROXY_MAXCONCHLEN]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32631: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 errmsg[64] = ""; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32720: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 tBuf[PROXY_MAXCONCHLEN]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32770: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 readBuf[PROXY_MAXCONCHLEN]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32771: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 lockPath[MAXPATHLEN]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32827:13: [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(lockPath, &readBuf[PROXY_PATHINDEX], pathLen); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32873: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 writeBuffer[PROXY_MAXCONCHLEN]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32877:9: [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(&writeBuffer[PROXY_HEADERLEN], myHostID, PROXY_HOSTIDLEN); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:33024:3: [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(conchPath, dbPath, len+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:33040:3: [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(&conchPath[i+1], "-conch", 7); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:33100: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(dbPath, (char *)pFile->lockingContext, len + 1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:33119: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 dbPath[MAXPATHLEN+1]; /* Name of the database file */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:34583:41: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). { "MultiByteToWideChar", (SYSCALL)MultiByteToWideChar, 0 }, data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:35001: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 zDbgBuf[SQLITE_WIN32_DBG_BUF_SIZE]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:35008: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(zDbgBuf, zBuf, nMin); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:35024: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(zDbgBuf, zBuf, nMin); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:35613: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 zMsg[500]; /* Human readable error text */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:36257:7: [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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:36263:7: [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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:36335:7: [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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:36341:7: [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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:39113: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(&zBuf[n], &x, sizeof(x)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:39118: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(&zBuf[n], &pid, sizeof(pid)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:39124: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(&zBuf[n], &cnt, sizeof(cnt)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:39130: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(&zBuf[n], &cnt, sizeof(cnt)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:39137: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(&zBuf[n], &i, sizeof(i)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:39145: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(&zBuf[n], &id, sizeof(UUID)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:39152: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(&zBuf[n], &id, sizeof(UUID)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:39584:7: [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(aiValues, p->u.aHash, sizeof(p->u.aHash)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:39624: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(aiValues, p->u.aHash, sizeof(p->u.aHash)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:43008: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 dbFileVers[16]; /* Changes whenever database file changes */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:43316:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char zRet[1024]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:43397: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 ac[4]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:43416: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 ac[4]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:43586: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 aMagic[8]; /* A buffer to hold the magic header */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:43677:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char zeroHdr[28] = {0}; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:43765: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(zHeader, aJournalMagic, sizeof(aJournalMagic)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:43842: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 aMagic[8]; /* A buffer to hold the magic header */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:44677: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(pData, (u8*)aData, pPager->pageSize); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:46459:9: [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(zHeader, aJournalMagic, sizeof(aJournalMagic)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:46961: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(pPager->zFilename, zPathname, nPathname); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:46962:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( nUri ) memcpy(&pPager->zFilename[nPathname+1], zUri, nUri); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:46963: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(pPager->zJournal, zPathname, nPathname); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:46964: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(&pPager->zJournal[nPathname], "-journal\000", 8+2); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:46968: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(pPager->zWal, zPathname, nPathname); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:46969: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(&pPager->zWal[nPathname], "-wal\000", 4+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:47457:7: [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 dbFileVers[sizeof(pPager->dbFileVers)]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:48350:54: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const void *pCopy = (const void *)&((const char *)zBuf)[24]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:50263:3: [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((void*)&aHdr[1], (const void*)&pWal->hdr, sizeof(WalIndexHdr)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:50265:3: [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((void*)&aHdr[0], (const void*)&pWal->hdr, sizeof(WalIndexHdr)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:50293:3: [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(&aFrame[8], pWal->hdr.aSalt, 8); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:50371: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. static char zName[15]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:50740: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(&pWal->hdr.aSalt, &aBuf[16], 8); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:51040:3: [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(aLeft, aTmp, sizeof(aTmp[0])*iOut); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:51267:3: [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(&pWal->hdr.aSalt[1], &salt1, 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:51617: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(&pWal->hdr, &h1, sizeof(WalIndexHdr)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:52186: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(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:52434: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(&aWalHdr[16], pWal->hdr.aSalt, 8); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:54528: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 aSpace[200]; /* Temp space for pIdxKey - to avoid a malloc */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:55142:7: [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(&temp[x], &data[x], (cbrk+size) - x); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:55145: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(&data[cbrk], &src[pc], size); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:55208:9: [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(&aData[iAddr], &aData[pc], 2); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:55901: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 zDbHeader[100]; /* Database header content */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:55963:9: [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(zFullPathname, zFilename, nFilename); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:56795:3: [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(data, zMagicHeader, sizeof(zMagicHeader)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:58138: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(pPayload, pBuf, nByte); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:58141: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(pBuf, pPayload, nByte); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:58336:11: [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(aSave, aWrite, 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:58339:11: [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(aWrite, aSave, 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:59355:9: [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(&pPage1->aData[32], &pTrunk->aData[0], 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:59379:13: [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(&pPage1->aData[32], &pTrunk->aData[0], 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:59385:13: [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(&pPrevTrunk->aData[0], &pTrunk->aData[0], 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:59408:11: [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(&pNewTrunk->aData[0], &pTrunk->aData[0], 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:59410:11: [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(&pNewTrunk->aData[8], &pTrunk->aData[12], (k-1)*4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:59475:13: [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(&aData[8+closest*4], &aData[4+k*4], 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:59957:7: [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(pPayload, pSrc, n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60067:7: [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(pTemp, pCell, sz); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60102: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(&data[idx], pCell, sz); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60199:3: [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(&pTmp[i], &aData[i], usableSize - i); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60211: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(pData, pCell, szCell[i]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60275: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(pSlot, pCArray->apCell[i], sz); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60368:3: [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(pTmp, aData, pPg->pBt->usableSize); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60642: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(&aTo[iData], &aFrom[iData], pBt->usableSize-iData); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60643: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(&aTo[iToHdr], &aFrom[iFromHdr], pFrom->cellOffset + 2*pFrom->nCell); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60840:11: [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(&aOvflSpace[iOff], apDiv[i], szNew[i]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60957:7: [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(pTemp, apDiv[i], sz); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:60966:9: [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(b.apCell[b.nCell], &pOld->aData[8], 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:61205: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(&apNew[nNew-1]->aData[8], &pOld->aData[8], 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:61280:7: [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(&pNew->aData[8], pCell, 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:61511:3: [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(pChild->aiOvfl, pRoot->aiOvfl, data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:61513:3: [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(pChild->apOvfl, pRoot->apOvfl, data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:61770:7: [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(newCell, oldCell, 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:62497: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 zBuf[200]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:63001: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 zErr[100]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:63687:7: [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(zOut, zIn, nCopy); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:64321: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(pMem->zMalloc, pMem->z, pMem->n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:64518: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(pMem, &t, sizeof(t)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:64963:3: [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(pTo, pFrom, MEMCELLSIZE); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:64984:3: [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(pTo, pFrom, MEMCELLSIZE); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:65008:3: [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(pTo, pFrom, sizeof(Mem)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:65083: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(pMem->z, z, nAlloc); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:66145:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( p4copy ) memcpy(p4copy, zP4, 8); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:66994:11: [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(&zTemp[i],",...",4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:67001:9: [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(&zTemp[i], zColl, n+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:67172: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 zPtr[50]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:67173: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 zCom[100]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:67477: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 z[1000]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:67689: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(p->azVar, pParse->azVar, p->nzVar*sizeof(p->azVar[0])); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:68561:17: [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 *out = fopen("vdbe_profile.out", "a"); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:68580: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 zHdr[100]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:68972: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(buf, pMem->z, len); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:69029: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(&pMem->u.r, &x, sizeof(x)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:70399:3: [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(pNew, pOrig, MEMCELLSIZE); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:71892: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 zBase[100]; /* Initial working space */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:72468: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 zBuf[200]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:73475: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(pOut->z, pIn2->z, pIn2->n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:73477:3: [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(&pOut->z[pIn2->n], pIn1->z, pIn1->n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:74670: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(pDest->z, zData, len); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:74939:9: [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(pNew->zName, zName, nName+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:75981: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 aTempRec[ROUND8(sizeof(UnpackedRecord)) + sizeof(Mem)*4 + 7]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:79792: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(p->aAlloc, &p->aBuffer[iBuf], nAvail); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:79808:7: [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(&p->aAlloc[nByte - nRem], aNext, nCopy); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:80215: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(pKeyInfo, pCsr->pKeyInfo, szKeyInfo); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:80712: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(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:81087:3: [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(SRVAL(pNew), pVal->z, pVal->n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:81914:3: [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(pOut->z, pKey, nKey); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:82073: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(zBuf, &p->zBuf[iOfst], iAmt); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:82096:7: [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(&p->zBuf[iOfst], zBuf, iAmt); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:82326: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(zOut, &pChunk->zChunk[iChunkOffset], nCopy); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:82378: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(&p->endpoint.pChunk->zChunk[iChunkOffset], zWrite, iSpace); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:82772:3: [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(pExpr, pDup, sizeof(*pExpr)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:84635:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:85047:9: [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(zAlloc, p, nNewSize); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:85050:9: [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(zAlloc, p, nSize); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:85062:9: [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(zToken, p->u.zToken, nToken); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:89131:3: [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(pNew->aCol, pTab->aCol, sizeof(Column)*pNew->nCol); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:89476: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(p->u.aRowid, pData, n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:89503:3: [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(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:89504:3: [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(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:89505:3: [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(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:90933: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(pSample->p, sqlite3_column_blob(pStmt, 4), pSample->n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:91130: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. zFile = (const char *)sqlite3_value_text(argv[0]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:91131: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. zName = (const char *)sqlite3_value_text(argv[1]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:91166: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(aNew, db->aDb, sizeof(db->aDb[0])*2); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:91239:17: [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. zKey = (char *)sqlite3_value_blob(argv[2]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:91317:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *zName = (const char *)sqlite3_value_text(argv[0]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:91321: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 zErr[128]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:92169: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 saveBuf[SAVE_SZ]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:92180:3: [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(saveBuf, &pParse->nVar, SAVE_SZ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:92185:3: [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(&pParse->nVar, saveBuf, SAVE_SZ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:92403: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(db->aDbStatic, db->aDb, 2*sizeof(db->aDb[0])); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:93478: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(&zStmt[k], zType, len); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:93498:3: [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(zExtra, pIdx->azColl, sizeof(char*)*pIdx->nColumn); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:93501:3: [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(zExtra, pIdx->aiColumn, sizeof(i16)*pIdx->nColumn); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:93504:3: [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(zExtra, pIdx->aSortOrder, pIdx->nColumn); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:94279: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 zTab[24]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:94530:3: [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(z, pTo->z, pTo->n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:94558:7: [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(z, pToCol->a[i].zName, n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:94964:3: [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(pIndex->zName, zName, nName+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:95018:7: [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(zExtra, zColl, nColl); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:95273:3: [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(&a[1], aVal, nCopy*sizeof(LogEst)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:96291:7: [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(pColl, pColl2, sizeof(CollSeq)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:96401:7: [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(pColl[0].zName, zName, nName); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:96640: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(pBest->zName, zName, nName); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:98518:7: [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 zBuf[50]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:98762:7: [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(&zOut[j], zRep, nRep); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:98768:3: [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(&zOut[j], &zStr[i], nStr-i); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:98876: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 zResult[8]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:98925:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *zFile = (const char *)sqlite3_value_text(argv[0]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:98931:20: [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. zProc = (const char *)sqlite3_value_text(argv[1]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:99228:3: [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(aWc, pDef->pUserData, 3); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:100635:7: [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((char *)pStep->zTarget, zFrom, nFrom); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:102951:7: [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(*pzErrMsg, sqlite3_errmsg(db), nErrMsg); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:103101: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). int (*open)(const char*,sqlite3**); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:103352:53: [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). #define sqlite3_open sqlite3_api->open data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:104009: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(zAltEntry, "sqlite3_", 8); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:104018: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(zAltEntry+iEntry, "_init", 6); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:104053: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(aHandle, db->aExtension, sizeof(handle)*db->nExtension); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:104912: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(pI64, &value, sizeof(value)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:105019: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 *aFcntl[4]; /* Argument to SQLITE_FCNTL_PRAGMA */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:106687:7: [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 zKey[40]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:106869: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 const *azArg[4]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:113331:9: [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(z, argv[i], n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:113817: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(z, pName->z, pName->n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:115768:7: [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(zCopy, zName, nName+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:116775:3: [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(pNew->zName, pDef->zName, sqlite3Strlen30(pDef->zName)+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:117520: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 zBuf[100]; /* Initial space for EQP output string */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:118581:7: [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(pOrTab->a, pTabItem, sizeof(*pTabItem)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:118982: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(pWC->a, pOld, sizeof(pWC->a[0])*pWC->nTerm); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:119108: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 wc[3]; /* Wildcard characters */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:120246:3: [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(aiCur, pWInfo->aiCurOnePass, sizeof(int)*2); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:120255:3: [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(pDest->a, pSrc->a, pDest->n*sizeof(pDest->a[0])); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:121722: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 zType[4]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:121723: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(zType, "...", 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:121833:3: [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(paNew, p->aLTerm, sizeof(p->aLTerm[0])*p->nLSlot); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:121849:3: [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(pTo, pFrom, WHERE_LOOP_XFER_SZ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:121850:3: [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(pTo->aLTerm, pFrom->aLTerm, pTo->nLTerm*sizeof(pTo->aLTerm[0])); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:123486:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char zName[65]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:123773:9: [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(pTo->aLoop, pFrom->aLoop, sizeof(WhereLoop*)*iLoop); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:128340:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char zText[553] = { data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:128373:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char aHash[127] = { data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:128385:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char aNext[124] = { data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:128397:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char aLen[124] = { data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:128421:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char aCode[124] = { data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:129703: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(&y, &x, 8); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:130748: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. static char zBuf[50]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:132053: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(zFile, zUri, nUri); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:133494:11: [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(pNew, aArg, nArg*sizeof(void *)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135543:9: [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(p, zCol, n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135839:3: [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(p->aIndex, aIndex, sizeof(struct Fts3Index) * nIndex); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135849:3: [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(zCsr, argv[2], nName); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135852:3: [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(zCsr, argv[1], nDb); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135859:10: [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. z = (char *)sqlite3Fts3NextToken(aCol[iCol], &n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135860: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(zCsr, z, n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135865:24: [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. assert( zCsr <= &((char *)p)[nByte] ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:136284: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(&zBuffer[nPrefix], zCsr, nSuffix); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:136436: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(p, *ppPoslist, n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:136474: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(p, *ppPoslist, n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:136799: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 *aaOutput[16]; /* Malloc'd output buffers */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:137191:7: [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(pTS->aaOutput[0], aDoclist, nDoclist); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:137988:3: [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(&pRet, sqlite3_value_blob(pVal), sizeof(Fts3Cursor *)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:138109:21: [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. zArg = (const char *)sqlite3_value_text(apVal[1]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:139008:9: [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(aDoclist, a[p->nToken-1].pList, nByte+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:140483:3: [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((char *)p->pFts3Tab->zDb, zDb, nDb); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:140484:3: [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((char *)p->pFts3Tab->zName, zFts3, nFts3); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:141141:9: [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(pRet->pPhrase->aToken[0].z, zToken, nToken); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:141256:9: [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(&zTemp[nTemp], zByte, nByte); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:141284:7: [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(zBuf, zTemp, nTemp); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:142031:7: [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((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:142130:34: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. (const char *)sqlite3_value_text(argv[0]), &pModule); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:142147: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. zExpr = (const char *)sqlite3_value_text(argv[1]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:142156: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. azCol[ii] = (char *)sqlite3_value_text(argv[ii+2]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:142580: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((void*)new_elem->pKey, pKey, nKey); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:142940: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 zReverse[28]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143519: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. const char *azArg[64]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143536: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. zName = (const char *)sqlite3_value_text(argv[0]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143538:19: [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. zInput = (const char *)sqlite3_value_text(argv[argc-1]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143554:25: [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. azArg[i-1] = (const char *)sqlite3_value_text(argv[i]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143634:7: [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((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143796: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 delim[128]; /* flag ASCII delimiters */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:144129:9: [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(pSpace, argv[i], n+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:144343:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *zByte = (const char *)sqlite3_value_text(apVal[0]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:144349:7: [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(pCsr->zInput, zByte, nByte); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:145374:34: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *zText = (const char *)sqlite3_value_text(apVal[i]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:145837:3: [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(&pReader->zTerm[nPrefix], pNext, nSuffix); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:146067: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(pReader->aNode, zRoot, nRoot); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:146190:7: [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(pReader->ppNextElem, aElem, nElem*sizeof(Fts3HashElem *)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:146481:7: [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(&pTree->aData[nData], &zTerm[nPrefix], nSuffix); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:146495:9: [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(pTree->zTerm, zTerm, nTerm); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:146745:3: [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(&pWriter->aData[nData], &zTerm[nPrefix], nSuffix); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:146748:3: [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(&pWriter->aData[nData], aDoclist, nDoclist); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:146767: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(pWriter->zTerm, zTerm, nTerm); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:147075:3: [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(pMsr->aBuffer, pList, nList); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:147419:15: [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(&pCsr->aBuffer[nDoclist], pList, nList); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:148171:7: [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(&p->term.a[nPrefix], &p->aNode[p->iOff], nSuffix); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:148275:9: [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(&pBlk->a[pBlk->n], &zTerm[nPrefix], nSuffix); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:148278:9: [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(pNode->key.a, zTerm, nTerm); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:148351:3: [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(pPrev->a, zTerm, nTerm); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:148358:3: [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(&pNode->a[pNode->n], &zTerm[nPrefix], nSuffix); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:148363: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(&pNode->a[pNode->n], aDoclist, nDoclist); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:148694:9: [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(pNode->block.a, aRoot, nRoot); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:148706:11: [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(pNode->key.a, reader.term.a, reader.term.n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:148716:15: [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(pNode->block.a, aBlock, nBlock); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:149180:11: [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(pHint->a, aHint, nHint); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:149742:20: [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). p->nNodeSize = atoi(&zVal[9]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:149745:26: [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). p->nMaxPendingData = atoi(&zVal[11]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:149748:25: [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). p->bNoIncrDoclist = atoi(&zVal[21]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:149870:3: [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(pRet, &p->pList->aData[nSkip], *pnData); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:150263: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(pRet->zMatchinfo, zMatchinfo, nStr+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:150304:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( p->bGlobal ) memcpy(aOut, &p->aMatchinfo[1], p->nElem*sizeof(u32)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:150314:3: [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(&p->aMatchinfo[2+p->nElem], &p->aMatchinfo[1], p->nElem*sizeof(u32)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:150738:3: [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(&pStr->z[pStr->n], zAppend, nAppend); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:151768:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char aBuffer[64]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:153140:9: [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(pNode->zData, zBlob, pRtree->iNodeSize); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:153518: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(&c.u,a,4); \ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:153526: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(&c.u,a,4); \ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154088:3: [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(pBlob, sqlite3_value_blob(pValue), nBlob); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154270: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 zIdxStr[RTREE_MAX_DIMENSIONS*8+1]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154412:3: [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(&cell, p, sizeof(RtreeCell)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154594: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(aSpare, aLeft, sizeof(int)*nLeft); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154663: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(aSpare, aLeft, sizeof(int)*nLeft); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154754:7: [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(&left, &aCell[aaSorted[ii][0]], sizeof(RtreeCell)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154755:7: [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(&right, &aCell[aaSorted[ii][nCell-1]], sizeof(RtreeCell)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154784:3: [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(pBboxLeft, &aCell[aaSorted[iBestDim][0]], sizeof(RtreeCell)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154785:3: [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(pBboxRight, &aCell[aaSorted[iBestDim][iBestSplit]], sizeof(RtreeCell)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154852:3: [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(&aCell[nCell], pCell, sizeof(RtreeCell)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:155144:7: [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(&aCell[ii], pCell, sizeof(RtreeCell)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:155622:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char *azSql[N_STATEMENT] = { data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:155811:3: [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(pRtree->zDb, argv[1], nDb); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:155812:3: [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(pRtree->zName, argv[2], nName); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:155888: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 zCell[512]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:156317: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 zBuf[128]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:156445:22: [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. zLocale = (const char *)sqlite3_value_text(apArg[1]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:156533:20: [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. zLocale = (const char *)sqlite3_value_text(apArg[0]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:156534: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. zName = (const char *)sqlite3_value_text(apArg[1]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:156686: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(p->zLocale, argv[0], n); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:157608: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 zStateDb[5]; /* Db name for state ("stat" or "main") */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:158006:7: [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(zRet, zStr, nCopy); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:158159: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(pIter->abIndexed, pIter->abTblPk, sizeof(u8)*pIter->nTblCol); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:159103: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(pUp->zMask, zMask, pIter->nTblCol); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:159156: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(p->zStateDb, "stat", 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:159158: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(p->zStateDb, "main", 4); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:159945: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 zRnd[64]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:159993:7: [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(p->zTarget, zTarget, nTarget+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:159995:7: [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(p->zRbu, zRbu, nRbu+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:159998:9: [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(p->zState, zState, nState+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:160695:13: [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(zCopy, zName, nCopy); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:160939:7: [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(&pNew->base, &vfs_template, sizeof(sqlite3_vfs)); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:160944:7: [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(zSpace, zName, nName); data/libgda5-5.2.9/libgda/sqlite/virtual/gda-ldap-connection.c:445:4: [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 (info->aConstraintUsage, data/libgda5-5.2.9/libgda/sqlite/virtual/gda-ldap-connection.c:540:2: [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 (filter->out_const, data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vconnection-hub.c:461:4: [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 (info->aConstraintUsage, data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vconnection-hub.c:545:3: [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 (filter->out_const, data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vprovider-data-model.c:1059:4: [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 (bin->data, SQLITE3_CALL (sqlite3_value_blob) (svalue), data/libgda5-5.2.9/providers/bdb/gda-bdb-test.c:55: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). ret = dbp->open (dbp, NULL, filename, NULL, DB_BTREE, DB_CREATE, 0664); data/libgda5-5.2.9/providers/firebird/gda-firebird-provider.c:1132:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char info_buffer[20]; data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:230:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char data[2048], *p; data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:231:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char blob_s[20], date_s[25]; data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:292:5: [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 (p, "%.*s", var->sqllen, var->sqldata); data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:339:7: [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 (p, "%*" ISC_INT64_FORMAT "d.%0*" ISC_INT64_FORMAT "d", data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:345:7: [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 (p, "%*" ISC_INT64_FORMAT "d.%0*" ISC_INT64_FORMAT "d", data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:358:6: [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 (p, "%*" ISC_INT64_FORMAT "d%0*d", data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:364:6: [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 (p, "%*" ISC_INT64_FORMAT "d", data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:372:32: [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). g_value_set_int (value, atoi (p)); data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:375:33: [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). g_value_set_uint (value, atoi (p)); data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:422:5: [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(date_s, "%04d-%02d-%02d %02d:%02d:%02d", data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:450:5: [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(date_s, "%04d-%02d-%02d", data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:470:5: [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(date_s, "%02d:%02d:%02d", data/libgda5-5.2.9/providers/firebird/gda-firebird-recordset.c:492:5: [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(blob_s, "%08x:%08x", (unsigned int)bid.gds_quad_high, (unsigned int)bid.gds_quad_low); data/libgda5-5.2.9/providers/firebird/gen_def.c:61:15: [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). fd_imposed = fopen (IMPOSED_HEADER, "r"); data/libgda5-5.2.9/providers/firebird/gen_def.c:67:14: [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). fd_parser = fopen (PARSER_HEADER, "r"); data/libgda5-5.2.9/providers/firebird/gen_def.c:133: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). value = atoi (z); data/libgda5-5.2.9/providers/firebird/gen_def.c:141:3: [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 (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/providers/firebird/gen_def.c:152:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFSIZE]; data/libgda5-5.2.9/providers/ldap/gda-ldap-provider.c:189:11: [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). rport = atoi (port); data/libgda5-5.2.9/providers/ldap/gda-ldap-provider.c:388:11: [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). rport = atoi (port); data/libgda5-5.2.9/providers/ldap/gda-ldap-provider.c:529:15: [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). int limit = atoi (time_limit); data/libgda5-5.2.9/providers/ldap/gda-ldap-provider.c:542:15: [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). int limit = atoi (size_limit); data/libgda5-5.2.9/providers/ldap/gda-ldap-util.c:931:3: [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 (bin->data, bv->bv_val, data/libgda5-5.2.9/providers/mdb/libmdb-src/backend.c:148: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. static char buf[16]; data/libgda5-5.2.9/providers/mdb/libmdb-src/backend.c:247: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. static char *bound[4]; /* Bound values */ data/libgda5-5.2.9/providers/mdb/libmdb-src/catalog.c:65:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char obj_id[256]; data/libgda5-5.2.9/providers/mdb/libmdb-src/catalog.c:66:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char obj_name[256]; data/libgda5-5.2.9/providers/mdb/libmdb-src/catalog.c:67:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char obj_type[256]; data/libgda5-5.2.9/providers/mdb/libmdb-src/catalog.c:68:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char obj_flags[256]; data/libgda5-5.2.9/providers/mdb/libmdb-src/catalog.c:81:2: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(msysobj.object_name, "MSysObjects"); data/libgda5-5.2.9/providers/mdb/libmdb-src/catalog.c:98: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). type = atoi(obj_type); data/libgda5-5.2.9/providers/mdb/libmdb-src/catalog.c:106:22: [2] (integer) atol: 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). entry->table_pg = atol(obj_id) & 0x00FFFFFF; data/libgda5-5.2.9/providers/mdb/libmdb-src/catalog.c:107:19: [2] (integer) atol: 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). entry->flags = atol(obj_flags); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:39:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char date_fmt[64] = "%x %X"; data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:196:3: [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(col->bind_ptr, mdb->pg_buf + start, MDB_MEMO_OVERHEAD); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:385:4: [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(mdb->pg_buf, data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:418:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *bound_values[MDB_MAX_COLS]; data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:445:3: [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(&text[(i-start)*2],"%02x", mdb->pg_buf[i]); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:472:4: [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(col->bind_ptr, buf + row_start + 4, len - 4); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:498: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(col->bind_ptr, data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:519:4: [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(col->bind_ptr, buf + row_start, len); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:532:4: [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(col->bind_ptr, buf + row_start + 4, len - 4); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:561:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (dest) memcpy(dest, pg_buf + start + MDB_MEMO_OVERHEAD, len); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:575:4: [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(dest, buf + row_start, len); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:593: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(dest+cur, buf + row_start + 4, len - 4); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:674:4: [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(tmp + tmpoff, buf + row_start + 4, len - 4); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:695:2: [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(&l, mdb->pg_buf+start+13, 4); data/libgda5-5.2.9/providers/mdb/libmdb-src/dump.c:11:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char asc[20]; data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:141: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). mdb->f->fd = open(mdb->f->filename, open_flags); data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:284:1: [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 tmpbuf[MDB_PGSIZE]; data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:286:2: [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(tmpbuf,mdb->pg_buf, MDB_PGSIZE); data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:287:2: [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(mdb->pg_buf,mdb->alt_pg_buf, MDB_PGSIZE); data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:288:2: [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(mdb->alt_pg_buf,tmpbuf,MDB_PGSIZE); data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:320:2: [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(&l, &(mdb->pg_buf[offset]), 3); data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:326:2: [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(&l, &buf[offset], 3); data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:339:2: [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(&l, &buf[offset], 4); data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:352:2: [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(&f, &buf[offset], 4); data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:366:2: [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(&d, &buf[offset], 8); data/libgda5-5.2.9/providers/mdb/libmdb-src/iconv.c:171:4: [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(dest, tmp, tptr); data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbodbc.h:38:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char rcsid_sql_h [ ] = data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbodbc.h:53:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char query[4096]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbsql.h:24:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *bound_values[256]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:185:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char db_passwd[14]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:223:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char pg_buf[MDB_PGSIZE]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:224:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char alt_pg_buf[MDB_PGSIZE]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:239:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char object_name[MDB_MAX_OBJ_NAME+1]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:258:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char s[256]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:262:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MDB_MAX_OBJ_NAME+1]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:308:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cache_value[256]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:324:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MDB_MAX_OBJ_NAME+1]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:360:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MDB_MAX_OBJ_NAME+1]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:366:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key_col_order[MDB_MAX_IDX_COLS]; data/libgda5-5.2.9/providers/mdb/libmdb-src/include/mdbtools.h:372:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MDB_MAX_OBJ_NAME+1]; data/libgda5-5.2.9/providers/mdb/libmdb-src/index.c:222:1: [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 tmpbuf[256]; data/libgda5-5.2.9/providers/mdb/libmdb-src/index.c:612:4: [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(&ipg->cache_value[idx_sz - (ipg->len - 4)], &mdb->pg_buf[ipg->offset], ipg->len); data/libgda5-5.2.9/providers/mdb/libmdb-src/index.c:616:4: [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(ipg->cache_value, &mdb->pg_buf[idx_start], idx_sz); data/libgda5-5.2.9/providers/mdb/libmdb-src/money.c:49:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char multiplier[MAXPRECISION], temp[MAXPRECISION]; data/libgda5-5.2.9/providers/mdb/libmdb-src/money.c:50:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char product[MAXPRECISION]; data/libgda5-5.2.9/providers/mdb/libmdb-src/money.c:51:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char money[num_bytes]; data/libgda5-5.2.9/providers/mdb/libmdb-src/money.c:56:2: [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(money, mdb->pg_buf + start, num_bytes); data/libgda5-5.2.9/providers/mdb/libmdb-src/money.c:75:3: [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(temp, multiplier, MAXPRECISION); data/libgda5-5.2.9/providers/mdb/libmdb-src/money.c:83:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char number[3]; data/libgda5-5.2.9/providers/mdb/libmdb-src/sargs.c:133:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpbuf[256]; data/libgda5-5.2.9/providers/mdb/libmdb-src/table.c:148:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char c[4]; data/libgda5-5.2.9/providers/mdb/libmdb-src/table.c:174:3: [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(buf, &mdb->pg_buf[*cur_pos], len); data/libgda5-5.2.9/providers/mdb/libmdb-src/table.c:178:3: [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(buf, &mdb->pg_buf[*cur_pos], half); data/libgda5-5.2.9/providers/mdb/libmdb-src/table.c:180:3: [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(buf + half, &mdb->pg_buf[8], len - half); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:298: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(&row_buffer[pos], fields[i].value, fields[i].siz); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:314: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(&row_buffer[pos], fields[i].value, fields[i].siz); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:354: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(&row_buffer[pos], fields[i].value, fields[i].siz); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:370: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(&row_buffer[pos], fields[i].value, fields[i].siz); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:551:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char row_buffer[4096]; data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:627:4: [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(&new_pg[pos], &mdb->pg_buf[row_start], row_size); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:634:2: [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(&new_pg[pos], row_buffer, new_row_size); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:647:3: [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(mdb->pg_buf, new_pg, fmt->pg_size); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:662:10: [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 row_buffer[4096]; data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:741:3: [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(&new_pg[pos], &mdb->pg_buf[row_start], row_size); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:747:2: [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(&new_pg[pos], new_row, new_row_size); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:754:3: [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(&new_pg[pos], &mdb->pg_buf[row_start], row_size); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:759:2: [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(mdb->pg_buf, new_pg, pg_size); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:788:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key_hash[256]; data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:832:3: [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(&new_pg[ipg->offset], &mdb->pg_buf[ipg->offset], ipg->len); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:852:2: [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(&new_pg[ipg->offset + 1], key_hash, col->col_size); data/libgda5-5.2.9/providers/mdb/libmdb-src/write.c:860:2: [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(mdb->pg_buf, new_pg, mdb->fmt->pg_size); data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c:677:62: [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). MYSQL *mysql = real_open_connection (host, (port != NULL) ? atoi (port) : -1, data/libgda5-5.2.9/providers/mysql/gda-mysql-recordset.c:945: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 (bvalue, mysql_bind_result[i].buffer, length); data/libgda5-5.2.9/providers/mysql/gda-mysql-recordset.c:991:30: [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). g_value_set_int (value, atoi (bvalue)); data/libgda5-5.2.9/providers/mysql/gda-mysql-recordset.c:1004:34: [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). g_value_set_boolean (value, atoi (bvalue)); data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:2231:4: [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 (name_buffer, dummy, col_name_len); data/libgda5-5.2.9/providers/oracle/gda-oracle-recordset.c:348:4: [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 (name_buffer, name, name_len); data/libgda5-5.2.9/providers/oracle/gda-oracle-util.c:588:3: [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 (tmp, ora_value->value, ora_value->defined_size); data/libgda5-5.2.9/providers/oracle/gda-oracle-util.c:610:4: [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 (bin->data, ora_value->value, ora_value->rlen); data/libgda5-5.2.9/providers/oracle/gen_def.c:61:15: [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). fd_imposed = fopen (IMPOSED_HEADER, "r"); data/libgda5-5.2.9/providers/oracle/gen_def.c:67:14: [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). fd_parser = fopen (PARSER_HEADER, "r"); data/libgda5-5.2.9/providers/oracle/gen_def.c:133: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). value = atoi (z); data/libgda5-5.2.9/providers/oracle/gen_def.c:141:3: [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 (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/providers/oracle/gen_def.c:152:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFSIZE]; data/libgda5-5.2.9/providers/postgres/gda-postgres-blob-op.c:187:23: [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). pgop->priv->blobid = atoi (sql_id); data/libgda5-5.2.9/providers/postgres/gda-postgres-blob-op.c:245:23: [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). pgop->priv->blobid = atoi (sql_id); data/libgda5-5.2.9/providers/postgres/gda-postgres-provider.c:2426:11: [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). atoi (PQcmdTuples (pg_res))); data/libgda5-5.2.9/providers/postgres/gda-postgres-recordset.c:609:27: [2] (integer) atol: 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). g_value_set_int (value, atol (thevalue)); data/libgda5-5.2.9/providers/postgres/gda-postgres-recordset.c:653:31: [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). gda_value_set_short (value, atoi (thevalue)); data/libgda5-5.2.9/providers/reuseable/mysql/gda-mysql-reuseable.c:222:6: [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). if (atoi (str) == 0) data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:61:15: [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). fd_imposed = fopen (IMPOSED_HEADER, "r"); data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:67:14: [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). fd_parser = fopen (PARSER_HEADER, "r"); data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:133: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). value = atoi (z); data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:141:3: [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 (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:152:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFSIZE]; data/libgda5-5.2.9/providers/reuseable/postgres/gda-postgres-meta.c:2029:2: [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 (types, _col_types_table_indexes, tsize * sizeof (GType)); data/libgda5-5.2.9/providers/reuseable/postgres/gda-postgres-meta.c:2080:2: [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 (types, _col_types_table_indexes, tsize * sizeof (GType)); data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:61:15: [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). fd_imposed = fopen (IMPOSED_HEADER, "r"); data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:67:14: [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). fd_parser = fopen (PARSER_HEADER, "r"); data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:133: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). value = atoi (z); data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:141:3: [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 (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:152:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFSIZE]; data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:66:15: [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). fd_imposed = fopen (IMPOSED_HEADER, "r"); data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:72:14: [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). fd_parser = fopen (PARSER_HEADER, "r"); data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:138: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). value = atoi (z); data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:146:3: [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 (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:157:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFSIZE]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:9569: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 hidden[48]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:12579:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # define memcpy(D,S,N) {char*xxd=(char*)(D);const char*xxs=(const char*)(S);\ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:16460: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 zSelName[12]; /* Symbolic name of this SELECT use for debugging */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:16653:20: [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. typedef unsigned char yDbMask[(SQLITE_MAX_ATTACHED+9)/8]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19289:38: [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). sqlcipher_set_default_kdf_iter(atoi(zRight)); // change default KDF iterations data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19299:47: [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). sqlcipher_codec_ctx_set_kdf_iter(ctx, atoi(zRight), 2); // change of RW PBKDF2 iteration data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19310:52: [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). sqlcipher_codec_ctx_set_fast_kdf_iter(ctx, atoi(zRight), 2); // change of RW PBKDF2 iteration data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19319:51: [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). if(ctx) sqlcipher_codec_ctx_set_kdf_iter(ctx, atoi(zRight), 1); // write iterations only data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19324:20: [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). int size = atoi(zRight); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19338:38: [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). sqlcipher_set_default_pagesize(atoi(zRight)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19445:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if(pgno == 1) memcpy(buffer, SQLITE_FILE_HEADER, FILE_HEADER_SZ); /* copy file header to the first 16 bytes of the page */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19448:7: [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(pData, buffer, page_sz); /* copy buffer data back to pData and return */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19452:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if(pgno == 1) memcpy(buffer, kdf_salt, FILE_HEADER_SZ); /* copy salt to output buffer */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:19458:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if(pgno == 1) memcpy(buffer, kdf_salt, FILE_HEADER_SZ); /* copy salt to output buffer */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20302:3: [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(ctx->provider, default_provider, sizeof(sqlcipher_provider)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20420:3: [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(target, source, sizeof(cipher_ctx)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20423:3: [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(target->key, source->key, CIPHER_MAX_KEY_SZ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20426:3: [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(target->hmac_key, source->hmac_key, CIPHER_MAX_KEY_SZ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20429:3: [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(target->provider, source->provider, sizeof(sqlcipher_provider)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20437: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(target->pass, source->pass, source->pass_sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20442: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(target->keyspec, source->keyspec, source->keyspec_sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20504: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(ctx->pass, zKey, nKey); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20812: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 pgno_raw[sizeof(pgno)]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20826: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(pgno_raw, &pgno, sizeof(pgno)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20878: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(iv_out, iv_in, c_ctx->iv_sz); /* copy the iv from the input to output buffer */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:20981:7: [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(ctx->hmac_kdf_salt, ctx->kdf_salt, ctx->kdf_salt_sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:21111:3: [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(key, ctx->read_ctx->pass, ctx->read_ctx->pass_sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:21291:9: [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). f = fopen(destination, "a"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:21393: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 random_buffer[FORTUNA_MAX_SZ]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:21862:3: [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(target_ctx, source_ctx, sizeof(openssl_ctx)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:22181:31: [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. SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[256] = { data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:24246: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 zBuf[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:24266: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 zBuf[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:24285: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 zBuf[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:24322: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 zBuf[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:24509: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 zBuf[20]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:25527: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 zTitle[100]; /* The title text */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:25697:7: [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(pBt, &aAddr[1], pHdr->nBacktrace*sizeof(void*)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:25706:7: [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(z, mem.zTitle, mem.nTitle); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:25773: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(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:25879:3: [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(mem.zTitle, zTitle, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:25903:9: [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). out = fopen(zFilename, "w"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:26492:7: [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(p, pPrior, nOld); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:26494:7: [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(p, pPrior, nBytes); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:26550:11: [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). out = fopen(zFilename, "w"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:27049: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(p, pPrior, nOld); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:27170:11: [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). out = fopen(zFilename, "w"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:29398:9: [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(pNew, p, db->lookaside.sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:29445: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(zNew, z, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:29458: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(zNew, z, (size_t)n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:29746: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 buf[etBUFSIZE]; /* Conversion buffer */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30036:13: [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(buf+(prefix!=0),"Inf",4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30345:42: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( !isMalloced(p) && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30381: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(&p->zText[p->nChar], z, N); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30401: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(&p->zText[p->nChar-N], z, N); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30422: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(p->zText, p->zBase, p->nChar+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30482: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 zBase[SQLITE_PRINT_BUF_SIZE]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30515: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 zBase[SQLITE_PRINT_BUF_SIZE]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30602: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 zMsg[SQLITE_PRINT_BUF_SIZE*3]; /* Complete log message */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30631: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 zBuf[500]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30712: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 zBuf[500]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30754:7: [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 zLine[1000]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30821: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 zLine[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:30896: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 zFlgs[60]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:31216: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 s[256]; /* State variables */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:31269: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 k[256]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:31310:3: [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( data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:31317:3: [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( data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:31821: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 zBuf[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:31931: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 zBuf[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:32090: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 zBuf[20]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:32806: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(pOut, &u, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:32847:7: [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(pValue, &u, 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:33280:3: [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(&x,p,4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:33284:3: [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(&x,p,4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:33288:3: [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(&x,p,4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:33297:3: [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(p,&v,4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:33300:3: [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(p,&x,4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:33303:3: [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(p,&x,4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:33571:3: [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(&a, &x, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:33668:3: [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(z, zName, nName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:34421: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 aPadding[32]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:34705: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(zFile, flags, mode); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:35280:3: [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(pNew->zCanonicalName, zAbsoluteName, n+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:35465: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 aSemName[MAX_PATHNAME+2]; /* Name of that semaphore */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:35505: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 aErr[80]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:35693: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(&pInode->fileId, &fileId, sizeof(fileId)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:37563:7: [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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:37567:7: [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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:37682:7: [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 oldCntr[4]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:37698:7: [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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:37702:7: [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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:37885: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 zDirname[MAX_PATHNAME+1]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:39959: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 zDb[MAX_PATHNAME+1]; /* Database file path */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:39988: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(zDb, zPath, nDb); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40069: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 zTmpname[MAX_PATHNAME+2]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40249:18: [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). useProxy = atoi(envforce)>0; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40451:15: [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(zDel, zIn, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40566:7: [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(zBuf, &t, sizeof(t)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40567:7: [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(&zBuf[sizeof(t)], &randomnessPid, sizeof(randomnessPid)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40910: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 buf[MAXPATHLEN]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41088: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 tPath[MAXPATHLEN]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41089: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 buf[PROXY_MAXCONCHLEN]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41093: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 errmsg[64] = ""; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41182: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 tBuf[PROXY_MAXCONCHLEN]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41232: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 readBuf[PROXY_MAXCONCHLEN]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41233: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 lockPath[MAXPATHLEN]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41289:13: [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(lockPath, &readBuf[PROXY_PATHINDEX], pathLen); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41335: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 writeBuffer[PROXY_MAXCONCHLEN]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41339:9: [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(&writeBuffer[PROXY_HEADERLEN], myHostID, PROXY_HOSTIDLEN); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41486:3: [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(conchPath, dbPath, len+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41502:3: [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(&conchPath[i+1], "-conch", 7); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41562: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(dbPath, (char *)pFile->lockingContext, len + 1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41581: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 dbPath[MAXPATHLEN+1]; /* Name of the database file */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:43123:41: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). { "MultiByteToWideChar", (SYSCALL)MultiByteToWideChar, 0 }, data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:43541: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 zDbgBuf[SQLITE_WIN32_DBG_BUF_SIZE]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:43554: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(zDbgBuf, zBuf, nMin); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:43570: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(zDbgBuf, zBuf, nMin); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:44256: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 zMsg[500]; /* Human readable error text */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:44910:7: [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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:44916:7: [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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:44988:7: [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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:44994:7: [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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:48408:7: [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(aiValues, p->u.aHash, sizeof(p->u.aHash)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:48448: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(aiValues, p->u.aHash, sizeof(p->u.aHash)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:52070: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 dbFileVers[16]; /* Changes whenever database file changes */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:52387:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char zRet[1024]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:52495: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 ac[4]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:52514: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 ac[4]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:52686: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 aMagic[8]; /* A buffer to hold the magic header */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:52778:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char zeroHdr[28] = {0}; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:52866: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(zHeader, aJournalMagic, sizeof(aJournalMagic)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:52943: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 aMagic[8]; /* A buffer to hold the magic header */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:53852: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(pData, (u8*)aData, pPager->pageSize); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:55642:9: [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(zHeader, aJournalMagic, sizeof(aJournalMagic)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:56164: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(pPager->zFilename, zPathname, nPathname); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:56165:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( nUri ) memcpy(&pPager->zFilename[nPathname+1], zUri, nUri); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:56166: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(pPager->zJournal, zPathname, nPathname); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:56167: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(&pPager->zJournal[nPathname], "-journal\000", 8+2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:56171: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(pPager->zWal, zPathname, nPathname); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:56172: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(&pPager->zWal[nPathname], "-wal\000", 4+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:56663:7: [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 dbFileVers[sizeof(pPager->dbFileVers)]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:57606:54: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const void *pCopy = (const void *)&((const char *)zBuf)[24]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:59656:3: [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((void*)&aHdr[1], (const void*)&pWal->hdr, sizeof(WalIndexHdr)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:59658:3: [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((void*)&aHdr[0], (const void*)&pWal->hdr, sizeof(WalIndexHdr)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:59687: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(&aFrame[8], pWal->hdr.aSalt, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:59768: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. static char zName[15]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:60136: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(&pWal->hdr.aSalt, &aBuf[16], 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:60441:3: [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(aLeft, aTmp, sizeof(aTmp[0])*iOut); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:60668:3: [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(&pWal->hdr.aSalt[1], &salt1, 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:61028: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(&pWal->hdr, &h1, sizeof(WalIndexHdr)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:61524:11: [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(&pWal->hdr, pSnapshot, sizeof(WalIndexHdr)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:61776: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(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:62084: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(&aWalHdr[16], pWal->hdr.aSalt, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:62474: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(pRet, &pWal->hdr, sizeof(WalIndexHdr)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:64273:7: [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(&temp[x], &data[x], (cbrk+size) - x); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:64276: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(&data[cbrk], &src[pc], size); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:64341:9: [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(&aData[iAddr], &aData[pc], 2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:65047: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 zDbHeader[100]; /* Database header content */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:65109:9: [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(zFullPathname, zFilename, nFilename); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:65992:3: [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(data, zMagicHeader, sizeof(zMagicHeader)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:67339: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(pPayload, pBuf, nByte); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:67342: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(pBuf, pPayload, nByte); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:67526:11: [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(aSave, aWrite, 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:67529:11: [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(aWrite, aSave, 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:68597:9: [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(&pPage1->aData[32], &pTrunk->aData[0], 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:68621:13: [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(&pPage1->aData[32], &pTrunk->aData[0], 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:68627:13: [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(&pPrevTrunk->aData[0], &pTrunk->aData[0], 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:68650:11: [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(&pNewTrunk->aData[0], &pTrunk->aData[0], 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:68652:11: [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(&pNewTrunk->aData[8], &pTrunk->aData[12], (k-1)*4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:68717:13: [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(&aData[8+closest*4], &aData[4+k*4], 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:69190:7: [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(pPayload, pSrc, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:69296:7: [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(pTemp, pCell, sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:69334: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(&data[idx], pCell, sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:69431:3: [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(&pTmp[i], &aData[i], usableSize - i); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:69443: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(pData, pCell, szCell[i]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:69606:3: [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(pTmp, aData, pPg->pBt->usableSize); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:69882: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(&aTo[iData], &aFrom[iData], pBt->usableSize-iData); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:69883: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(&aTo[iToHdr], &aFrom[iFromHdr], pFrom->cellOffset + 2*pFrom->nCell); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:70077:11: [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(&aOvflSpace[iOff], apDiv[i], szNew[i]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:70193:7: [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(pTemp, apDiv[i], sz); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:70202:9: [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(b.apCell[b.nCell], &pOld->aData[8], 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:70440: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(&apNew[nNew-1]->aData[8], &pOld->aData[8], 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:70514:7: [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(&pNew->aData[8], pCell, 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:70742:3: [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(pChild->aiOvfl, pRoot->aiOvfl, data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:70744:3: [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(pChild->apOvfl, pRoot->apOvfl, data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:71028:7: [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(newCell, oldCell, 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:71045:7: [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(oldCell, newCell, szNew); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:71101:11: [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(pCur->pKey, pX->pKey, pX->nKey); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:72331: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 zErr[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:73021:7: [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(zOut, zIn, nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:73696: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(pMem->zMalloc, pMem->z, pMem->n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:73893: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(pMem, &t, sizeof(t)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:74365:3: [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(pTo, pFrom, MEMCELLSIZE); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:74382:3: [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(pTo, pFrom, MEMCELLSIZE); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:74406:3: [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(pTo, pFrom, sizeof(Mem)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:74481: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(pMem->z, z, nAlloc); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:75583:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( p4copy ) memcpy(p4copy, zP4, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:76435: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 zAlt[50]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:76779: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 zPtr[50]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:76780: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 zCom[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:77099: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 z[1000]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:78191:17: [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 *out = fopen("vdbe_profile.out", "a"); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:78210: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 zHdr[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:78648:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( len>0 ) memcpy(buf, pMem->z, len); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:78705: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(&pMem->u.r, &x, sizeof(x)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:80277:3: [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(pNew, pOrig, MEMCELLSIZE); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:82052: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 zBase[100]; /* Initial working space */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:82641: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 zBuf[200]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:83681: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(pOut->z, pIn2->z, pIn2->n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:83683:3: [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(&pOut->z[pIn2->n], pIn1->z, pIn1->n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:84827:7: [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(pDest->z, zData, len); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:85140:9: [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(pNew->zName, zName, nName+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:90543: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(p->aAlloc, &p->aBuffer[iBuf], nAvail); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:90559:7: [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(&p->aAlloc[nByte - nRem], aNext, nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:90965: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(pKeyInfo, pCsr->pKeyInfo, szKeyInfo); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:91476: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(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:91853:3: [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(SRVAL(pNew), pVal->z, pVal->n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:92691:3: [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(pOut->z, pKey, nKey); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:92873: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(zOut, (u8*)pChunk->zChunk + iChunkOffset, nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:92970:7: [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((u8*)p->pFirst->zChunk, zBuf, iAmt); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:92998:9: [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((u8*)p->endpoint.pChunk->zChunk + iChunkOffset, zWrite, iSpace); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:93424:3: [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(pExpr, pDup, sizeof(*pExpr)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:95620:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:96061:7: [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(zAlloc, p, nNewSize); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:96064:7: [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(zAlloc, p, nSize); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:96078:7: [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(zToken, p->u.zToken, nToken); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:100929:3: [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(pNew->aCol, pTab->aCol, sizeof(Column)*pNew->nCol); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:101273: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(p->u.aRowid, pData, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:101300:3: [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(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:101301:3: [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(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:101302:3: [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(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:102740:7: [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(pSample->p, sqlite3_column_blob(pStmt, 4), pSample->n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:102946: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. zFile = (const char *)sqlite3_value_text(argv[0]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:102947: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. zName = (const char *)sqlite3_value_text(argv[1]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:102982: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(aNew, db->aDb, sizeof(db->aDb[0])*2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:103057:17: [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. zKey = (char *)sqlite3_value_blob(argv[2]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:103135:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *zName = (const char *)sqlite3_value_text(argv[0]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:103139: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 zErr[128]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:103986: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 saveBuf[PARSE_TAIL_SZ]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:103997:3: [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(saveBuf, PARSE_TAIL(pParse), PARSE_TAIL_SZ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:104002:3: [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(PARSE_TAIL(pParse), saveBuf, PARSE_TAIL_SZ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:104239: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(db->aDbStatic, db->aDb, 2*sizeof(db->aDb[0])); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:104800:3: [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(z, pName->z, pName->n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:104831: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(zType, pType->z, pType->n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:105326: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(&zStmt[k], zType, len); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:105346:3: [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(zExtra, pIdx->azColl, sizeof(char*)*pIdx->nColumn); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:105349:3: [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(zExtra, pIdx->aiColumn, sizeof(i16)*pIdx->nColumn); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:105352:3: [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(zExtra, pIdx->aSortOrder, pIdx->nColumn); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:106157: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 zTab[24]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:106409:3: [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(z, pTo->z, pTo->n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:106437:7: [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(z, pToCol->a[i].zName, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:106852:3: [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(pIndex->zName, zName, nName+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:106925:7: [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(zExtra, zColl, nColl); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:107204:3: [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(&a[1], aVal, nCopy*sizeof(LogEst)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:108234:7: [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(pColl, pColl2, sizeof(CollSeq)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:108344:7: [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(pColl[0].zName, zName, nName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:108585: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((char*)&pBest[1], zName, nName+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:110571:7: [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 zBuf[50]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:110815:7: [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(&zOut[j], zRep, nRep); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:110821:3: [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(&zOut[j], &zStr[i], nStr-i); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:110949: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 zResult[8]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:110998:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *zFile = (const char *)sqlite3_value_text(argv[0]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:111012:20: [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. zProc = (const char *)sqlite3_value_text(argv[1]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:111320:3: [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(aWc, pDef->pUserData, 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:112763:7: [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((char *)pStep->zTarget, zFrom, nFrom); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:115427: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). int (*open)(const char*,sqlite3**); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:115710:53: [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). #define sqlite3_open sqlite3_api->open data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:116412: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(zAltEntry, "sqlite3_", 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:116421: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(zAltEntry+iEntry, "_init", 6); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:116457: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(aHandle, db->aExtension, sizeof(handle)*db->nExtension); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:117669: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 *aFcntl[4]; /* Argument to SQLITE_FCNTL_PRAGMA */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:119472:7: [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 zKey[40]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:119535: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 *azArg[2]; /* Value of the argument and schema */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:119554: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 zBuf[200]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:119973: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 const *azArg[4]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:122546:9: [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(&pCol->zName[n+1], zType, m+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:126867:9: [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(z, argv[i], n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:127352: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(z, pName->z, pName->n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:129368: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(zCopy, zName, nName+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:130407:3: [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((char*)&pNew[1], pDef->zName, sqlite3Strlen30(pDef->zName)+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:131268: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 zBuf[100]; /* Initial space for EQP output string */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:131922: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 d2[3]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:132919:7: [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(pOrTab->a, pTabItem, sizeof(*pTabItem)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:133355: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(pWC->a, pOld, sizeof(pWC->a[0])*pWC->nTerm); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:133482: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 wc[3]; /* Wildcard characters */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:134851:3: [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(aiCur, pWInfo->aiCurOnePass, sizeof(int)*2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:134867:3: [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(pDest->a, pSrc->a, pDest->n*sizeof(pDest->a[0])); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:136433: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 zType[4]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:136434: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 zLeft[50]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:136435: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(zType, "...", 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:136572:3: [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(paNew, p->aLTerm, sizeof(p->aLTerm[0])*p->nLSlot); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:136588:3: [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(pTo, pFrom, WHERE_LOOP_XFER_SZ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:136589:3: [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(pTo->aLTerm, pFrom->aLTerm, pTo->nLTerm*sizeof(pTo->aLTerm[0])); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:138543:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char zName[65]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:138846:9: [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(pTo->aLoop, pFrom->aLoop, sizeof(WhereLoop*)*iLoop); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:139979:7: [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(p->u.zToken, t.z, t.n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:143766: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. static const char zKWText[553] = { data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:143800:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char aKWHash[127] = { data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:143815:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char aKWNext[124] = { data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:143828:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char aKWLen[124] = { data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:143855:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char aKWCode[124] = { data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:145174: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(&y, &x, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:146291: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. static char zBuf[50]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:147663:7: [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(zFile, zUri, nUri); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:148017:7: [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 zDecoded[40]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:148256: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 zMsg[100]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:149336:11: [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(pNew, aArg, nArg*sizeof(void *)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151398:9: [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(p, zCol, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151695:3: [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(p->aIndex, aIndex, sizeof(struct Fts3Index) * nIndex); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151705:3: [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(zCsr, argv[2], nName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151708:3: [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(zCsr, argv[1], nDb); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151715:10: [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. z = (char *)sqlite3Fts3NextToken(aCol[iCol], &n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151717:7: [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(zCsr, z, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151723:24: [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. assert( zCsr <= &((char *)p)[nByte] ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:152189: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(&zBuffer[nPrefix], zCsr, nSuffix); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:152341: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(p, *ppPoslist, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:152379: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(p, *ppPoslist, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:152704: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 *aaOutput[16]; /* Malloc'd output buffers */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:153096:7: [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(pTS->aaOutput[0], aDoclist, nDoclist); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:154015:21: [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. zArg = (const char *)sqlite3_value_text(apVal[1]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:154914:9: [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(aDoclist, a[p->nToken-1].pList, nByte+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:156385:3: [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((char *)p->pFts3Tab->zDb, zDb, nDb); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:156386:3: [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((char *)p->pFts3Tab->zName, zFts3, nFts3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:157043:9: [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(pRet->pPhrase->aToken[0].z, zToken, nToken); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:157158:9: [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(&zTemp[nTemp], zByte, nByte); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:157186:7: [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(zBuf, zTemp, nTemp); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:157959:7: [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((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:158058:34: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. (const char *)sqlite3_value_text(argv[0]), &pModule); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:158075: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. zExpr = (const char *)sqlite3_value_text(argv[1]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:158084: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. azCol[ii] = (char *)sqlite3_value_text(argv[ii+2]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:158508: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((void*)new_elem->pKey, pKey, nKey); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:158868: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 zReverse[28]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159466: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. const char *azArg[64]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159483: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. zName = (const char *)sqlite3_value_text(argv[0]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159485:19: [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. zInput = (const char *)sqlite3_value_text(argv[argc-1]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159501:25: [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. azArg[i-1] = (const char *)sqlite3_value_text(argv[i]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159582:7: [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((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159746: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 delim[128]; /* flag ASCII delimiters */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:160079:9: [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(pSpace, argv[i], n+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:160293:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *zByte = (const char *)sqlite3_value_text(apVal[0]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:160299:7: [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(pCsr->zInput, zByte, nByte); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:161330:34: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *zText = (const char *)sqlite3_value_text(apVal[i]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:161740:9: [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(aCopy, pList->aData, nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:161799:3: [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(&pReader->zTerm[nPrefix], pNext, nSuffix); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:162031: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(pReader->aNode, zRoot, nRoot); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:162154:7: [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(pReader->ppNextElem, aElem, nElem*sizeof(Fts3HashElem *)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:162445:7: [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(&pTree->aData[nData], &zTerm[nPrefix], nSuffix); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:162459:9: [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(pTree->zTerm, zTerm, nTerm); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:162709:3: [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(&pWriter->aData[nData], &zTerm[nPrefix], nSuffix); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:162712:3: [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(&pWriter->aData[nData], aDoclist, nDoclist); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:162731: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(pWriter->zTerm, zTerm, nTerm); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:163039:3: [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(pMsr->aBuffer, pList, nList); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:163383:15: [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(&pCsr->aBuffer[nDoclist], pList, nList); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:164135:7: [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(&p->term.a[nPrefix], &p->aNode[p->iOff], nSuffix); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:164239:9: [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(&pBlk->a[pBlk->n], &zTerm[nPrefix], nSuffix); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:164242:9: [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(pNode->key.a, zTerm, nTerm); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:164315:3: [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(pPrev->a, zTerm, nTerm); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:164322:3: [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(&pNode->a[pNode->n], &zTerm[nPrefix], nSuffix); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:164327: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(&pNode->a[pNode->n], aDoclist, nDoclist); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:164658:9: [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(pNode->block.a, aRoot, nRoot); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:164670:11: [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(pNode->key.a, reader.term.a, reader.term.n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:164680:15: [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(pNode->block.a, aBlock, nBlock); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:165144:11: [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(pHint->a, aHint, nHint); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:165710:20: [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). p->nNodeSize = atoi(&zVal[9]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:165713:26: [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). p->nMaxPendingData = atoi(&zVal[11]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:165716:25: [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). p->bNoIncrDoclist = atoi(&zVal[21]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:165838:3: [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(pRet, &p->pList->aData[nSkip], *pnData); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:166231: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(pRet->zMatchinfo, zMatchinfo, nStr+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:166272:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( p->bGlobal ) memcpy(aOut, &p->aMatchinfo[1], p->nElem*sizeof(u32)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:166282:3: [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(&p->aMatchinfo[2+p->nElem], &p->aMatchinfo[1], p->nElem*sizeof(u32)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:166706:3: [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(&pStr->z[pStr->n], zAppend, nAppend); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:167736:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char aBuffer[64]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169002:3: [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(&x, p, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169006:3: [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(&x, p, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169010:3: [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(&x, p, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169042:3: [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(p, &i, 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169045:3: [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(p, &i, 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169048:3: [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(p, &i, 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169061:3: [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(p, &i, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169064:3: [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(p, &i, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169066:3: [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(p, &i, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169624: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(&c.u,a,4); \ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:169632: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(&c.u,a,4); \ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170214:3: [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(pBlob, pSrc, pSrc->iSize); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170376: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 zIdxStr[RTREE_MAX_DIMENSIONS*8+1]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170538:3: [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(&cell, p, sizeof(RtreeCell)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170720: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(aSpare, aLeft, sizeof(int)*nLeft); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170789: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(aSpare, aLeft, sizeof(int)*nLeft); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170880:7: [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(&left, &aCell[aaSorted[ii][0]], sizeof(RtreeCell)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170881:7: [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(&right, &aCell[aaSorted[ii][nCell-1]], sizeof(RtreeCell)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170910:3: [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(pBboxLeft, &aCell[aaSorted[iBestDim][0]], sizeof(RtreeCell)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170911:3: [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(pBboxRight, &aCell[aaSorted[iBestDim][iBestSplit]], sizeof(RtreeCell)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170978:3: [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(&aCell[nCell], pCell, sizeof(RtreeCell)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:171270:7: [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(&aCell[ii], pCell, sizeof(RtreeCell)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:171848:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char *azSql[N_STATEMENT] = { data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172041:3: [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(pRtree->zDb, argv[1], nDb); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172042:3: [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(pRtree->zName, argv[2], nName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172119: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 zCell[512]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172578: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 zBuf[128]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172708:22: [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. zLocale = (const char *)sqlite3_value_text(apArg[1]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172808:20: [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. zLocale = (const char *)sqlite3_value_text(apArg[0]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172809: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. zName = (const char *)sqlite3_value_text(apArg[1]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172959: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(p->zLocale, argv[0], n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:174087: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 zStateDb[5]; /* Db name for state ("stat" or "main") */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:174292:9: [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(zOut, &zSrc[ofst], cnt); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:174307:9: [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(zOut, zDelta, cnt); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:174797:7: [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(zRet, zStr, nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:174950: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(pIter->abIndexed, pIter->abTblPk, sizeof(u8)*pIter->nTblCol); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:175939: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(pUp->zMask, zMask, pIter->nTblCol); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:176092: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(p->zStateDb, "stat", 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:176094: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(p->zStateDb, "main", 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:176460:11: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, NULL, 0); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:176469:11: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, zWideFilename, data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:177138: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 zRnd[64]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:177281:9: [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(p->zTarget, zTarget, nTarget+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:177285:7: [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(p->zRbu, zRbu, nRbu+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:178260:13: [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(zCopy, zBase, nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:178513:7: [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(&pNew->base, &vfs_template, sizeof(sqlite3_vfs)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:178518:7: [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(zSpace, zName, nName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:179605:13: [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(&i, &r, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:179629:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( n ) memcpy(&aBuf[nVarint + 1], z, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:179735:11: [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(&iVal, &rVal, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:179890:7: [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(aOut, a2, n2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:179893:7: [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(aOut, a1, n1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:179988:9: [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(aOut, aOld, nOld); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:180016:7: [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(aOut, aNew, nNew); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:180078:11: [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(&rVal, &iVal, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:180226:7: [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(pAlloc, zThis, nThis+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:180236:7: [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(pAlloc, zName, nName+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:180822:3: [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(pNew->zDb, zDb, nDb+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:180946:9: [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(pTab->zName, zName, nName+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:181046: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(&p->aBuf[p->nBuf], aBlob, nBlob); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:181066: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(&p->aBuf[p->nBuf], zStr, nStr); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:181084: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 aBuf[24]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:181139:9: [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(&i, &r, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:181222:13: [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(&dVal, &iVal, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:181414:11: [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(&rVal, &iVal, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:181838:3: [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(aCopy, aData, nData); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:181908:11: [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(&d, &v, 8); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:182028: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(&p->tblhdr.aBuf[iPK], &p->in.aData[p->in.iNext], nCopy); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:183492: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(pNew->aRecord, aRec, nRec); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:183546:11: [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(aCsr, aRec, nRec); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:183571:11: [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(aCsr, aRec, nRec); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:183641:9: [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(pTab->abPK, abPK, nCol); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:183643:9: [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(pTab->zName, zNew, nNew+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:184023: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 zSpace[100]; /* Initial static space */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:184148: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(zNew, p->zBuf, (size_t)p->nUsed); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:184167:3: [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(p->zBuf+p->nUsed, zIn, N); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:184919:3: [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((char*)p->zJson, zJson, nJson+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:186134:3: [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(p->zJson, z, (size_t)n+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:186156:7: [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(p->zRoot, zRoot, (size_t)n+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:189815: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(&pBuf->p[pBuf->n], pData, nData); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190019:7: [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(zRet, pIn, nIn); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190114:9: [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(pEntry->pTerm, pTerm, nTerm); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190454:13: [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(pSpace, p2, p-p2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190576: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(zOut, zIn, nIn+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190920:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( zRank ) memcpy(zRank, pRank, p-pRank); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190940:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( zRankArgs ) memcpy(zRankArgs, pArgs, p-pArgs); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:191462:9: [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(aNew, aIter, sizeof(Fts5PoslistReader) * nIter); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:192647:7: [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(pSyn->zTerm, pToken, nToken); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:192803:9: [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(pColset, pColsetOrig, nByte); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:193016:7: [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(pRet, pOrig, nByte); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:193143: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(&p->apChild[p->nChild], pSub->apChild, nByte); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:194196: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(&zKey[1], pToken, nToken); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:195554:3: [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(&(pBuf)->p[(pBuf)->n], pBlob, nBlob); \ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:195652:9: [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(pOut->aSeg, &pLvl->aSeg[is], sizeof(Fts5StructureSegment)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:199553:23: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( doclist.n ) memcpy(pData->p, doclist.p, doclist.n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:199792:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if( nToken ) memcpy(&buf.p[1], pToken, nToken); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:200723:3: [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(a, aBlob, n); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:203411:7: [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(pAux->zFunc, zName, nName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:203449: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(pNew->zName, zName, nName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:204853:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char aAsciiTokenChar[128] = { data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:204866: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 aTokenChar[128]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:204909:7: [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(p->aTokenChar, aAsciiTokenChar, sizeof(aAsciiTokenChar)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:204957: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 aFold[64]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205062: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 aTokenChar[128]; /* ASCII range token characters */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205173:7: [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(p->aTokenChar, aAsciiTokenChar, sizeof(aAsciiTokenChar)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205281:9: [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(aFold, p->aFold, nFold); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205335: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 aBuf[FTS5_PORTER_MAX_TOKEN + 64]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205422:7: [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(&aBuf[nStem], p->zOutput, p->nOutput); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205661:9: [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(&aBuf[nBuf-2], "ate", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205669:9: [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(&aBuf[nBuf-2], "ble", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205677:9: [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(&aBuf[nBuf-2], "ize", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205696:11: [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(&aBuf[nBuf-7], "ate", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205701:11: [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(&aBuf[nBuf-6], "tion", 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205710:11: [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(&aBuf[nBuf-4], "ence", 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205715:11: [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(&aBuf[nBuf-4], "ance", 4); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205724:11: [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(&aBuf[nBuf-4], "ize", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205733:11: [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(&aBuf[nBuf-4], "log", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205742:11: [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(&aBuf[nBuf-3], "ble", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205747:11: [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(&aBuf[nBuf-4], "al", 2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205752:11: [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(&aBuf[nBuf-5], "ent", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205757:11: [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(&aBuf[nBuf-3], "e", 1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205762:11: [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(&aBuf[nBuf-5], "ous", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205771:11: [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(&aBuf[nBuf-7], "ize", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205776:11: [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(&aBuf[nBuf-5], "ate", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205781:11: [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(&aBuf[nBuf-4], "ate", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205790:11: [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(&aBuf[nBuf-5], "al", 2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205795:11: [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(&aBuf[nBuf-7], "ive", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205800:11: [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(&aBuf[nBuf-7], "ful", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205805:11: [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(&aBuf[nBuf-7], "ous", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205814:11: [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(&aBuf[nBuf-5], "al", 2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205819:11: [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(&aBuf[nBuf-5], "ive", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205824:11: [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(&aBuf[nBuf-6], "ble", 3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205843:11: [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(&aBuf[nBuf-4], "ic", 2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205860:11: [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(&aBuf[nBuf-5], "ic", 2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205865:11: [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(&aBuf[nBuf-5], "ic", 2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205890:11: [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(&aBuf[nBuf-5], "al", 2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205909:11: [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(&aBuf[nBuf-3], "ee", 2); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205972:3: [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(aBuf, pToken, nBuf); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:206977:7: [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(pRet->zFts5Tbl, zTab, nTab); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:206978:7: [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(pRet->zFts5Db, zDb, nDb); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:207321:9: [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(pCsr->zLeTerm, zCopy, pCsr->nLeTerm+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.h:8540: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 hidden[48]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3ext.h:113: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). int (*open)(const char*,sqlite3**); data/libgda5-5.2.9/providers/sqlcipher/sqlite3ext.h:396:53: [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). #define sqlite3_open sqlite3_api->open data/libgda5-5.2.9/providers/web/gda-web-provider.c:476:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[16]; data/libgda5-5.2.9/providers/web/gda-web-provider.c:1723:62: [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). set = gda_set_new_inline (1, "IMPACTED_ROWS", G_TYPE_INT, atoi ((gchar*) contents)); data/libgda5-5.2.9/providers/web/gda-web-util.c:79:2: [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 (k_ipad, key, key_len); data/libgda5-5.2.9/providers/web/gda-web-util.c:80:2: [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 (k_opad, k_ipad, PAD_LEN); data/libgda5-5.2.9/providers/web/gda-web-util.c:196:23: [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). *out_counter_id = atoi ((gchar*) contents); data/libgda5-5.2.9/samples/BDB/common.h:26:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char color[COLORSIZE]; data/libgda5-5.2.9/samples/BDB/common.h:32:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[NAMESIZE]; data/libgda5-5.2.9/samples/BDB/fill.c:72: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 ((ret = dbp->open(dbp, data/libgda5-5.2.9/samples/Blobs/blobtest.c:49:8: [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). id = atoi (argv[2]); data/libgda5-5.2.9/samples/CustomUIPlugin/custom-entry-password.c:125:29: [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). mgtxt->priv->minlength = atoi (str); data/libgda5-5.2.9/testing/gdaui-test-widget-entry.c:61:8: [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). max = atoi (tmp); data/libgda5-5.2.9/tests/data-models/check_data_proxy.c:1315:9: [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). nb = atoi (ptr); data/libgda5-5.2.9/tests/data-models/check_data_proxy.c:1323: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). row = atoi (ptr); data/libgda5-5.2.9/tests/multi-threading/check_parser.c:335:9: [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). if ((atoi ((gchar*) error_line) != line) || (atoi ((gchar *) error_col) != col)) { data/libgda5-5.2.9/tests/multi-threading/check_parser.c:335:49: [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). if ((atoi ((gchar*) error_line) != line) || (atoi ((gchar *) error_col) != col)) { data/libgda5-5.2.9/tests/parser/check_parser.c:220:9: [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). if ((atoi ((gchar*) error_line) != line) || (atoi ((gchar *) error_col) != col)) { data/libgda5-5.2.9/tests/parser/check_parser.c:220:49: [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). if ((atoi ((gchar*) error_line) != line) || (atoi ((gchar *) error_col) != col)) { data/libgda5-5.2.9/tools/browser/common/favorites-actions.c:63:38: [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). if (gda_tools_favorites_get (bfav, atoi (fa->contents + 5), &qfa, NULL)) { data/libgda5-5.2.9/tools/browser/data-manager/data-favorite-selector.c:613:8: [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). pos = atoi (path); data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-favorite-selector.c:594:8: [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). pos = atoi (path); data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:162:2: [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 (search_path, current_search_path, sizeof (gchar*) * len); data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:1238:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char timebuf[200]; data/libgda5-5.2.9/tools/browser/query-exec/query-favorite-selector.c:701:8: [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). pos = atoi (path); data/libgda5-5.2.9/tools/browser/schema-browser/favorite-selector.c:345:8: [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). pos = atoi (path); data/libgda5-5.2.9/tools/browser/schema-browser/table-info.c:873: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 (fkdata->fk_cols_array, fk->fk_cols_array, sizeof (gint) * fk->cols_nb); data/libgda5-5.2.9/tools/gda-sql.c:383:10: [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 (argv[i], "r"); data/libgda5-5.2.9/tools/gda-sql.c:385: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 buffer [SHEBANGLEN + 1]; data/libgda5-5.2.9/tools/gda-sql.c:3328: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. static char start_dir[DIR_LENGTH]; data/libgda5-5.2.9/tools/gda-sql.c:5195:3: [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 (*out_attr_name, spec, ptr - spec); data/libgda5-5.2.9/tools/gda-sql.c:5952:3: [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 (str, gstr, l); data/libgda5-5.2.9/tools/web-server.c:532:2: [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 (k_ipad, key, key_len); data/libgda5-5.2.9/tools/web-server.c:533:2: [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 (k_opad, k_ipad, PAD_LEN); data/libgda5-5.2.9/control-center/gdaui-dsn-assistant.c:316:15: [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 (!name || strlen (name) < 1) { data/libgda5-5.2.9/libgda-report/engine/rt-parser.c:414:7: [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 (copy) > MAXSIZE) { data/libgda5-5.2.9/libgda-report/engine/rt-parser.c:871:7: [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 (debug) > 10) data/libgda5-5.2.9/libgda-report/engine/rt-parser.c:1112: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). len = strlen ((gchar*) rtnode->text); data/libgda5-5.2.9/libgda-report/engine/rt-parser.c:1327: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). len = strlen ((gchar*) rtnode->text); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c:313:18: [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). number_length = strlen (number_text); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c:348:19: [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). number_length = strlen (new_text); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c:410:22: [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). too_long_msg_len = strlen (too_long_msg); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-combo.c:645:27: [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. argptr && nodes && equal; data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry-combo.c:663:7: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (equal) { data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry.c:205:32: [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). entry->priv->prefix_len = strlen (str); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry.c:224:32: [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). entry->priv->suffix_len = strlen (str); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-entry.c:396:10: [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). len = strlen (ctext); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-formatted-entry.c:182:29: [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). entry->priv->mask_len = strlen (str); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-formatted-entry.c:503: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). len = strlen (text); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c:351:8: [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). len = strlen (str); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c:392:8: [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). len = strlen (str); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c:452:10: [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). len = strlen (string->str); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c:508:29: [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). memmove (ptr, ptr + 1, strlen (ptr)); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c:542:29: [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). memmove (ptr, ptr + 1, strlen (ptr)); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c:577: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). olen = strlen (otext); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c:605: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). nlen = strlen (ntext); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c:662: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). nlen = strlen (ntext); data/libgda5-5.2.9/libgda-ui/data-entries/gdaui-numeric-entry.c:705: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). len = strlen (text); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/common-pict.c:87: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). bindata->data_length = strlen ((gchar *) bindata->data); data/libgda5-5.2.9/libgda-ui/data-entries/plugins/gdaui-entry-password.c:244:32: [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). gcry_md_write (mdctx, str, strlen(str)); data/libgda5-5.2.9/libgda-ui/demos/main.c:112:7: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (stream); data/libgda5-5.2.9/libgda-ui/demos/main.c:126:17: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int next_c = getc (stream); data/libgda5-5.2.9/libgda-ui/demos/main.c:285:33: [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 (!strncmp (text, types[i], strlen (types[i]))) { data/libgda5-5.2.9/libgda-ui/demos/main.c:286:22: [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). *end_ptr = text + strlen (types[i]); data/libgda5-5.2.9/libgda-ui/demos/main.c:293:35: [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 (!strncmp (text, control[i], strlen (control[i]))) { data/libgda5-5.2.9/libgda-ui/demos/main.c:294:22: [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). *end_ptr = text + strlen (control[i]); data/libgda5-5.2.9/libgda-ui/demos/main.c:447:24: [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). while (*r != '/' && strlen (r)) data/libgda5-5.2.9/libgda-ui/demos/main.c:449:8: [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 (r) > 0) data/libgda5-5.2.9/libgda-ui/demos/main.c:451:12: [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). q = p + strlen (p); data/libgda5-5.2.9/libgda-ui/demos/main.c:460:15: [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). g_assert (strlen (p) >= (gsize)(q - p)); data/libgda5-5.2.9/libgda-ui/demos/main.c:487:11: [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). len = strlen (p); data/libgda5-5.2.9/libgda-ui/demos/main.c:495:16: [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). g_assert (strlen (p) >= len); data/libgda5-5.2.9/libgda-ui/gdaui-combo.c:480:12: [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). len = strlen (str); data/libgda5-5.2.9/libgda-ui/gdaui-combo.c:842:11: [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). len = strlen (str); data/libgda5-5.2.9/libgda-ui/gdaui-init.c:159:22: [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 (ptr < plugin + strlen (plugin_name)) { data/libgda5-5.2.9/libgda-ui/gdaui-init.c:256:22: [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 (ptr < plugin + strlen (plugin_name)) data/libgda5-5.2.9/libgda-ui/gdaui-raw-grid.c:702:22: [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). ret = g_new (gchar, strlen (str) + 1); data/libgda5-5.2.9/libgda-ui/gdaui-raw-grid.c:2466:44: [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 (! g_file_set_contents (path, body, strlen (body), NULL)) { data/libgda5-5.2.9/libgda/binreloc/binreloc.c:70:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy (path2, "/proc/self/exe", buf_size - 1); data/libgda5-5.2.9/libgda/binreloc/binreloc.c:102:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (path, path2, buf_size - 1); data/libgda5-5.2.9/libgda/binreloc/binreloc.c:138:13: [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). buf_size = strlen (line); data/libgda5-5.2.9/libgda/binreloc/binreloc.c:231: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). len = strlen (file); data/libgda5-5.2.9/libgda/binreloc/binreloc.c:238: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). len = strlen (file); data/libgda5-5.2.9/libgda/binreloc/binreloc.c:243: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). len = strlen (start_addr); data/libgda5-5.2.9/libgda/binreloc/binreloc.c:244:14: [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 (len != strlen (end_addr)) data/libgda5-5.2.9/libgda/binreloc/gda-binreloc.c:75:20: [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). gint prefix_len = strlen (LIBGDAPREFIX); data/libgda5-5.2.9/libgda/binreloc/gda-binreloc.c:209:14: [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). prefix [strlen (prefix) - 3] = 0; data/libgda5-5.2.9/libgda/gda-blob-op.c:128:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (CLASS (op)->read != NULL) data/libgda5-5.2.9/libgda/gda-blob-op.c:129:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return CLASS (op)->read (op, blob, offset, size); data/libgda5-5.2.9/libgda/gda-blob-op.h:49:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). glong (* read) (GdaBlobOp *op, GdaBlob *blob, glong offset, glong size); data/libgda5-5.2.9/libgda/gda-config.c:443:34: [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). for (ptr = ((gchar *) prop) + strlen ((gchar *) prop) - 1; ptr >= (gchar *) prop; ptr--) { data/libgda5-5.2.9/libgda/gda-data-meta-wrapper.c:488:28: [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 ((*str == '"') && (str[strlen(str) - 1] == '"')) data/libgda5-5.2.9/libgda/gda-data-model-dir.c:1008:10: [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). len = strlen (new_path); data/libgda5-5.2.9/libgda/gda-data-model-dir.c:1009:15: [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). base_len = strlen (imodel->priv->basedir); data/libgda5-5.2.9/libgda/gda-data-model-dir.c:1224:16: [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). base_len = strlen (imodel->priv->basedir); data/libgda5-5.2.9/libgda/gda-data-model-dir.c:1226:11: [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). len = strlen (dirname); data/libgda5-5.2.9/libgda/gda-data-model-dir.c:1265:39: [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). row->reldir = g_strdup (dirname + strlen (imodel->priv->basedir)); data/libgda5-5.2.9/libgda/gda-data-model-import.c:488:31: [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). model->priv->data_length = strlen (model->priv->src.string); data/libgda5-5.2.9/libgda/gda-data-model-import.c:1467:62: [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 (this_lang && strncmp ((gchar*)this_lang, (gchar*)lang, strlen ((gchar*)this_lang))) { data/libgda5-5.2.9/libgda/gda-data-model.c:1721:12: [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). len = strlen (tmp); data/libgda5-5.2.9/libgda/gda-data-model.c:1928:54: [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 (this_lang && strncmp ((gchar*)this_lang, lang, strlen ((gchar*)this_lang))) { data/libgda5-5.2.9/libgda/gda-data-model.c:2632:24: [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). cols_size [0] = MAX (strlen (str), strlen ("#row")); data/libgda5-5.2.9/libgda/gda-data-model.c:2632:38: [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). cols_size [0] = MAX (strlen (str), strlen ("#row")); data/libgda5-5.2.9/libgda/gda-data-model.c:2700:75: [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). cols_size [i + col_offset] = MAX ((guint)cols_size [i + col_offset], strlen (ERROR_STRING)); data/libgda5-5.2.9/libgda/gda-data-model.c:2776:22: [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 (total_width > strlen (title)) data/libgda5-5.2.9/libgda/gda-data-model.c:2777:24: [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). i = (total_width - strlen (title))/2.; data/libgda5-5.2.9/libgda/gda-data-model.c:3014:29: [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). ns = g_string_sized_new (strlen (str)); data/libgda5-5.2.9/libgda/gda-data-pivot.c:1438:8: [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). tmp [strlen (tmp) - 7] = 0; /* remove the " FROM T" end */ data/libgda5-5.2.9/libgda/gda-data-pivot.c:1551:8: [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). tmp [strlen (tmp) - 7] = 0; /* remove the " FROM T" end */ data/libgda5-5.2.9/libgda/gda-data-proxy.c:2851:8: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (! equal) { data/libgda5-5.2.9/libgda/gda-data-proxy.c:3160:56: [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 (!g_ascii_strncasecmp (sql, FILTER_SELECT_WHERE, strlen (FILTER_SELECT_WHERE))) data/libgda5-5.2.9/libgda/gda-data-proxy.c:3161:48: [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). proxy->priv->filter_expr = g_strdup (sql + strlen (FILTER_SELECT_WHERE)); data/libgda5-5.2.9/libgda/gda-data-proxy.c:3162:63: [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). else if (!g_ascii_strncasecmp (sql, FILTER_SELECT_NOWHERE, strlen (FILTER_SELECT_NOWHERE))) data/libgda5-5.2.9/libgda/gda-data-proxy.c:3163:48: [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). proxy->priv->filter_expr = g_strdup (sql + strlen (FILTER_SELECT_NOWHERE)); data/libgda5-5.2.9/libgda/gda-holder.c:1900:8: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!equal) data/libgda5-5.2.9/libgda/gda-meta-store.c:854: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). base [strlen (base) - 3] = 0; data/libgda5-5.2.9/libgda/gda-quark-list.c:182:6: [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). l = strlen (cvalue); data/libgda5-5.2.9/libgda/gda-server-operation.c:416:17: [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). ptr = cpath + strlen (cpath) - 1; data/libgda5-5.2.9/libgda/gda-server-operation.c:836:42: [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 (strncmp ((gchar*)this_lang, lang, strlen ((gchar*)this_lang))) { data/libgda5-5.2.9/libgda/gda-server-operation.c:1024:34: [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). doc = xmlParseMemory (xml_spec, strlen (xml_spec) + 1); data/libgda5-5.2.9/libgda/gda-server-operation.c:1700:17: [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). ptr = path2 + strlen (path2) - 1; data/libgda5-5.2.9/libgda/gda-server-operation.c:1734:17: [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). ptr = path2 + strlen (path2) - 1; data/libgda5-5.2.9/libgda/gda-server-operation.c:1952:19: [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). ptr = seq_path + strlen (seq_path) - 1; data/libgda5-5.2.9/libgda/gda-set.c:1355:34: [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). doc = xmlParseMemory (xml_spec, strlen (xml_spec)); data/libgda5-5.2.9/libgda/gda-set.c:1503:55: [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 (this_lang && strncmp ((gchar*)this_lang, lang, strlen ((gchar*)this_lang))) { data/libgda5-5.2.9/libgda/gda-util.c:261:10: [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). total = strlen (string); data/libgda5-5.2.9/libgda/gda-util.c:754:55: [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 (this_lang && strncmp ((gchar*)this_lang, lang, strlen ((gchar*)this_lang))) { data/libgda5-5.2.9/libgda/gda-util.c:837:16: [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). gint length = strlen (text); data/libgda5-5.2.9/libgda/gda-util.c:841:15: [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). toklength = strlen (GDA_PARAM_ENCODE_TOKEN); data/libgda5-5.2.9/libgda/gda-util.c:1486:20: [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). for (tmp = str + strlen (str) - 1; tmp >= str; tmp --) { data/libgda5-5.2.9/libgda/gda-util.c:2133: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). len = strlen (text); data/libgda5-5.2.9/libgda/gda-util.c:2135:17: [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). gsize clen = strlen (sql_start_words[i]); data/libgda5-5.2.9/libgda/gda-util.c:2153:13: [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 (text [strlen(text) - 1] == '.') { data/libgda5-5.2.9/libgda/gda-util.c:2155:16: [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). obj_schema [strlen(text) - 1] = 0; data/libgda5-5.2.9/libgda/gda-util.c:2183:14: [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). gint len = strlen (obj_name); data/libgda5-5.2.9/libgda/gda-util.c:2213:14: [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). gint len = strlen (obj_name); data/libgda5-5.2.9/libgda/gda-util.c:2239:14: [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). gint len = strlen (obj_name); data/libgda5-5.2.9/libgda/gda-util.c:2289: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). len = strlen (text); data/libgda5-5.2.9/libgda/gda-util.c:2291:17: [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). gsize clen = strlen (sql_middle_words[i]); data/libgda5-5.2.9/libgda/gda-util.c:2339:14: [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). gint tlen = strlen (ident); data/libgda5-5.2.9/libgda/gda-util.c:2343:10: [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). plen = strlen (prefix) + 1; data/libgda5-5.2.9/libgda/gda-util.c:2740:24: [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). ret = g_new0 (gchar, (strlen (string) * 3) + 1); data/libgda5-5.2.9/libgda/gda-util.c:2998:29: [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). memmove (pos, ptr + 1, strlen (ptr)); data/libgda5-5.2.9/libgda/gda-util.c:3004:11: [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). len = strlen (tmp) - 1; data/libgda5-5.2.9/libgda/gda-util.c:3023:29: [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). memmove (pos, ptr + 1, strlen (ptr)); data/libgda5-5.2.9/libgda/gda-util.c:3029:11: [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). len = strlen (tmp) - 1; data/libgda5-5.2.9/libgda/gda-value.c:3087:10: [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). total = strlen (str); data/libgda5-5.2.9/libgda/gda-xa-transaction.c:153:11: [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). len = strlen (dtmp); data/libgda5-5.2.9/libgda/gda-xa-transaction.c:160:11: [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). len = strlen (tmp); data/libgda5-5.2.9/libgda/gda-xa-transaction.c:286:6: [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 (branch) >= 64) { data/libgda5-5.2.9/libgda/gda-xa-transaction.c:297:24: [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). bin->binary_length = strlen (branch) + 1; data/libgda5-5.2.9/libgda/gda-xa-transaction.c:329:23: [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). bin->binary_length = strlen (branch) + 1; data/libgda5-5.2.9/libgda/handlers/gda-handler-bin.c:232:12: [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). gint i = strlen (sql); data/libgda5-5.2.9/libgda/handlers/gda-handler-string.c:247:12: [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). gint i = strlen (sql); data/libgda5-5.2.9/libgda/handlers/gda-handler-time.c:878:20: [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 (*(ptr+(strlen (ptr)-1)) == '\'') { data/libgda5-5.2.9/libgda/handlers/gda-handler-time.c:879:24: [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). *(ptr+(strlen (ptr)-1)) = 0; data/libgda5-5.2.9/libgda/handlers/gda-handler-time.c:902:12: [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). gint i = strlen (sql); data/libgda5-5.2.9/libgda/handlers/gda-handler-type.c:201:12: [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). gint i = strlen (sql); data/libgda5-5.2.9/libgda/sql-parser/gda-sql-parser.c:1072:6: [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 (z) > 50) { data/libgda5-5.2.9/libgda/sql-parser/gda-sql-parser.c:1404:46: [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). memmove (ptr, ptr2, sizeof (char) * (strlen (ptr2) + 1)); data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-util.c:88:17: [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). total = strlen (str); data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-util.c:171:8: [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). len = strlen (str); data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-util.c:199:8: [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). len = strlen (str); data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-util.c:389:8: [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). len = strlen (str) - 1; data/libgda5-5.2.9/libgda/sql-parser/gda-statement-struct-util.c:404:19: [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). for (ptr = str + strlen (str) - 1; ptr >= str; ptr--) { data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:181:41: [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). entry->key = malloc (sizeof (char) * (strlen (token) + 1)); data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:182: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). memcpy (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:197:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int read; data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:201:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end = buffer + read; data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:202:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read > 0) { data/libgda5-5.2.9/libgda/sql-parser/gen_def.c:228:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end += read; data/libgda5-5.2.9/libgda/sql-parser/lemon.c:62:32: [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). #define lemonStrlen(X) ((int)strlen(X)) data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2736:33: [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). for (ptr = lemp->filename + strlen (lemp->filename) - 1; (ptr > lemp->filename) && (*ptr != '\\'); ptr--); data/libgda5-5.2.9/libgda/sql-parser/lemon.c:2738:33: [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). for (ptr = lemp->filename + strlen (lemp->filename) - 1; (ptr > lemp->filename) && (*ptr != '/'); ptr--); data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-handler-bin.c:237:12: [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). gint n = strlen (sql); data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-handler-bin.c:270:12: [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). gint n = strlen (str); data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-provider.c:774:16: [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). gint len = strlen (str); data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-provider.c:775:17: [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). gint elen = strlen (FILE_EXTENSION); data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-provider.c:879:79: [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). errmsg = SQLITE3_CALL (sqlite3_key) (cdata->connection, (void*) passphrase, strlen (passphrase)); data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-provider.c:1367:13: [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). strlen (passphrase)); data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-provider.c:4016:10: [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). total = strlen (string); data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-util.c:192:15: [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). len = strlen (str); data/libgda5-5.2.9/libgda/sqlite/gda-sqlite-util.c:248:17: [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). total = strlen (str); data/libgda5-5.2.9/libgda/sqlite/gen_emb_string.c:67: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). len = strlen (cfile); data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:159:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int read; data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:171:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end = buffer + read; data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:173:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read > 0) { data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:215:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end += read; data/libgda5-5.2.9/libgda/sqlite/mkkeywordhash.c:263:12: [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). p->len = strlen(p->zName); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:24023:28: [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). return 0x3fffffff & (int)strlen(z); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:26349:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). { "read", (sqlite3_syscall_ptr)read, 0 }, data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:26865:12: [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). n = (int)strlen(zAbsoluteName); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:29499:15: [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). for(ii=(int)strlen(zDirname); ii>1 && zDirname[ii]!='/'; ii--); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:30261:29: [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). nShmFilename = 6 + (int)strlen(zBasePath); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31339:22: [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). nFilename = (int)strlen(zFilename) + 6; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31448:8: [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(zDir) + strlen(SQLITE_TEMP_FILE_PREFIX) + 18) >= (size_t)nBuf ){ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31448:23: [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(zDir) + strlen(SQLITE_TEMP_FILE_PREFIX) + 18) >= (size_t)nBuf ){ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31454:14: [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). j = (int)strlen(zBuf); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31727:48: [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). assert( (flags & SQLITE_OPEN_URI) || zName[strlen(zName)+1]==0 ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:31740:19: [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). assert( zName[strlen(zName)+1]==0 ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32007:17: [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). nCwd = (int)strlen(zOut); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32136:3: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(microseconds); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32432:16: [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). dbLen = (int)strlen(dbPath); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32453:14: [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). len = (int)strlen(lockPath); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32709:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(500000); /* wait 0.5 sec and try the lock again*/ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32735:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(10000000); /* wait 10 sec and try the lock again */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:32884:39: [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). writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:33015:18: [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). int len = (int)strlen(dbPath); /* Length of database filename - dbPath */ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:33041:16: [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). assert( (int)strlen(conchPath) == len+7 ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:33091:18: [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). assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:33099:15: [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). int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:33099:55: [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). int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:33103:13: [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). assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:117920: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). assert( zAff==0 || (int)strlen(zAff)>=nEq ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135260:19: [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). nRet = 2 + (int)strlen(zInput)*2 + 1; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135531:20: [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). nStr += (int)strlen(zCol) + 1; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135542:22: [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). int n = (int)strlen(zCol)+1; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135608:11: [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). assert( strlen(argv[0])==4 ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135613:14: [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). nDb = (int)strlen(argv[1]) + 1; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135614:16: [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). nName = (int)strlen(argv[2]) + 1; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135648: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). && strlen(z)>8 data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135687:19: [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(zVal)!=4 || sqlite3_strnicmp(zVal, "fts3", 4) ){ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135713:20: [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(zVal)!=3 || sqlite3_strnicmp(zVal, "asc", 3)) data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135714:20: [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). && (strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "desc", 4)) data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135747:24: [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). nString += (int)(strlen(z) + 1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135870:18: [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). int n = (int)strlen(p->azColumn[iCol]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:135873: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). if( zNot && n==(int)strlen(zNot) data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:140455:14: [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). nDb = (int)strlen(zDb); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:140459:18: [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). nDb = (int)strlen(zDb); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:140467:16: [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). nFts3 = (int)strlen(zFts3); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:141451:21: [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). int nStr = (int)strlen(zStr); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:141885:14: [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). n = (int)strlen(z); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:142311: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). if( nKey<=0 ) nKey = (int) strlen(z); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:142702:22: [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). c->nInput = (int)strlen(zInput); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143164:21: [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). *pnOut = i = (int)strlen(z); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143425:17: [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). zEnd = &zCopy[strlen(zCopy)]; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143435:68: [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). m = (sqlite3_tokenizer_module *)sqlite3Fts3HashFind(pHash,z,(int)strlen(z)+1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143836:21: [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). int i, n = (int)strlen(argv[1]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:143888:22: [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). c->nBytes = (int)strlen(pInput); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:144080:20: [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). int nName = (int)strlen(zName); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:144118:22: [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). nByte += (int)(strlen(argv[i]) + 1); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:144127:22: [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). int n = (int)strlen(argv[i]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:150254:19: [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). int nStr = (int)strlen(zMatchinfo); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:150719:20: [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). nAppend = (int)strlen(zAppend); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:152063:18: [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). int n = (int)strlen(z); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:152115:25: [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). pCsr->nInput = (int)strlen(aInput); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:154168:36: [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). || (idxStr && (int)strlen(idxStr)==argc*2) ); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:155797:14: [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). nDb = (int)strlen(argv[1]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:155798:16: [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). nName = (int)strlen(argv[2]); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:155895:18: [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). nCell = (int)strlen(zCell); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:155904:20: [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). nCell = (int)strlen(zCell); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:156676: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). n = strlen(argv[0])+1; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:156732:14: [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). nInput = strlen(zInput); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:158003:17: [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). int nCopy = strlen(zStr) + 1; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:158556: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(zMask)!=pIter->nTblCol ){ data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:159978:17: [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). int nTarget = strlen(zTarget); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:159979:14: [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). int nRbu = strlen(zRbu); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:159980:25: [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). int nState = zState ? strlen(zState) : 0; data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:160108:19: [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). int nErrmsg = strlen(p->zErrmsg); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:160666:15: [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). int n = strlen(zName); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:160692:23: [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). int nCopy = strlen(zName); data/libgda5-5.2.9/libgda/sqlite/sqlite-src/sqlite3.c:160926:11: [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). nName = strlen(zName); data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vprovider-data-model.c:536:6: [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). i = strlen (spec_name); data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vprovider-data-model.c:566:14: [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). int len = strlen (error->message) + 1; data/libgda5-5.2.9/libgda/sqlite/virtual/gda-vprovider-data-model.c:1202:9: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (equal) { data/libgda5-5.2.9/providers/bdb/gda-bdb-test.c:65:14: [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). key.size = strlen (key.data) + 1; data/libgda5-5.2.9/providers/bdb/gda-bdb-test.c:68:15: [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). data.size = strlen (data.data) + 1; data/libgda5-5.2.9/providers/firebird/gda-firebird-provider.c:422: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). len = strlen (fb_user); data/libgda5-5.2.9/providers/firebird/gda-firebird-provider.c:436: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). len = strlen (fb_password); data/libgda5-5.2.9/providers/firebird/gda-firebird-provider.c:450:33: [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). g_string_append_c (dpb_string, strlen ("UTF8")); data/libgda5-5.2.9/providers/firebird/gda-firebird-provider.c:469:42: [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 (isc_attach_database (status_vector, strlen (fb_conn), fb_conn, &handle, data/libgda5-5.2.9/providers/firebird/gda-firebird-provider.c:1560:22: [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). fbvar->sqllen = strlen (fbvar->sqldata); data/libgda5-5.2.9/providers/firebird/gda-firebird-provider.c:1729:21: [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). fbvar->sqllen = strlen (str); data/libgda5-5.2.9/providers/firebird/gen_def.c:140:41: [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). entry->key = malloc (sizeof (char) * (strlen (token) + 1)); data/libgda5-5.2.9/providers/firebird/gen_def.c:141: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). memcpy (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/providers/firebird/gen_def.c:153:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int read; data/libgda5-5.2.9/providers/firebird/gen_def.c:157:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end = buffer + read; data/libgda5-5.2.9/providers/firebird/gen_def.c:158:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read > 0) { data/libgda5-5.2.9/providers/firebird/gen_def.c:184:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end += read; data/libgda5-5.2.9/providers/jdbc/libmain.c:255:35: [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). write (pipes [1], string->str, strlen (string->str)); data/libgda5-5.2.9/providers/jdbc/libmain.c:268:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read(pipes[0], &buf, 1) > 0) data/libgda5-5.2.9/providers/ldap/gda-ldap-provider.c:556: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). cred.bv_len = pwd && *pwd ? strlen (pwd) : 0; data/libgda5-5.2.9/providers/ldap/gda-ldap-provider.c:686: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). cred.bv_len = pwd && *pwd ? strlen (pwd) : 0; data/libgda5-5.2.9/providers/ldap/gda-ldap-provider.c:1136:14: [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). ptr = cmd + strlen (cmde_name); data/libgda5-5.2.9/providers/ldap/gda-ldap-util.c:873:10: [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). len = strlen (str); data/libgda5-5.2.9/providers/ldap/gda-ldap-util.c:956:16: [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). bv->bv_len = strlen (cstr); data/libgda5-5.2.9/providers/ldap/gda-ldap-util.c:985:16: [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). bv->bv_len = strlen (str); data/libgda5-5.2.9/providers/ldap/gda-ldap-util.c:994:16: [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). bv->bv_len = strlen (str); data/libgda5-5.2.9/providers/ldap/gda-ldap-util.c:1010:16: [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). bv->bv_len = strlen (str); data/libgda5-5.2.9/providers/ldap/gdaprov-data-model-ldap.c:679:25: [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). retval = g_new (gchar, strlen (string) * 2 + 3); data/libgda5-5.2.9/providers/ldap/gdaprov-data-model-ldap.c:724: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). i = strlen (userdn) - strlen (imodel->priv->base_dn); data/libgda5-5.2.9/providers/ldap/gdaprov-data-model-ldap.c:724: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). i = strlen (userdn) - strlen (imodel->priv->base_dn); data/libgda5-5.2.9/providers/mdb/gda-mdb-provider.c:185:8: [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). len = strlen (name); data/libgda5-5.2.9/providers/mdb/gda-mdb-provider.c:256:36: [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). gint len = strlen (str); data/libgda5-5.2.9/providers/mdb/gda-mdb-provider.c:257:16: [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). gint elen = strlen (FILE_EXTENSION); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:44:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(date_fmt, fmt, 63); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:221:4: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(col->bind_ptr, ""); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:236: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). ret = strlen(col->bind_ptr); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:615:3: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(text, ""); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:641:4: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(text, ""); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:664:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(text, ""); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:685:3: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(text, ""); data/libgda5-5.2.9/providers/mdb/libmdb-src/data.c:709:10: [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). int n = strlen(buff); data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:82:19: [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 (!mdbpath || !strlen(mdbpath)) return NULL; data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:86:8: [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(dir[i])) continue; data/libgda5-5.2.9/providers/mdb/libmdb-src/file.c:271:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(mdb->f->fd,pg_buf,mdb->fmt->pg_size); data/libgda5-5.2.9/providers/mdb/libmdb-src/iconv.c:84:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(out_ptr, in_ptr, len_in); data/libgda5-5.2.9/providers/mdb/libmdb-src/iconv.c:116:34: [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). len_in = (slen) ? slen : strlen(in_ptr); data/libgda5-5.2.9/providers/mdb/libmdb-src/iconv.c:126:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(out_ptr, in_ptr, dlen); data/libgda5-5.2.9/providers/mdb/libmdb-src/index.c:172:13: [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). for (k=0;k<strlen(text);k++) { data/libgda5-5.2.9/providers/mdb/libmdb-src/index.c:178:7: [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). hash[strlen(text)]=0; data/libgda5-5.2.9/providers/mdb/libmdb-src/index.c:236:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(tmpbuf, &mdb->pg_buf[offset],255); data/libgda5-5.2.9/providers/mdb/libmdb-src/index.c:272:12: [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). c_len = strlen(buf); data/libgda5-5.2.9/providers/mdb/libmdb-src/like.c:59:14: [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). for(i=0;i<strlen(s)+1;i++) { data/libgda5-5.2.9/providers/mdb/libmdb-src/like.c:66:14: [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). for(i=0;i<strlen(r);i++) { data/libgda5-5.2.9/providers/mdb/libmdb-src/props.c:45:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(name, &kkd[pos], record_len); data/libgda5-5.2.9/providers/mdb/libmdb-src/props.c:95:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(props->name, &kkd[pos], name_len); data/libgda5-5.2.9/providers/mdb/libmdb-src/props.c:108:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(value, &kkd[pos + 8], dsize); data/libgda5-5.2.9/providers/mysql/gda-mysql-handler-bin.c:237:12: [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). gint n = strlen (sql); data/libgda5-5.2.9/providers/mysql/gda-mysql-handler-bin.c:270:12: [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). gint n = strlen (str); data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c:1845:43: [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 (mysql_stmt_prepare (mysql_stmt, sql, strlen (sql))) { data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c:1951:43: [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 (mysql_stmt_prepare (mysql_stmt, sql, strlen (sql))) { data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c:1992:58: [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). rc = gda_mysql_real_query_wrap (cnc, cdata->mysql, sql, strlen (sql)); data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c:2224:47: [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 (mysql_real_query (cdata->mysql, sql, strlen (sql))) { data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c:2556:41: [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). mysql_bind_param[i].buffer_length = strlen (str); data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c:2699:41: [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). mysql_bind_param[i].buffer_length = strlen (str); data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c:2765:58: [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 (mysql_stmt_prepare (ps->mysql_stmt, sql_for_empty, strlen (sql_for_empty))) { data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c:3001:15: [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). len = strlen (str); data/libgda5-5.2.9/providers/mysql/gda-mysql-provider.c:3057:17: [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). total = strlen (str); data/libgda5-5.2.9/providers/oracle/gda-oracle-meta.c:588:7: [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). strlen (fq_tblname), data/libgda5-5.2.9/providers/oracle/gda-oracle-meta.c:695:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (tmpname, strp, sizep); data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:398:40: [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). (ub4) strlen(sql), data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:585:41: [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). (ub4) strlen (tnsname ? tnsname : easy), data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:620:15: [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). (ub4) strlen (username), data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:638:16: [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). (ub4) strlen (password), data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:1730:13: [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). (ub4) strlen (sql), data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:1732:13: [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). (ub4) strlen (sql), data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:1989:14: [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). (sb4) strlen (real_pname ? real_pname : pname), data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:2065:13: [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). (sb4) strlen (real_pname ? real_pname : pname), data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:2450:15: [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). len = strlen (str); data/libgda5-5.2.9/providers/oracle/gda-oracle-provider.c:2507:17: [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). total = strlen (str); data/libgda5-5.2.9/providers/oracle/gda-oracle-util.c:401:29: [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). ora_value->defined_size = strlen (val_str); data/libgda5-5.2.9/providers/oracle/gda-oracle-util.c:469:29: [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). ora_value->defined_size = strlen (val_str); data/libgda5-5.2.9/providers/oracle/gen_def.c:140:41: [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). entry->key = malloc (sizeof (char) * (strlen (token) + 1)); data/libgda5-5.2.9/providers/oracle/gen_def.c:141: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). memcpy (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/providers/oracle/gen_def.c:153:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int read; data/libgda5-5.2.9/providers/oracle/gen_def.c:157:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end = buffer + read; data/libgda5-5.2.9/providers/oracle/gen_def.c:158:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read > 0) { data/libgda5-5.2.9/providers/oracle/gen_def.c:184:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end += read; data/libgda5-5.2.9/providers/postgres/gda-postgres-handler-bin.c:231:12: [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). gint i = strlen (sql); data/libgda5-5.2.9/providers/postgres/gda-postgres-provider.c:2651:15: [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). len = strlen (str); data/libgda5-5.2.9/providers/postgres/gda-postgres-provider.c:2707:17: [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). total = strlen (str); data/libgda5-5.2.9/providers/postgres/gda-postgres-recordset.c:709:11: [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). len = strlen (thevalue + 2); data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:140:41: [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). entry->key = malloc (sizeof (char) * (strlen (token) + 1)); data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:141: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). memcpy (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:153:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int read; data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:157:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end = buffer + read; data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:158:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read > 0) { data/libgda5-5.2.9/providers/reuseable/mysql/gen_def.c:184:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end += read; data/libgda5-5.2.9/providers/reuseable/postgres/gda-postgres-meta.c:1116:11: [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). len = strlen (cstr); data/libgda5-5.2.9/providers/reuseable/postgres/gda-postgres-meta.c:1222:11: [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). len = strlen (cstr); data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:140:41: [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). entry->key = malloc (sizeof (char) * (strlen (token) + 1)); data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:141: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). memcpy (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:153:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int read; data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:157:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end = buffer + read; data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:158:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read > 0) { data/libgda5-5.2.9/providers/reuseable/postgres/gen_def.c:184:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end += read; data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:145:41: [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). entry->key = malloc (sizeof (char) * (strlen (token) + 1)); data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:146: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). memcpy (entry->key, token, strlen (token) + 1); data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:158:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int read; data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:162:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end = buffer + read; data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:163:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read > 0) { data/libgda5-5.2.9/providers/skel-implementation/capi/gen_def.c:189:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). end += read; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:29442:7: [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). n = strlen(z) + 1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:32247:28: [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). return 0x3fffffff & (int)strlen(z); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:32259:24: [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). return pCol->zName + strlen(pCol->zName) + 1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:34758:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). { "read", (sqlite3_syscall_ptr)read, 0 }, data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:35276:12: [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). n = (int)strlen(zAbsoluteName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:37888:15: [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). for(ii=(int)strlen(zDirname); ii>0 && zDirname[ii]!='/'; ii--); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:38644:29: [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). nShmFilename = 6 + (int)strlen(zBasePath); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:39722:22: [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). nFilename = (int)strlen(zFilename) + 6; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40126:48: [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). assert( (flags & SQLITE_OPEN_URI) || zName[strlen(zName)+1]==0 ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40139:19: [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). assert( zName[strlen(zName)+1]==0 ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40598:3: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(microseconds); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40894:16: [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). dbLen = (int)strlen(dbPath); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:40915:14: [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). len = (int)strlen(lockPath); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41171:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(500000); /* wait 0.5 sec and try the lock again*/ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41197:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(10000000); /* wait 10 sec and try the lock again */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41346:39: [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). writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41477:18: [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). int len = (int)strlen(dbPath); /* Length of database filename - dbPath */ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41503:16: [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). assert( (int)strlen(conchPath) == len+7 ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41553:18: [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). assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41561:15: [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). int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41561:55: [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). int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:41565:13: [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). assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:119580:11: [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). assert( strlen(zBuf) < sizeof(zBuf)-1 ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:131785: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). assert( zAff==0 || (int)strlen(zAff)>=nEq ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151115:19: [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). nRet = 2 + (int)strlen(zInput)*2 + 1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151386:20: [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). nStr += (int)strlen(zCol) + 1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151397:22: [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). int n = (int)strlen(zCol)+1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151463:11: [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). assert( strlen(argv[0])==4 ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151468:14: [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). nDb = (int)strlen(argv[1]) + 1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151469:16: [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). nName = (int)strlen(argv[2]) + 1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151503: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). && strlen(z)>8 data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151538:17: [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(zVal)!=4 || sqlite3_strnicmp(zVal, "fts3", 4) ){ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151564:18: [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(zVal)!=3 || sqlite3_strnicmp(zVal, "asc", 3)) data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151565:18: [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). && (strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "desc", 4)) data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151603:24: [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). nString += (int)(strlen(z) + 1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151728:18: [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). int n = (int)strlen(p->azColumn[iCol]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:151731: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). if( zNot && n==(int)strlen(zNot) data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:156357:14: [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). nDb = (int)strlen(zDb); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:156361:18: [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). nDb = (int)strlen(zDb); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:156369:16: [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). nFts3 = (int)strlen(zFts3); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:157353:21: [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). int nStr = (int)strlen(zStr); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:157813:14: [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). n = (int)strlen(z); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:158239: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). if( nKey<=0 ) nKey = (int) strlen(z); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:158630:22: [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). c->nInput = (int)strlen(zInput); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159092:21: [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). *pnOut = i = (int)strlen(z); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159368:17: [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). zEnd = &zCopy[strlen(zCopy)]; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159378:68: [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). m = (sqlite3_tokenizer_module *)sqlite3Fts3HashFind(pHash,z,(int)strlen(z)+1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159786:21: [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). int i, n = (int)strlen(argv[1]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:159838:22: [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). c->nBytes = (int)strlen(pInput); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:160030:20: [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). int nName = (int)strlen(zName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:160068:22: [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). nByte += (int)(strlen(argv[i]) + 1); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:160077:22: [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). int n = (int)strlen(argv[i]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:166222:19: [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). int nStr = (int)strlen(zMatchinfo); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:166687:20: [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). nAppend = (int)strlen(zAppend); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:168031:18: [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). int n = (int)strlen(z); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:168083:25: [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). pCsr->nInput = (int)strlen(aInput); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:170287:36: [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). || (idxStr && (int)strlen(idxStr)==argc*2) ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172026:14: [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). nDb = (int)strlen(argv[1]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172027:16: [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). nName = (int)strlen(argv[2]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172126:18: [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). nCell = (int)strlen(zCell); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172135:20: [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). nCell = (int)strlen(zCell); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:172949: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). n = strlen(argv[0])+1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:173005:14: [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). nInput = strlen(zInput); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:174638:11: [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(zIn)>4 && memcmp("data", zIn, 4)==0 ){ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:174794:20: [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_t nCopy = strlen(zStr) + 1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:175358:14: [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( (int)strlen(zMask)!=pIter->nTblCol ){ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:176174:11: [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(p->zRbu)>=5 && 0==memcmp("file:", p->zRbu, 5) ){ data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:176259:15: [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). sz = (int)strlen(z)&0xffffff; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:177263: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_t nTarget = zTarget ? strlen(zTarget) : 0; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:177264:17: [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_t nRbu = strlen(zRbu); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:177468:22: [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_t nErrmsg = strlen(p->zErrmsg); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:178173:16: [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). int n = (int)strlen(zName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:178257:19: [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). nCopy = strlen(zBase); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:178500:11: [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). nName = strlen(zName); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:181463:51: [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). sessionAppendBlob(pBuf, (u8 *)pTab->zName, (int)strlen(pTab->zName)+1, pRc); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:183300:21: [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). nTab = (int)strlen(zTab); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:183623:23: [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). int nNew = (int)strlen(zNew); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:184179:20: [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). p->nUsed += (int)strlen(p->zBuf+p->nUsed); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:186025:44: [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). jsonAppendRaw(&x, p->zRoot, (int)strlen(p->zRoot)); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:189178:24: [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( n<0 ) n = (int)strlen(z); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:189830:19: [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). int nStr = (int)strlen(zStr); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190015:18: [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). nIn = (int)strlen(pIn); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190348:20: [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). int nEnum = (int)strlen(zEnum); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190380:19: [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). int nCmd = (int)strlen(zCmd); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190436:21: [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). int nArg = (int)strlen(zArg) + 1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:190566:18: [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). int nIn = (int)strlen(zIn); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:191894:45: [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). pExpr->pIndex, p->zTerm, (int)strlen(p->zTerm), data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:192731:14: [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). n = (int)strlen(z); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:192816:66: [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). rc = fts5ParseTokenize((void*)&sCtx, tflags, zTerm, (int)strlen(zTerm), data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:193301:19: [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). nByte += (int)strlen(pTerm->zTerm) * 2 + 3 + 2; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:193775:24: [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). int nTerm = (int)strlen(pTerm->zTerm); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:194095:32: [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). (int)strlen(fts5EntryKey(p))); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:194443:22: [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). int nTerm = (int)strlen(zKey); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:196392:54: [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). sqlite3Fts5BufferSet(&p->rc,&pIter->term, (int)strlen(zTerm), (u8*)zTerm); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:196472:55: [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). sqlite3Fts5BufferSet(&p->rc, &pIter->term, (int)strlen(zTerm), data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:196914:19: [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). n = (z ? (int)strlen((const char*)z) : 0); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:198961:44: [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). fts5WriteAppendTerm(p, &writer, (int)strlen(zTerm), (const u8*)zTerm); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:203405:18: [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). nName = (int)strlen(zName) + 1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:203443:16: [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). nName = (int)strlen(zName) + 1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:204003:21: [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). iOff = (int)strlen(zDefn); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:204006:24: [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). iOff += (int)strlen(&zDefn[iOff]); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205076:16: [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). int n = (int)strlen(z); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205413:13: [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). assert( strlen(p->zSuffix)==p->nSuffix ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:205414:13: [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). assert( strlen(p->zOutput)==p->nOutput ); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:206949:21: [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). bDb = (argc==6 && strlen(argv[1])==4 && memcmp("temp", argv[1], 4)==0); data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:206959:20: [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). int nDb = (int)strlen(zDb)+1; data/libgda5-5.2.9/providers/sqlcipher/sqlite3.c:206960:21: [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). int nTab = (int)strlen(zTab)+1; data/libgda5-5.2.9/providers/web/gda-web-provider.c:480:57: [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). MD5Update (&md5c, (unsigned char *) cdata->key, strlen (cdata->key)); data/libgda5-5.2.9/providers/web/gda-web-util.c:109: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). hmac_md5 ((uint8_t *) data, strlen (data), data/libgda5-5.2.9/providers/web/gda-web-util.c:110:22: [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). (uint8_t *) key, strlen (key), hmac); data/libgda5-5.2.9/providers/web/gda-web-util.c:159:29: [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). doc = xmlParseMemory (ptr, strlen (ptr)); data/libgda5-5.2.9/providers/web/gda-web-util.c:452:34: [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). hmac_md5 ((uint8_t *) message, strlen (message), data/libgda5-5.2.9/providers/web/gda-web-util.c:453:28: [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). (uint8_t *) hash_key, strlen (hash_key), hmac); data/libgda5-5.2.9/providers/web/gda-web-util.c:468:36: [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). SOUP_MEMORY_COPY, h_message, strlen (h_message)); data/libgda5-5.2.9/providers/web/gda-web-util.c:532:47: [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). hmac_md5 ((uint8_t *) cdata->next_challenge, strlen (cdata->next_challenge), data/libgda5-5.2.9/providers/web/gda-web-util.c:533:29: [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). (uint8_t *) cdata->key, strlen (cdata->key), hmac); data/libgda5-5.2.9/samples/BDB/access-custom.c:53:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy (m_key.color, "black", COLORSIZE); data/libgda5-5.2.9/samples/BDB/access-custom.c:69:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy (m_value.name, "blackhole", NAMESIZE); data/libgda5-5.2.9/samples/BDB/access-raw.c:107:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy (m_key.color, "black", COLORSIZE); data/libgda5-5.2.9/samples/BDB/access-raw.c:123:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy (m_value.name, "blackhole", NAMESIZE); data/libgda5-5.2.9/samples/BDB/fill.c:40:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (m_key.color, color, COLORSIZE); data/libgda5-5.2.9/samples/BDB/fill.c:43:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (m_value.name, name, NAMESIZE); data/libgda5-5.2.9/samples/CustomUIPlugin/custom-entry-password.c:214:41: [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 (((mgstr->priv->minlength > 0) && (strlen (str) >= mgstr->priv->minlength)) || data/libgda5-5.2.9/samples/DirDataModel/find-duplicates.c:96: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 (path) < strlen (dirname)) || data/libgda5-5.2.9/samples/DirDataModel/find-duplicates.c:96:25: [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 (path) < strlen (dirname)) || data/libgda5-5.2.9/samples/DirDataModel/find-duplicates.c:97:32: [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). strncmp (path, dirname, strlen (dirname))) { data/libgda5-5.2.9/testing/gda-provider-status.c:169:8: [1] (buffer) scanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. if (scanf ("%80s", buf) == -1) { data/libgda5-5.2.9/testing/gda-provider-status.c:184:8: [1] (buffer) scanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. if (scanf ("%80s", buf) == -1) { data/libgda5-5.2.9/testing/gda-test-blob.c:134:39: [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 (!insert_blob (cnc, 1, blob_data, strlen (blob_data), &error)) data/libgda5-5.2.9/testing/gda-test-blob.c:144:39: [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 (!insert_blob (cnc, 2, blob_data, strlen (blob_data), &error)) data/libgda5-5.2.9/testing/gda-test-blob.c:157:39: [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 (!update_blob (cnc, 1, blob_data, strlen (blob_data), &error)) data/libgda5-5.2.9/testing/gda-test-blob.c:169:46: [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 (!update_multiple_blobs (cnc, blob_data, strlen (blob_data), &error)) data/libgda5-5.2.9/tests/multi-threading/check_mutex.c:107:2: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep (100000); data/libgda5-5.2.9/tests/value-holders/common.c:239:8: [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). len = strlen (str); data/libgda5-5.2.9/tools/browser/auth-dialog.c:426:31: [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). file [strlen (file) - 4] = 0; data/libgda5-5.2.9/tools/browser/auth-dialog.c:429:31: [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). file [strlen (file) - 3] = 0; data/libgda5-5.2.9/tools/browser/auth-dialog.c:544: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). memmove (ptr, ptr2, strlen (ptr2) + 1); data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-column.c:328:88: [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). gtk_selection_data_set (data, gtk_selection_data_get_target (data), 8, (guchar*) str, strlen (str)); data/libgda5-5.2.9/tools/browser/canvas/browser-canvas-table.c:546:88: [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). gtk_selection_data_set (data, gtk_selection_data_get_target (data), 8, (guchar*) str, strlen (str)); data/libgda5-5.2.9/tools/browser/data-manager/data-favorite-selector.c:659:25: [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). 8, (guchar*) str, strlen (str)); data/libgda5-5.2.9/tools/browser/data-manager/data-widget.c:837:8: [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 (tmp) > 10) data/libgda5-5.2.9/tools/browser/ldap-browser/classes-view.c:147:6: [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). strlen (str)); data/libgda5-5.2.9/tools/browser/ldap-browser/filter-editor.c:269:11: [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). len = strlen (tmp); data/libgda5-5.2.9/tools/browser/ldap-browser/hierarchy-view.c:160:6: [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). strlen (str)); data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-classes-page.c:189:6: [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). strlen (str)); data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-entries-page.c:190:6: [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). strlen (str)); data/libgda5-5.2.9/tools/browser/ldap-browser/ldap-favorite-selector.c:640:25: [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). 8, (guchar*) str, strlen (str)); data/libgda5-5.2.9/tools/browser/mgr-favorites.c:319: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). len = strlen (sql); data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:301:19: [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). for (ptr = str + strlen (str) - 1; ptr > str; ptr--) { data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:343:45: [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 (gtk_text_iter_backward_chars (&start, strlen (ptr))) { data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:367:68: [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). compl = browser_connection_get_completions (bcnc, str, ptr - str, strlen (str)); data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:1074: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). len = strlen (text); data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:1448:21: [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). for (tmp2 = sql + (strlen (sql) - 1); data/libgda5-5.2.9/tools/browser/query-exec/query-editor.c:1833:48: [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 (!g_file_set_contents (filename, contents, strlen (contents), NULL)) data/libgda5-5.2.9/tools/browser/query-exec/query-favorite-selector.c:748:25: [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). 8, (guchar*) str, strlen (str)); data/libgda5-5.2.9/tools/browser/schema-browser/favorite-selector.c:389:22: [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). (guchar*) str, strlen (str)); data/libgda5-5.2.9/tools/browser/schema-browser/table-info.c:244:6: [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). strlen (str)); data/libgda5-5.2.9/tools/cmdtool/tool-command.c:261:12: [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). length = strlen (name); data/libgda5-5.2.9/tools/cmdtool/tool-command.c:266:52: [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 (!strncmp (command->name, name, MIN (length, strlen (command->name)))) { data/libgda5-5.2.9/tools/cmdtool/tool-command.c:325:12: [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). len = strlen (dup); data/libgda5-5.2.9/tools/cmdtool/tool-command.c:352:12: [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). len = strlen (dup); data/libgda5-5.2.9/tools/cmdtool/tool-command.c:477:8: [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). len = strlen (prefix); data/libgda5-5.2.9/tools/cmdtool/tool-input.c:67:14: [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). gint len = strlen (line); data/libgda5-5.2.9/tools/cmdtool/tool-output.c:232:12: [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 += strlen (cstr); data/libgda5-5.2.9/tools/cmdtool/tool-output.c:301:19: [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). colsize += strlen (tmp); data/libgda5-5.2.9/tools/cmdtool/tool-output.c:378:13: [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 += strlen (attr_names[i]); data/libgda5-5.2.9/tools/cmdtool/tool-output.c:405:13: [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 += strlen (attr_names[i]); data/libgda5-5.2.9/tools/cmdtool/tool-output.c:737:18: [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). length = strlen (str); data/libgda5-5.2.9/tools/command-exec.c:59:17: [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). total = strlen (str); data/libgda5-5.2.9/tools/command-exec.c:467:8: [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). str[strlen (str) - 2] = 0; data/libgda5-5.2.9/tools/command-exec.c:479: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). str[strlen (str) - 1] = 0; data/libgda5-5.2.9/tools/config-info.c:45:14: [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 = MIN (strlen (string->str), strlen (argvi)); data/libgda5-5.2.9/tools/config-info.c:45:36: [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 = MIN (strlen (string->str), strlen (argvi)); data/libgda5-5.2.9/tools/config-info.c:46:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (argvi, string->str, size); data/libgda5-5.2.9/tools/config-info.c:48:13: [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 (size < strlen (argvi)) data/libgda5-5.2.9/tools/config-info.c:49:28: [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). memset (argvi + size, 0, strlen (argvi) - size); data/libgda5-5.2.9/tools/config-info.c:453:8: [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). dsn [strlen (dsn) - 3] = 0; data/libgda5-5.2.9/tools/config-info.c:584:8: [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). dsn [strlen (dsn) - 3] = 0; data/libgda5-5.2.9/tools/gda-sql.c:660:24: [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 (res->u.txt->str [strlen (res->u.txt->str) - 1] != '\n') data/libgda5-5.2.9/tools/gda-sql.c:754: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). len = strlen (command); data/libgda5-5.2.9/tools/gda-sql.c:1011: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). len = strlen (prefix); data/libgda5-5.2.9/tools/gda-sql.c:1238:10: [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). file [strlen (file) - 4] = 0; data/libgda5-5.2.9/tools/gda-sql.c:1241:10: [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). file [strlen (file) - 3] = 0; data/libgda5-5.2.9/tools/gda-sql.c:1851:11: [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). length = strlen (str); data/libgda5-5.2.9/tools/gda-sql.c:2585:14: [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 (argv[0][strlen (argv[0]) - 1] != '\n') data/libgda5-5.2.9/tools/gda-sql.c:2783:8: [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). len = strlen (text); data/libgda5-5.2.9/tools/gda-sql.c:3339:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant character. strncpy (start_dir, "/", 2); data/libgda5-5.2.9/tools/gda-sql.c:3350:15: [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). gsize l = strlen (pw->pw_dir); data/libgda5-5.2.9/tools/gda-sql.c:3352:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant character. strncpy (start_dir, "/", 2); data/libgda5-5.2.9/tools/gda-sql.c:3354:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (start_dir, pw->pw_dir, l + 1); data/libgda5-5.2.9/tools/gda-sql.c:5950:7: [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). l = strlen (gstr) + 1; data/libgda5-5.2.9/tools/tools-favorites.c:253:7: [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 (str) == 7) data/libgda5-5.2.9/tools/web-server.c:590:38: [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). hmac_md5 ((uint8_t *) ts->string, strlen (ts->string), data/libgda5-5.2.9/tools/web-server.c:591:40: [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). (uint8_t *) server->priv->token, strlen (server->priv->token), hmac); data/libgda5-5.2.9/tools/web-server.c:757:7: [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). strlen ((gchar *) xmlBufferContent (buf))); data/libgda5-5.2.9/tools/web-server.c:2047:50: [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). buffer = soup_buffer_new_with_owner (contents, strlen ((gchar*)contents), contents, ANALYSIS SUMMARY: Hits = 1864 Lines analyzed = 759580 in approximately 21.90 seconds (34687 lines/second) Physical Source Lines of Code (SLOC) = 497459 Hits@level = [0] 816 [1] 535 [2] 1161 [3] 94 [4] 73 [5] 1 Hits@level+ = [0+] 2680 [1+] 1864 [2+] 1329 [3+] 168 [4+] 74 [5+] 1 Hits/KSLOC@level+ = [0+] 5.38738 [1+] 3.74704 [2+] 2.67158 [3+] 0.337716 [4+] 0.148756 [5+] 0.00201022 Dot directories skipped = 1 (--followdotdir overrides) Suppressed hits = 82 (use --neverignore to show them) 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.