cppcheck analysis of drizzle_2011.03.13-1.dsc
- ./client/option_string.h:107 [error] - Memory leak: OptionString::option
- ./drizzled/field/varstring.cc:119 [error] - Uninitialized variable: buff
- ./drizzled/internal/mf_format.cc:65 [error] - Dangerous usage of 'buff' (strncpy doesn't always 0-terminate it)
- ./drizzled/internal/my_symlink2.cc:60 [error] - Uninitialized variable: abs_linkname
- ./drizzled/message/statement_transform.cc:65 [style] - The iterator incrementing is suspicious - it is incremented at line 65 and then at line 60 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./drizzled/plugin/xa_resource_manager.cc:169 [error] - Memory leak: trans_list
- ./drizzled/sql_base.cc:511 [error] - Uninitialized variable: res
- ./drizzled/sql_table.cc:1587 [error] - Dangerous usage of 'buff' (strncpy doesn't always 0-terminate it)
- ./drizzled/statement/alter_table.cc:1456 [error] - Memory leak: copy
- ./examples/pipe_query.c:144 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./examples/simple_multi.c:66 [error] - Memory leak: con
- ./examples/simple_multi.c:66 [error] - Memory leak: result
- ./examples/simple_multi.c:66 [error] - Memory leak: ql
- ./examples/sqlite_server.c:368 [error] - Memory leak: sizes
- ./plugin/innobase/buf/buf0buddy.cc:192 [error] - Uninitialized variable: bpage
- ./plugin/innobase/dict/dict0dict.cc:855 [error] - Uninitialized variable: table2
- ./plugin/innobase/dict/dict0dict.cc:972 [error] - Uninitialized variable: table2
- ./plugin/innobase/fil/fil0fil.cc:423 [error] - Uninitialized variable: space
- ./plugin/innobase/fil/fil0fil.cc:446 [error] - Uninitialized variable: space
- ./plugin/innobase/ha/ha0storage.cc:68 [error] - Uninitialized variable: node
- ./plugin/innobase/handler/ha_innodb.cc:8297 [error] - Possible null pointer dereference: share - otherwise it is redundant to check if share is null at line 8300
- ./plugin/innobase/handler/ha_innodb.cc:8298 [error] - Possible null pointer dereference: share - otherwise it is redundant to check if share is null at line 8300
- ./plugin/innobase/handler/internal_dictionary.h:43 [error] - After push_back, the iterator 'iterator' may be invalid
- ./plugin/innobase/handler/ha_innodb.cc:8297 [error] - Uninitialized variable: share
- ./plugin/innobase/pars/pars0grm.cc:1842 [error] - Memory leak: yyptr
- ./plugin/innobase/thr/thr0loc.cc:243 [error] - Uninitialized variable: local
- ./plugin/innobase/trx/trx0i_s.cc:1006 [error] - Uninitialized variable: hash_chain
Note: this report is incomplete, which means that an error ocurred
while checking this package and not all of the code was analysed.
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, 01 Apr 2011 06:58:03 +0000, based on results by cppcheck 1.46