cppcheck analysis of uim_1.5.7-9.1.dsc
- ./emacs/uim-el-helper-agent.c:216 [error] - Common realloc mistake: "cmdbuf" nulled but not freed upon failure
- ./fep/callbacks.c:457 [error] - Common realloc mistake: "s_commit_str" nulled but not freed upon failure
- ./fep/callbacks.c:829 [error] - Common realloc mistake: "page_str" nulled but not freed upon failure
- ./fep/callbacks.c:857 [error] - Common realloc mistake: "page_str" nulled but not freed upon failure
- ./fep/callbacks.c:965 [error] - Undefined behaviour: s_index_str 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.
- ./fep/escseq.c:892 [error] - Common realloc mistake: "params" nulled but not freed upon failure
- ./fep/helper.c:215 [error] - Common realloc mistake: "message" nulled but not freed upon failure
- ./fep/read.c:125 [error] - Common realloc mistake: "s_unget_buf" nulled but not freed upon failure
- ./fep/uim-fep.c:553 [error] - Memory leak: engine
- ./gtk/compose.c:844 [error] - Common realloc mistake: "compose_dir_file" nulled but not freed upon failure
- ./gtk/compose.c:760 [error] - Resource leak: fp
- ./helper/candwin-gtk.c:710 [error] - Common realloc mistake: "read_buf" nulled but not freed upon failure
- ./helper/dict-canna-cclass.c:381 [error] - Memory leak: cclass_desc
- ./helper/dict-canna-cclass.c:396 [error] - Memory leak: cclass_code
- ./helper/dict-canna.c:122 [error] - Memory leak: username
- ./helper/dict-canna.c:324 [error] - Memory leak: dict.identifier
- ./helper/dict-canna.c:324 [error] - Memory leak: dict.charset
- ./helper/dict-word-win-gtk.c:489 [error] - Mismatching allocation and deallocation: word
- ./helper/im-switcher-gtk.c:179 [error] - Resource leak: fp
- ./qt/candwin-qt.cpp:360 [error] - Common realloc mistake: "read_buf" nulled but not freed upon failure
- ./qt/immodule-quiminputcontext_compose.cpp:968 [error] - Common realloc mistake: "compose_dir_file" nulled but not freed upon failure
- ./qt/immodule-quiminputcontext_compose.cpp:837 [error] - Memory leak: rhs_string_utf8
- ./qt/immodule-quiminputcontext_compose.cpp:906 [error] - Resource leak: fp
- ./qt4/candwin/qt4.cpp:361 [error] - Common realloc mistake: "read_buf" nulled but not freed upon failure
- ./qt4/immodule/quiminputcontext_compose.cpp:989 [error] - Common realloc mistake: "compose_dir_file" nulled but not freed upon failure
- ./qt4/immodule/quiminputcontext_compose.cpp:858 [error] - Memory leak: rhs_string_utf8
- ./qt4/immodule/quiminputcontext_compose.cpp:927 [error] - Resource leak: fp
- ./sigscheme/src/scmport-mbchar.c:247 [error] - Uninitialized variable: wbuf
- ./sigscheme/src/scmport-mbchar.c:251 [error] - Uninitialized variable: wbuf
- ./uim/scim.cpp:328 [error] - Memory leak: context
- ./uim/uim-custom.c:842 [error] - Memory leak: value
- ./uim/uim-custom.c:1255 [error] - Resource leak: file
- ./uim/wnnlib.c:2343 [error] - Possible null pointer dereference: buf - otherwise it is redundant to check if buf is null at line 2349
- ./xim/compose.cpp:784 [error] - Common realloc mistake: "compose_dir_file" nulled but not freed upon failure
- ./xim/compose.cpp:672 [error] - Memory leak: rhs_string_utf8
- ./xim/compose.cpp:725 [error] - Resource leak: fp
- ./xim/helper.cpp:110 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./xim/helper.cpp:121 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./xim/helper.cpp:131 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./xim/helper.cpp:112 [error] - Memory leak: tmp
- ./xim/locale.cpp:316 [error] - Common realloc mistake: "valid_locales" nulled but not freed upon failure
- ./xim/locale.cpp:335 [error] - Common realloc mistake: "test_locale" nulled but not freed upon failure
- ./xim/locale.cpp:344 [error] - Common realloc mistake: "valid_locales" nulled but not freed upon failure
- ./xim/main.cpp:448 [error] - Common realloc mistake: "supported_locales" nulled but not freed upon failure
- ./xim/ximserver.cpp:1068 [error] - Common realloc mistake: "state_label" nulled but not freed upon failure
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:19:32 +0000, based on results by cppcheck 1.46