cppcheck analysis of db4.6_4.6.21-15.dsc
- ./btree/bt_compact.c:1987 [error] - Array index -1 is out of bounds
- ./btree/bt_delete.c:621 [error] - Array index -1 is out of bounds
- ./examples_c/csv/code.c:160 [error] - Common realloc mistake: "fields" nulled but not freed upon failure
- ./examples_c/ex_lock.c:132 [error] - Common realloc mistake: "locks" nulled but not freed upon failure
- ./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:150 [error] - Memory leak: member
- ./examples_c/ex_thread.c:578 [error] - Resource leak: fp
- ./examples_c/getting_started/example_database_load.c:102 [error] - Memory leak: inventory_file
- ./examples_c/getting_started/example_database_load.c:102 [error] - Memory leak: vendor_file
- ./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/wce_tpcb/TpcbExample.cpp:460 [error] - Uninitialized variable: acurs
- ./examples_cxx/wce_tpcb/TpcbExample.cpp:462 [error] - Uninitialized variable: bcurs
- ./examples_cxx/wce_tpcb/TpcbExample.cpp:464 [error] - Uninitialized variable: tcurs
- ./os/os_alloc.c:274 [error] - Memory leak: p
- ./os/os_alloc.c:348 [error] - Memory leak: p
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:13:23 +0000, based on results by cppcheck 1.46