cppcheck analysis of db4.5_4.5.20-13.1.dsc
- ./btree/bt_rec.c:70 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:351 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:468 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:542 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:631 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:709 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:818 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:964 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1036 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1147 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1332 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1426 [error] - Uninitialized variable: argp
- ./db/crdel_rec.c:47 [error] - Uninitialized variable: argp
- ./db/crdel_rec.c:231 [error] - Uninitialized variable: argp
- ./db/crdel_rec.c:280 [error] - Uninitialized variable: argp
- ./db/db_rec.c:51 [error] - Uninitialized variable: argp
- ./db/db_rec.c:120 [error] - Uninitialized variable: argp
- ./db/db_rec.c:260 [error] - Uninitialized variable: argp
- ./db/db_rec.c:314 [error] - Uninitialized variable: argp
- ./db/db_rec.c:347 [error] - Uninitialized variable: argp
- ./db/db_rec.c:415 [error] - Uninitialized variable: argp
- ./db/db_rec.c:894 [error] - Uninitialized variable: argp
- ./db/db_rec.c:1030 [error] - Uninitialized variable: file_dbp
- ./db/db_rec.c:1101 [error] - Uninitialized variable: file_dbp
- ./db/db_rec.c:1350 [error] - Uninitialized variable: argp
- ./db/db_rec.c:1719 [error] - Uninitialized variable: argp
- ./db/db_rec.c:1186 [error] - Uninitialized variable: argp
- ./examples_c/ex_mpool.c:129 [error] - Resource leak: fp
- ./examples_c/ex_mpool.c:143 [error] - Memory leak: p
- ./examples_c/ex_rep/base/rep_net.c:186 [possible error] - Memory leak: member
- ./examples_c/ex_thread.c:581 [error] - Resource leak: fp
- ./examples_c/getting_started/example_database_load.c:103 [possible error] - Memory leak: inventory_file
- ./examples_c/getting_started/example_database_load.c:103 [possible error] - Memory leak: vendor_file
- ./examples_cxx/EnvExample.cpp:107 [possible error] - Memory leak: dbenv
- ./examples_cxx/LockExample.cpp:192 [error] - Mismatching allocation and deallocation: locks
- ./examples_cxx/LockExample.cpp:238 [error] - Mismatching allocation and deallocation: locks
- ./examples_cxx/MpoolExample.cpp:130 [error] - Memory leak: p
- ./examples_cxx/TpcbExample.cpp:291 [possible error] - Memory leak: dbp
- ./examples_cxx/TpcbExample.cpp:484 [possible error] - Memory leak: adb
- ./examples_cxx/TpcbExample.cpp:491 [possible error] - Memory leak: bdb
- ./examples_cxx/TpcbExample.cpp:505 [possible error] - Memory leak: hdb
- ./examples_cxx/TpcbExample.cpp:498 [possible error] - Memory leak: tdb
- ./examples_cxx/excxx_repquote/RepQuoteExample.cpp:382 [possible error] - Memory leak: dbp
- ./fileops/fop_rec.c:74 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:75 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:120 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:121 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:159 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:202 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:318 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:86 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:205 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:346 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:443 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:543 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:669 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:879 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1069 [error] - Uninitialized variable: dbc
- ./hash/hash_rec.c:1115 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1257 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1428 [error] - Uninitialized variable: argp
- ./os/os_alloc.c:275 [error] - Memory leak: p
- ./os/os_alloc.c:349 [error] - Memory leak: p
- ./qam/qam_rec.c:73 [error] - Uninitialized variable: file_dbp
- ./qam/qam_rec.c:194 [error] - Uninitialized variable: file_dbp
- ./qam/qam_rec.c:333 [error] - Uninitialized variable: argp
- ./qam/qam_rec.c:447 [error] - Uninitialized variable: argp
- ./qam/qam_rec.c:563 [error] - Uninitialized variable: argp
- ./tcl/tcl_db.c:2550 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_db.c:2606 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_env.c:2068 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_env.c:2131 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_env.c:2183 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_seq.c:501 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./test/scr015/TestGetSetMethods.cpp:82 [possible error] - Memory leak: db_bt
- ./test/scr015/TestGetSetMethods.cpp:82 [possible error] - Memory leak: db_h
- ./test/scr015/TestGetSetMethods.cpp:82 [possible error] - Memory leak: db_re
- ./test/scr015/TestGetSetMethods.cpp:82 [possible error] - Memory leak: db_q
- ./test/scr015/TestLogc.cpp:96 [possible error] - Memory leak: db1
- ./test/scr015/TestLogc.cpp:96 [possible error] - Memory leak: db2
- ./test/scr015/TestSimpleAccess.cpp:62 [possible error] - Memory leak: db
- ./test/scr015/TestTruncate.cpp:79 [possible error] - Memory leak: db
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:46:53 +0000, based on results by cppcheck 1.41-modif