cppcheck analysis of netsurf_2.1-2.1.dsc
- ./amiga/context_menu.c:125 [error] - Invalid number of character (() when these macros are defined: ''.
- ./amiga/context_menu.c:125 [error] - Invalid number of character (() when these macros are defined: 'WITH_NS_SVG'.
- ./amiga/download.c:195 [error] - Possible null pointer dereference: dw - otherwise it is redundant to check if dw is null at line 198
- ./beos/beos_about.cpp:145 [possible error] - Memory leak: alert
- ./beos/beos_gui.cpp:998 [possible error] - Memory leak: alert
- ./beos/beos_gui.cpp:1017 [possible error] - Memory leak: alert
- ./beos/beos_login.cpp:190 [possible error] - Memory leak: a
- ./beos/beos_login.cpp:60 [possible error] - Memory leak: LoginAlert::fUserControl
- ./beos/beos_login.cpp:61 [possible error] - Memory leak: LoginAlert::fPassControl
- ./beos/beos_plotters.cpp:946 [possible error] - Memory leak: win
- ./beos/beos_window.cpp:1685 [possible error] - Memory leak: cursor
- ./content/urldb.c:345 [error] - Resource leak: fp
- ./css/css.c:1545 [error] - Memory leak: source_data
- ./desktop/history_core.c:206 [possible error] - Memory leak: new_entry
- ./desktop/history_core.c:241 [error] - Memory leak: entry
- ./framebuffer/fb_convert_image.c:158 [possible error] - Resource leak: f
- ./framebuffer/fb_frontend_linuxfb.c:287 [error] - Resource leak: fp
- ./framebuffer/fb_frontend_sdl.c:89 [possible error] - Memory leak: newfb
- ./gtk/gtk_download.c:219 [error] - Memory leak: download
- ./render/box_construct.c:1899 [error] - Memory leak: row_height
- ./render/list.c:93 [error] - Memory leak: counter
- ./riscos/gui.c:1633 [error] - Memory leak: url
- ./riscos/gui/status_bar.c:125 [error] - Memory leak: sb
- ./riscos/ucstables.c:480 [error] - Array 'localencodings[18]' index 117 out of bounds
- ./riscos/ucstables.c:591 [error] - Array 'localencodings[18]' index 117 out of bounds
- ./utils/base64.c:439 [error] - Memory leak: out
- ./utils/container.c:580 [error] - Memory leak: themefile
- ./utils/container.c:580 [error] - Memory leak: dirname
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 05:59:12 +0000, based on results by cppcheck 1.41-modif