cppcheck analysis of gnat-gps_4.3-5.dsc
- ./common/expect/expWinSlaveDbg.c:543 [error] - Memory leak: proc
- ./common/expect/expWinSlaveDbg.c:598 [error] - Null pointer dereference
- ./examples/demo/matrix_handling/matrix_utils.c:23 [error] - Undefined behaviour: result is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./examples/demo/matrix_handling/matrix_utils.c:27 [error] - Undefined behaviour: result is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./kernel/src_info/sn/snsrc/db-2.7.7/btree/bt_rec.c:73 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/btree/bt_rec.c:165 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/btree/bt_rec.c:270 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/btree/bt_rec.c:540 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/btree/bt_rec.c:619 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/btree/bt_rec.c:685 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/btree/bt_rec.c:762 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/btree/bt_rec.c:829 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/db/db_rec.c:53 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/db/db_rec.c:127 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/db/db_rec.c:202 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/db/db_rec.c:355 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/db/db_rec.c:414 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/db/db_rec.c:527 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/db/db_rec.c:607 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/examples/ex_lock.c:132 [error] - Common realloc mistake: "locks" nulled but not freed upon failure
- ./kernel/src_info/sn/snsrc/db-2.7.7/examples/ex_mpool.c:134 [error] - Resource leak: fd
- ./kernel/src_info/sn/snsrc/db-2.7.7/examples/ex_thread.c:580 [error] - Resource leak: fp
- ./kernel/src_info/sn/snsrc/db-2.7.7/examples_cxx/LockExample.cpp:161 [error] - Mismatching allocation and deallocation: locks
- ./kernel/src_info/sn/snsrc/db-2.7.7/examples_cxx/LockExample.cpp:210 [error] - Mismatching allocation and deallocation: locks
- ./kernel/src_info/sn/snsrc/db-2.7.7/examples_cxx/MpoolExample.cpp:134 [error] - Resource leak: fd
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:95 [error] - Uninitialized variable: dbc
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:97 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:203 [error] - Uninitialized variable: dbc
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:205 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:392 [error] - Uninitialized variable: dbc
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:394 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:486 [error] - Uninitialized variable: dbc
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:499 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:609 [error] - Uninitialized variable: dbc
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:622 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:689 [error] - Uninitialized variable: dbc
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:691 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:781 [error] - Uninitialized variable: dbc
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:789 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:867 [error] - Uninitialized variable: dbc
- ./kernel/src_info/sn/snsrc/db-2.7.7/hash/hash_rec.c:876 [error] - Uninitialized variable: argp
- ./kernel/src_info/sn/snsrc/db-2.7.7/libdb_java/java_DbEnv.cpp:89 [error] - Allocation with malloc, memset doesn't release it.
- ./kernel/src_info/sn/snsrc/db-2.7.7/libdb_java/java_DbEnv.cpp:91 [error] - Allocation with malloc, memset doesn't release it.
- ./kernel/src_info/sn/snsrc/db-2.7.7/libdb_java/java_DbInfo.cpp:41 [error] - Allocation with malloc, memset doesn't release it.
- ./kernel/src_info/sn/snsrc/db-2.7.7/libdb_java/java_DbLsn.cpp:26 [error] - Allocation with malloc, memset doesn't release it.
- ./kernel/src_info/sn/snsrc/db-2.7.7/libdb_java/java_Dbt.cpp:32 [error] - Allocation with malloc, memset doesn't release it.
- ./kernel/src_info/sn/snsrc/db-2.7.7/libdb_java/java_util.cpp:394 [error] - Allocation with malloc, memset doesn't release it.
- ./kernel/src_info/sn/snsrc/db-2.7.7/lock/lock_deadlock.c:493 [error] - Undefined behaviour: msgbuf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./kernel/src_info/sn/snsrc/db-2.7.7/lock/lock_deadlock.c:496 [error] - Undefined behaviour: msgbuf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./kernel/src_info/sn/snsrc/db-2.7.7/log/log_get.c:148 [error] - Uninitialized variable: cnt
- ./kernel/src_info/sn/snsrc/snavigator/db/dbimp.c:346 [error] - Resource leak: fd
- ./kernel/src_info/sn/snsrc/snavigator/parsers/cpp/cpplib/cp_error.c:83 [error] - Null pointer dereference
- ./kernel/src_info/sn/snsrc/snavigator/parsers/cpp/cpplib/cp_maintest.c:104 [error] - Resource leak: input_files_fp
- ./kernel/src_info/sn/snsrc/snavigator/parsers/cpp/cpplib/token.c:102 [error] - Null pointer dereference
- ./kernel/src_info/sn/snsrc/snavigator/parsers/cpp/cpplib/token.c:141 [error] - Null pointer dereference
- ./kernel/src_info/sn/snsrc/snavigator/parsers/fortran/ftnchek.c:517 [error] - Resource leak: list_fp
- ./kernel/src_info/sn/snsrc/snavigator/parsers/fortran/ftnchek.c:517 [error] - Resource leak: include_fp
- ./kernel/src_info/sn/snsrc/snavigator/parsers/fortran/project.c:211 [error] - Uninitialized variable: clist
- ./kernel/src_info/sn/snsrc/snavigator/parsers/java/skeleton.c:286 [error] - Resource leak: include_fp
- ./kernel/src_info/sn/snsrc/snavigator/parsers/tcl/skeleton.c:278 [error] - Resource leak: include_fp
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:14:23 +0000, based on results by cppcheck 1.46