cppcheck analysis of mutt_1.5.20-9+squeeze1.dsc
- ./alias.c:248 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
- ./alias.c:249 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
- ./attach.c:103 [error] - Dangerous usage of 'command' (strncpy doesn't always 0-terminate it)
- ./attach.c:105 [error] - Dangerous usage of 'command' (strncpy doesn't always 0-terminate it)
- ./attach.c:237 [error] - Dangerous usage of 'command' (strncpy doesn't always 0-terminate it)
- ./attach.c:307 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
- ./attach.c:989 [error] - Dangerous usage of 'command' (strncpy doesn't always 0-terminate it)
- ./browser.c:525 [error] - Dangerous usage of 'path' (strncpy doesn't always 0-terminate it)
- ./browser.c:720 [error] - Dangerous usage of 'OldLastDir' (strncpy doesn't always 0-terminate it)
- ./buffy.c:205 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./color.c:530 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./commands.c:273 [error] - Dangerous usage of 'prompt' (strncpy doesn't always 0-terminate it)
- ./commands.c:275 [error] - Dangerous usage of 'prompt' (strncpy doesn't always 0-terminate it)
- ./commands.c:624 [error] - Uninitialized variable: errbuf
- ./commands.c:894 [error] - Dangerous usage of 'charset' (strncpy doesn't always 0-terminate it)
- ./commands.c:897 [error] - Dangerous usage of 'obuf' (strncpy doesn't always 0-terminate it)
- ./commands.c:923 [error] - Dangerous usage of 'obuf' (strncpy doesn't always 0-terminate it)
- ./commands.c:924 [error] - Dangerous usage of 'charset' (strncpy doesn't always 0-terminate it)
- ./complete.c:76 [error] - Dangerous usage of 'exp_dirpart' (strncpy doesn't always 0-terminate it)
- ./complete.c:78 [error] - Dangerous usage of 'exp_dirpart' (strncpy doesn't always 0-terminate it)
- ./complete.c:87 [error] - Dangerous usage of 'filepart' (strncpy doesn't always 0-terminate it)
- ./complete.c:90 [error] - Dangerous usage of 'filepart' (strncpy doesn't always 0-terminate it)
- ./complete.c:102 [error] - Dangerous usage of 'filepart' (strncpy doesn't always 0-terminate it)
- ./complete.c:108 [error] - Dangerous usage of 'filepart' (strncpy doesn't always 0-terminate it)
- ./complete.c:109 [error] - Dangerous usage of 'exp_dirpart' (strncpy doesn't always 0-terminate it)
- ./complete.c:118 [error] - Dangerous usage of 'filepart' (strncpy doesn't always 0-terminate it)
- ./complete.c:172 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./compose.c:217 [error] - Dangerous usage of 'pretty' (strncpy doesn't always 0-terminate it)
- ./crypt.c:801 [error] - Dangerous usage of 'major' (strncpy doesn't always 0-terminate it)
- ./crypt.c:802 [error] - Dangerous usage of 'major' (strncpy doesn't always 0-terminate it)
- ./curs_lib.c:519 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./handler.c:1248 [error] - Dangerous usage of 'command' (strncpy doesn't always 0-terminate it)
- ./hdrline.c:286 [error] - Dangerous usage of 'buf2' (strncpy doesn't always 0-terminate it)
- ./hdrline.c:302 [error] - Dangerous usage of 'buf2' (strncpy doesn't always 0-terminate it)
- ./hdrline.c:614 [error] - Dangerous usage of 'buf2' (strncpy doesn't always 0-terminate it)
- ./hook.c:105 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
- ./imap/auth_cram.c:152 [error] - Dangerous usage of 'secret' (strncpy doesn't always 0-terminate it)
- ./imap/auth_cram.c:156 [error] - Dangerous usage of 'secret' (strncpy doesn't always 0-terminate it)
- ./imap/auth_cram.c:160 [error] - Dangerous usage of 'secret' (strncpy doesn't always 0-terminate it)
- ./imap/browse.c:64 [error] - Dangerous usage of 'list_cmd' (strncpy doesn't always 0-terminate it)
- ./init.c:1557 [error] - Dangerous usage of 'path' (strncpy doesn't always 0-terminate it)
- ./keymap.c:154 [error] - Dangerous usage of 'buff' (strncpy doesn't always 0-terminate it)
- ./lib.c:553 [error] - Dangerous usage of 'parent' (strncpy doesn't always 0-terminate it)
- ./lib.c:555 [error] - Dangerous usage of 'parent' (strncpy doesn't always 0-terminate it)
- ./main.c:798 [error] - Dangerous usage of 'fpath' (strncpy doesn't always 0-terminate it)
- ./main.c:885 [error] - Dangerous usage of 'path' (strncpy doesn't always 0-terminate it)
- ./menu.c:731 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./mh.c:713 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./mh.c:1337 [error] - Dangerous usage of 'subdir' (strncpy doesn't always 0-terminate it)
- ./mh.c:1600 [error] - Dangerous usage of 'newpath' (strncpy doesn't always 0-terminate it)
- ./mh.c:1603 [error] - Dangerous usage of 'newpath' (strncpy doesn't always 0-terminate it)
- ./mh.c:2006 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./muttlib.c:73 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./muttlib.c:82 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
- ./muttlib.c:114 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
- ./mx.c:1083 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
- ./pager.c:1764 [error] - Dangerous usage of 'pager_progress_str' (strncpy doesn't always 0-terminate it)
- ./parse.c:760 [error] - Dangerous usage of 'scratch' (strncpy doesn't always 0-terminate it)
- ./parse.c:763 [error] - Dangerous usage of 'scratch' (strncpy doesn't always 0-terminate it)
- ./parse.c:1470 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
- ./pattern.c:1406 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./pgppubring.c:135 [error] - Dangerous usage of 'kring' (strncpy doesn't always 0-terminate it)
- ./pgppubring.c:139 [error] - Dangerous usage of 'pgppath' (strncpy doesn't always 0-terminate it)
- ./pop_lib.c:470 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./recvattach.c:255 [error] - Dangerous usage of 'path' (strncpy doesn't always 0-terminate it)
- ./recvattach.c:419 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./recvcmd.c:359 [error] - Dangerous usage of 'prefix' (strncpy doesn't always 0-terminate it)
- ./rfc1524.c:66 [error] - Dangerous usage of 'type' (strncpy doesn't always 0-terminate it)
- ./rfc1524.c:93 [error] - Dangerous usage of 'pvalue' (strncpy doesn't always 0-terminate it)
- ./rfc2231.c:278 [error] - Dangerous usage of 'attribute' (strncpy doesn't always 0-terminate it)
- ./sendlib.c:414 [error] - Dangerous usage of 'boundary' (strncpy doesn't always 0-terminate it)
- ./smime.c:154 [error] - Dangerous usage of 'path' (strncpy doesn't always 0-terminate it)
- ./sort.c:118 [error] - Dangerous usage of 'fa' (strncpy doesn't always 0-terminate it)
- ./sort.c:120 [error] - Dangerous usage of 'fa' (strncpy doesn't always 0-terminate it)
- ./sort.c:133 [error] - Dangerous usage of 'fa' (strncpy doesn't always 0-terminate it)
- ./sort.c:135 [error] - Dangerous usage of 'fa' (strncpy doesn't always 0-terminate it)
- ./status.c:101 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
- ./status.c:105 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sun, 16 Jan 2011 06:58:13 +0000, based on results by cppcheck 1.46