cppcheck analysis of courier_0.63.0-2.1.dsc
- ./courier/libs/readfile.c:33 [error] - Deallocating a deallocated pointer: fp
- ./courier/module.fax/courierfax.c:479 [possible error] - Resource leak: fp
- ./courier/module.local/localmail.c:526 [error] - Resource leak: f
- ./courier/submit2.C:769 [possible error] - Resource leak: fp
- ./gpglib/testgpg.c:119 [error] - Resource leak: f
- ./imap/imapd.c:1806 [error] - Memory leak: p
- ./imap/pop3dserver.c:145 [error] - Resource leak: f
- ./imap/smap.c:462 [error] - Wrong assignment of an auto-variable to an effective parameter of a function
- ./liblock/lockdaemon.c:207 [error] - Resource leak: i
- ./maildir/maildiraclt.c:502 [error] - Resource leak: fp
- ./maildir/maildircache.c:430 [possible error] - Resource leak: fp
- ./maildir/maildirkeywords3.c:189 [error] - Memory leak: e.filename
- ./maildir/maildirnewshared2.c:155 [error] - Memory leak: c.hierarchy
- ./maildrop/mailbot.c:359 [error] - Memory leak: lockname
- ./maildrop/maildir.C:228 [error] - Mismatching allocation and deallocation: n
- ./maildrop/maildir.C:232 [error] - Mismatching allocation and deallocation: n
- ./maildrop/mio.C:18 [error] - Resource leak: rc
- ./makedat/makedatprog.c:127 [error] - Resource leak: i
- ./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
- ./pcp/pcpdir.c:1159 [error] - Resource leak: fp
- ./pcp/pcpnet.c:530 [error] - Resource leak: dirp
- ./rfc2045/rfc2045decode.c:20 [error] - Wrong assignment of an auto-variable to an effective parameter of a function
- ./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/tcpd.c:949 [error] - Memory leak: r
- ./tcpd/tcpd.c:1263 [error] - Memory leak: p
- ./tcpd/tlscache.c:425 [error] - Memory leak: buf
- ./webmail/addressbook.c:160 [error] - Resource leak: fp
- ./webmail/attachments.c:992 [error] - Deallocating a deallocated pointer: filenamemime
- ./webmail/attachments.c:994 [error] - Deallocating a deallocated pointer: filenamebuf
- ./webmail/maildir.c:2234 [possible error] - Memory leak: rec
- ./webmail/msg2html.c:64 [possible error] - Memory leak: buf
- ./webmail/pcp.c:2427 [error] - Deallocating a deallocated pointer: fp
- ./webmail/rfc2646html.c:645 [possible error] - Memory leak: p
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:46:46 +0000, based on results by cppcheck 1.41-modif