cppcheck analysis of db4.6_4.6.21-15.dsc
- ./btree/bt_rec.c:68 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:356 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:472 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:545 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:633 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:710 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:818 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:962 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1033 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1142 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1325 [error] - Uninitialized variable: argp
- ./btree/bt_rec.c:1419 [error] - Uninitialized variable: argp
- ./db/crdel_rec.c:45 [error] - Uninitialized variable: argp
- ./db/crdel_rec.c:229 [error] - Uninitialized variable: argp
- ./db/crdel_rec.c:278 [error] - Uninitialized variable: argp
- ./db/db_rec.c:49 [error] - Uninitialized variable: argp
- ./db/db_rec.c:117 [error] - Uninitialized variable: argp
- ./db/db_rec.c:256 [error] - Uninitialized variable: argp
- ./db/db_rec.c:310 [error] - Uninitialized variable: argp
- ./db/db_rec.c:342 [error] - Uninitialized variable: argp
- ./db/db_rec.c:410 [error] - Uninitialized variable: argp
- ./db/db_rec.c:901 [error] - Uninitialized variable: argp
- ./db/db_rec.c:1035 [error] - Uninitialized variable: file_dbp
- ./db/db_rec.c:1106 [error] - Uninitialized variable: file_dbp
- ./db/db_rec.c:1357 [error] - Uninitialized variable: argp
- ./db/db_rec.c:1726 [error] - Uninitialized variable: argp
- ./db/db_rec.c:1190 [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/excxx_repquote/RepQuoteExample.cpp:378 [possible error] - Memory leak: dbp
- ./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:76 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:77 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:122 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:123 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:161 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:234 [error] - Uninitialized variable: argp
- ./fileops/fop_rec.c:350 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:85 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:195 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:335 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:431 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:540 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:665 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:876 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1061 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1137 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1278 [error] - Uninitialized variable: argp
- ./hash/hash_rec.c:1450 [error] - Uninitialized variable: argp
- ./os/os_alloc.c:274 [error] - Memory leak: p
- ./os/os_alloc.c:348 [error] - Memory leak: p
- ./qam/qam_rec.c:68 [error] - Uninitialized variable: file_dbp
- ./qam/qam_rec.c:189 [error] - Uninitialized variable: file_dbp
- ./qam/qam_rec.c:326 [error] - Uninitialized variable: argp
- ./qam/qam_rec.c:434 [error] - Uninitialized variable: argp
- ./qam/qam_rec.c:547 [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:2166 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_env.c:2229 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tcl/tcl_env.c:2281 [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