cppcheck analysis of tkrat_2.2cvs20100105-true-dfsg-5.dsc
- ./imap/src/c-client/imap4r1.c:852 [error] - Possible null pointer dereference: reply - otherwise it is redundant to check if reply is null at line 854
- ./imap/src/c-client/imap4r1.c:853 [error] - Possible null pointer dereference: reply - otherwise it is redundant to check if reply is null at line 854
- ./imap/src/c-client/mail.c:5202 [error] - Uninitialized variable: j
- ./imap/src/c-client/rfc822.c:249 [error] - Uninitialized variable: i
- ./imap/src/osdep/amiga/dummy.c:440 [error] - Resource leak: fd
- ./imap/src/osdep/amiga/dummy.c:165 [error] - Uninitialized variable: i
- ./imap/src/osdep/amiga/env_ami.c:872 [error] - Resource leak: j
- ./imap/src/osdep/amiga/mmdf.c:494 [error] - Deallocating a deallocated pointer: fd
- ./imap/src/osdep/amiga/tcp_ami.c:725 [error] - Uninitialized variable: he
- ./imap/src/osdep/amiga/unix.c:338 [error] - Deallocating a deallocated pointer: fd
- ./imap/src/osdep/dos/dummydos.c:396 [error] - Resource leak: fd
- ./imap/src/osdep/dos/tcp_wsk.c:718 [error] - Uninitialized variable: he
- ./imap/src/osdep/nt/dummynt.c:400 [error] - Resource leak: fd
- ./imap/src/osdep/nt/mbxnt.c:367 [error] - Resource leak: fd
- ./imap/src/osdep/nt/mbxnt.c:805 [error] - Resource leak: fd
- ./imap/src/osdep/nt/mtxnt.c:306 [error] - Resource leak: fd
- ./imap/src/osdep/nt/mtxnt.c:768 [error] - Resource leak: fd
- ./imap/src/osdep/nt/tenexnt.c:313 [error] - Resource leak: fd
- ./imap/src/osdep/nt/tenexnt.c:822 [error] - Resource leak: fd
- ./imap/src/osdep/nt/unixnt.c:326 [error] - Deallocating a deallocated pointer: fd
- ./imap/src/osdep/os2/dummyos2.c:407 [error] - Resource leak: fd
- ./imap/src/osdep/os2/mbxnt.c:367 [error] - Resource leak: fd
- ./imap/src/osdep/os2/mbxnt.c:805 [error] - Resource leak: fd
- ./imap/src/osdep/os2/mtxnt.c:306 [error] - Resource leak: fd
- ./imap/src/osdep/os2/mtxnt.c:768 [error] - Resource leak: fd
- ./imap/src/osdep/os2/tenexnt.c:313 [error] - Resource leak: fd
- ./imap/src/osdep/os2/tenexnt.c:822 [error] - Resource leak: fd
- ./imap/src/osdep/os2/unixnt.c:326 [error] - Deallocating a deallocated pointer: fd
- ./imap/src/osdep/tops-20/env_t20.c:138 [error] - Uninitialized variable: tmp
- ./imap/src/osdep/tops-20/env_t20.c:141 [error] - Uninitialized variable: tmp
- ./imap/src/osdep/tops-20/env_t20.c:146 [error] - Uninitialized variable: tmp
- ./imap/src/osdep/tops-20/env_t20.c:149 [error] - Uninitialized variable: tmp
- ./imap/src/osdep/tops-20/env_t20.c:169 [error] - Uninitialized variable: tmp
- ./imap/src/osdep/tops-20/env_t20.c:172 [error] - Uninitialized variable: tmp
- ./imap/src/osdep/tops-20/tcp_t20.c:78 [error] - Invalid number of character (() when these macros are defined: ''.
- ./imap/src/osdep/tops-20/tcp_t20.c:73 [error] - Uninitialized variable: tmp
- ./imap/src/osdep/tops-20/tcp_t20.c:77 [error] - Uninitialized variable: tmp
- ./imap/src/osdep/tops-20/tcp_t20.c:86 [error] - Uninitialized variable: tmp
- ./imap/src/osdep/unix/ckp_bsi.c:40 [error] - Uninitialized variable: lc
- ./imap/src/osdep/unix/dummy.c:440 [error] - Resource leak: fd
- ./imap/src/osdep/unix/dummy.c:165 [error] - Uninitialized variable: i
- ./imap/src/osdep/unix/mmdf.c:494 [error] - Deallocating a deallocated pointer: fd
- ./imap/src/osdep/unix/unix.c:338 [error] - Deallocating a deallocated pointer: fd
- ./imap/src/osdep/wce/tcp_wce.c:718 [error] - Uninitialized variable: he
- ./lib/ratCode.c:912 [error] - Array 'buf[3]' index 3 out of bounds
- ./lib/ratCode.c:925 [error] - Array 'buf[3]' index 3 out of bounds
- ./lib/ratDbFolder.c:135 [error] - Possible null pointer dereference: listPtr
- ./lib/ratDbase.c:736 [error] - Resource leak: fpIndexinfo
- ./lib/ratDbase.c:1592 [error] - Resource leak: messFp
- ./lib/ratDbase.c:1729 [error] - Resource leak: messFp
- ./lib/ratDbase.c:2160 [error] - Resource leak: indexFP
- ./lib/ratDbase.c:2919 [error] - Resource leak: fpNewIndex
- ./lib/ratPwCache.c:69 [error] - Common realloc mistake: "cSpec" nulled but not freed upon failure
- ./lib/ratPwCache.c:306 [error] - Memory leak: cSpec
- ./lib/ratPwCache.c:352 [error] - Memory leak: cSpec
- ./util/blt_busy.c:445 [error] - Memory leak: busyPtr
- ./util/blt_busy.c:445 [error] - Memory leak: procs
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:19:12 +0000, based on results by cppcheck 1.46