cppcheck analysis of db4.7_4.7.25-13.dsc
- ./btree/bt_compact.c:1980 [error] - Array index -1 is out of bounds
- ./btree/bt_delete.c:624 [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:281 [error] - Memory leak: p
- ./os/os_alloc.c:355 [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 Fri, 15 Apr 2011 06:58:04 +0000, based on results by cppcheck 1.46