cppcheck analysis of xwpe_1.5.30a-2.1.dsc
- ./WeExpArr.c:46 [error] - Common realloc mistake: "real_array" nulled but not freed upon failure
- ./WeSyntax.c:268 [error] - Resource leak: syntax_file
- ./WeSyntax.c:144 [error] - Memory leak: new_syntax.syntax_rule
- ./old/we_djgpp.c:660 [error] - Resource leak: fp
- ./we_block.c:809 [error] - Memory leak: tstr
- ./we_block.c:859 [error] - Memory leak: tstr
- ./we_debug.c:580 [error] - Common realloc mistake: "e_d_swtchs" nulled but not freed upon failure
- ./we_debug.c:581 [error] - Common realloc mistake: "e_d_nrwtchs" nulled but not freed upon failure
- ./we_debug.c:612 [error] - Common realloc mistake: "e_d_swtchs" nulled but not freed upon failure
- ./we_debug.c:613 [error] - Common realloc mistake: "e_d_nrwtchs" nulled but not freed upon failure
- ./we_debug.c:995 [error] - Common realloc mistake: "tmpstr" nulled but not freed upon failure
- ./we_debug.c:1012 [error] - Common realloc mistake: "tmpstr" nulled but not freed upon failure
- ./we_debug.c:1303 [error] - Common realloc mistake: "e_d_sbrpts" nulled but not freed upon failure
- ./we_debug.c:1304 [error] - Common realloc mistake: "e_d_ybrpts" nulled but not freed upon failure
- ./we_debug.c:1305 [error] - Common realloc mistake: "e_d_nrbrpts" nulled but not freed upon failure
- ./we_debug.c:1438 [error] - Common realloc mistake: "e_d_sbrpts" nulled but not freed upon failure
- ./we_debug.c:1439 [error] - Common realloc mistake: "e_d_ybrpts" nulled but not freed upon failure
- ./we_debug.c:1440 [error] - Common realloc mistake: "e_d_nrbrpts" nulled but not freed upon failure
- ./we_edit.c:2051 [error] - Memory leak: str
- ./we_edit.c:2157 [error] - Memory leak: fn
- ./we_fl_fkt.c:966 [error] - Common realloc mistake: "swtch" nulled but not freed upon failure
- ./we_fl_fkt.c:990 [error] - Common realloc mistake: "hdrs" nulled but not freed upon failure
- ./we_fl_fkt.c:1367 [error] - Common realloc mistake: "info_file" nulled but not freed upon failure
- ./we_fl_unix.c:1687 [error] - Common realloc mistake: "current_dir" nulled but not freed upon failure
- ./we_fl_unix.c:1747 [error] - Common realloc mistake: "adir" nulled but not freed upon failure
- ./we_fl_unix.c:1767 [error] - Common realloc mistake: "adir" nulled but not freed upon failure
- ./we_fl_unix.c:1789 [error] - Common realloc mistake: "adir" nulled but not freed upon failure
- ./we_fl_unix.c:1881 [error] - Memory leak: buf
- ./we_fl_unix.c:1881 [error] - Memory leak: tmp
- ./we_fl_unix.c:2809 [error] - Resource leak: fpo
- ./we_fl_unix.c:2816 [error] - Resource leak: fpn
- ./we_main.c:333 [error] - Common realloc mistake: "e_tmp_dir" nulled but not freed upon failure
- ./we_opt.c:1042 [error] - Common realloc mistake: "str_line" nulled but not freed upon failure
- ./we_prog.c:862 [error] - Possible null pointer dereference: p - otherwise it is redundant to check if p is null at line 863
- ./we_prog.c:481 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./we_prog.c:2064 [error] - Common realloc mistake: "e_arg" nulled but not freed upon failure
- ./we_prog.c:2067 [error] - Common realloc mistake: "arg" nulled but not freed upon failure
- ./we_prog.c:2084 [error] - Common realloc mistake: "e_arg" nulled but not freed upon failure
- ./we_prog.c:2087 [error] - Common realloc mistake: "arg" nulled but not freed upon failure
- ./we_prog.c:2131 [error] - Common realloc mistake: "tmpstr" nulled but not freed upon failure
- ./we_prog.c:2278 [error] - Common realloc mistake: "e_arg" nulled but not freed upon failure
- ./we_prog.c:2753 [error] - Common realloc mistake: "tmp" nulled but not freed upon failure
- ./we_prog.c:3052 [error] - Common realloc mistake: "wn" nulled but not freed upon failure
- ./we_prog.c:3053 [error] - Common realloc mistake: "wtxt" nulled but not freed upon failure
- ./we_prog.c:3044 [error] - The given size 1 is mismatching
- ./we_progn.c:1707 [error] - Common realloc mistake: "ifvekb" nulled but not freed upon failure
- ./we_progn.c:1708 [error] - Common realloc mistake: "ifvekr" nulled but not freed upon failure
- ./we_progn.c:1763 [error] - Common realloc mistake: "vkcb" nulled but not freed upon failure
- ./we_progn.c:1764 [error] - Common realloc mistake: "vkcs" nulled but not freed upon failure
- ./we_progn.c:1779 [error] - Common realloc mistake: "nvek" nulled but not freed upon failure
- ./we_progn.c:1851 [error] - Common realloc mistake: "nvek" nulled but not freed upon failure
- ./we_progn.c:1860 [error] - Common realloc mistake: "vkcb" nulled but not freed upon failure
- ./we_progn.c:1861 [error] - Common realloc mistake: "vkcs" nulled but not freed upon failure
- ./we_term.c:227 [error] - Common realloc mistake: "key_key" nulled but not freed upon failure
- ./we_unix.c:530 [error] - Common realloc mistake: "stmp" nulled but not freed upon failure
- ./we_unix.c:622 [error] - Common realloc mistake: "stmp" nulled but not freed upon failure
- ./we_wind.c:34 [error] - Common realloc mistake: "s" nulled but not freed upon failure
- ./we_wind.c:47 [error] - Common realloc mistake: "s" nulled but not freed upon failure
- ./we_wind.c:1333 [error] - Memory leak: fw
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:20:59 +0000, based on results by cppcheck 1.46