cppcheck analysis of libgda4_4.0.12-2.dsc
- ./libgda/binreloc/binreloc.c:247 [error] - Common realloc mistake: "address_string" nulled but not freed upon failure
- ./libgda/gda-connection.c:869 [error] - Memory leak: real_auth_string
- ./libgda/gda-data-model-iter.c:621 [error] - Memory leak: null_oks
- ./libgda/gda-meta-struct-io.c:209 [error] - Memory leak: dbobj
- ./libgda/gda-meta-struct-io.c:323 [error] - Memory leak: ref_obj
- ./libgda/gda-xa-transaction.c:465 [error] - Uninitialized variable: cnc
- ./libgda/gda-xa-transaction.c:499 [error] - Uninitialized variable: cnc
- ./libgda/gda-xa-transaction.c:529 [error] - Uninitialized variable: cnc
- ./libgda/gda-xa-transaction.c:554 [error] - Uninitialized variable: cnc
- ./libgda/sql-parser/gen_def.c:86 [error] - Resource leak: fd_imposed
- ./libgda/sql-parser/gen_def.c:91 [error] - Resource leak: fd_parser
- ./libgda/sql-parser/lemon.c:1378 [error] - Common realloc mistake: "azDefine" nulled but not freed upon failure
- ./libgda/sql-parser/lemon.c:3212 [error] - Common realloc mistake: "z" nulled but not freed upon failure
- ./libgda/sql-parser/lemon.c:2340 [error] - Memory leak: sp
- ./libgda/sql-parser/lemon.c:2504 [error] - Resource leak: fp
- ./libgda/sql-parser/lemon.c:3077 [error] - Memory leak: tpltname
- ./libgda/sqlite/gen_emb_string.c:104 [error] - Resource leak: file
- ./libgda/sqlite/sqlite-src/sqlite3.c:59609 [error] - Possible null pointer dereference: pExpr
- ./libgda/sqlite/sqlite-src/sqlite3.c:59610 [error] - Possible null pointer dereference: pExpr
- ./libgda/sqlite/virtual/gda-vprovider-data-model.c:499 [error] - Memory leak: vtable
- ./libgda/sqlite/virtual/gda-vprovider-data-model.c:587 [error] - Memory leak: cursor
- ./providers/bdb/gda-bdb-provider.c:166 [error] - Memory leak: bdb_db
- ./providers/bdb/gda-bdb-provider.c:166 [error] - Memory leak: dirname
- ./providers/mdb/gda-mdb-provider.c:276 [error] - Mismatching allocation and deallocation: dup
- ./providers/mdb/gda-mdb-provider.c:295 [error] - Mismatching allocation and deallocation: dup
- ./providers/mdb/gda-mdb-provider.c:517 [error] - Mismatching allocation and deallocation: bound_len
- ./providers/mysql/gen_def.c:71 [error] - Resource leak: fd_imposed
- ./providers/postgres/gda-postgres-provider.c:2024 [error] - Memory leak: cursor_name
- ./providers/postgres/gen_def.c:71 [error] - Resource leak: fd_imposed
- ./providers/skel-implementation/capi/gen_def.c:71 [error] - Resource leak: fd_imposed
- ./tests/meta-store/common.c:111 [error] - Uninitialized variable: el
- ./tests/multi-threading/check_cnc_lock.c:109 [error] - Uninitialized variable: data
- ./tests/multi-threading/check_mutex.c:71 [error] - Uninitialized variable: data
- ./tests/providers/prov-test-util.c:435 [error] - Memory leak: tmp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 18 Feb 2011 06:58:10 +0000, based on results by cppcheck 1.46