cppcheck analysis of drizzle_2010.09.1802-2.dsc
- ./client/drizzleslap.cc:371 [error] - Memory leak: OptionString::option
- ./drizzled/drizzled.cc:2387 [error] - Uninitialized variable: pos
- ./drizzled/field/varstring.cc:123 [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/lock.cc:602 [error] - Data is allocated but not initialized: sql_lock
- ./drizzled/message/statement_transform.cc:63 [style] - The iterator incrementing is suspicious - it is incremented at line 63 and then at line 58 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/module/loader.cc:992 [error] - Uninitialized variable: var
- ./drizzled/module/loader.cc:993 [error] - Uninitialized variable: pi
- ./drizzled/module/loader.cc:1094 [error] - Uninitialized variable: var
- ./drizzled/module/loader.cc:1095 [error] - Uninitialized variable: pivar
- ./drizzled/plugin/xa_resource_manager.cc:172 [error] - Memory leak: trans_list
- ./drizzled/sql_base.cc:674 [error] - Uninitialized variable: res
- ./drizzled/sql_table.cc:1598 [error] - Dangerous usage of 'buff' (strncpy doesn't always 0-terminate it)
- ./examples/pipe_query.c:111 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
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 Tue, 21 Dec 2010 18:58:03 +0000, based on results by cppcheck 1.46