cppcheck analysis of db4.7_4.7.25-9.dsc
- ./btree/bt_rec.c:69 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:355 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:463 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:533 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:618 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:692 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:797 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:941 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1014 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1116 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1294 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1468 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1564 [error] - Uninitialized variable: argp
- ./db/crdel_rec.c:47 [error] - Uninitialized variable: argp
- ./db/crdel_rec.c:232 [error] - Uninitialized variable: argp
- ./db/crdel_rec.c:282 [error] - Uninitialized variable: argp
- ./db/db_rec.c:51 [error] - Uninitialized variable: argp
- ./db/db_rec.c:121 [error] - Uninitialized variable: argp
- ./db/db_rec.c:262 [error] - Uninitialized variable: argp
- ./db/db_rec.c:315 [error] - Uninitialized variable: argp
- ./db/db_rec.c:349 [error] - Uninitialized variable: argp
- ./db/db_rec.c:419 [error] - Uninitialized variable: argp
- ./db/db_rec.c:922 [error] - Uninitialized variable: file_dbp
- ./db/db_rec.c:1179 [error] - Uninitialized variable: argp
- ./db/db_rec.c:1536 [error] - Uninitialized variable: argp
- ./db/db_rec.c:1008 [error] - Uninitialized variable: argp
- ./examples_c/ex_mpool.c:128 [error] - Resource leak: fp
- ./examples_c/ex_mpool.c:142 [error] - Memory leak: p
- ./examples_c/ex_rep/base/rep_net.c:183 [possible error] - Memory leak: member
- ./examples_c/ex_thread.c:578 [error] - Resource leak: fp
- ./examples_c/getting_started/example_database_load.c:102 [possible error] - Memory leak: inventory_file
- ./examples_c/getting_started/example_database_load.c:102 [possible error] - Memory leak: vendor_file
- ./examples_cxx/EnvExample.cpp:106 [possible error] - Memory leak: dbenv
- ./examples_cxx/LockExample.cpp:191 [error] - Mismatching allocation and deallocation: locks
- ./examples_cxx/LockExample.cpp:237 [error] - Mismatching allocation and deallocation: locks
- ./examples_cxx/MpoolExample.cpp:129 [error] - Memory leak: p
- ./examples_cxx/TpcbExample.cpp:290 [possible error] - Memory leak: dbp
- ./examples_cxx/TpcbExample.cpp:483 [possible error] - Memory leak: adb
- ./examples_cxx/TpcbExample.cpp:490 [possible error] - Memory leak: bdb
- ./examples_cxx/TpcbExample.cpp:504 [possible error] - Memory leak: hdb
- ./examples_cxx/TpcbExample.cpp:497 [possible error] - Memory leak: tdb
- ./examples_cxx/wce_tpcb/TpcbExample.cpp:460 [error] - Uninitialized variable: acurs
- ./examples_cxx/wce_tpcb/TpcbExample.cpp:462 [error] - Uninitialized variable: bcurs
- ./fileops/fop_rec.c:80 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:81 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:142 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:143 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:182 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:255 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:371 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:86 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:195 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:338 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:435 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:541 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:660 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:854 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1020 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1098 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1241 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1411 [error] - Uninitialized variable: argp
- ./os/os_alloc.c:281 [error] - Memory leak: p
- ./os/os_alloc.c:355 [error] - Memory leak: p
- ./qam/qam_rec.c:71 [error] - Uninitialized variable: file_dbp
- ./qam/qam_rec.c:194 [error] - Uninitialized variable: file_dbp
- ./qam/qam_rec.c:334 [error] - Uninitialized variable: argp
- ./qam/qam_rec.c:444 [error] - Uninitialized variable: argp
- ./qam/qam_rec.c:560 [error] - Uninitialized variable: argp
- ./tcl/tcl_db.c:2598 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_db.c:2654 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_env.c:2222 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_env.c:2285 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_env.c:2337 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_seq.c:500 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./test/scr015/TestGetSetMethods.cpp:81 [possible error] - Memory leak: db_bt
- ./test/scr015/TestGetSetMethods.cpp:81 [possible error] - Memory leak: db_h
- ./test/scr015/TestGetSetMethods.cpp:81 [possible error] - Memory leak: db_re
- ./test/scr015/TestGetSetMethods.cpp:81 [possible error] - Memory leak: db_q
- ./test/scr015/TestLogc.cpp:95 [possible error] - Memory leak: db1
- ./test/scr015/TestLogc.cpp:95 [possible error] - Memory leak: db2
- ./test/scr015/TestSimpleAccess.cpp:61 [possible error] - Memory leak: db
- ./test/scr015/TestTruncate.cpp:78 [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