cppcheck analysis of cyrus-imapd-2.4_2.4.7-6.dsc
- ./imap/ctl_cyrusdb.c:207 [error] - Dangerous usage of 'backendbuf' (strncpy doesn't always 0-terminate it)
- ./imap/cyr_virusscan.c:341 [error] - Uninitialized variable: mboxname
- ./imap/fud.c:375 [error] - Uninitialized variable: mboxname
- ./imap/imap_proxy.c:140 [error] - Uninitialized variable: inbox
- ./imap/imapd.c:3040 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:3210 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:4784 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:4989 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:5182 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:5344 [error] - Uninitialized variable: oldextname
- ./imap/imapd.c:5347 [error] - Uninitialized variable: newextname
- ./imap/imapd.c:5743 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:6037 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:6118 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:6180 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:6276 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:6326 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:6448 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:6530 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:6868 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:7102 [error] - Uninitialized variable: inboxname
- ./imap/imapd.c:8053 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:8083 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:8387 [error] - Uninitialized variable: extname
- ./imap/imapd.c:8549 [error] - Uninitialized variable: extname
- ./imap/imapd.c:8659 [error] - Uninitialized variable: extname
- ./imap/imapd.c:8844 [error] - Uninitialized variable: extname
- ./imap/imapd.c:9767 [error] - Uninitialized variable: inboxname
- ./imap/imapd.c:9768 [error] - Uninitialized variable: inboxname
- ./imap/imapd.c:10443 [error] - Uninitialized variable: mailboxname
- ./imap/imapd.c:10907 [error] - Uninitialized variable: mailboxname
- ./imap/ipurge.c:253 [error] - Uninitialized variable: mboxname
- ./imap/lmtp_sieve.c:491 [error] - Uninitialized variable: namebuf
- ./imap/lmtpd.c:574 [error] - Uninitialized variable: namebuf
- ./imap/mbexamine.c:231 [error] - Uninitialized variable: ext_name_buf
- ./imap/mbexamine.c:384 [error] - Uninitialized variable: ext_name_buf
- ./imap/mboxlist.c:1878 [error] - Null pointer dereference
- ./imap/mboxlist.c:2017 [error] - Null pointer dereference
- ./imap/mboxlist.c:2629 [error] - Null pointer dereference
- ./imap/mboxlist.c:2772 [error] - Null pointer dereference
- ./imap/mboxlist.c:396 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./imap/pop3d.c:1700 [error] - Uninitialized variable: inboxname
- ./imap/squat_build.c:550 [error] - Resource leak: fd
- ./imap/squatter.c:540 [error] - Uninitialized variable: extname
- ./imap/sync_client.c:1789 [error] - Uninitialized variable: buf
- ./imap/sync_client.c:1841 [error] - Uninitialized variable: buf
- ./imap/sync_client.c:2205 [error] - Uninitialized variable: inboxname
- ./imap/sync_reset.c:155 [error] - Uninitialized variable: buf
- ./imap/sync_server.c:1561 [error] - Uninitialized variable: buf
- ./imap/sync_server.c:1623 [error] - Uninitialized variable: buf
- ./imap/sync_server.c:1883 [error] - Uninitialized variable: buf
- ./imap/user.c:345 [error] - Uninitialized variable: oldinbox
- ./imap/user.c:349 [error] - Uninitialized variable: newinbox
- ./imap/user.c:362 [error] - Uninitialized variable: oldinbox
- ./imap/user.c:363 [error] - Uninitialized variable: newinbox
- ./installsieve/installscript.c:298 [error] - Memory leak: saddr_l
- ./installsieve/installscript.c:298 [error] - Memory leak: saddr_r
- ./installsieve/isieve.c:151 [error] - Memory leak: saddr_l
- ./installsieve/isieve.c:151 [error] - Memory leak: saddr_r
- ./installsieve/request.c:289 [error] - Resource leak: stream
- ./installsieve/request.c:469 [error] - Memory leak: scrname
- ./lib/test/cyrusdb.c:93 [error] - Dereferencing 'key' after it is deallocated / released
- ./makedepend/parse.c:562 [error] - Possible null pointer dereference: file - otherwise it is redundant to check if file is null at line 564
- ./netnews/readconfig.c:504 [error] - Common realloc mistake: "Groups" nulled but not freed upon failure
- ./sieve/bc_eval.c:1168 [style] - Redundant assignment of "priority" in switch
- ./sieve/bc_eval.c:1217 [style] - Redundant assignment of "priority" in switch
- ./syslog/syslogd.c:491 [error] - Resource leak: fklog
- ./timsieved/parser.c:704 [error] - Uninitialized variable: inboxname
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sat, 16 Apr 2011 06:58:03 +0000, based on results by cppcheck 1.46