cppcheck analysis of mailutils_2.1+dfsg1-7.dsc
- ./comsat/comsat.c:432 [error] - Resource leak: fp
- ./guimb/main.c:43 [error] - Common realloc mistake: "g_argv" nulled but not freed upon failure
- ./imap4d/fetch.c:703 [error] - Memory leak: buffer
- ./imap4d/sync.c:192 [error] - Common realloc mistake: "uid_table" nulled but not freed upon failure
- ./lib/mu_umaxtostr.c:44 [error] - Common realloc mistake: "buffer_pool" nulled but not freed upon failure
- ./libmu_auth/radius.c:386 [error] - Memory leak: dir
- ./libmu_sieve/extensions/vacation.c:582 [error] - Memory leak: from
- ./libmu_sieve/sieve-gram.c:1321 [error] - Memory leak: mu_sieve_yyptr
- ./libproto/imap/folder.c:1418 [error] - Memory leak: buffer
- ./libproto/maildir/mbox.c:440 [error] - Resource leak: dir
- ./libproto/maildir/mbox.c:536 [error] - Resource leak: dir
- ./libproto/mbox/folder.c:516 [error] - Memory leak: resp.name
- ./libproto/mbox/folder.c:519 [error] - Uninitialized variable: status
- ./maidag/lmtp.c:591 [error] - Possible null pointer dereference: gidset - otherwise it is redundant to check if gidset is null at line 592
- ./maidag/script.c:100 [error] - Memory leak: scr
- ./mail/escape.c:225 [error] - Uninitialized variable: status
- ./mail/if.c:50 [error] - Common realloc mistake: "_cond_stack" nulled but not freed upon failure
- ./mail/send.c:104 [error] - instance of "add_header" object destroyed immediately
- ./mail/send.c:110 [error] - instance of "add_header" object destroyed immediately
- ./mail/send.c:130 [error] - instance of "add_header" object destroyed immediately
- ./mailbox/amd.c:1034 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./mailbox/cfg_parser.c:2505 [error] - Uninitialized variable: sign
- ./mailbox/cfg_parser.c:2514 [error] - Uninitialized variable: sign
- ./mailbox/cfg_parser.c:2524 [error] - Uninitialized variable: sign
- ./mailbox/cfg_parser.c:1400 [error] - Memory leak: mu_cfg_yyptr
- ./mailbox/file_stream.c:512 [error] - Resource leak: fd
- ./mailbox/filter_iconv.c:137 [error] - Uninitialized variable: rc
- ./mailbox/locker.c:785 [error] - Resource leak: fd
- ./mailbox/mailbox.c:733 [error] - Allocation with strdup, strncpy doesn't release it.
- ./mailbox/mbx_default.c:460 [error] - Memory leak: mbox
- ./mailbox/mutil.c:276 [error] - Memory leak: proto
- ./mailbox/mutil.c:1114 [error] - Memory leak: s1
- ./mailbox/mutil.c:1114 [error] - Memory leak: s2
- ./mh/comp.c:170 [error] - Memory leak: buffer
- ./mh/mh_alias_gram.c:1308 [error] - Memory leak: ali_yyptr
- ./mh/mh_ctx.c:43 [error] - Memory leak: ctx
- ./mh/mh_fmtgram.c:1323 [error] - Memory leak: fmt_yyptr
- ./mh/mh_format.c:1860 [error] - Common realloc mistake: "tmp" nulled but not freed upon failure
- ./mh/mh_init.c:588 [error] - Memory leak: buffer
- ./mh/mh_msgset.c:594 [error] - Possible null pointer dereference: list - otherwise it is redundant to check if list is null at line 595
- ./mh/mh_msgset.c:603 [error] - Possible null pointer dereference: list - otherwise it is redundant to check if list is null at line 604
- ./mh/mhn.c:2718 [error] - Memory leak: backup
- ./mh/pick-gram.c:1265 [error] - Memory leak: pick_yyptr
- ./mimeview/mimetypes-gram.c:1336 [error] - Memory leak: mimetypes_yyptr
- ./python/libmu_py/script.c:56 [error] - Resource leak: fp
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:16:55 +0000, based on results by cppcheck 1.46