cppcheck analysis of netsurf_2.7-1.dsc
- ./libcss-0.1.0/test/css21.c:165 [error] - Resource leak: fp
- ./libcss-0.1.0/test/lex.c:205 [error] - Resource leak: fp
- ./libcss-0.1.0/test/parse.c:142 [error] - Resource leak: fp
- ./libparserutils-0.1.0/test/inputstream.c:96 [error] - Resource leak: fp
- ./netsurf-2.7/amiga/context_menu.c:273 [error] - Invalid number of character (() when these macros are defined: 'WITH_NS_SVG;__amigaos4__'.
- ./netsurf-2.7/amiga/context_menu.c:273 [error] - Invalid number of character (() when these macros are defined: '__amigaos4__'.
- ./netsurf-2.7/amiga/download.c:228 [error] - Possible null pointer dereference: dw - otherwise it is redundant to check if dw is null at line 232
- ./netsurf-2.7/amiga/gui.c:2669 [error] - Invalid number of character (() when these macros are defined: ''.
- ./netsurf-2.7/amiga/gui.c:2669 [error] - Invalid number of character (() when these macros are defined: 'NS_AMIGA_CAIRO'.
- ./netsurf-2.7/amiga/gui.c:2669 [error] - Invalid number of character (() when these macros are defined: 'WITH_BMP'.
- ./netsurf-2.7/amiga/gui.c:2669 [error] - Invalid number of character (() when these macros are defined: '__amigaos4__'.
- ./netsurf-2.7/amiga/gui_options.c:237 [error] - Array 'nativebmopts[3]' index 3 out of bounds
- ./netsurf-2.7/amiga/save_complete.c:58 [error] - Memory leak: fullpath
- ./netsurf-2.7/atari/global_evnt.c:566 [error] - Null pointer dereference
- ./netsurf-2.7/atari/slider.c:33 [error] - Invalid number of character (() when these macros are defined: ''.
- ./netsurf-2.7/atari/verify_ssl.c:205 [error] - Uninitialized variable: tree
- ./netsurf-2.7/beos/beos_scaffolding.cpp:502 [error] - Memory leak: info
- ./netsurf-2.7/desktop/hotlist.c:101 [error] - Memory leak: norm_text
- ./netsurf-2.7/desktop/search.c:534 [error] - Memory leak: entry
- ./netsurf-2.7/desktop/search.c:590 [error] - Memory leak: entry
- ./netsurf-2.7/desktop/tree_url_node.c:471 [error] - Memory leak: norm_text
- ./netsurf-2.7/framebuffer/convert_image.c:162 [error] - Resource leak: f
- ./netsurf-2.7/gtk/download.c:331 [error] - Memory leak: domain
- ./netsurf-2.7/gtk/scaffolding.c:683 [error] - Dangerous usage of 'filename' (strncpy doesn't always 0-terminate it)
- ./netsurf-2.7/gtk/scaffolding.c:689 [error] - Dangerous usage of 'dirname' (strncpy doesn't always 0-terminate it)
- ./netsurf-2.7/monkey/dispatch.c:71 [error] - Common realloc mistake: "argv" nulled but not freed upon failure
- ./netsurf-2.7/render/box_construct.c:1532 [error] - Memory leak: row_height
- ./netsurf-2.7/render/form.c:617 [error] - Memory leak: charset
- ./netsurf-2.7/riscos/debugwin.c:376 [error] - Invalid number of character (() when these macros are defined: 'ENABLE_DEBUGWIN'.
- ./netsurf-2.7/riscos/download.c:434 [error] - Memory leak: filename
- ./netsurf-2.7/riscos/gui.c:308 [error] - Memory leak: resource_url
- ./netsurf-2.7/riscos/gui.c:1628 [error] - Memory leak: url
- ./netsurf-2.7/riscos/sslcert.c:267 [error] - Deallocating a deallocated pointer: sslcert_window
- ./netsurf-2.7/riscos/ucstables.c:482 [error] - Array 'localencodings[18]' index 117 out of bounds
- ./netsurf-2.7/riscos/ucstables.c:593 [error] - Array 'localencodings[18]' index 117 out of bounds
- ./netsurf-2.7/utils/base64.c:439 [error] - Memory leak: out
- ./netsurf-2.7/utils/container.c:725 [error] - Memory leak: themefile
- ./netsurf-2.7/utils/container.c:725 [error] - Memory leak: dirname
- ./netsurf-2.7/utils/filename.c:242 [error] - Possible null pointer dereference: prefix_start
- ./netsurf-2.7/utils/filepath.c:253 [error] - Common realloc mistake: "exp" 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 Sat, 23 Apr 2011 06:58:10 +0000, based on results by cppcheck 1.46