cppcheck analysis of db4.5_4.5.20-13.1.dsc
- ./btree/bt_compact.c:1972 [error] - Array index -1 is out of bounds
- ./btree/bt_delete.c:616 [error] - Array index -1 is out of bounds
- ./build_vxworks/db_hotbackup/db_hotbackup.c:99 [error] - Common realloc mistake: "data_dir" nulled but not freed upon failure
- ./db_hotbackup/db_hotbackup.c:84 [error] - Common realloc mistake: "data_dir" nulled but not freed upon failure
- ./examples_c/csv/code.c:161 [error] - Common realloc mistake: "fields" nulled but not freed upon failure
- ./examples_c/ex_lock.c:133 [error] - Common realloc mistake: "locks" nulled but not freed upon failure
- ./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:153 [error] - Memory leak: member
- ./examples_c/ex_thread.c:581 [error] - Resource leak: fp
- ./examples_c/getting_started/example_database_load.c:103 [error] - Memory leak: inventory_file
- ./examples_c/getting_started/example_database_load.c:103 [error] - Memory leak: vendor_file
- ./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
- ./os/os_alloc.c:275 [error] - Memory leak: p
- ./os/os_alloc.c:349 [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