cppcheck analysis of centerim_4.22.10-1.dsc
- ./connwrap/connwrap.c:70 [error] - Common realloc mistake: "socks" nulled but not freed upon failure
- ./connwrap/connwrap.c:128 [error] - Common realloc mistake: "socks" nulled but not freed upon failure
- ./firetalk/toc.c:2292 [error] - Memory leak: curgroup
- ./intl/localealias.c:303 [error] - Resource leak: fp
- ./kkconsui/src/conscommon.cc:283 [error] - Mismatching allocation and deallocation: us
- ./kkconsui/src/conscommon.cc:284 [error] - Mismatching allocation and deallocation: out_us
- ./kkconsui/src/conscommon.cc:285 [error] - Mismatching allocation and deallocation: outstring
- ./kkconsui/src/texteditor.cc:155 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./kkconsui/src/texteditor.cc:118 [error] - Mismatching allocation and deallocation: p
- ./kkconsui/src/texteditor.cc:136 [error] - Mismatching allocation and deallocation: buf
- ./kkconsui/src/texteditor.cc:184 [error] - Mismatching allocation and deallocation: buf
- ./kkconsui/src/texteditor.cc:192 [error] - Mismatching allocation and deallocation: buf
- ./kkconsui/src/texteditor.cc:537 [error] - Mismatching allocation and deallocation: buf
- ./kkconsui/src/texteditor.cc:588 [error] - Mismatching allocation and deallocation: sl
- ./kkconsui/src/texteditor.cc:587 [error] - Mismatching allocation and deallocation: el
- ./kkstrtext/kkstrtext.cc:631 [error] - After insert, the iterator 'i' may be invalid
- ./kksystr/src/kkiproc.cc:153 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./libgadu/libgadu.c:310 [error] - Memory leak: d.hostname
- ./libjabber/expat.c:146 [error] - Resource leak: fd
- ./libjabber/xmlparse.c:1368 [error] - Uninitialized variable: buf
- ./libmsn/msn/util.cpp:59 [style] - The iterator incrementing is suspicious - it is incremented at line 59 and then at line 55 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./libyahoo2/crypt.c:194 [error] - Mismatching allocation and deallocation: buffer
- ./libyahoo2/libyahoo2.c:492 [error] - Possible null pointer dereference: yd - otherwise it is redundant to check if yd is null at line 498
- ./libyahoo2/libyahoo2.c:493 [error] - Possible null pointer dereference: yd - otherwise it is redundant to check if yd is null at line 498
- ./libyahoo2/libyahoo2.c:494 [error] - Possible null pointer dereference: yd - otherwise it is redundant to check if yd is null at line 498
- ./libyahoo2/libyahoo2.c:496 [error] - Possible null pointer dereference: yd - otherwise it is redundant to check if yd is null at line 498
- ./libyahoo2/libyahoo2.c:3606 [error] - Possible null pointer dereference: ccd - otherwise it is redundant to check if ccd is null at line 3639
- ./libyahoo2/libyahoo2.c:4943 [error] - Possible null pointer dereference: sfd - otherwise it is redundant to check if sfd is null at line 4947
- ./libyahoo2/libyahoo2.c:4944 [error] - Possible null pointer dereference: sfd - otherwise it is redundant to check if sfd is null at line 4947
- ./libyahoo2/libyahoo2.c:4945 [error] - Possible null pointer dereference: sfd - otherwise it is redundant to check if sfd is null at line 4947
- ./libyahoo2/libyahoo2.c:4946 [error] - Possible null pointer dereference: sfd - otherwise it is redundant to check if sfd is null at line 4947
- ./libyahoo2/libyahoo2.c:1505 [error] - Memory leak: cur_group
- ./libyahoo2/libyahoo2.c:2252 [error] - Memory leak: data
- ./libyahoo2/libyahoo2.c:3164 [error] - Memory leak: data
- ./libyahoo2/libyahoo2.c:3938 [error] - Memory leak: yad
- ./libyahoo2/libyahoo2.c:4709 [error] - Memory leak: data
- ./libyahoo2/libyahoo2.c:607 [error] - Mismatching allocation and deallocation: value
- ./libyahoo2/yahoo_httplib.c:297 [error] - Possible null pointer dereference: ccd - otherwise it is redundant to check if ccd is null at line 299
- ./libyahoo2/yahoo_httplib.c:298 [error] - Possible null pointer dereference: ccd - otherwise it is redundant to check if ccd is null at line 299
- ./libyahoo2/yahoo_httplib.c:180 [error] - Common realloc mistake: "str" nulled but not freed upon failure
- ./libyahoo2/yahoo_httplib.c:220 [error] - Common realloc mistake: "str" nulled but not freed upon failure
- ./libyahoo2/yahoo_httplib.c:277 [error] - Common realloc mistake: "str" nulled but not freed upon failure
- ./libyahoo2/yahoo_httplib.c:220 [error] - Memory leak: str
- ./libyahoo2/yahoo_httplib.c:277 [error] - Memory leak: str
- ./src/hooks/gaduhook.cc:925 [error] - Uninitialized variable: tmpnam
- ./src/hooks/jabberhook.cc:128 [error] - Common realloc mistake: "out" nulled but not freed upon failure
- ./src/hooks/jabberhook.cc:134 [error] - Common realloc mistake: "out" nulled but not freed upon failure
- ./src/hooks/jabberhook.cc:143 [error] - Common realloc mistake: "out" nulled but not freed upon failure
- ./src/hooks/jabberhook.cc:156 [error] - Common realloc mistake: "out" 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 Mon, 20 Dec 2010 21:12:55 +0000, based on results by cppcheck 1.46