cppcheck analysis of xnc_5.0.4-4.dsc
- ./src/au/au_lex.cxx:143 [possible error] - Array index out of bounds
- ./src/au/au_lex.cxx:144 [possible error] - Array index out of bounds
- ./src/au/au_lex.cxx:148 [possible error] - Array index out of bounds
- ./src/au/key.cxx:251 [error] - Memory leak: ak
- ./src/au/key.cxx:294 [error] - Uninitialized variable: ak
- ./src/helpers/data2c.cxx:105 [error] - Mismatching allocation and deallocation: buf
- ./src/ives/editor.cxx:1803 [error] - Mismatching allocation and deallocation: cutbuf
- ./src/ives/editor.cxx:1825 [error] - Mismatching allocation and deallocation: cutbuf
- ./src/ives/editor.cxx:2051 [error] - Mismatching allocation and deallocation: tmp
- ./src/ives/editor.cxx:146 [possible error] - Resource leak: fp1
- ./src/ives/editor.cxx:146 [possible error] - Resource leak: fp2
- ./src/ives/editor.cxx:185 [possible error] - Resource leak: fp1
- ./src/ives/editor.cxx:185 [possible error] - Resource leak: fp2
- ./src/ives/editor.cxx:185 [possible error] - Resource leak: fp3
- ./src/ives/xh_ives.cxx:181 [error] - Uninitialized variable: uid
- ./src/launch/lbutton.h:13 [possible error] - Memory leak: LaunchButton::launch
- ./src/launch/lbutton.h:14 [possible error] - Memory leak: LaunchButton::name
- ./src/launch/loadmenu.cxx:128 [error] - Uninitialized variable: x
- ./src/lib/filedir/apprentice.c:69 [error] - Memory leak: mfn
- ./src/lib/filedir/file.c:504 [possible error] - Resource leak: fd
- ./src/lib/image2/convert.cxx:92 [error] - Mismatching allocation and deallocation: redmap
- ./src/lib/image2/convert.cxx:93 [error] - Mismatching allocation and deallocation: greenmap
- ./src/lib/image2/convert.cxx:94 [error] - Mismatching allocation and deallocation: bluemap
- ./src/lib/image2/convert.cxx:116 [error] - Mismatching allocation and deallocation: pic8_buf
- ./src/lib/image2/image.cxx:690 [error] - Mismatching allocation and deallocation: imdata
- ./src/lib/image2/image.cxx:703 [error] - Mismatching allocation and deallocation: imdata
- ./src/lib/image2/image.cxx:718 [error] - Mismatching allocation and deallocation: imdata
- ./src/lib/image2/image.cxx:767 [error] - Mismatching allocation and deallocation: trans
- ./src/lib/image2/image.cxx:770 [error] - Mismatching allocation and deallocation: imdata
- ./src/lib/image2/sdl_image/IMG_xpm.c:114 [error] - Memory leak: hash
- ./src/lib/image2/sdl_image/IMG_xpm.c:118 [error] - Memory leak: hash.table
- ./src/lib/libpng/pngget.c:239 [error] - Invalid number of character (() when these macros are defined: 'PNG_INCH_CONVERSIONS'.
- ./src/lib/manage/xdndclass.cxx:703 [possible error] - Mismatching allocation and deallocation: DndManager::typelist
- ./src/lib/manage/xdndclass.cxx:719 [possible error] - Mismatching allocation and deallocation: DndManager::typelist
- ./src/lib/manage/xdndclass.cxx:733 [possible error] - Mismatching allocation and deallocation: DndManager::typelist
- ./src/lib/manage/xdndclass.h:174 [possible error] - Memory leak: DndManager::our_in_typelist
- ./src/lib/manage/xdndclass.cxx:319 [possible error] - Mismatching allocation and deallocation: DndManager::out_typelist
- ./src/lib/manage/xdndclass.cxx:665 [possible error] - Mismatching allocation and deallocation: DndManager::dnd_data
- ./src/lib/northgui/gui_menu.h:147 [possible error] - Mismatching allocation and deallocation: MenuBar::dx
- ./src/lib/northgui/gui_menu.h:147 [possible error] - Mismatching allocation and deallocation: MenuBar::tl
- ./src/lib/northgui/gui_menu.h:147 [possible error] - Mismatching allocation and deallocation: MenuBar::dl
- ./src/lib/northgui/filebrowser.h:14 [possible error] - Memory leak: FileBrowser::inp
- ./src/lib/northgui/filebrowser.h:14 [possible error] - Memory leak: FileBrowser::flt
- ./src/lib/northgui/filebrowser.h:15 [possible error] - Memory leak: FileBrowser::t1
- ./src/lib/northgui/filebrowser.h:15 [possible error] - Memory leak: FileBrowser::t2
- ./src/lib/northgui/filebrowser.h:16 [possible error] - Memory leak: FileBrowser::kok
- ./src/lib/northgui/filebrowser.h:16 [possible error] - Memory leak: FileBrowser::kcan
- ./src/lib/northgui/gui_menu.cxx:86 [possible error] - Mismatching allocation and deallocation: Menu::tl
- ./src/lib/northgui/gui_menu.cxx:87 [possible error] - Mismatching allocation and deallocation: Menu::action_len
- ./src/lib/northgui/gui_menu.cxx:88 [possible error] - Mismatching allocation and deallocation: Menu::action_len_x
- ./src/lib/northgui/gui_menu.cxx:544 [error] - Possible null pointer dereference: fillskin
- ./src/lib/northgui/imload.h:16 [possible error] - Mismatching allocation and deallocation: IMLoader::width
- ./src/lib/northgui/imload.h:16 [possible error] - Mismatching allocation and deallocation: IMLoader::hei
- ./src/lib/northgui/pager.h:40 [possible error] - Mismatching allocation and deallocation: Pager::omax
- ./src/lib/vfs/dfs.cxx:71 [error] - Mismatching allocation and deallocation: buf
- ./src/lib/vfs/dfs.cxx:85 [error] - Mismatching allocation and deallocation: buf
- ./src/lib/vfs/dfs.cxx:94 [error] - Mismatching allocation and deallocation: buf
- ./src/lib/vfs/dfs.cxx:101 [error] - Mismatching allocation and deallocation: buf
- ./src/lib/vfs/dfs.cxx:121 [error] - Mismatching allocation and deallocation: buf
- ./src/lib/vfs/dfs.cxx:133 [error] - Mismatching allocation and deallocation: buf
- ./src/lib/vfs/dfs.cxx:148 [error] - Mismatching allocation and deallocation: buf
- ./src/lib/vfs/ftplib/ftplib.c:399 [error] - Memory leak: lhost
- ./src/lib/vfs/ftplib/ftplib.c:1124 [possible error] - Resource leak: local
- ./src/lib/vfs/ftplib/ftplib.c:1641 [possible error] - Resource leak: local
- ./src/main.cxx:660 [error] - Mismatching allocation and deallocation: str
- ./src/man_page.cxx:83 [error] - Mismatching allocation and deallocation: buf
- ./src/man_page.cxx:88 [error] - Mismatching allocation and deallocation: buf2
- ./src/panel.cxx:1656 [possible error] - Memory leak: dub
- ./src/plugins/theme/themeparse.hxx:23 [possible error] - Memory leak: GuiRC::style
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:04:01 +0000, based on results by cppcheck 1.41-modif