cppcheck analysis of mysql-gui-tools_5.0r14+openSUSE-2.1.dsc
- ./administrator/library/source/myx_admin_library.c:877 [error] - Memory leak: stack
- ./administrator/library/source/myx_backup.c:462 [error] - Memory leak: binlog_pos
- ./administrator/library/source/myx_backup.c:548 [error] - Memory leak: sql
- ./administrator/library/source/myx_backup.c:3014 [error] - Memory leak: drop_string
- ./administrator/library/source/myx_backup.c:3119 [error] - Memory leak: drop_string
- ./administrator/library/source/myx_process_mysql_cnf_file.c:835 [error] - Memory leak: noption
- ./administrator/library/source/myx_processlist.c:57 [error] - Mismatching allocation and deallocation: process_list
- ./administrator/library/source/myx_xml_gui_description.c:602 [error] - Memory leak: cur_version
- ./administrator/source/mac/PreferencePane/mahelper.old.c:106 [error] - Resource leak: nfile
- ./administrator/source/mac/PreferencePaneIM/mahelper.old.c:106 [error] - Resource leak: nfile
- ./administrator/source/mac/mahelper.c:153 [error] - Resource leak: nfile
- ./common/library/base-library/source/myx_catalogs.c:588 [error] - Memory leak: entities
- ./common/library/base-library/source/myx_library.c:1656 [error] - Memory leak: sql
- ./common/library/base-library/source/myx_shell.c:169 [error] - Memory leak: field_value
- ./common/library/base-library/source/myx_shell.c:83 [error] - Uninitialized variable: field
- ./common/library/generic-runtime/newt/dialogboxes.c:273 [error] - Common realloc mistake: "cbStates" nulled but not freed upon failure
- ./common/library/generic-runtime/newt/dialogboxes.c:265 [error] - Memory leak: cbStates
- ./common/library/generic-runtime/newt/test.c:163 [error] - Memory leak: enr2
- ./common/library/generic-runtime/newt/test.c:163 [error] - Memory leak: enr3
- ./common/library/generic-runtime/newt/test.c:163 [error] - Memory leak: scaleVal
- ./common/library/generic-runtime/newt/whiptail.c:151 [error] - Allocation with open, if doesn't release it.
- ./common/library/generic-runtime/source/myx_grt.c:1685 [error] - Memory leak: new_path
- ./common/library/generic-runtime/source/myx_grt_agent.cc:460 [error] - Possible null pointer dereference: client - otherwise it is redundant to check if client is null at line 462
- ./common/library/generic-runtime/source/myx_grt_java.c:459 [error] - Memory leak: runtimelib_filename
- ./common/library/generic-runtime/source/myx_grt_java.c:779 [error] - Memory leak: extends
- ./common/library/generic-runtime/source/myx_grt_java.c:1079 [error] - Memory leak: args
- ./common/library/generic-runtime/source/myx_grt_java.c:1307 [error] - Memory leak: method_name
- ./common/library/generic-runtime/source/myx_grt_lua.c:316 [error] - Memory leak: lua_function_table_name
- ./common/library/generic-runtime/source/myx_grt_lua_shell.c:3058 [error] - Memory leak: cmd
- ./common/library/generic-runtime/source/myx_grt_lua_shell.c:3216 [error] - Memory leak: preprocessed_cmd
- ./common/library/generic-runtime/source/myx_grt_module.c:618 [error] - Memory leak: params
- ./common/library/generic-runtime/source/myx_grt_php.c:121 [error] - Memory leak: p_class_name
- ./common/library/generic-runtime/source/myx_grt_php.c:351 [error] - Memory leak: method_name
- ./common/library/generic-runtime/source/myx_grt_php.c:1265 [error] - Memory leak: module_name
- ./common/library/generic-runtime/source/myx_grt_php.c:1262 [error] - Memory leak: extends
- ./common/library/generic-runtime/source/myx_grt_php.c:542 [error] - Uninitialized variable: c_str_id
- ./common/library/generic-runtime/source/myx_grt_python_shell.c:220 [error] - Memory leak: cmd
- ./common/library/generic-runtime/source/myx_grt_struct.c:904 [error] - Possible null pointer dereference: gstruct - otherwise it is redundant to check if gstruct is null at line 905
- ./common/library/generic-runtime/source/myx_grt_struct.c:1336 [error] - Memory leak: gstructs
- ./common/library/generic-runtime/source/myx_grt_struct.c:1422 [error] - Memory leak: gstructs
- ./common/library/generic-runtime/source/myx_grt_struct.c:1475 [error] - Memory leak: strlist
- ./common/library/generic-runtime/source/myx_grt_struct.c:2342 [error] - Memory leak: output
- ./common/library/generic-runtime/source/myx_grt_struct.c:2720 [error] - Memory leak: class_data_interface_filename
- ./common/library/generic-runtime/source/myx_grt_struct.c:2720 [error] - Memory leak: class_data_local_filename
- ./common/library/generic-runtime/source/myx_grt_struct.c:2720 [error] - Memory leak: class_data_global_filename
- ./common/library/generic-runtime/source/myx_grt_struct.c:2720 [error] - Memory leak: list_filename
- ./common/library/generic-runtime/source/myx_grt_struct.c:2720 [error] - Memory leak: hashmap_filename
- ./common/library/generic-runtime/source/myx_grt_struct.c:2900 [error] - Memory leak: class_data_interface_filename
- ./common/library/generic-runtime/source/myx_grt_struct.c:2900 [error] - Memory leak: class_data_local_filename
- ./common/library/generic-runtime/source/myx_grt_struct.c:2900 [error] - Memory leak: class_data_global_filename
- ./common/library/generic-runtime/source/myx_grt_value.c:4239 [error] - Memory leak: parent_path
- ./common/library/grt-modules/source/myx_grt_mysql_query.c:120 [error] - Memory leak: tmp_utf8
- ./common/library/grt-modules/source/myx_grt_mysql_query.c:221 [error] - Memory leak: field_value
- ./common/library/grt-modules/source/myx_grt_mysql_reveng.c:1814 [error] - Memory leak: sp_code
- ./common/library/grt-modules/source/myx_grt_mysql_transformation.c:99 [error] - Memory leak: sql
- ./common/library/grt-modules/source/myx_grt_mysql_transformation.c:152 [error] - Memory leak: sql
- ./common/library/grt-modules/source/myx_grt_mysql_transformation.c:408 [error] - Memory leak: quote_char
- ./common/library/grt-modules/source/myx_grt_mysql_transformation.c:1131 [error] - Memory leak: sql_commented_out
- ./common/library/grt-modules/source/myx_grt_mysql_transformation.c:1589 [error] - Memory leak: quote_char
- ./common/library/grt-modules/source/myx_grt_mysql_transformation.c:1675 [error] - Memory leak: quote_char
- ./common/library/grt-modules/source/myx_grt_mysql_transformation.c:1821 [error] - Memory leak: quote_char
- ./common/library/grt-modules/source/myx_grt_mysql_transformation.c:2462 [error] - Memory leak: cols
- ./common/library/sql-parser/source/myx_sql_parser.tab.cc:13861 [error] - Memory leak: yyptr
- ./common/library/testing/source/test_helpers.cpp:372 [error] - Resource leak: f
- ./common/library/testing/source/test_helpers.cpp:372 [error] - Memory leak: buffer
- ./common/library/utilities/source/myx_xml_util_functions.c:122 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./common/source/linux/MDispatcher.cc:159 [error] - Dereferenced iterator 'it' has been erased
- ./query-browser/library/source/myx_pdf.c:36 [error] - Memory leak: str
- ./query-browser/library/source/myx_script_viewer.c:176 [error] - Memory leak: script
- ./query-browser/library/tests/test_strip_sql/test_strip_sql.cpp:33 [error] - Resource leak: file
- ./query-browser/source/linux/gtksourceview/gtksourceview/gnu-regex/regcomp.c:2522 [error] - Uninitialized variable: symb_table
- ./query-browser/source/linux/gtksourceview/gtksourceview/gnu-regex/regexec.c:3109 [error] - Data is allocated but not initialized: dests_node
- ./query-browser/source/linux/gtksourceview/gtksourceview/gnu-regex/regexec.c:3504 [error] - Uninitialized variable: extra
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:17:13 +0000, based on results by cppcheck 1.46