cppcheck analysis of cone_0.84-1.dsc
- ./cone/addressbook.C:958 [error] - instance of "sort" object destroyed immediately
- ./cone/addressbook.C:1915 [error] - instance of "sort" object destroyed immediately
- ./cone/addressbook.C:375 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./cone/configscreen.C:1234 [error] - instance of "sort" object destroyed immediately
- ./cone/curseshierarchy.C:562 [error] - instance of "sort" object destroyed immediately
- ./cone/filtereditscreen.C:419 [error] - Possible null pointer dereference: newButton - otherwise it is redundant to check if newButton is null at line 421
- ./cone/myfolder.C:2525 [error] - instance of "sort" object destroyed immediately
- ./cone/mymessage.C:869 [error] - instance of "sort" object destroyed immediately
- ./cone/myreadfolders.C:48 [error] - instance of "sort" object destroyed immediately
- ./cone/myserver.C:82 [error] - instance of "disconnect" object destroyed immediately
- ./cone/myserver.C:119 [error] - instance of "disconnect" object destroyed immediately
- ./cone/myserver.C:521 [error] - instance of "disconnect" object destroyed immediately
- ./cone/myserverlogincallback.C:72 [error] - instance of "callback" object destroyed immediately
- ./gpglib/options.c:26 [error] - Memory leak: s
- ./gpglib/options.c:37 [error] - Memory leak: s
- ./gpglib/testgpg.c:120 [error] - Resource leak: f
- ./ldapaddressbook/libldapsearch.c:259 [error] - Memory leak: kk
- ./liblock/lockdaemon.c:210 [error] - Resource leak: i
- ./liblock/lockdaemon.c:201 [error] - Allocation with open, if doesn't release it.
- ./libmail/fd.C:459 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/fd.C:629 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/fd.C:671 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/fd.C:686 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/fd.C:799 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/fd.C:373 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/fd.C:584 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/imap.H:180 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/imap.C:210 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/imap.C:683 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/imap.C:921 [error] - instance of "sort" object destroyed immediately
- ./libmail/imapacl.C:220 [error] - instance of "sort" object destroyed immediately
- ./libmail/imapacl.C:270 [error] - instance of "sort" object destroyed immediately
- ./libmail/imapacl.C:500 [error] - instance of "sort" object destroyed immediately
- ./libmail/imapacl.C:567 [error] - instance of "sort" object destroyed immediately
- ./libmail/maildirfolder.C:232 [error] - instance of "sort" object destroyed immediately
- ./libmail/mailtool.C:169 [error] - instance of "sort" object destroyed immediately
- ./libmail/mailtool.C:899 [error] - instance of "callback" object destroyed immediately
- ./libmail/nntp.C:402 [error] - instance of "sort" object destroyed immediately
- ./libmail/nntpchecknew.C:134 [error] - instance of "sort" object destroyed immediately
- ./libmail/nntplistactive.C:173 [error] - instance of "sort" object destroyed immediately
- ./libmail/nntpxover.C:28 [error] - instance of "sort" object destroyed immediately
- ./libmail/pop3.C:1302 [error] - Possible null pointer dereference: cn
- ./libmail/pop3.C:2184 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/pop3.C:2798 [error] - instance of "sort" object destroyed immediately
- ./libmail/smtp.C:888 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/tmpaccount.C:73 [error] - instance of "disconnect" object destroyed immediately
- ./libmail/tmpaccount.C:91 [error] - instance of "disconnect" object destroyed immediately
- ./maildir/autoresponse.c:174 [error] - Memory leak: p
- ./maildir/maildiraclt.c:502 [error] - Resource leak: fp
- ./maildir/maildirkeywords3.c:189 [error] - Memory leak: e.filename
- ./maildir/maildirnewshared2.c:155 [error] - Memory leak: c.hierarchy
- ./maildir/maildirpath.c:63 [error] - Memory leak: p
- ./maildir/maildirpath.c:127 [error] - Memory leak: p
- ./md5/md5_hash.c:30 [error] - Array 'md5buf[16]' index 16 out of bounds
- ./md5/md5_hash.c:31 [error] - Array 'md5buf[16]' index 17 out of bounds
- ./rfc1035/rfc1035qptr.c:121 [error] - Possible null pointer dereference: reply - otherwise it is redundant to check if reply is null at line 132
- ./rfc2045/rfc2045.c:1184 [error] - Memory leak: s
- ./rfc2045/rfc2045decode.c:20 [error] - Dangerous assignment - function parameter takes the address of a local auto-variable. Local auto-variables are reserved from the stack. And the stack is freed when the function ends. So the pointer to a local variable is invalid after the function ends.
- ./sha1/sha1_hash.c:30 [error] - Array 'sha1buf[20]' index 20 out of bounds
- ./sha1/sha256_hash.c:30 [error] - Array 'sha256buf[32]' index 32 out of bounds
- ./sha1/sha512_hash.c:29 [error] - Array 'sha512buf[64]' index 64 out of bounds
- ./sha1/sha512_hash.c:30 [error] - Array 'sha512buf[64]' index 65 out of bounds
- ./tcpd/libcouriergnutls.c:1599 [error] - Memory leak: ssl
- ./tcpd/tcpd.c:949 [error] - Memory leak: r
- ./tcpd/tcpd.c:1263 [error] - Memory leak: p
- ./tcpd/tlscache.c:425 [error] - Memory leak: buf
- ./unicode/utf7.c:184 [error] - Memory leak: buffer
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:13:11 +0000, based on results by cppcheck 1.46