cppcheck analysis of uim_1.5.7-1.dsc
- ./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/uim-fep.c:553 [possible error] - Memory leak: engine
- ./gtk/compose.c:760 [error] - Resource leak: fp
- ./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:522 [possible error] - Memory leak: cclass_native
- ./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.h:85 [possible error] - Memory leak: CandidateWindow::cList
- ./qt/candwin-qt.h:86 [possible error] - Memory leak: CandidateWindow::numLabel
- ./qt/chardict/chardict-bushuviewwidget.cpp:93 [possible error] - Memory leak: bushuLabel
- ./qt/chardict/chardict-bushuviewwidget.cpp:93 [possible error] - Memory leak: layout
- ./qt/chardict/chardict-qt.cpp:157 [possible error] - Memory leak: layout
- ./qt/chardict/chardict-qt.cpp:157 [possible error] - Memory leak: upperHLayout
- ./qt/chardict/chardict-unicodeviewwidget.cpp:241 [possible error] - Memory leak: unicodeBlockLabel
- ./qt/chardict/chardict-unicodeviewwidget.cpp:232 [possible error] - Memory leak: item
- ./qt/chardict/chardict-unicodeviewwidget.cpp:241 [possible error] - Memory leak: layout
- ./qt/immodule-quiminputcontext_compose.cpp:906 [error] - Resource leak: fp
- ./qt/immodule-subwindow.h:70 [possible error] - Memory leak: SubWindow::m_titleLabel
- ./qt/immodule-subwindow.h:71 [possible error] - Memory leak: SubWindow::m_contentsEdit
- ./qt/immodule-subwindow.h:73 [possible error] - Memory leak: SubWindow::m_hookTimer
- ./qt/pref-customwidgets.cpp:576 [possible error] - Memory leak: item
- ./qt/pref-customwidgets.cpp:882 [possible error] - Memory leak: vboxLayout
- ./qt/pref-customwidgets.h:181 [possible error] - Memory leak: CustomPathnameEdit::m_lineEdit
- ./qt/pref-customwidgets.h:182 [possible error] - Memory leak: CustomPathnameEdit::m_fileButton
- ./qt/pref-customwidgets.h:221 [possible error] - Memory leak: CustomOrderedListEdit::m_lineEdit
- ./qt/pref-customwidgets.h:222 [possible error] - Memory leak: CustomOrderedListEdit::m_editButton
- ./qt/pref-customwidgets.h:262 [possible error] - Memory leak: CustomKeyEdit::m_lineEdit
- ./qt/pref-customwidgets.h:263 [possible error] - Memory leak: CustomKeyEdit::m_editButton
- ./qt/pref-qt.cpp:185 [possible error] - Memory leak: mainVLayout
- ./qt/pref-qt.cpp:185 [possible error] - Memory leak: buttonHLayout
- ./qt/pref-qt.cpp:216 [possible error] - Memory leak: item
- ./qt/pref-qt.cpp:374 [possible error] - Memory leak: buttonHLayout
- ./qt/pref-qt.cpp:410 [possible error] - Memory leak: vLayout
- ./qt/pref-qt.cpp:565 [possible error] - Memory leak: label
- ./qt/pref-qt.cpp:579 [possible error] - Memory leak: label
- ./qt/pref-qt.cpp:593 [possible error] - Memory leak: label
- ./qt/pref-qt.cpp:608 [possible error] - Memory leak: label
- ./qt/pref-qt.cpp:622 [possible error] - Memory leak: label
- ./qt/pref-qt.cpp:635 [possible error] - Memory leak: label
- ./qt/switcher-qt.cpp:141 [possible error] - Memory leak: mainLayout
- ./qt/switcher-qt.cpp:276 [possible error] - Memory leak: item
- ./qt/switcher-qt.h:79 [possible error] - Memory leak: UimImSwitcher::listview
- ./qt/switcher-qt.h:80 [possible error] - Memory leak: UimImSwitcher::vbGroup
- ./qt/switcher-qt.h:81 [possible error] - Memory leak: UimImSwitcher::okButton
- ./qt/switcher-qt.h:82 [possible error] - Memory leak: UimImSwitcher::cancelButton
- ./qt/test/qedittest.cpp:63 [possible error] - Memory leak: l
- ./qt/toolbar-common-quimhelpertoolbar.h:81 [possible error] - Memory leak: QUimHelperToolbar::m_indicator
- ./qt/toolbar-common-quimhelpertoolbar.h:88 [possible error] - Memory leak: QUimHelperToolbar::m_contextMenu
- ./qt4/candwin/qt4.h:85 [possible error] - Memory leak: CandidateWindow::cList
- ./qt4/candwin/qt4.h:86 [possible error] - Memory leak: CandidateWindow::numLabel
- ./qt4/chardict/bushuviewwidget.cpp:95 [possible error] - Memory leak: leftVBox
- ./qt4/chardict/bushuviewwidget.cpp:95 [possible error] - Memory leak: layout
- ./qt4/chardict/qt4.cpp:158 [possible error] - Memory leak: layout
- ./qt4/chardict/qt4.cpp:158 [possible error] - Memory leak: upperHLayout
- ./qt4/chardict/unicodeviewwidget.cpp:247 [possible error] - Memory leak: leftVBox
- ./qt4/chardict/unicodeviewwidget.cpp:247 [possible error] - Memory leak: layout
- ./qt4/immodule/quiminputcontext_compose.cpp:927 [error] - Resource leak: fp
- ./qt4/immodule/subwindow.h:70 [possible error] - Memory leak: SubWindow::m_titleLabel
- ./qt4/immodule/subwindow.h:71 [possible error] - Memory leak: SubWindow::m_contentsEdit
- ./qt4/immodule/subwindow.h:73 [possible error] - Memory leak: SubWindow::m_hookTimer
- ./qt4/pref/customwidgets.cpp:895 [possible error] - Memory leak: vboxLayout
- ./qt4/pref/customwidgets.h:172 [possible error] - Memory leak: CustomPathnameEdit::m_lineEdit
- ./qt4/pref/customwidgets.h:173 [possible error] - Memory leak: CustomPathnameEdit::m_fileButton
- ./qt4/pref/customwidgets.h:212 [possible error] - Memory leak: CustomOrderedListEdit::m_lineEdit
- ./qt4/pref/customwidgets.h:213 [possible error] - Memory leak: CustomOrderedListEdit::m_editButton
- ./qt4/pref/customwidgets.h:254 [possible error] - Memory leak: CustomKeyEdit::m_lineEdit
- ./qt4/pref/customwidgets.h:255 [possible error] - Memory leak: CustomKeyEdit::m_editButton
- ./qt4/pref/qt4.cpp:183 [possible error] - Memory leak: mainVLayout
- ./qt4/pref/qt4.cpp:183 [possible error] - Memory leak: buttonHLayout
- ./qt4/pref/qt4.cpp:376 [possible error] - Memory leak: vLayout
- ./qt4/pref/qt4.cpp:412 [possible error] - Memory leak: vLayout
- ./qt4/pref/qt4.cpp:703 [possible error] - Memory leak: dlg
- ./qt4/switcher/qt4.cpp:150 [possible error] - Memory leak: mainLayout
- ./qt4/switcher/qt4.h:73 [possible error] - Memory leak: UimImSwitcher::listview
- ./qt4/switcher/qt4.h:74 [possible error] - Memory leak: UimImSwitcher::wholeButton
- ./qt4/switcher/qt4.h:75 [possible error] - Memory leak: UimImSwitcher::applicationButton
- ./qt4/switcher/qt4.h:76 [possible error] - Memory leak: UimImSwitcher::textButton
- ./qt4/switcher/qt4.h:77 [possible error] - Memory leak: UimImSwitcher::okButton
- ./qt4/switcher/qt4.h:78 [possible error] - Memory leak: UimImSwitcher::cancelButton
- ./qt4/toolbar/applet-kde4.h:58 [possible error] - Memory leak: UimApplet::m_toolbar
- ./qt4/toolbar/applet-kde4.h:59 [possible error] - Memory leak: UimApplet::m_proxy
- ./qt4/toolbar/applet-kde4.h:60 [possible error] - Memory leak: UimApplet::m_layout
- ./qt4/toolbar/applet-kde4.h:61 [possible error] - Memory leak: UimApplet::m_widget
- ./qt4/toolbar/common-quimhelpertoolbar.h:85 [possible error] - Memory leak: QUimHelperToolbar::m_indicator
- ./qt4/toolbar/common-quimhelpertoolbar.h:92 [possible error] - Memory leak: QUimHelperToolbar::m_contextMenu
- ./qt4/toolbar/common-quimhelpertoolbar.h:96 [possible error] - Memory leak: QUimHelperToolbar::m_layout
- ./qt4/toolbar/standalone-qt4.cpp:200 [possible error] - Memory leak: toolbar
- ./sigscheme/src/alloc.c:129 [error] - Uninitialized variable: p
- ./uim/uim-custom.c:842 [error] - Memory leak: value
- ./uim/uim-custom.c:1255 [error] - Resource leak: file
- ./uim/uim-scm-sigscheme.c:312 [error] - Uninitialized variable: c_str
- ./uim/wnnlib.c:934 [error] - Memory leak: kbufnew
- ./uim/wnnlib.c:934 [error] - Memory leak: dbufnew
- ./xim/compose.cpp:725 [error] - Resource leak: fp
- ./xim/helper.cpp:112 [possible error] - Memory leak: tmp
- ./xim/main.cpp:627 [possible error] - Memory leak: xs
- ./xim/ximserver.h:284 [possible error] - Memory leak: XimServer::mIMName
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 06:03:23 +0000, based on results by cppcheck 1.41-modif