2025-07-09 21:25 ftp://ftp.de.debian.org/debian/pool/main/m/maildrop/maildrop_3.1.8.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 586 601 elapsed-time: 2.2 2.3 head-timing-info: old-timing-info: head results: maildrop-3.1.8/libs/bdbobj/bdbobj2.c:22:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_FIRST [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/bdbobj/bdbobj2.c:62:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NEXT [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/bdbobj/bdbobj.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/gdbmobj/gdbmobj.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBM_READER [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/gdbmobj/gdbmobj.c:97:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBM_REPLACE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/lockfcntl.c:27:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/bdbobj/testbdb.C:92:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/lockflock.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/bdbobj/bdbobj.c:43:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] maildrop-3.1.8/libs/bdbobj/bdbobj.c:203:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/bdbobj/bdbobj.c:291:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/liblock/lockdaemon.c:107:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/lockdaemon.c:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/lockdaemon.c:200:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/lockdaemon.c:246:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/lockdaemon.c:281:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/lockdaemon.c:342:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/locktest.c:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/lockmail.c:55:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/lockmail.c:79:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/gdbmobj/testgdbm.C:93:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/locktest.c:53:3: error: Memory leak: name [memleak] maildrop-3.1.8/libs/liblock/locktest.c:65:3: error: Resource leak: f [resourceLeak] maildrop-3.1.8/libs/liblock/locktest.c:65:3: error: Memory leak: name [memleak] maildrop-3.1.8/libs/liblock/mail.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/mail.c:273:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/mail.c:306:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/mail.c:358:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/mail.c:464:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/mail.c:496:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/lockdaemon.c:206:14: error: Resource leak: i [resourceLeak] maildrop-3.1.8/libs/liblock/lockdaemon.c:209:2: error: Resource leak: i [resourceLeak] maildrop-3.1.8/libs/liblock/lockdaemon.c:211:14: error: Resource leak: i [resourceLeak] maildrop-3.1.8/libs/liblock/lockdaemon.c:212:2: error: Resource leak: i [resourceLeak] maildrop-3.1.8/libs/liblock/lockdaemon.c:218:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/bdbobj/bdbobj.h:76:6: style:inconclusive: Technically the member function 'BDbObj::IsOpen' can be const. [functionConst] maildrop-3.1.8/libs/maildir/loginexec.c:25:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/bdbobj/testbdb.C:21:21: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/bdbobj/testbdb.C:22:5: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/bdbobj/testbdb.C:49:16: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/bdbobj/testbdb.C:56:16: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/bdbobj/testbdb.C:57:14: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/bdbobj/testbdb.C:72:16: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/maildir/deliverquota.c:57:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/deliverquota.c:195:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/bdbobj/bdbobj.h:71:23: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/bdbobj/bdbobj.h:79:32: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/bdbobj/bdbobj.h:79:49: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/bdbobj/bdbobj.h:92:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/bdbobj/bdbobj.h:97:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/bdbobj/bdbobj.h:102:25: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/bdbobj/bdbobj.h:102:42: performance: Function parameter 'val' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/bdbobj/bdbobj.h:102:59: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/bdbobj/testbdb.C:6:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/autoresponse.c:164:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/autoresponse.c:242:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/autoresponse.c:290:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTORESPONSEQUOTA [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/autoresponse.c:423:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/gdbmobj/gdbmobj.h:62:6: style:inconclusive: Technically the member function 'GdbmObj::IsOpen' can be const. [functionConst] maildrop-3.1.8/libs/gdbmobj/testgdbm.C:22:21: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/gdbmobj/testgdbm.C:23:5: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/gdbmobj/testgdbm.C:50:16: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/gdbmobj/testgdbm.C:57:16: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/gdbmobj/testgdbm.C:58:14: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/gdbmobj/testgdbm.C:73:16: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/gdbmobj/gdbmobj.h:57:23: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/gdbmobj/gdbmobj.h:65:32: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/gdbmobj/gdbmobj.h:65:49: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/gdbmobj/gdbmobj.h:78:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/gdbmobj/gdbmobj.h:83:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/gdbmobj/gdbmobj.h:88:24: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/gdbmobj/gdbmobj.h:88:41: performance: Function parameter 'val' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/gdbmobj/gdbmobj.h:88:58: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/gdbmobj/testgdbm.C:7:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildiracl.c:104:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildiraclt.c:72:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildiraclt.c:215:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildiraclt.c:360:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildiraclt.c:397:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildiraclt.c:605:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildiraclt.c:729:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/liblock/mail.c:265:36: style:inconclusive: Function 'try_dotlock' argument 1 names different: declaration 'tmpfile' definition 'tmpname'. [funcArgNamesDifferent] maildrop-3.1.8/libs/liblock/mail.c:232:36: note: Function 'try_dotlock' argument 1 names different: declaration 'tmpfile' definition 'tmpname'. maildrop-3.1.8/libs/liblock/mail.c:265:36: note: Function 'try_dotlock' argument 1 names different: declaration 'tmpfile' definition 'tmpname'. maildrop-3.1.8/libs/liblock/mail.c:186:9: style: Local variable 'p' shadows outer argument [shadowArgument] maildrop-3.1.8/libs/liblock/mail.c:115:34: note: Shadowed declaration maildrop-3.1.8/libs/liblock/mail.c:186:9: note: Shadow variable maildrop-3.1.8/libs/liblock/mail.c:103:29: style: Parameter 'idbuf' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/liblock/mail.c:103:42: style: Parameter 'myidbuf' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildiracl.c:43:13: style: Parameter 'cb_arg' can be declared as pointer to const. However it seems that 'acl_list' is a callback function, if 'cb_arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/maildir/maildiracl.c:118:34: note: You might need to cast the function pointer here maildrop-3.1.8/libs/maildir/maildiracl.c:43:13: note: Parameter 'cb_arg' can be declared as pointer to const maildrop-3.1.8/libs/maildir/maildiracl.c:57:22: style: Variable 'ci' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildircache.c:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildircache.c:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildircache.c:285:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildircache.c:371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildircache.c:483:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildircache.c:602:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirdelfolder.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildircreate.c:69:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildircreate.c:85:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildircreate.c:252:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilename.c:62:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/autoresponse.c:74:18: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/autoresponse.c:192:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/autoresponse.c:318:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/autoresponse.c:356:59: style: Parameter 'setquota' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/autoresponse.c:357:45: style: Parameter 'newquota' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildircreate.c:46:3: error: Resource handle 'fd' freed twice. [doubleFree] maildrop-3.1.8/libs/maildir/maildircreate.c:42:5: note: Resource handle 'fd' freed twice. maildrop-3.1.8/libs/maildir/maildircreate.c:46:3: note: Resource handle 'fd' freed twice. maildrop-3.1.8/libs/maildir/maildirfilename.c:57:16: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirflags.c:18:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilter2.c:35:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAILDIRFILTERCONFIG [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilter2.c:62:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilter2.c:88:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilter2.c:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirgetnew.c:96:26: error: There is an unknown macro here somewhere. Configuration is required. If MDIRSEP is a macro then please configure it. [unknownMacro] maildrop-3.1.8/libs/maildir/maildirgetquota.c:37:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilter.c:227:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilter.c:665:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAILBOT [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilter.c:722:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilter.c:893:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilter.c:922:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirinfo2.c:69:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirinfo2.c:134:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unicode_x_imap_modutf7 [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirinfo2.c:146:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unicode_x_imap_modutf7 [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkeywords.c:49:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkeywords2.c:948:13: error: There is an unknown macro here somewhere. Configuration is required. If KEYWORDDIR is a macro then please configure it. [unknownMacro] maildrop-3.1.8/libs/maildir/maildirinfo.c:102:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirinfo.c:463:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirinfo.c:508:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unicode_x_smap_modutf8 [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirinfo.c:650:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkeywords.c:42:50: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildirkeywords.c:255:37: style: Parameter 'ke' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildirkeywords3.c:52:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkeywords3.c:65:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkeywords3.c:198:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkeywords4.cpp:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkeywords4.cpp:51:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildircache.c:199:21: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] maildrop-3.1.8/libs/maildir/maildircache.c:511:5: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] maildrop-3.1.8/libs/maildir/maildircache.c:91:37: style: Condition '*p==';'' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/maildir/maildircache.c:91:31: style: Same expression '*p==';'' found multiple times in chain of '||' operators. [duplicateExpression] maildrop-3.1.8/libs/maildir/maildircache.c:302:15: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildircache.c:286:7: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildircache.c:302:15: note: Shadow variable maildrop-3.1.8/libs/maildir/maildircache.c:555:22: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildircache.c:466:8: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildircache.c:555:22: note: Shadow variable maildrop-3.1.8/libs/maildir/maildirkeywords4.cpp:69:26: warning: 'operator=' should check for assignment to self to avoid problems with dynamic memory. [operatorEqToSelf] maildrop-3.1.8/libs/maildir/maildircache.c:111:15: style: Variable 'xdigit' can be declared as const array [constVariable] maildrop-3.1.8/libs/maildir/maildircache.c:150:7: style: Variable 'userid' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildircache.c:199:17: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildircache.c:468:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildircache.c:471:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildircache.c:569:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirkeywords4.cpp:89:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] maildrop-3.1.8/libs/maildir/maildirkeywords4.cpp:138:60: performance: Function parameter 'flagName' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/maildir/maildirkeywords4.cpp:152:51: performance: Function parameter 's' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/maildir/maildirkeywords4.cpp:163:18: performance: Function parameter 'keywords' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/maildir/maildirkeywords3.c:297:48: style:inconclusive: Function 'g_getMessageFilename' argument 1 names different: declaration 'n' definition 'indexNum'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirkeywords3.c:138:48: note: Function 'g_getMessageFilename' argument 1 names different: declaration 'n' definition 'indexNum'. maildrop-3.1.8/libs/maildir/maildirkeywords3.c:297:48: note: Function 'g_getMessageFilename' argument 1 names different: declaration 'n' definition 'indexNum'. maildrop-3.1.8/libs/maildir/maildirkeywords3.c:317:37: style:inconclusive: Function 'g_updateKeywords' argument 1 names different: declaration 'n' definition 'indexNum'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirkeywords3.c:142:37: note: Function 'g_updateKeywords' argument 1 names different: declaration 'n' definition 'indexNum'. maildrop-3.1.8/libs/maildir/maildirkeywords3.c:317:37: note: Function 'g_updateKeywords' argument 1 names different: declaration 'n' definition 'indexNum'. maildrop-3.1.8/libs/maildir/maildirkeywords3.c:242:28: style: Variable 'g' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildiraclt.c:500:17: style: Redundant condition: The condition '*p' is redundant since '*p == ' '' is sufficient. [redundantCondition] maildrop-3.1.8/libs/maildir/maildiraclt.c:579:43: style: Condition 'maildir_aclt_list_del(aclt_list,n)<0' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/maildir/maildiraclt.c:579:28: note: Calling function 'maildir_aclt_list_del' returns 0 maildrop-3.1.8/libs/maildir/maildiraclt.c:579:43: note: Condition 'maildir_aclt_list_del(aclt_list,n)<0' is always false maildrop-3.1.8/libs/maildir/maildiraclt.c:1106:45: style: Condition 'maildir_aclt_del(aclt,NULL,&p->acl)<0' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/maildir/maildiraclt.c:1106:23: note: Calling function 'maildir_aclt_del' returns 0 maildrop-3.1.8/libs/maildir/maildiraclt.c:1106:45: note: Condition 'maildir_aclt_del(aclt,NULL,&p->acl)<0' is always false maildrop-3.1.8/libs/maildir/maildiraclt.c:466:4: error: Memory leak: q [memleak] maildrop-3.1.8/libs/maildir/maildiraclt.c:489:9: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildiraclt.c:395:8: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildiraclt.c:489:9: note: Shadow variable maildrop-3.1.8/libs/maildir/maildiraclt.c:652:45: style: Parameter 'void_arg' can be declared as pointer to const. However it seems that 'is_owner' is a callback function, if 'void_arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/maildir/maildiraclt.c:761:57: note: You might need to cast the function pointer here maildrop-3.1.8/libs/maildir/maildiraclt.c:652:45: note: Parameter 'void_arg' can be declared as pointer to const maildrop-3.1.8/libs/maildir/maildiraclt.c:660:45: style: Parameter 'void_arg' can be declared as pointer to const. However it seems that 'is_admin' is a callback function, if 'void_arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/maildir/maildiraclt.c:776:47: note: You might need to cast the function pointer here maildrop-3.1.8/libs/maildir/maildiraclt.c:660:45: note: Parameter 'void_arg' can be declared as pointer to const maildrop-3.1.8/libs/maildir/maildiraclt.c:950:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildiraclt.c:1157:52: style: Parameter 'void_arg' can be declared as pointer to const. However it seems that 'chk_array' is a callback function, if 'void_arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/maildir/maildiraclt.c:1153:46: note: You might need to cast the function pointer here maildrop-3.1.8/libs/maildir/maildiraclt.c:1157:52: note: Parameter 'void_arg' can be declared as pointer to const maildrop-3.1.8/libs/maildir/maildirkwtest.c:48:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable firstEntry [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkwtest.c:70:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable userNum [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkw.C:171:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkw.C:354:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirinfo.c:442:10: error: Deallocation of an auto-variable (n) results in undefined behaviour. [autovarInvalidDeallocation] maildrop-3.1.8/libs/maildir/maildirinfo.c:458:13: note: Passed to 'strcpy'. maildrop-3.1.8/libs/maildir/maildirinfo.c:442:10: note: Deallocating memory that was not dynamically allocated maildrop-3.1.8/libs/maildir/maildirlock.c:57:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirlock.c:23:32: style:inconclusive: Function 'maildir_lock' argument 1 names different: declaration 'maildir' definition 'dir'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirwatch.h:131:32: note: Function 'maildir_lock' argument 1 names different: declaration 'maildir' definition 'dir'. maildrop-3.1.8/libs/maildir/maildirlock.c:23:32: note: Function 'maildir_lock' argument 1 names different: declaration 'maildir' definition 'dir'. maildrop-3.1.8/libs/maildir/maildirinfo.c:87:19: style:inconclusive: Function 'maildir_info_imap_find' argument 3 names different: declaration 'myid' definition 'myId'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirinfo.h:30:19: note: Function 'maildir_info_imap_find' argument 3 names different: declaration 'myid' definition 'myId'. maildrop-3.1.8/libs/maildir/maildirinfo.c:87:19: note: Function 'maildir_info_imap_find' argument 3 names different: declaration 'myid' definition 'myId'. maildrop-3.1.8/libs/maildir/maildirinfo.c:632:19: style:inconclusive: Function 'maildir_info_smap_find' argument 3 names different: declaration 'myid' definition 'myId'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirinfo.h:65:19: note: Function 'maildir_info_smap_find' argument 3 names different: declaration 'myid' definition 'myId'. maildrop-3.1.8/libs/maildir/maildirinfo.c:632:19: note: Function 'maildir_info_smap_find' argument 3 names different: declaration 'myid' definition 'myId'. maildrop-3.1.8/libs/maildir/maildirlist.c:47:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirmkdir.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirmake2.c:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirmake2.c:119:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirmake2.c:140:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirkw.C:226:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] maildrop-3.1.8/libs/maildir/maildirkw.C:206:34: style: Variable 'e' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirnewshared2.c:48:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirnewshared2.c:144:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maildir_shindex_cache [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildiropen.c:119:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NDELAY [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirnewshared.c:58:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirmake.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirmake.c:138:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirmake.c:229:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirmake.c:291:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirmake.c:648:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unicode_x_smap_modutf8 [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildiropen.c:113:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirmake2.c:72:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirparsequota.c:22:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirpath.c:50:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirpath.c:107:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirpurgetmp.c:45:16: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirpurgetmp.c:93:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirrequota.c:27:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirquota.c:131:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirquota.c:296:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirquota.c:337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirquota.c:450:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirquota.c:583:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirquota.c:661:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirquota.c:840:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirquota.c:901:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirquota.c:1007:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirrename.c:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirrename.c:191:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirsearch.c:10:63: style:inconclusive: Function 'maildir_search_start_unicode' argument 1 names different: declaration 'engine' definition 'sei'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirsearch.h:66:63: note: Function 'maildir_search_start_unicode' argument 1 names different: declaration 'engine' definition 'sei'. maildrop-3.1.8/libs/maildir/maildirsearch.c:10:63: note: Function 'maildir_search_start_unicode' argument 1 names different: declaration 'engine' definition 'sei'. maildrop-3.1.8/libs/maildir/maildirsearch.c:11:22: style:inconclusive: Function 'maildir_search_start_unicode' argument 2 names different: declaration 'string' definition 's'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirsearch.h:67:22: note: Function 'maildir_search_start_unicode' argument 2 names different: declaration 'string' definition 's'. maildrop-3.1.8/libs/maildir/maildirsearch.c:11:22: note: Function 'maildir_search_start_unicode' argument 2 names different: declaration 'string' definition 's'. maildrop-3.1.8/libs/maildir/maildirsearch.c:54:59: style:inconclusive: Function 'maildir_search_start_str' argument 1 names different: declaration 'engine' definition 'sei'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirsearch.h:61:59: note: Function 'maildir_search_start_str' argument 1 names different: declaration 'engine' definition 'sei'. maildrop-3.1.8/libs/maildir/maildirsearch.c:54:59: note: Function 'maildir_search_start_str' argument 1 names different: declaration 'engine' definition 'sei'. maildrop-3.1.8/libs/maildir/maildirsearch.c:55:21: style:inconclusive: Function 'maildir_search_start_str' argument 2 names different: declaration 'string' definition 's'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirsearch.h:62:21: note: Function 'maildir_search_start_str' argument 2 names different: declaration 'string' definition 's'. maildrop-3.1.8/libs/maildir/maildirsearch.c:55:21: note: Function 'maildir_search_start_str' argument 2 names different: declaration 'string' definition 's'. maildrop-3.1.8/libs/maildir/maildirsearch.h:146:9: style:inconclusive: Technically the member function 'mail::Search::getSearchLen' can be const. [functionConst] maildrop-3.1.8/libs/maildir/maildirsearch.h:170:7: style:inconclusive: Technically the member function 'mail::Search::atstart' can be const. [functionConst] maildrop-3.1.8/libs/maildir/maildirsearch.h:171:2: style:inconclusive: Technically the member function 'mail::Search::operatorbool' can be const. [functionConst] maildrop-3.1.8/libs/maildir/maildirsearch.h:151:29: performance: Function parameter 's' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/maildir/maildirsearch.h:151:44: performance: Function parameter 'chset' should be passed by const reference. [passedByValue] maildrop-3.1.8/libs/maildir/maildirshared.c:877:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirshared.c:889:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirnewshared.c:122:18: style: Variable 'info->cb_arg' is reassigned a value before the old one has been used. [redundantAssignment] maildrop-3.1.8/libs/maildir/maildirnewshared.c:120:6: note: info->cb_arg is assigned maildrop-3.1.8/libs/maildir/maildirnewshared.c:122:18: note: info->cb_arg is overwritten maildrop-3.1.8/libs/maildir/maildirnewshared.c:160:19: style: Variable 'info->cb_arg' is reassigned a value before the old one has been used. [redundantAssignment] maildrop-3.1.8/libs/maildir/maildirnewshared.c:155:7: note: info->cb_arg is assigned maildrop-3.1.8/libs/maildir/maildirnewshared.c:160:19: note: info->cb_arg is overwritten maildrop-3.1.8/libs/maildir/maildirshared.c:871:8: style: Parameter 'voidp' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildirshared.c:883:8: style: Parameter 'voidp' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildirshared2.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirfilter.c:891:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] maildrop-3.1.8/libs/maildir/maildirfilter.c:899:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] maildrop-3.1.8/libs/maildir/maildirfilter.c:202:13: warning: Either the condition 'header' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildir/maildirfilter.c:423:32: note: Assuming that condition 'header' is not redundant maildrop-3.1.8/libs/maildir/maildirfilter.c:201:3: note: c is assigned 'header' here. maildrop-3.1.8/libs/maildir/maildirfilter.c:202:13: note: Null pointer dereference maildrop-3.1.8/libs/maildir/maildirfilter.c:203:7: warning: Either the condition 'header' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildir/maildirfilter.c:423:32: note: Assuming that condition 'header' is not redundant maildrop-3.1.8/libs/maildir/maildirfilter.c:201:3: note: c is assigned 'header' here. maildrop-3.1.8/libs/maildir/maildirfilter.c:202:16: note: Assuming condition is false maildrop-3.1.8/libs/maildir/maildirfilter.c:203:7: note: Null pointer dereference maildrop-3.1.8/libs/maildir/maildirfilter.c:238:13: warning: Either the condition 'value' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildir/maildirfilter.c:425:33: note: Assuming that condition 'value' is not redundant maildrop-3.1.8/libs/maildir/maildirfilter.c:237:3: note: c is assigned 'value' here. maildrop-3.1.8/libs/maildir/maildirfilter.c:238:13: note: Null pointer dereference maildrop-3.1.8/libs/maildir/maildirfilter.c:239:7: warning: Either the condition 'value' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildir/maildirfilter.c:425:33: note: Assuming that condition 'value' is not redundant maildrop-3.1.8/libs/maildir/maildirfilter.c:237:3: note: c is assigned 'value' here. maildrop-3.1.8/libs/maildir/maildirfilter.c:238:16: note: Assuming condition is false maildrop-3.1.8/libs/maildir/maildirfilter.c:239:7: note: Null pointer dereference maildrop-3.1.8/libs/maildir/maildirfilter.c:364:19: warning: Either the condition 'fromhdr' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildir/maildirfilter.c:361:9: note: Assuming that condition 'fromhdr' is not redundant maildrop-3.1.8/libs/maildir/maildirfilter.c:364:9: note: Assignment 'c=fromhdr', assigned value is 0 maildrop-3.1.8/libs/maildir/maildirfilter.c:364:19: note: Null pointer dereference maildrop-3.1.8/libs/maildir/maildirfilter.c:199:10: style: Variable '*errcode' is reassigned a value before the old one has been used. [redundantAssignment] maildrop-3.1.8/libs/maildir/maildirfilter.c:193:11: note: *errcode is assigned maildrop-3.1.8/libs/maildir/maildirfilter.c:199:10: note: *errcode is overwritten maildrop-3.1.8/libs/maildir/maildirfilter.c:50:18: style:inconclusive: Function 'maildir_filter_appendrule' argument 9 names different: declaration 'rulecharset' definition 'charset'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirfilter.h:65:18: note: Function 'maildir_filter_appendrule' argument 9 names different: declaration 'rulecharset' definition 'charset'. maildrop-3.1.8/libs/maildir/maildirfilter.c:50:18: note: Function 'maildir_filter_appendrule' argument 9 names different: declaration 'rulecharset' definition 'charset'. maildrop-3.1.8/libs/maildir/maildirfilter.c:884:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirwatch.c:375:8: style: Variable '*fdret' is reassigned a value before the old one has been used. [redundantAssignment] maildrop-3.1.8/libs/maildir/maildirwatch.c:360:8: note: *fdret is assigned maildrop-3.1.8/libs/maildir/maildirwatch.c:375:8: note: *fdret is overwritten maildrop-3.1.8/libs/maildir/maildirwatch.c:303:45: warning: Function 'maildirwatch_start' argument order different: declaration 'p, w' definition 'w, mc' [funcArgOrderDifferent] maildrop-3.1.8/libs/maildir/maildirwatch.h:79:45: note: Function 'maildirwatch_start' argument order different: declaration 'p, w' definition 'w, mc' maildrop-3.1.8/libs/maildir/maildirwatch.c:303:45: note: Function 'maildirwatch_start' argument order different: declaration 'p, w' definition 'w, mc' maildrop-3.1.8/libs/maildir/maildirwatch.c:353:56: style:inconclusive: Function 'maildirwatch_started' argument 1 names different: declaration 'w' definition 'mc'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirwatch.h:93:56: note: Function 'maildirwatch_started' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.1.8/libs/maildir/maildirwatch.c:353:56: note: Function 'maildirwatch_started' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.1.8/libs/maildir/maildirwatch.c:406:54: style:inconclusive: Function 'maildirwatch_check' argument 1 names different: declaration 'w' definition 'mc'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirwatch.h:109:54: note: Function 'maildirwatch_check' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.1.8/libs/maildir/maildirwatch.c:406:54: note: Function 'maildirwatch_check' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.1.8/libs/maildir/maildirwatch.c:496:53: style:inconclusive: Function 'maildirwatch_end' argument 1 names different: declaration 'w' definition 'mc'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirwatch.h:117:53: note: Function 'maildirwatch_end' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.1.8/libs/maildir/maildirwatch.c:496:53: note: Function 'maildirwatch_end' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.1.8/libs/maildir/maildirwatch.c:203:56: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildirwatch.c:496:53: style: Parameter 'mc' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildirwatchprog.c:112:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/testmaildirfilter.c:28:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/testmaildiraclt.c:97:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/testmaildirfilter.c:22:27: style: Variable 'r' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/testmaildiraclt.c:32:8: style: Variable 'cb' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirwatchprog.c:144:8: style: Local variable 'rc' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildirwatchprog.c:85:6: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildirwatchprog.c:144:8: note: Shadow variable maildrop-3.1.8/libs/maildir/testmaildirsearch.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/alarm.h:32:2: warning: Member variable 'Alarm::me' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/alarmsleep.h:22:2: style: Class 'AlarmSleep' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.1.8/libs/maildrop/alarmsleep.h:19:7: style: The function 'handler' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/alarm.h:35:15: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/alarmsleep.h:19:7: note: Function in derived class maildrop-3.1.8/libs/maildrop/alarmsleep.h:23:3: style: The destructor '~AlarmSleep' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/alarm.h:33:11: note: Virtual destructor in base class maildrop-3.1.8/libs/maildrop/alarmsleep.h:23:3: note: Destructor in derived class maildrop-3.1.8/libs/maildir/maildirmake.c:286:17: warning: If memory allocation fails, then there is a possible null pointer dereference: mailfilter_newname [nullPointerOutOfMemory] maildrop-3.1.8/libs/maildir/maildirmake.c:284:28: note: Assuming allocation function fails maildrop-3.1.8/libs/maildir/maildirmake.c:284:28: note: Assignment 'mailfilter_newname=malloc(strlen(mailfilter)+10)', assigned value is 0 maildrop-3.1.8/libs/maildir/maildirmake.c:286:17: note: Null pointer dereference maildrop-3.1.8/libs/maildir/maildirmake.c:316:15: warning: Either the condition '!converted' is redundant or there is possible null pointer dereference: converted. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildir/maildirmake.c:306:8: note: Assuming that condition '!converted' is not redundant maildrop-3.1.8/libs/maildir/maildirmake.c:316:15: note: Null pointer dereference maildrop-3.1.8/libs/maildir/maildirmake.c:447:16: warning: If memory allocation fails, then there is a possible null pointer dereference: courierimapsubscribed [nullPointerOutOfMemory] maildrop-3.1.8/libs/maildir/maildirmake.c:444:30: note: Assuming allocation function fails maildrop-3.1.8/libs/maildir/maildirmake.c:444:30: note: Assignment 'courierimapsubscribed=malloc(strlen(maildir)+100)', assigned value is 0 maildrop-3.1.8/libs/maildir/maildirmake.c:447:16: note: Null pointer dereference maildrop-3.1.8/libs/maildir/maildirmake.c:449:16: warning: If memory allocation fails, then there is a possible null pointer dereference: courierimapsubscribed_new [nullPointerOutOfMemory] maildrop-3.1.8/libs/maildir/maildirmake.c:445:34: note: Assuming allocation function fails maildrop-3.1.8/libs/maildir/maildirmake.c:445:34: note: Assignment 'courierimapsubscribed_new=malloc(strlen(maildir)+100)', assigned value is 0 maildrop-3.1.8/libs/maildir/maildirmake.c:449:16: note: Null pointer dereference maildrop-3.1.8/libs/maildir/maildirmake.c:456:38: warning: If memory allocation fails, then there is a possible null pointer dereference: courierimapsubscribed [nullPointerOutOfMemory] maildrop-3.1.8/libs/maildir/maildirmake.c:444:30: note: Assuming allocation function fails maildrop-3.1.8/libs/maildir/maildirmake.c:444:30: note: Assignment 'courierimapsubscribed=malloc(strlen(maildir)+100)', assigned value is 0 maildrop-3.1.8/libs/maildir/maildirmake.c:456:38: note: Null pointer dereference maildrop-3.1.8/libs/maildrop/alarmtimer.h:22:6: style:inconclusive: Technically the member function 'AlarmTimer::Expired' can be const. [functionConst] maildrop-3.1.8/libs/maildir/maildirmake.c:358:12: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildirmake.c:354:11: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildirmake.c:358:12: note: Shadow variable maildrop-3.1.8/libs/maildrop/alarmtimer.C:19:18: warning: The class 'AlarmTimer' defines member function with name 'Set' also defined in its parent class 'Alarm'. [duplInheritedMember] maildrop-3.1.8/libs/maildrop/alarm.h:37:7: note: Parent function 'Alarm::Set' maildrop-3.1.8/libs/maildrop/alarmtimer.C:19:18: note: Derived function 'AlarmTimer::Set' maildrop-3.1.8/libs/maildir/maildirmake.c:641:16: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildirmake.c:617:7: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildirmake.c:641:16: note: Shadow variable maildrop-3.1.8/libs/maildir/maildirmake.c:667:15: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildirmake.c:617:7: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildirmake.c:667:15: note: Shadow variable maildrop-3.1.8/libs/maildir/maildirmake.c:696:16: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildirmake.c:617:7: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildirmake.c:696:16: note: Shadow variable maildrop-3.1.8/libs/maildrop/alarmtimer.h:16:7: style: The function 'handler' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/alarm.h:35:15: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/alarmtimer.h:16:7: note: Function in derived class maildrop-3.1.8/libs/maildir/maildirmake.c:719:10: style: Local variable 'maildir' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildirmake.c:616:13: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildirmake.c:719:10: note: Shadow variable maildrop-3.1.8/libs/maildrop/alarmtimer.h:21:3: style: The destructor '~AlarmTimer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/alarm.h:33:11: note: Virtual destructor in base class maildrop-3.1.8/libs/maildrop/alarmtimer.h:21:3: note: Destructor in derived class maildrop-3.1.8/libs/maildir/maildirmake.c:727:10: style: Local variable 'maildir' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildirmake.c:616:13: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildirmake.c:727:10: note: Shadow variable maildrop-3.1.8/libs/maildir/maildirmake.c:49:7: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirmake.c:622:7: style: Variable 'addshared' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirmake.c:622:21: style: Variable 'delshared' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirmake.c:719:10: style: Variable 'maildir' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirmake.c:720:10: style: Variable 'mailfilter' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirmake.c:727:10: style: Variable 'maildir' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirmake.c:728:10: style: Variable 'mailfilter' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildrop/message.h:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/message.h:121:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/alarm.C:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/alarm.C:149:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/alarm.C:156:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mio.h:52:6: style:inconclusive: Technically the member function 'Mio::fd' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/mio.h:61:6: style:inconclusive: Technically the member function 'Mio::errflag' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/message.h:178:23: style:inconclusive: Technically the member function 'Message::MessageSize' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/message.h:76:8: note: Technically the member function 'Message::MessageSize' can be const. maildrop-3.1.8/libs/maildrop/message.h:178:23: note: Technically the member function 'Message::MessageSize' can be const. maildrop-3.1.8/libs/maildrop/message.h:77:8: style:inconclusive: Technically the member function 'Message::MessageLines' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/messageinfo.h:26:7: performance:inconclusive: Technically the member function 'MessageInfo::filtered' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/mio.h:80:7: warning: The class 'MioStdio' defines member function with name 'write' also defined in its parent class 'Mio'. [duplInheritedMember] maildrop-3.1.8/libs/maildrop/mio.h:65:7: note: Parent function 'Mio::write' maildrop-3.1.8/libs/maildrop/mio.h:80:7: note: Derived function 'MioStdio::write' maildrop-3.1.8/libs/maildrop/mio.h:77:2: style: Class 'MioStdio' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.1.8/libs/maildrop/mio.h:78:3: style: The destructor '~MioStdio' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/mio.h:40:11: note: Virtual destructor in base class maildrop-3.1.8/libs/maildrop/mio.h:78:3: note: Destructor in derived class maildrop-3.1.8/libs/maildrop/mio.h:79:6: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/mio.h:51:14: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/mio.h:79:6: note: Function in derived class maildrop-3.1.8/libs/maildrop/tempfile.h:34:7: style: The function 'cleanup' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/exittrap.h:21:15: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/tempfile.h:34:7: note: Function in derived class maildrop-3.1.8/libs/maildrop/tempfile.h:35:7: style: The function 'forked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/exittrap.h:22:15: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/tempfile.h:35:7: note: Function in derived class maildrop-3.1.8/libs/maildrop/tempfile.h:46:3: style: The destructor '~TempFile' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/exittrap.h:29:11: note: Virtual destructor in base class maildrop-3.1.8/libs/maildrop/tempfile.h:46:3: note: Destructor in derived class maildrop-3.1.8/libs/maildrop/dotlockrefresh.h:25:2: style: Class 'DotLockRefresh' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.1.8/libs/maildrop/buffer.C:26:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXLONGSIZE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dotlockrefresh.h:22:7: style: The function 'handler' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/alarm.h:35:15: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/dotlockrefresh.h:22:7: note: Function in derived class maildrop-3.1.8/libs/maildrop/dotlockrefresh.h:26:3: style: The destructor '~DotLockRefresh' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/alarm.h:33:11: note: Virtual destructor in base class maildrop-3.1.8/libs/maildrop/dotlockrefresh.h:26:3: note: Destructor in derived class maildrop-3.1.8/libs/maildrop/dotlock.h:25:3: style: The destructor '~DotLock' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/tempfile.h:46:3: note: Virtual destructor in base class maildrop-3.1.8/libs/maildrop/dotlock.h:25:3: note: Destructor in derived class maildrop-3.1.8/libs/maildrop/deliverdotlock.h:20:7: style: The function 'cleanup' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/tempfile.h:34:7: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/deliverdotlock.h:20:7: note: Function in derived class maildrop-3.1.8/libs/maildrop/deliverdotlock.h:26:3: style: The destructor '~DeliverDotLock' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/dotlock.h:25:3: note: Virtual destructor in base class maildrop-3.1.8/libs/maildrop/deliverdotlock.h:26:3: note: Destructor in derived class maildrop-3.1.8/libs/maildrop/dotlockmaildrop.C:9:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCKSLEEP_DEF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dotlockmaildrop.C:14:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCKTIMEOUT_DEF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dotlockmaildrop.C:19:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCKREFRESH_DEF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dotlock.C:43:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dotlock.C:149:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCKEXT_DEF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/deliver.C:195:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/deliver.C:274:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dovecotauth.c:78:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFL [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dovecotauth.c:124:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dovecotauth.c:236:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dovecotauth.c:244:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dovecotauth.c:303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dovecotauth.c:382:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/buffer.C:10:31: style:inconclusive: Function 'add_integer' argument 1 names different: declaration 'buf' definition 'b'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildrop/buffer.h:9:31: note: Function 'add_integer' argument 1 names different: declaration 'buf' definition 'b'. maildrop-3.1.8/libs/maildrop/buffer.C:10:31: note: Function 'add_integer' argument 1 names different: declaration 'buf' definition 'b'. maildrop-3.1.8/libs/maildrop/buffer.C:24:42: style:inconclusive: Function 'add_number' argument 2 names different: declaration 'val' definition 'd'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildrop/buffer.h:8:42: note: Function 'add_number' argument 2 names different: declaration 'val' definition 'd'. maildrop-3.1.8/libs/maildrop/buffer.C:24:42: note: Function 'add_number' argument 2 names different: declaration 'val' definition 'd'. maildrop-3.1.8/libs/maildir/maildirquota.c:826:40: style:inconclusive: Function 'maildirquota_countfile' argument 1 names different: declaration 'filename' definition 'n'. [funcArgNamesDifferent] maildrop-3.1.8/libs/maildir/maildirquota.h:140:40: note: Function 'maildirquota_countfile' argument 1 names different: declaration 'filename' definition 'n'. maildrop-3.1.8/libs/maildir/maildirquota.c:826:40: note: Function 'maildirquota_countfile' argument 1 names different: declaration 'filename' definition 'n'. maildrop-3.1.8/libs/maildrop/filelock.C:44:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirquota.c:199:11: style: Local variable 'n' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildir/maildirquota.c:123:6: note: Shadowed declaration maildrop-3.1.8/libs/maildir/maildirquota.c:199:11: note: Shadow variable maildrop-3.1.8/libs/maildrop/filelock.C:55:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dotlock.C:22:10: warning: Member variable 'DotLock::refresh_interval' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildir/maildirquota.c:201:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildrop/alarmtimer.h:20:7: warning: The class 'AlarmTimer' defines member function with name 'Set' also defined in its parent class 'Alarm'. [duplInheritedMember] maildrop-3.1.8/libs/maildrop/alarm.h:37:7: note: Parent function 'Alarm::Set' maildrop-3.1.8/libs/maildrop/alarmtimer.h:20:7: note: Derived function 'AlarmTimer::Set' maildrop-3.1.8/libs/maildir/maildirquota.c:325:44: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildirquota.c:326:30: style: Parameter 'quota' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/maildir/maildirquota.c:415:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildrop/dotlock.C:103:26: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] maildrop-3.1.8/libs/maildrop/filelock.h:17:7: style: The function 'cleanup' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/exittrap.h:21:15: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/filelock.h:17:7: note: Function in derived class maildrop-3.1.8/libs/maildrop/filelock.h:18:7: style: The function 'forked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/exittrap.h:22:15: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/filelock.h:18:7: note: Function in derived class maildrop-3.1.8/libs/maildrop/filelock.h:23:11: style: The destructor '~FileLock' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/exittrap.h:29:11: note: Virtual destructor in base class maildrop-3.1.8/libs/maildrop/filelock.h:23:11: note: Destructor in derived class maildrop-3.1.8/libs/maildrop/funcs.C:131:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/funcs.C:129:6: style: Condition '!procgroup_set' is always true [knownConditionTrueFalse] maildrop-3.1.8/libs/maildrop/filter.C:177:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/filter.C:278:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildir/maildirrename.c:208:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildir/maildirrename.c:359:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildrop/formatmbox.h:50:2: warning: Member variable 'FormatMbox::do_escape' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/formatmbox.h:50:2: warning: Member variable 'FormatMbox::next_func' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/formatmbox.h:50:2: warning: Member variable 'FormatMbox::inheader' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/formatmbox.h:50:2: warning: Member variable 'FormatMbox::msgsize' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/deliver.C:123:14: style: Variable 'pipe.fds[1]' is assigned a value that is never used. [unreadVariable] maildrop-3.1.8/libs/maildrop/deliver.C:56:14: style: Unused variable: b [unusedVariable] maildrop-3.1.8/libs/maildrop/deliver.C:186:15: style: Unused variable: name_buf [unusedVariable] maildrop-3.1.8/libs/maildrop/deliver.C:258:14: style: Unused variable: b [unusedVariable] maildrop-3.1.8/libs/maildrop/dovecotauth.c:288:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] maildrop-3.1.8/libs/maildrop/dovecotauth.c:295:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] maildrop-3.1.8/libs/maildrop/dovecotauth.c:323:22: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] maildrop-3.1.8/libs/maildrop/dovecotauth.c:321:9: style: Condition 'a.sysusername' is always true [knownConditionTrueFalse] maildrop-3.1.8/libs/maildrop/lexer.C:15:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/dovecotauth.c:372:3: error: Memory leak: cmdbuf [memleak] maildrop-3.1.8/libs/maildrop/dovecotauth.c:323:20: style: Variable 'q' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildrop/dovecotauth.c:355:14: style: Variable 'cmdpart1' can be declared as const array [constVariable] maildrop-3.1.8/libs/maildrop/dovecotauth.c:356:14: style: Variable 'cmdpart2' can be declared as const array [constVariable] maildrop-3.1.8/libs/maildrop/maildrop.C:53:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/maildrop.C:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/maildrop.C:100:13: style: Local variable 'n' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildrop/maildrop.C:58:5: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/maildrop.C:100:13: note: Shadow variable maildrop-3.1.8/libs/maildrop/filter.C:184:7: style: Local variable 'n' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildrop/filter.C:173:6: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/filter.C:184:7: note: Shadow variable maildrop-3.1.8/libs/maildrop/filter.C:159:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/maildrop/formatmbox.C:64:6: style: Condition '!msglinebuf.c_str()' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/maildrop/main.C:185:37: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] maildrop-3.1.8/libs/maildrop/mailbot.c:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mailbot.c:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mailbot.c:122:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mailbot.c:430:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mailbot.c:440:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mailbot.c:498:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mailbot.c:525:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mailbot.c:536:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mailbot.c:688:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/maildir.C:180:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/maildir.C:213:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/message.C:84:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMALLMSG [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/message.C:156:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMALLMSG [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mio.C:17:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mio.C:26:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mio.C:35:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mio.C:44:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mio.C:53:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/message.C:35:10: warning: Member variable 'Message::msglines' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/message.C:209:9: warning: Either the condition '!extra_headers' is redundant or there is possible null pointer dereference: extra_headers. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildrop/message.C:208:6: note: Assuming that condition '!extra_headers' is not redundant maildrop-3.1.8/libs/maildrop/message.C:209:9: note: Null pointer dereference maildrop-3.1.8/libs/maildrop/message.C:210:2: warning: Either the condition '!extra_headers' is redundant or there is possible null pointer dereference: extra_headers. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildrop/message.C:208:6: note: Assuming that condition '!extra_headers' is not redundant maildrop-3.1.8/libs/maildrop/message.C:210:2: note: Null pointer dereference maildrop-3.1.8/libs/maildrop/message.C:212:8: warning: Either the condition '!extra_headers' is redundant or there is possible null pointer dereference: extra_headersptr. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildrop/message.C:208:6: note: Assuming that condition '!extra_headers' is not redundant maildrop-3.1.8/libs/maildrop/message.C:211:19: note: Assignment 'extra_headersptr=extra_headers', assigned value is 0 maildrop-3.1.8/libs/maildrop/message.C:212:8: note: Null pointer dereference maildrop-3.1.8/libs/maildrop/message.C:134:26: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/maildrop/message.C:136:16: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/maildrop/search.h:64:2: warning: Member variable 'Search::match_top_header' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/search.h:64:2: warning: Member variable 'Search::match_other_headers' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/search.h:64:2: warning: Member variable 'Search::match_body' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/search.h:64:2: warning: Member variable 'Search::weight1' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/search.h:64:2: warning: Member variable 'Search::weight2' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/search.h:64:2: warning: Member variable 'Search::scoring_match' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/search.h:64:2: warning: Member variable 'Search::score' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/search.h:64:2: warning: Member variable 'Search::foreachp_arg' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/recipe.C:8:9: warning: Member variable 'Recipe::lex' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/lexer.h:48:2: warning: Member variable 'Lexer::linenum' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/lexer.h:48:2: warning: Member variable 'Lexer::lasttokentype' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/lexer.h:59:6: style:inconclusive: Technically the member function 'Lexer::Linenum' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/recipenode.h:125:2: style: Class 'RecipeNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.1.8/libs/maildrop/recipe.C:30:2: warning: Either the condition '!n' is redundant or there is possible null pointer dereference: n. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildrop/recipe.C:28:6: note: Assuming that condition '!n' is not redundant maildrop-3.1.8/libs/maildrop/recipe.C:30:2: note: Null pointer dereference maildrop-3.1.8/libs/maildrop/recipe.C:31:2: warning: Either the condition '!n' is redundant or there is possible null pointer dereference: n. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildrop/recipe.C:28:6: note: Assuming that condition '!n' is not redundant maildrop-3.1.8/libs/maildrop/recipe.C:31:2: note: Null pointer dereference maildrop-3.1.8/libs/maildrop/recipe.C:47:13: style: The scope of the variable 'b' can be reduced. [variableScope] maildrop-3.1.8/libs/maildrop/recipe.C:40:33: style: Parameter 'r' can be declared as reference to const [constParameterReference] maildrop-3.1.8/libs/maildrop/mio.C:60:6: warning: Member variable 'Mio::readptr' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/mio.C:60:6: warning: Member variable 'Mio::writeptr' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/mio.C:60:6: warning: Member variable 'Mio::readstartpos' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/mio.C:60:6: warning: Member variable 'Mio::readsize' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/mio.C:60:6: warning: Member variable 'Mio::buf' is not initialized in the constructor. [uninitMemberVar] maildrop-3.1.8/libs/maildrop/mio.C:209:12: style:inconclusive: Technically the member function 'Mio::tell' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/mio.h:50:8: note: Technically the member function 'Mio::tell' can be const. maildrop-3.1.8/libs/maildrop/mio.C:209:12: note: Technically the member function 'Mio::tell' can be const. maildrop-3.1.8/libs/maildrop/mio.C:98:27: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/maildrop/mio.C:168:25: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/maildrop/lexer.C:21:13: performance:inconclusive: Technically the member function 'Lexer::error' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/lexer.h:45:7: note: Technically the member function 'Lexer::error' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/lexer.C:21:13: note: Technically the member function 'Lexer::error' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/lexer.C:509:13: style:inconclusive: Technically the member function 'Lexer::errmsg' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/lexer.h:56:7: note: Technically the member function 'Lexer::errmsg' can be const. maildrop-3.1.8/libs/maildrop/lexer.C:509:13: note: Technically the member function 'Lexer::errmsg' can be const. maildrop-3.1.8/libs/maildrop/lexer.C:50:16: style: Local variable 'errmsg' shadows outer function [shadowFunction] maildrop-3.1.8/libs/maildrop/lexer.h:55:7: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/lexer.C:50:16: note: Shadow variable maildrop-3.1.8/libs/maildrop/regexpnode.h:30:2: style: Class 'RegExpNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.1.8/libs/maildrop/maildir.C:202:22: style: Redundant condition: The condition '*keywords_s' is redundant since '*keywords_s == ','' is sufficient. [redundantCondition] maildrop-3.1.8/libs/maildrop/maildir.C:233:24: style: Redundant condition: The condition '*keywords_s' is redundant since '*keywords_s == ','' is sufficient. [redundantCondition] maildrop-3.1.8/libs/maildrop/maildir.C:146:8: style: The if condition is the same as the previous if condition [duplicateCondition] maildrop-3.1.8/libs/maildrop/maildir.C:131:8: note: First condition maildrop-3.1.8/libs/maildrop/maildir.C:146:8: note: Second condition maildrop-3.1.8/libs/maildrop/maildir.C:320:17: error: Using pointer to local variable 'dir' that may be invalid. [invalidContainer] maildrop-3.1.8/libs/maildrop/maildir.C:303:26: note: Pointer to container is created here. maildrop-3.1.8/libs/maildrop/maildir.C:306:7: note: Assuming condition is true. maildrop-3.1.8/libs/maildrop/maildir.C:308:8: note: After calling 'resize', iterators or references to the container's data may be invalid . maildrop-3.1.8/libs/maildrop/maildir.C:288:15: note: Variable created here. maildrop-3.1.8/libs/maildrop/maildir.C:320:17: note: Using pointer to local variable 'dir' that may be invalid. maildrop-3.1.8/libs/maildrop/maildir.C:111:15: style: Unused variable: name_buf [unusedVariable] maildrop-3.1.8/libs/maildrop/maildir.C:125:16: style: Unused variable: b [unusedVariable] maildrop-3.1.8/libs/maildrop/rematchstr.h:22:2: style: Class 'ReMatchStr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.1.8/libs/maildrop/rematchstr.h:23:3: style: The destructor '~ReMatchStr' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/rematch.h:26:11: note: Virtual destructor in base class maildrop-3.1.8/libs/maildrop/rematchstr.h:23:3: note: Destructor in derived class maildrop-3.1.8/libs/maildrop/rematchstr.h:25:6: style: The function 'NextChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/rematch.h:28:14: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/rematchstr.h:25:6: note: Function in derived class maildrop-3.1.8/libs/maildrop/rematchstr.h:26:6: style: The function 'CurrentChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/rematch.h:29:14: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/rematchstr.h:26:6: note: Function in derived class maildrop-3.1.8/libs/maildrop/rematchstr.h:27:8: style: The function 'GetCurrentPos' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/rematch.h:30:16: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/rematchstr.h:27:8: note: Function in derived class maildrop-3.1.8/libs/maildrop/rematchstr.h:28:7: style: The function 'SetCurrentPos' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/rematch.h:31:15: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/rematchstr.h:28:7: note: Function in derived class maildrop-3.1.8/libs/maildrop/rematchmsg.h:46:11: style: The destructor '~ReMatchMsg' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/rematch.h:26:11: note: Virtual destructor in base class maildrop-3.1.8/libs/maildrop/rematchmsg.h:46:11: note: Destructor in derived class maildrop-3.1.8/libs/maildrop/rematchmsg.h:48:6: style: The function 'NextChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/rematch.h:28:14: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/rematchmsg.h:48:6: note: Function in derived class maildrop-3.1.8/libs/maildrop/rematchmsg.h:49:6: style: The function 'CurrentChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/rematch.h:29:14: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/rematchmsg.h:49:6: note: Function in derived class maildrop-3.1.8/libs/maildrop/rematchmsg.h:50:8: style: The function 'GetCurrentPos' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/rematch.h:30:16: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/rematchmsg.h:50:8: note: Function in derived class maildrop-3.1.8/libs/maildrop/rematchmsg.h:51:7: style: The function 'SetCurrentPos' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.1.8/libs/maildrop/rematch.h:31:15: note: Virtual function in base class maildrop-3.1.8/libs/maildrop/rematchmsg.h:51:7: note: Function in derived class maildrop-3.1.8/libs/maildrop/rematchmsg.C:28:5: style: The scope of the variable 'c' can be reduced. [variableScope] maildrop-3.1.8/libs/maildrop/testtimer.C:29:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/reformail.C:65:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/reformail.C:71:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/reformail.C:246:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tokens [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/reformail.C:665:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/reformail.C:708:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/reformail.C:819:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/reformail.C:855:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/reformail.C:1153:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/testtimer.C:25:3: style: Instance of 'AlarmSleep' object is destroyed immediately. [unusedScopedObject] maildrop-3.1.8/libs/maildrop/testtimer.C:40:3: style: Instance of 'AlarmSleep' object is destroyed immediately. [unusedScopedObject] maildrop-3.1.8/libs/maildrop/search.C:57:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_CASELESS [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/search.C:199:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC2045_DECODEMSG_NOHEADERS [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/tempfile.C:67:9: warning: Either the condition '!filename' is redundant or there is possible null pointer dereference: filename. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildrop/tempfile.C:66:6: note: Assuming that condition '!filename' is not redundant maildrop-3.1.8/libs/maildrop/tempfile.C:67:9: note: Null pointer dereference maildrop-3.1.8/libs/maildrop/recipenode.C:730:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/recipenode.C:1415:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tokens [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/recipenode.C:1562:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/token.C:78:20: style:inconclusive: Technically the member function 'Token::Name' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/token.h:104:14: note: Technically the member function 'Token::Name' can be const. maildrop-3.1.8/libs/maildrop/token.C:78:20: note: Technically the member function 'Token::Name' can be const. maildrop-3.1.8/libs/makedat/makedatprog.c:34:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/makedat/makedatprog.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/makedat/makedatprog.c:86:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/makedat/makedatprog.c:47:8: style: Variable 'buflen' is assigned a value that is never used. [unreadVariable] maildrop-3.1.8/libs/numlib/changeuidgid.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/numlib/changeuidgid.c:185:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/varlist.C:78:7: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] maildrop-3.1.8/libs/maildrop/search.C:299:14: performance:inconclusive: Technically the member function 'Search::init_match_vars' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/search.h:73:7: note: Technically the member function 'Search::init_match_vars' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/search.C:299:14: note: Technically the member function 'Search::init_match_vars' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/search.C:212:26: style: Condition 'current_line.size()>=1' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/maildrop/search.C:219:10: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/maildrop/search.C:330:14: style: C-style pointer casting [cstyleCast] maildrop-3.1.8/libs/maildrop/search.C:74:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] maildrop-3.1.8/libs/maildrop/search.C:304:14: style: The scope of the variable 'varname' can be reduced. [variableScope] maildrop-3.1.8/libs/maildrop/search.C:176:33: style: Checking if unsigned expression 'ovector_count' is less than zero. [unsignedLessThanZero] maildrop-3.1.8/libs/maildrop/search.C:300:21: style: Parameter 'offsets' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/rfc2045/base64.c:47:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc2045/makemime.c:875:4: error: There is an unknown macro here somewhere. Configuration is required. If RFC2045MIMEMSG is a macro then please configure it. [unknownMacro] maildrop-3.1.8/libs/rfc2045/reformime.c:340:17: error: There is an unknown macro here somewhere. Configuration is required. If RFC2045PKG is a macro then please configure it. [unknownMacro] maildrop-3.1.8/libs/rfc2045/rfc2045_fromfd.c:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045_fromfd.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045appendurl.c:126:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/rfc2045/rfc2045.c:703:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045.c:831:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045.c:946:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045.c:1145:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tokens [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045.c:1173:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tokens [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045.c:1216:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045.c:1229:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045.c:1262:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC2045CHARSET [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045decodemimesection.c:24:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045cdecode.c:156:7: style: Local variable 'i' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/rfc2045/rfc2045cdecode.c:135:14: note: Shadowed declaration maildrop-3.1.8/libs/rfc2045/rfc2045cdecode.c:156:7: note: Shadow variable maildrop-3.1.8/libs/rfc2045/rfc2045cdecode.c:33:7: style: Variable 'a' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc2045/rfc2045cdecode.c:33:15: style: Variable 'c' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc2045/rfc2045cdecode.c:33:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc2045/rfc2045decodemsgtoutf8.c:98:58: style: Parameter 'voidarg' can be declared as pointer to const. However it seems that 'decode_handler' is a callback function, if 'voidarg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/rfc2045/rfc2045decodemsgtoutf8.c:173:13: note: You might need to cast the function pointer here maildrop-3.1.8/libs/rfc2045/rfc2045decodemsgtoutf8.c:98:58: note: Parameter 'voidarg' can be declared as pointer to const maildrop-3.1.8/libs/rfc2045/rfc2045mkboundary.c:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/recipenode.C:160:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.1.8/libs/maildrop/recipenode.C:165:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.1.8/libs/maildrop/recipenode.C:170:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.1.8/libs/maildrop/recipenode.C:175:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.1.8/libs/maildrop/recipenode.C:180:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.1.8/libs/maildrop/recipenode.C:185:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.1.8/libs/maildrop/recipenode.C:1398:18: performance:inconclusive: Technically the member function 'RecipeNode::rfc822getaddr' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.h:137:7: note: Technically the member function 'RecipeNode::rfc822getaddr' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1398:18: note: Technically the member function 'RecipeNode::rfc822getaddr' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1505:17: performance:inconclusive: Technically the member function 'RecipeNode::rfc822hasaddr' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.h:139:6: note: Technically the member function 'RecipeNode::rfc822hasaddr' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1505:17: note: Technically the member function 'RecipeNode::rfc822hasaddr' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1223:18: performance:inconclusive: Technically the member function 'RecipeNode::SpecialEscape' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.h:140:7: note: Technically the member function 'RecipeNode::SpecialEscape' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1223:18: note: Technically the member function 'RecipeNode::SpecialEscape' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1552:17: performance:inconclusive: Technically the member function 'RecipeNode::dolookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.h:141:6: note: Technically the member function 'RecipeNode::dolookup' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1552:17: note: Technically the member function 'RecipeNode::dolookup' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:650:5: style: Throwing a copy of the caught exception instead of rethrowing the original exception. [exceptRethrowCopy] maildrop-3.1.8/libs/maildrop/recipenode.C:1414:15: warning:inconclusive: Either the condition '!a' is redundant or there is possible null pointer dereference: a. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildrop/recipenode.C:1407:6: note: Assuming that condition '!a' is not redundant maildrop-3.1.8/libs/maildrop/recipenode.C:1414:15: note: Null pointer dereference maildrop-3.1.8/libs/maildrop/recipenode.C:1524:14: warning:inconclusive: Either the condition '!a' is redundant or there is possible null pointer dereference: a. [nullPointerRedundantCheck] maildrop-3.1.8/libs/maildrop/recipenode.C:1518:6: note: Assuming that condition '!a' is not redundant maildrop-3.1.8/libs/maildrop/recipenode.C:1524:14: note: Null pointer dereference maildrop-3.1.8/libs/maildrop/recipenode.C:792:10: style: Local variable 'r' shadows outer argument [shadowArgument] maildrop-3.1.8/libs/maildrop/recipenode.C:66:35: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/recipenode.C:792:10: note: Shadow variable maildrop-3.1.8/libs/maildrop/recipenode.C:1417:11: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildrop/recipenode.C:1401:18: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/recipenode.C:1417:11: note: Shadow variable maildrop-3.1.8/libs/maildrop/recipenode.C:1526:9: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildrop/recipenode.C:1512:18: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/recipenode.C:1526:9: note: Shadow variable maildrop-3.1.8/libs/maildrop/recipenode.C:843:16: style: Variable 'v' can be declared as reference to const [constVariableReference] maildrop-3.1.8/libs/maildrop/recipenode.C:1445:44: style: Parameter 'buf' can be declared as reference to const [constParameterReference] maildrop-3.1.8/libs/maildrop/recipenode.C:1505:62: style: Parameter 'header' can be declared as reference to const [constParameterReference] maildrop-3.1.8/libs/maildrop/recipenode.C:1552:39: style: Parameter 'strng' can be declared as reference to const [constParameterReference] maildrop-3.1.8/libs/maildrop/recipenode.C:1552:59: style: Parameter 'filename' can be declared as reference to const [constParameterReference] maildrop-3.1.8/libs/rfc2045/rfc2045reply.c:1420:4: error: There is an unknown macro here somewhere. Configuration is required. If RFC2045MIMEMSG is a macro then please configure it. [unknownMacro] maildrop-3.1.8/libs/rfc2045/rfc2045header.c:190:11: style: Local variable 'n' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/rfc2045/rfc2045header.c:176:9: note: Shadowed declaration maildrop-3.1.8/libs/rfc2045/rfc2045header.c:190:11: note: Shadow variable maildrop-3.1.8/libs/rfc2045/rfc2045header.c:191:10: style: Local variable 's' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/rfc2045/rfc2045header.c:177:8: note: Shadowed declaration maildrop-3.1.8/libs/rfc2045/rfc2045header.c:191:10: note: Shadow variable maildrop-3.1.8/libs/rfc2045/rfc2045header.c:60:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc2045/rfc2045header.c:70:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc2045/rfc2045header.c:93:28: style: Parameter 'rfcp' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/rfc2045/rfc2045rewrite.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/reformail.C:677:6: style: The scope of the variable 'c' can be reduced. [variableScope] maildrop-3.1.8/libs/maildrop/reformail.C:896:15: style: The scope of the variable 'buf' can be reduced. [variableScope] maildrop-3.1.8/libs/maildrop/reformail.C:221:16: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildrop/reformail.C:170:13: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/reformail.C:221:16: note: Shadow variable maildrop-3.1.8/libs/maildrop/reformail.C:248:10: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildrop/reformail.C:170:13: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/reformail.C:248:10: note: Shadow variable maildrop-3.1.8/libs/maildrop/reformail.C:699:9: style: Local variable 'c' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildrop/reformail.C:677:6: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/reformail.C:699:9: note: Shadow variable maildrop-3.1.8/libs/maildrop/reformail.C:896:15: style: Local variable 'buf' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildrop/reformail.C:843:13: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/reformail.C:896:15: note: Shadow variable maildrop-3.1.8/libs/maildrop/reformail.C:429:31: style: Parameter 'hdrs' can be declared as reference to const [constParameterReference] maildrop-3.1.8/libs/maildrop/reformail.C:815:7: performance: Passing the result of c_str() to a function that takes std::string as argument no. 2 is slow and redundant. [stlcstrParam] maildrop-3.1.8/libs/maildrop/reformail.C:823:7: performance: Passing the result of c_str() to a function that takes std::string as argument no. 2 is slow and redundant. [stlcstrParam] maildrop-3.1.8/libs/rfc2045/rfc2231encode.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2231encode.c:102:13: style:inconclusive: Function 'docreate' argument 2 names different: declaration 'attrvalue' definition 'q'. [funcArgNamesDifferent] maildrop-3.1.8/libs/rfc2045/rfc2231encode.c:25:13: note: Function 'docreate' argument 2 names different: declaration 'attrvalue' definition 'q'. maildrop-3.1.8/libs/rfc2045/rfc2231encode.c:102:13: note: Function 'docreate' argument 2 names different: declaration 'attrvalue' definition 'q'. maildrop-3.1.8/libs/rfc2045/rfc2231encode.c:56:9: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/rfc2045/rfc2231encode.c:41:8: note: Shadowed declaration maildrop-3.1.8/libs/rfc2045/rfc2231encode.c:56:9: note: Shadow variable maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:751:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNICODE_LB_OPT_PRBREAK [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:965:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNICODE_LB_NONE [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/maildrop/mailbot.c:303:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] maildrop-3.1.8/libs/rfc2045/rfc3676parser.h:154:4: warning:inconclusive: Class 'textplainparser' which has virtual members does not have a virtual destructor. [virtualDestructor] maildrop-3.1.8/libs/maildrop/mailbot.c:1000:20: style: Local variable 'rfcp' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildrop/mailbot.c:668:18: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/mailbot.c:1000:20: note: Shadow variable maildrop-3.1.8/libs/maildrop/mailbot.c:1006:16: style: Local variable 'charset' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/maildrop/mailbot.c:46:20: note: Shadowed declaration maildrop-3.1.8/libs/maildrop/mailbot.c:1006:16: note: Shadow variable maildrop-3.1.8/libs/maildrop/mailbot.c:486:47: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'mimeautoreply_writesig_func' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/maildrop/mailbot.c:941:31: note: You might need to cast the function pointer here maildrop-3.1.8/libs/maildrop/mailbot.c:486:47: note: Parameter 'ptr' can be declared as pointer to const maildrop-3.1.8/libs/maildrop/mailbot.c:490:62: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'mimeautoreply_myaddr_func' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/maildrop/mailbot.c:943:29: note: You might need to cast the function pointer here maildrop-3.1.8/libs/maildrop/mailbot.c:490:62: note: Parameter 'ptr' can be declared as pointer to const maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045rewrite.c:41:6: style: Variable 'i' is assigned a value that is never used. [unreadVariable] maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:12:49: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'line_begin' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:56:18: note: You might need to cast the function pointer here maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:12:49: note: Parameter 'arg' can be declared as pointer to const maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:20:11: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'line_contents' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:57:21: note: You might need to cast the function pointer here maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:20:11: note: Parameter 'arg' can be declared as pointer to const maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:27:37: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'line_flowed_notify' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:58:26: note: You might need to cast the function pointer here maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:27:37: note: Parameter 'arg' can be declared as pointer to const maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:33:27: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'line_end' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:59:16: note: You might need to cast the function pointer here maildrop-3.1.8/libs/rfc2045/testrfc3676parser.c:33:27: note: Parameter 'arg' can be declared as pointer to const maildrop-3.1.8/libs/rfc2045/testrfc6533parser.c:37:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:256:24: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:252:26: note: outer condition: handle->errflag==0 maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:256:24: note: identical inner condition: handle->errflag==0 maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:313:12: style: Condition 'ptr' is always true [knownConditionTrueFalse] maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:569:22: style:inconclusive: Function 'seen_notsig_block' argument 2 names different: declaration 'ptr' definition 'newptr'. [funcArgNamesDifferent] maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:155:21: note: Function 'seen_notsig_block' argument 2 names different: declaration 'ptr' definition 'newptr'. maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:569:22: note: Function 'seen_notsig_block' argument 2 names different: declaration 'ptr' definition 'newptr'. maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:569:37: style:inconclusive: Function 'seen_notsig_block' argument 3 names different: declaration 'cnt' definition 'newcnt'. [funcArgNamesDifferent] maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:155:33: note: Function 'seen_notsig_block' argument 3 names different: declaration 'cnt' definition 'newcnt'. maildrop-3.1.8/libs/rfc2045/rfc3676parser.c:569:37: note: Function 'seen_notsig_block' argument 3 names different: declaration 'cnt' definition 'newcnt'. maildrop-3.1.8/libs/rfc822/encodeautodetect.c:27:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc822/encodeautodetect.c:81:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc822/encodeautodetect.c:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2231.c:24:48: style:inconclusive: Function 'rfc2231_paramDestroy' argument 1 names different: declaration 'paramList' definition 'p'. [funcArgNamesDifferent] maildrop-3.1.8/libs/rfc2045/rfc2045.h:672:48: note: Function 'rfc2231_paramDestroy' argument 1 names different: declaration 'paramList' definition 'p'. maildrop-3.1.8/libs/rfc2045/rfc2231.c:24:48: note: Function 'rfc2231_paramDestroy' argument 1 names different: declaration 'paramList' definition 'p'. maildrop-3.1.8/libs/rfc2045/rfc2231.c:336:16: style:inconclusive: Function 'rfc2231_udecodeType' argument 3 names different: declaration 'myChset' definition 'myCharset'. [funcArgNamesDifferent] maildrop-3.1.8/libs/rfc2045/rfc2045.h:634:16: note: Function 'rfc2231_udecodeType' argument 3 names different: declaration 'myChset' definition 'myCharset'. maildrop-3.1.8/libs/rfc2045/rfc2231.c:336:16: note: Function 'rfc2231_udecodeType' argument 3 names different: declaration 'myChset' definition 'myCharset'. maildrop-3.1.8/libs/rfc2045/rfc2231.c:357:23: style:inconclusive: Function 'rfc2231_udecodeDisposition' argument 3 names different: declaration 'myChset' definition 'myCharset'. [funcArgNamesDifferent] maildrop-3.1.8/libs/rfc2045/rfc2045.h:638:23: note: Function 'rfc2231_udecodeDisposition' argument 3 names different: declaration 'myChset' definition 'myCharset'. maildrop-3.1.8/libs/rfc2045/rfc2231.c:357:23: note: Function 'rfc2231_udecodeDisposition' argument 3 names different: declaration 'myChset' definition 'myCharset'. maildrop-3.1.8/libs/rfc2045/rfc6533.c:90:22: style: Local variable 'xdigit' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/rfc2045/rfc6533.c:17:19: note: Shadowed declaration maildrop-3.1.8/libs/rfc2045/rfc6533.c:90:22: note: Shadow variable maildrop-3.1.8/libs/rfc2045/rfc6533.c:174:16: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/rfc2045/rfc6533.c:146:9: note: Shadowed declaration maildrop-3.1.8/libs/rfc2045/rfc6533.c:174:16: note: Shadow variable maildrop-3.1.8/libs/rfc822/imaprefs.c:91:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hashtable [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc822/encode.c:142:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] maildrop-3.1.8/libs/rfc822/encode.c:142:11: style: Variable 'b' is assigned a value that is never used. [unreadVariable] maildrop-3.1.8/libs/rfc822/encode.c:142:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] maildrop-3.1.8/libs/rfc822/reftest.c:171:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/rfc822/rfc2047.c:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDNA_SUCCESS [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc822/imapsubj.c:23:8: style: Variable 'orig_p' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc822/rfc2047u.c:345:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDNA_SUCCESS [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc2045/rfc2045.c:183:8: style: Local variable 'p' shadows outer argument [shadowArgument] maildrop-3.1.8/libs/rfc2045/rfc2045.c:178:14: note: Shadowed declaration maildrop-3.1.8/libs/rfc2045/rfc2045.c:183:8: note: Shadow variable maildrop-3.1.8/libs/rfc2045/rfc2045.c:597:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc2045/rfc2045.c:1212:7: style: Variable 's' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc822/rfc822_getaddrs.c:13:3: style: Redundant assignment of 'c' to itself. [selfAssignment] maildrop-3.1.8/libs/rfc822/rfc822_getaddrs.c:68:24: style: Variable 'start' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc822/rfc822_getaddrs.c:13:3: style: Variable 'c' is assigned a value that is never used. [unreadVariable] maildrop-3.1.8/libs/rfc822/rfc822_mkdate.c:87:4: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] maildrop-3.1.8/libs/rfc822/rfc822_mkdate.c:44:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc822/rfc822hdr.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc822/imaprefs.c:140:69: style: Parameter 'mt' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/rfc822/imaprefs.c:157:46: style: Parameter 'mt' can be declared as pointer to const [constParameterPointer] maildrop-3.1.8/libs/rfc822/testsuite.c:42:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] maildrop-3.1.8/libs/rfc822/rfc2047.c:89:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc822/testsuite.c:47:33: style: Condition 'buf[0]' is always true [knownConditionTrueFalse] maildrop-3.1.8/libs/rfc822/testsuite.c:14:3: style: Redundant assignment of 'p' to itself. [selfAssignment] maildrop-3.1.8/libs/rfc822/testsuite.c:20:3: style: Redundant assignment of 'p' to itself. [selfAssignment] maildrop-3.1.8/libs/rfc822/testsuite.c:14:3: style: Variable 'p' is assigned a value that is never used. [unreadVariable] maildrop-3.1.8/libs/rfc822/testsuite.c:20:3: style: Variable 'p' is assigned a value that is never used. [unreadVariable] maildrop-3.1.8/libs/rfc822/rfc822_parsedt.c:244:18: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] maildrop-3.1.8/libs/rfc822/rfc822_parsedt.c:244:12: style: Variable 'tmptr' can be declared as pointer to const [constVariablePointer] maildrop-3.1.8/libs/rfc822/rfc2047u.c:520:32: style: Condition 'rfc822_display_addr(a,n,charset,save_unicode_text,&nbuf)<0' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/rfc822/rfc2047u.c:519:26: note: Calling function 'rfc822_display_addr' returns 0 maildrop-3.1.8/libs/rfc822/rfc2047u.c:520:32: note: Condition 'rfc822_display_addr(a,n,charset,save_unicode_text,&nbuf)<0' is always false maildrop-3.1.8/libs/rfc822/rfc2047u.c:529:32: style: Condition 'rfc822_display_addr(a,n,charset,save_unicode_text,&nbuf)<0' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/rfc822/rfc2047u.c:528:26: note: Calling function 'rfc822_display_addr' returns 0 maildrop-3.1.8/libs/rfc822/rfc2047u.c:529:32: note: Condition 'rfc822_display_addr(a,n,charset,save_unicode_text,&nbuf)<0' is always false maildrop-3.1.8/libs/rfc822/rfc2047u.c:674:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/rfc822/rfc2047u.c:671:29: note: Calling function 'rfc822_display_addr' returns 0 maildrop-3.1.8/libs/rfc822/rfc2047u.c:671:29: note: Assignment 'errcode=rfc822_display_addr(rfcp,index,chset,rfc822_display_hdrvalue_tobuf_cnt,&nbuf)', assigned value is 0 maildrop-3.1.8/libs/rfc822/rfc2047u.c:674:14: note: Condition 'errcode<0' is always false maildrop-3.1.8/libs/rfc822/rfc2047u.c:685:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/rfc822/rfc2047u.c:682:29: note: Calling function 'rfc822_display_addr' returns 0 maildrop-3.1.8/libs/rfc822/rfc2047u.c:682:29: note: Assignment 'errcode=rfc822_display_addr(rfcp,index,chset,rfc822_display_hdrvalue_tobuf_save,&nbuf)', assigned value is 0 maildrop-3.1.8/libs/rfc822/rfc2047u.c:685:14: note: Condition 'errcode<0' is always false maildrop-3.1.8/libs/rfc822/rfc2047u.c:747:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/rfc822/rfc2047u.c:743:33: note: Calling function 'rfc822_display_addr_str' returns 0 maildrop-3.1.8/libs/rfc822/rfc2047u.c:743:33: note: Assignment 'errcode=rfc822_display_addr_str(tok,chset,rfc822_display_hdrvalue_tobuf_cnt,&s)', assigned value is 0 maildrop-3.1.8/libs/rfc822/rfc2047u.c:747:14: note: Condition 'errcode<0' is always false maildrop-3.1.8/libs/rfc822/rfc2047u.c:758:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] maildrop-3.1.8/libs/rfc822/rfc2047u.c:755:33: note: Calling function 'rfc822_display_addr_str' returns 0 maildrop-3.1.8/libs/rfc822/rfc2047u.c:755:33: note: Assignment 'errcode=rfc822_display_addr_str(tok,chset,rfc822_display_hdrvalue_tobuf_save,&s)', assigned value is 0 maildrop-3.1.8/libs/rfc822/rfc2047u.c:758:14: note: Condition 'errcode<0' is always false maildrop-3.1.8/libs/rfc822/rfc2047u.c:441:11: style: Local variable 'i' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/rfc822/rfc2047u.c:413:10: note: Shadowed declaration maildrop-3.1.8/libs/rfc822/rfc2047u.c:441:11: note: Shadow variable maildrop-3.1.8/libs/rfc822/rfc822.c:655:40: style:inconclusive: Function 'rfc822_print' argument 1 names different: declaration 'a' definition 'rfcp'. [funcArgNamesDifferent] maildrop-3.1.8/libs/rfc822/rfc822.h:118:40: note: Function 'rfc822_print' argument 1 names different: declaration 'a' definition 'rfcp'. maildrop-3.1.8/libs/rfc822/rfc822.c:655:40: note: Function 'rfc822_print' argument 1 names different: declaration 'a' definition 'rfcp'. maildrop-3.1.8/libs/rfc822/rfc822.c:661:47: style:inconclusive: Function 'rfc822_print_common' argument 1 names different: declaration 'a' definition 'rfcp'. [funcArgNamesDifferent] maildrop-3.1.8/libs/rfc822/rfc822.h:124:47: note: Function 'rfc822_print_common' argument 1 names different: declaration 'a' definition 'rfcp'. maildrop-3.1.8/libs/rfc822/rfc822.c:661:47: note: Function 'rfc822_print_common' argument 1 names different: declaration 'a' definition 'rfcp'. maildrop-3.1.8/libs/rfc822/rfc822.c:789:47: style:inconclusive: Function 'rfc822t_alloc_new' argument 1 names different: declaration 'p' definition 'addr'. [funcArgNamesDifferent] maildrop-3.1.8/libs/rfc822/rfc822.h:88:47: note: Function 'rfc822t_alloc_new' argument 1 names different: declaration 'p' definition 'addr'. maildrop-3.1.8/libs/rfc822/rfc822.c:789:47: note: Function 'rfc822t_alloc_new' argument 1 names different: declaration 'p' definition 'addr'. maildrop-3.1.8/libs/rfc822/rfc822.c:313:7: style: Local variable 'j' shadows outer variable [shadowVariable] maildrop-3.1.8/libs/rfc822/rfc822.c:250:11: note: Shadowed declaration maildrop-3.1.8/libs/rfc822/rfc822.c:313:7: note: Shadow variable diff: head maildrop-3.1.8/libs/bdbobj/testbdb.C:21:21: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/bdbobj/testbdb.C:21:28: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/bdbobj/testbdb.C:22:12: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/bdbobj/testbdb.C:22:5: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/bdbobj/testbdb.C:49:16: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/bdbobj/testbdb.C:49:17: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/bdbobj/testbdb.C:72:16: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/bdbobj/testbdb.C:72:17: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/gdbmobj/testgdbm.C:22:21: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/gdbmobj/testgdbm.C:22:28: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/gdbmobj/testgdbm.C:23:12: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/gdbmobj/testgdbm.C:23:5: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/gdbmobj/testgdbm.C:50:16: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/gdbmobj/testgdbm.C:50:17: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/gdbmobj/testgdbm.C:73:16: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/gdbmobj/testgdbm.C:73:17: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/maildir/autoresponse.c:198:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/autoresponse.c:334:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/autoresponse.c:76:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildiraclt.c:972:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildircache.c:540:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildircache.c:577:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildirfilename.c:101:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildirkeywords4.cpp:89:16: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/maildir/maildirkeywords4.cpp:89:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 maildrop-3.1.8/libs/maildir/maildirkw.C:226:18: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/maildir/maildirkw.C:226:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 maildrop-3.1.8/libs/maildir/maildirlist.c:49:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildirmake2.c:78:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildirpurgetmp.c:52:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildirquota.c:455:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildirquota.c:526:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildirquota.c:767:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildirrename.c:211:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 maildrop-3.1.8/libs/maildir/maildirrename.c:362:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head maildrop-3.1.8/libs/maildrop/alarm.h:32:2: warning: Member variable 'Alarm::me' is not initialized in the constructor. [uninitMemberVar] head maildrop-3.1.8/libs/maildrop/lexer.C:21:13: performance:inconclusive: Technically the member function 'Lexer::error' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/lexer.h:45:7: note: Technically the member function 'Lexer::error' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/lexer.C:21:13: note: Technically the member function 'Lexer::error' can be static (but you may consider moving to unnamed namespace). head maildrop-3.1.8/libs/maildrop/lexer.C:509:13: style:inconclusive: Technically the member function 'Lexer::errmsg' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/lexer.h:56:7: note: Technically the member function 'Lexer::errmsg' can be const. maildrop-3.1.8/libs/maildrop/lexer.C:509:13: note: Technically the member function 'Lexer::errmsg' can be const. 2.17.0 maildrop-3.1.8/libs/maildrop/lexer.h:45:7: performance:inconclusive: Technically the member function 'Lexer::error' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/lexer.C:21:13: note: Technically the member function 'Lexer::error' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/lexer.h:45:7: note: Technically the member function 'Lexer::error' can be static (but you may consider moving to unnamed namespace). 2.17.0 maildrop-3.1.8/libs/maildrop/lexer.h:56:7: style:inconclusive: Technically the member function 'Lexer::errmsg' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/lexer.C:509:13: note: Technically the member function 'Lexer::errmsg' can be const. maildrop-3.1.8/libs/maildrop/lexer.h:56:7: note: Technically the member function 'Lexer::errmsg' can be const. 2.17.0 maildrop-3.1.8/libs/maildrop/mailbot.c:603:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head maildrop-3.1.8/libs/maildrop/message.C:134:26: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/maildrop/message.C:134:27: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/maildrop/message.C:136:16: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/maildrop/message.C:136:17: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/maildrop/message.h:178:23: style:inconclusive: Technically the member function 'Message::MessageSize' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/message.h:76:8: note: Technically the member function 'Message::MessageSize' can be const. maildrop-3.1.8/libs/maildrop/message.h:178:23: note: Technically the member function 'Message::MessageSize' can be const. 2.17.0 maildrop-3.1.8/libs/maildrop/message.h:76:8: style:inconclusive: Technically the member function 'Message::MessageSize' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/message.h:178:23: note: Technically the member function 'Message::MessageSize' can be const. maildrop-3.1.8/libs/maildrop/message.h:76:8: note: Technically the member function 'Message::MessageSize' can be const. head maildrop-3.1.8/libs/maildrop/mio.C:168:25: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/maildrop/mio.C:168:26: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/maildrop/mio.C:209:12: style:inconclusive: Technically the member function 'Mio::tell' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/mio.h:50:8: note: Technically the member function 'Mio::tell' can be const. maildrop-3.1.8/libs/maildrop/mio.C:209:12: note: Technically the member function 'Mio::tell' can be const. head maildrop-3.1.8/libs/maildrop/mio.C:98:27: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/maildrop/mio.C:98:28: style: C-style pointer casting [cstyleCast] 2.17.0 maildrop-3.1.8/libs/maildrop/mio.h:50:8: style:inconclusive: Technically the member function 'Mio::tell' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/mio.C:209:12: note: Technically the member function 'Mio::tell' can be const. maildrop-3.1.8/libs/maildrop/mio.h:50:8: note: Technically the member function 'Mio::tell' can be const. head maildrop-3.1.8/libs/maildrop/recipenode.C:1223:18: performance:inconclusive: Technically the member function 'RecipeNode::SpecialEscape' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.h:140:7: note: Technically the member function 'RecipeNode::SpecialEscape' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1223:18: note: Technically the member function 'RecipeNode::SpecialEscape' can be static (but you may consider moving to unnamed namespace). head maildrop-3.1.8/libs/maildrop/recipenode.C:1398:18: performance:inconclusive: Technically the member function 'RecipeNode::rfc822getaddr' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.h:137:7: note: Technically the member function 'RecipeNode::rfc822getaddr' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1398:18: note: Technically the member function 'RecipeNode::rfc822getaddr' can be static (but you may consider moving to unnamed namespace). head maildrop-3.1.8/libs/maildrop/recipenode.C:1505:17: performance:inconclusive: Technically the member function 'RecipeNode::rfc822hasaddr' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.h:139:6: note: Technically the member function 'RecipeNode::rfc822hasaddr' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1505:17: note: Technically the member function 'RecipeNode::rfc822hasaddr' can be static (but you may consider moving to unnamed namespace). head maildrop-3.1.8/libs/maildrop/recipenode.C:1552:17: performance:inconclusive: Technically the member function 'RecipeNode::dolookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.h:141:6: note: Technically the member function 'RecipeNode::dolookup' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.C:1552:17: note: Technically the member function 'RecipeNode::dolookup' can be static (but you may consider moving to unnamed namespace). 2.17.0 maildrop-3.1.8/libs/maildrop/recipenode.h:137:7: performance:inconclusive: Technically the member function 'RecipeNode::rfc822getaddr' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.C:1398:18: note: Technically the member function 'RecipeNode::rfc822getaddr' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.h:137:7: note: Technically the member function 'RecipeNode::rfc822getaddr' can be static (but you may consider moving to unnamed namespace). 2.17.0 maildrop-3.1.8/libs/maildrop/recipenode.h:139:6: performance:inconclusive: Technically the member function 'RecipeNode::rfc822hasaddr' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.C:1505:17: note: Technically the member function 'RecipeNode::rfc822hasaddr' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.h:139:6: note: Technically the member function 'RecipeNode::rfc822hasaddr' can be static (but you may consider moving to unnamed namespace). 2.17.0 maildrop-3.1.8/libs/maildrop/recipenode.h:140:7: performance:inconclusive: Technically the member function 'RecipeNode::SpecialEscape' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.C:1223:18: note: Technically the member function 'RecipeNode::SpecialEscape' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.h:140:7: note: Technically the member function 'RecipeNode::SpecialEscape' can be static (but you may consider moving to unnamed namespace). 2.17.0 maildrop-3.1.8/libs/maildrop/recipenode.h:141:6: performance:inconclusive: Technically the member function 'RecipeNode::dolookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/recipenode.C:1552:17: note: Technically the member function 'RecipeNode::dolookup' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/recipenode.h:141:6: note: Technically the member function 'RecipeNode::dolookup' can be static (but you may consider moving to unnamed namespace). head maildrop-3.1.8/libs/maildrop/search.C:299:14: performance:inconclusive: Technically the member function 'Search::init_match_vars' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/search.h:73:7: note: Technically the member function 'Search::init_match_vars' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/search.C:299:14: note: Technically the member function 'Search::init_match_vars' can be static (but you may consider moving to unnamed namespace). 2.17.0 maildrop-3.1.8/libs/maildrop/search.C:74:8: style: C-style pointer casting [cstyleCast] head maildrop-3.1.8/libs/maildrop/search.C:74:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 maildrop-3.1.8/libs/maildrop/search.h:73:7: performance:inconclusive: Technically the member function 'Search::init_match_vars' can be static (but you may consider moving to unnamed namespace). [functionStatic] maildrop-3.1.8/libs/maildrop/search.C:299:14: note: Technically the member function 'Search::init_match_vars' can be static (but you may consider moving to unnamed namespace). maildrop-3.1.8/libs/maildrop/search.h:73:7: note: Technically the member function 'Search::init_match_vars' can be static (but you may consider moving to unnamed namespace). head maildrop-3.1.8/libs/maildrop/token.C:78:20: style:inconclusive: Technically the member function 'Token::Name' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/token.h:104:14: note: Technically the member function 'Token::Name' can be const. maildrop-3.1.8/libs/maildrop/token.C:78:20: note: Technically the member function 'Token::Name' can be const. 2.17.0 maildrop-3.1.8/libs/maildrop/token.h:104:14: style:inconclusive: Technically the member function 'Token::Name' can be const. [functionConst] maildrop-3.1.8/libs/maildrop/token.C:78:20: note: Technically the member function 'Token::Name' can be const. maildrop-3.1.8/libs/maildrop/token.h:104:14: note: Technically the member function 'Token::Name' can be const. DONE