2026-03-17 02:58 ftp://ftp.de.debian.org/debian/pool/main/m/maildrop/maildrop_3.2.1.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 -j1 platform: Linux-6.8.0-106-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 8cb66cf (2026-03-16 16:30:08 +0100) count: 769 769 elapsed-time: 17.4 16.7 head-timing-info: old-timing-info: head results: maildrop-3.2.1/libs/bdbobj/bdbobj.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/bdbobj/bdbobj.c:43:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] maildrop-3.2.1/libs/bdbobj/bdbobj.c:203:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/bdbobj/bdbobj.c:291:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/bdbobj/bdbobj2.c:22:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_FIRST [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/bdbobj/bdbobj2.c:62:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NEXT [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/bdbobj/testbdb.C:92:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/bdbobj/bdbobj.h:76:6: style:inconclusive: Technically the member function 'BDbObj::IsOpen' can be const. [functionConst] maildrop-3.2.1/libs/bdbobj/testbdb.C:21:21: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/bdbobj/testbdb.C:22:5: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/bdbobj/testbdb.C:49:16: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/bdbobj/testbdb.C:56:16: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/bdbobj/testbdb.C:57:14: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/bdbobj/testbdb.C:72:16: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/bdbobj/bdbobj.h:71:23: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/bdbobj/bdbobj.h:79:32: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/bdbobj/bdbobj.h:79:49: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/bdbobj/bdbobj.h:92:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/bdbobj/bdbobj.h:97:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/bdbobj/bdbobj.h:102:25: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/bdbobj/bdbobj.h:102:42: performance: Function parameter 'val' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/bdbobj/bdbobj.h:102:59: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/bdbobj/testbdb.C:6:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/bdbobj/testbdb.C:32:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/gdbmobj/gdbmobj.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBM_READER [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/gdbmobj/gdbmobj.c:97:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBM_REPLACE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/gdbmobj/testgdbm.C:93:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/gdbmobj/gdbmobj.h:62:6: style:inconclusive: Technically the member function 'GdbmObj::IsOpen' can be const. [functionConst] maildrop-3.2.1/libs/gdbmobj/testgdbm.C:22:21: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/gdbmobj/testgdbm.C:23:5: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/gdbmobj/testgdbm.C:50:16: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/gdbmobj/testgdbm.C:57:16: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/gdbmobj/testgdbm.C:58:14: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/gdbmobj/testgdbm.C:73:16: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/gdbmobj/gdbmobj.h:57:23: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/gdbmobj/gdbmobj.h:65:32: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/gdbmobj/gdbmobj.h:65:49: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/gdbmobj/gdbmobj.h:78:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/gdbmobj/gdbmobj.h:83:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/gdbmobj/gdbmobj.h:88:24: performance: Function parameter 'key' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/gdbmobj/gdbmobj.h:88:41: performance: Function parameter 'val' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/gdbmobj/gdbmobj.h:88:58: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/gdbmobj/testgdbm.C:7:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/gdbmobj/testgdbm.C:33:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/liblock/lockdaemon.c:107:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/lockdaemon.c:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/lockdaemon.c:200:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/lockdaemon.c:246:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/lockdaemon.c:281:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/lockdaemon.c:342:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/lockdaemon.c:206:14: error: Resource leak: i [resourceLeak] maildrop-3.2.1/libs/liblock/lockdaemon.c:209:2: error: Resource leak: i [resourceLeak] maildrop-3.2.1/libs/liblock/lockdaemon.c:211:14: error: Resource leak: i [resourceLeak] maildrop-3.2.1/libs/liblock/lockdaemon.c:212:2: error: Resource leak: i [resourceLeak] maildrop-3.2.1/libs/liblock/lockdaemon.c:218:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/liblock/lockfcntl.c:27:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/lockflock.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/lockmail.c:55:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/lockmail.c:79:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/locktest.c:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/locktest.c:53:3: error: Memory leak: name [memleak] maildrop-3.2.1/libs/liblock/locktest.c:65:3: error: Resource leak: f [resourceLeak] maildrop-3.2.1/libs/liblock/locktest.c:65:3: error: Memory leak: name [memleak] maildrop-3.2.1/libs/liblock/mail.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/mail.c:273:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/mail.c:306:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/mail.c:358:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/mail.c:464:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/mail.c:496:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/liblock/mail.c:265:36: style:inconclusive: Function 'try_dotlock' argument 1 names different: declaration 'tmpfile' definition 'tmpname'. [funcArgNamesDifferent] maildrop-3.2.1/libs/liblock/mail.c:232:36: note: Function 'try_dotlock' argument 1 names different: declaration 'tmpfile' definition 'tmpname'. maildrop-3.2.1/libs/liblock/mail.c:265:36: note: Function 'try_dotlock' argument 1 names different: declaration 'tmpfile' definition 'tmpname'. maildrop-3.2.1/libs/liblock/mail.c:186:9: style: Local variable 'p' shadows outer argument [shadowArgument] maildrop-3.2.1/libs/liblock/mail.c:115:34: note: Shadowed declaration maildrop-3.2.1/libs/liblock/mail.c:186:9: note: Shadow variable maildrop-3.2.1/libs/liblock/mail.c:103:29: style: Parameter 'idbuf' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/liblock/mail.c:103:42: style: Parameter 'myidbuf' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildir/autoresponse.c:164:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/autoresponse.c:242:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/autoresponse.c:290:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTORESPONSEQUOTA [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/autoresponse.c:423:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/autoresponse.c:74:18: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/autoresponse.c:192:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/autoresponse.c:318:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/autoresponse.c:356:59: style: Parameter 'setquota' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildir/autoresponse.c:357:45: style: Parameter 'newquota' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildir/deliverquota.c:57:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/deliverquota.c:195:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/loginexec.c:25:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildiracl.c:104:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/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.2.1/libs/maildir/maildiracl.c:118:34: note: You might need to cast the function pointer here maildrop-3.2.1/libs/maildir/maildiracl.c:43:13: note: Parameter 'cb_arg' can be declared as pointer to const maildrop-3.2.1/libs/maildir/maildiracl.c:57:22: style: Variable 'ci' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildiraclt.c:72:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildiraclt.c:215:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildiraclt.c:360:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildiraclt.c:397:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildiraclt.c:605:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildiraclt.c:729:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildiraclt.c:500:17: style: Redundant condition: The condition '*p' is redundant since '*p == ' '' is sufficient. [redundantCondition] maildrop-3.2.1/libs/maildir/maildiraclt.c:579:43: style: Condition 'maildir_aclt_list_del(aclt_list,n)<0' is always false [knownConditionTrueFalse] maildrop-3.2.1/libs/maildir/maildiraclt.c:579:28: note: Calling function 'maildir_aclt_list_del' returns 0 maildrop-3.2.1/libs/maildir/maildiraclt.c:579:43: note: Condition 'maildir_aclt_list_del(aclt_list,n)<0' is always false maildrop-3.2.1/libs/maildir/maildiraclt.c:1106:45: style: Condition 'maildir_aclt_del(aclt,NULL,&p->acl)<0' is always false [knownConditionTrueFalse] maildrop-3.2.1/libs/maildir/maildiraclt.c:1106:23: note: Calling function 'maildir_aclt_del' returns 0 maildrop-3.2.1/libs/maildir/maildiraclt.c:1106:45: note: Condition 'maildir_aclt_del(aclt,NULL,&p->acl)<0' is always false maildrop-3.2.1/libs/maildir/maildiraclt.c:466:4: error: Memory leak: q [memleak] maildrop-3.2.1/libs/maildir/maildiraclt.c:489:9: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildiraclt.c:395:8: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildiraclt.c:489:9: note: Shadow variable maildrop-3.2.1/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.2.1/libs/maildir/maildiraclt.c:761:57: note: You might need to cast the function pointer here maildrop-3.2.1/libs/maildir/maildiraclt.c:652:45: note: Parameter 'void_arg' can be declared as pointer to const maildrop-3.2.1/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.2.1/libs/maildir/maildiraclt.c:776:47: note: You might need to cast the function pointer here maildrop-3.2.1/libs/maildir/maildiraclt.c:660:45: note: Parameter 'void_arg' can be declared as pointer to const maildrop-3.2.1/libs/maildir/maildiraclt.c:950:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/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.2.1/libs/maildir/maildiraclt.c:1153:46: note: You might need to cast the function pointer here maildrop-3.2.1/libs/maildir/maildiraclt.c:1157:52: note: Parameter 'void_arg' can be declared as pointer to const maildrop-3.2.1/libs/maildir/maildircache.c:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildircache.c:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildircache.c:285:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildircache.c:371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildircache.c:483:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildircache.c:602:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/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.2.1/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.2.1/libs/maildir/maildircache.c:91:37: style: Condition '*p==';'' is always false [knownConditionTrueFalse] maildrop-3.2.1/libs/maildir/maildircache.c:91:31: style: Same expression '*p==';'' found multiple times in chain of '||' operators. [duplicateExpression] maildrop-3.2.1/libs/maildir/maildircache.c:302:15: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildircache.c:286:7: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildircache.c:302:15: note: Shadow variable maildrop-3.2.1/libs/maildir/maildircache.c:555:22: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildircache.c:466:8: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildircache.c:555:22: note: Shadow variable maildrop-3.2.1/libs/maildir/maildircache.c:111:15: style: Variable 'xdigit' can be declared as const array [constVariable] maildrop-3.2.1/libs/maildir/maildircache.c:150:7: style: Variable 'userid' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildircache.c:199:17: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildircache.c:468:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildircache.c:471:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildircache.c:569:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildircreate.c:69:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildircreate.c:85:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildircreate.c:252:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildircreate.c:46:3: error: Resource handle 'fd' freed twice. [doubleFree] maildrop-3.2.1/libs/maildir/maildircreate.c:42:5: note: Resource handle 'fd' freed twice. maildrop-3.2.1/libs/maildir/maildircreate.c:46:3: note: Resource handle 'fd' freed twice. maildrop-3.2.1/libs/maildir/maildirdelfolder.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirfilename.c:62:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirfilename.c:57:16: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirfilter.c:227:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirfilter.c:665:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAILBOT [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirfilter.c:722:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirfilter.c:893:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirfilter.c:922:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/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.2.1/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.2.1/libs/maildir/maildirfilter.c:202:13: warning: Either the condition 'header' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] maildrop-3.2.1/libs/maildir/maildirfilter.c:423:32: note: Assuming that condition 'header' is not redundant maildrop-3.2.1/libs/maildir/maildirfilter.c:201:3: note: c is assigned 'header' here. maildrop-3.2.1/libs/maildir/maildirfilter.c:202:13: note: Null pointer dereference maildrop-3.2.1/libs/maildir/maildirfilter.c:203:7: warning: Either the condition 'header' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] maildrop-3.2.1/libs/maildir/maildirfilter.c:423:32: note: Assuming that condition 'header' is not redundant maildrop-3.2.1/libs/maildir/maildirfilter.c:201:3: note: c is assigned 'header' here. maildrop-3.2.1/libs/maildir/maildirfilter.c:202:16: note: Assuming condition is false maildrop-3.2.1/libs/maildir/maildirfilter.c:203:7: note: Null pointer dereference maildrop-3.2.1/libs/maildir/maildirfilter.c:238:13: warning: Either the condition 'value' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] maildrop-3.2.1/libs/maildir/maildirfilter.c:425:33: note: Assuming that condition 'value' is not redundant maildrop-3.2.1/libs/maildir/maildirfilter.c:237:3: note: c is assigned 'value' here. maildrop-3.2.1/libs/maildir/maildirfilter.c:238:13: note: Null pointer dereference maildrop-3.2.1/libs/maildir/maildirfilter.c:239:7: warning: Either the condition 'value' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] maildrop-3.2.1/libs/maildir/maildirfilter.c:425:33: note: Assuming that condition 'value' is not redundant maildrop-3.2.1/libs/maildir/maildirfilter.c:237:3: note: c is assigned 'value' here. maildrop-3.2.1/libs/maildir/maildirfilter.c:238:16: note: Assuming condition is false maildrop-3.2.1/libs/maildir/maildirfilter.c:239:7: note: Null pointer dereference maildrop-3.2.1/libs/maildir/maildirfilter.c:364:19: warning: Either the condition 'fromhdr' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] maildrop-3.2.1/libs/maildir/maildirfilter.c:361:9: note: Assuming that condition 'fromhdr' is not redundant maildrop-3.2.1/libs/maildir/maildirfilter.c:364:9: note: Assignment 'c=fromhdr', assigned value is 0 maildrop-3.2.1/libs/maildir/maildirfilter.c:364:19: note: Null pointer dereference maildrop-3.2.1/libs/maildir/maildirfilter.c:199:10: style: Variable '*errcode' is reassigned a value before the old one has been used. [redundantAssignment] maildrop-3.2.1/libs/maildir/maildirfilter.c:193:11: note: *errcode is assigned maildrop-3.2.1/libs/maildir/maildirfilter.c:199:10: note: *errcode is overwritten maildrop-3.2.1/libs/maildir/maildirfilter.c:50:18: style:inconclusive: Function 'maildir_filter_appendrule' argument 9 names different: declaration 'rulecharset' definition 'charset'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirfilter.h:65:18: note: Function 'maildir_filter_appendrule' argument 9 names different: declaration 'rulecharset' definition 'charset'. maildrop-3.2.1/libs/maildir/maildirfilter.c:50:18: note: Function 'maildir_filter_appendrule' argument 9 names different: declaration 'rulecharset' definition 'charset'. maildrop-3.2.1/libs/maildir/maildirfilter.c:884:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirfilter2.c:35:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAILDIRFILTERCONFIG [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirfilter2.c:62:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirfilter2.c:88:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirfilter2.c:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirflags.c:18:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.2.1/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.2.1/libs/maildir/maildirgetquota.c:37:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirinfo.c:102:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirinfo.c:463:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirinfo.c:508:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unicode_x_smap_modutf8 [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirinfo.c:650:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirinfo.c:442:10: error: Deallocation of an auto-variable (n) results in undefined behaviour. [autovarInvalidDeallocation] maildrop-3.2.1/libs/maildir/maildirinfo.c:458:13: note: Passed to 'strcpy'. maildrop-3.2.1/libs/maildir/maildirinfo.c:442:10: note: Deallocating memory that was not dynamically allocated maildrop-3.2.1/libs/maildir/maildirinfo.c:87:19: style:inconclusive: Function 'maildir_info_imap_find' argument 3 names different: declaration 'myid' definition 'myId'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirinfo.h:30:19: note: Function 'maildir_info_imap_find' argument 3 names different: declaration 'myid' definition 'myId'. maildrop-3.2.1/libs/maildir/maildirinfo.c:87:19: note: Function 'maildir_info_imap_find' argument 3 names different: declaration 'myid' definition 'myId'. maildrop-3.2.1/libs/maildir/maildirinfo.c:632:19: style:inconclusive: Function 'maildir_info_smap_find' argument 3 names different: declaration 'myid' definition 'myId'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirinfo.h:65:19: note: Function 'maildir_info_smap_find' argument 3 names different: declaration 'myid' definition 'myId'. maildrop-3.2.1/libs/maildir/maildirinfo.c:632:19: note: Function 'maildir_info_smap_find' argument 3 names different: declaration 'myid' definition 'myId'. maildrop-3.2.1/libs/maildir/maildirinfo2.c:69:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirinfo2.c:134:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unicode_x_imap_modutf7 [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirinfo2.c:146:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unicode_x_imap_modutf7 [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirkeywords.c:49:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirkeywords.c:42:50: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildir/maildirkeywords.c:242:33: style: Variable 'e1' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirkeywords.c:242:38: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirkeywords.c:255:37: style: Parameter 'ke' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/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.2.1/libs/maildir/maildirkeywords3.c:52:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirkeywords3.c:65:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirkeywords3.c:198:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirkeywords3.c:297:48: style:inconclusive: Function 'g_getMessageFilename' argument 1 names different: declaration 'n' definition 'indexNum'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirkeywords3.c:138:48: note: Function 'g_getMessageFilename' argument 1 names different: declaration 'n' definition 'indexNum'. maildrop-3.2.1/libs/maildir/maildirkeywords3.c:297:48: note: Function 'g_getMessageFilename' argument 1 names different: declaration 'n' definition 'indexNum'. maildrop-3.2.1/libs/maildir/maildirkeywords3.c:317:37: style:inconclusive: Function 'g_updateKeywords' argument 1 names different: declaration 'n' definition 'indexNum'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirkeywords3.c:142:37: note: Function 'g_updateKeywords' argument 1 names different: declaration 'n' definition 'indexNum'. maildrop-3.2.1/libs/maildir/maildirkeywords3.c:317:37: note: Function 'g_updateKeywords' argument 1 names different: declaration 'n' definition 'indexNum'. maildrop-3.2.1/libs/maildir/maildirkeywords3.c:242:28: style: Variable 'g' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirkeywords4.cpp:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirkeywords4.cpp:51:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirkeywords4.cpp:69:26: warning: 'operator=' should check for assignment to self to avoid problems with dynamic memory. [operatorEqToSelf] maildrop-3.2.1/libs/maildir/maildirkeywords4.cpp:89:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] maildrop-3.2.1/libs/maildir/maildirkeywords4.cpp:138:60: performance: Function parameter 'flagName' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/maildir/maildirkeywords4.cpp:152:51: performance: Function parameter 's' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/maildir/maildirkeywords4.cpp:163:18: performance: Function parameter 'keywords' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/maildir/maildirkw.C:171:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirkw.C:354:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirkw.C:226:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] maildrop-3.2.1/libs/maildir/maildirkw.C:206:34: style: Variable 'e' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirkw.C:217:34: style: Variable 'k' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirkwtest.c:48:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable firstEntry [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirkwtest.c:70:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable userNum [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirlist.c:47:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirlock.c:57:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirlock.c:23:32: style:inconclusive: Function 'maildir_lock' argument 1 names different: declaration 'maildir' definition 'dir'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirwatch.h:131:32: note: Function 'maildir_lock' argument 1 names different: declaration 'maildir' definition 'dir'. maildrop-3.2.1/libs/maildir/maildirlock.c:23:32: note: Function 'maildir_lock' argument 1 names different: declaration 'maildir' definition 'dir'. maildrop-3.2.1/libs/maildir/maildirmake.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirmake.c:138:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirmake.c:229:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirmake.c:291:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirmake.c:648:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unicode_x_smap_modutf8 [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirmake.c:286:17: warning: If memory allocation fails, then there is a possible null pointer dereference: mailfilter_newname [nullPointerOutOfMemory] maildrop-3.2.1/libs/maildir/maildirmake.c:284:28: note: Assuming allocation function fails maildrop-3.2.1/libs/maildir/maildirmake.c:284:28: note: Assignment 'mailfilter_newname=malloc(strlen(mailfilter)+10)', assigned value is 0 maildrop-3.2.1/libs/maildir/maildirmake.c:286:17: note: Null pointer dereference maildrop-3.2.1/libs/maildir/maildirmake.c:316:15: warning: Either the condition '!converted' is redundant or there is possible null pointer dereference: converted. [nullPointerRedundantCheck] maildrop-3.2.1/libs/maildir/maildirmake.c:306:8: note: Assuming that condition '!converted' is not redundant maildrop-3.2.1/libs/maildir/maildirmake.c:316:15: note: Null pointer dereference maildrop-3.2.1/libs/maildir/maildirmake.c:447:16: warning: If memory allocation fails, then there is a possible null pointer dereference: courierimapsubscribed [nullPointerOutOfMemory] maildrop-3.2.1/libs/maildir/maildirmake.c:444:30: note: Assuming allocation function fails maildrop-3.2.1/libs/maildir/maildirmake.c:444:30: note: Assignment 'courierimapsubscribed=malloc(strlen(maildir)+100)', assigned value is 0 maildrop-3.2.1/libs/maildir/maildirmake.c:447:16: note: Null pointer dereference maildrop-3.2.1/libs/maildir/maildirmake.c:449:16: warning: If memory allocation fails, then there is a possible null pointer dereference: courierimapsubscribed_new [nullPointerOutOfMemory] maildrop-3.2.1/libs/maildir/maildirmake.c:445:34: note: Assuming allocation function fails maildrop-3.2.1/libs/maildir/maildirmake.c:445:34: note: Assignment 'courierimapsubscribed_new=malloc(strlen(maildir)+100)', assigned value is 0 maildrop-3.2.1/libs/maildir/maildirmake.c:449:16: note: Null pointer dereference maildrop-3.2.1/libs/maildir/maildirmake.c:456:38: warning: If memory allocation fails, then there is a possible null pointer dereference: courierimapsubscribed [nullPointerOutOfMemory] maildrop-3.2.1/libs/maildir/maildirmake.c:444:30: note: Assuming allocation function fails maildrop-3.2.1/libs/maildir/maildirmake.c:444:30: note: Assignment 'courierimapsubscribed=malloc(strlen(maildir)+100)', assigned value is 0 maildrop-3.2.1/libs/maildir/maildirmake.c:456:38: note: Null pointer dereference maildrop-3.2.1/libs/maildir/maildirmake.c:358:12: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildirmake.c:354:11: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildirmake.c:358:12: note: Shadow variable maildrop-3.2.1/libs/maildir/maildirmake.c:641:16: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildirmake.c:617:7: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildirmake.c:641:16: note: Shadow variable maildrop-3.2.1/libs/maildir/maildirmake.c:667:15: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildirmake.c:617:7: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildirmake.c:667:15: note: Shadow variable maildrop-3.2.1/libs/maildir/maildirmake.c:696:16: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildirmake.c:617:7: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildirmake.c:696:16: note: Shadow variable maildrop-3.2.1/libs/maildir/maildirmake.c:719:10: style: Local variable 'maildir' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildirmake.c:616:13: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildirmake.c:719:10: note: Shadow variable maildrop-3.2.1/libs/maildir/maildirmake.c:727:10: style: Local variable 'maildir' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildirmake.c:616:13: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildirmake.c:727:10: note: Shadow variable maildrop-3.2.1/libs/maildir/maildirmake.c:49:7: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirmake.c:258:27: style: Variable 'list' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirmake.c:622:7: style: Variable 'addshared' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirmake.c:622:21: style: Variable 'delshared' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirmake.c:719:10: style: Variable 'maildir' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirmake.c:720:10: style: Variable 'mailfilter' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirmake.c:727:10: style: Variable 'maildir' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirmake.c:728:10: style: Variable 'mailfilter' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirmake2.c:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirmake2.c:119:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirmake2.c:140:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirmake2.c:72:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirmkdir.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirnewshared.c:58:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirnewshared.c:155:7: error: Address of local auto-variable assigned to a function parameter. [autoVariables] maildrop-3.2.1/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.2.1/libs/maildir/maildirnewshared.c:120:6: note: info->cb_arg is assigned maildrop-3.2.1/libs/maildir/maildirnewshared.c:122:18: note: info->cb_arg is overwritten maildrop-3.2.1/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.2.1/libs/maildir/maildirnewshared.c:155:7: note: info->cb_arg is assigned maildrop-3.2.1/libs/maildir/maildirnewshared.c:160:19: note: info->cb_arg is overwritten maildrop-3.2.1/libs/maildir/maildirnewshared2.c:48:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirnewshared2.c:144:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maildir_shindex_cache [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildiropen.c:119:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NDELAY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildiropen.c:113:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirparsequota.c:22:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirpath.c:50:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirpath.c:107:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirpurgetmp.c:45:16: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirpurgetmp.c:93:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirquota.c:131:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirquota.c:296:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirquota.c:337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirquota.c:450:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirquota.c:583:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirquota.c:661:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirquota.c:840:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirquota.c:901:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirquota.c:1007:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirquota.c:826:40: style:inconclusive: Function 'maildirquota_countfile' argument 1 names different: declaration 'filename' definition 'n'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirquota.h:140:40: note: Function 'maildirquota_countfile' argument 1 names different: declaration 'filename' definition 'n'. maildrop-3.2.1/libs/maildir/maildirquota.c:826:40: note: Function 'maildirquota_countfile' argument 1 names different: declaration 'filename' definition 'n'. maildrop-3.2.1/libs/maildir/maildirquota.c:199:11: style: Local variable 'n' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildirquota.c:123:6: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildirquota.c:199:11: note: Shadow variable maildrop-3.2.1/libs/maildir/maildirquota.c:201:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirquota.c:325:44: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildir/maildirquota.c:326:30: style: Parameter 'quota' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildir/maildirquota.c:415:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirquota.c:761:16: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirrename.c:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirrename.c:191:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirrename.c:208:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirrename.c:359:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/maildirrequota.c:27:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDIRSEP [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirsearch.c:10:63: style:inconclusive: Function 'maildir_search_start_unicode' argument 1 names different: declaration 'engine' definition 'sei'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirsearch.h:66:63: note: Function 'maildir_search_start_unicode' argument 1 names different: declaration 'engine' definition 'sei'. maildrop-3.2.1/libs/maildir/maildirsearch.c:10:63: note: Function 'maildir_search_start_unicode' argument 1 names different: declaration 'engine' definition 'sei'. maildrop-3.2.1/libs/maildir/maildirsearch.c:11:22: style:inconclusive: Function 'maildir_search_start_unicode' argument 2 names different: declaration 'string' definition 's'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirsearch.h:67:22: note: Function 'maildir_search_start_unicode' argument 2 names different: declaration 'string' definition 's'. maildrop-3.2.1/libs/maildir/maildirsearch.c:11:22: note: Function 'maildir_search_start_unicode' argument 2 names different: declaration 'string' definition 's'. maildrop-3.2.1/libs/maildir/maildirsearch.c:54:59: style:inconclusive: Function 'maildir_search_start_str' argument 1 names different: declaration 'engine' definition 'sei'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirsearch.h:61:59: note: Function 'maildir_search_start_str' argument 1 names different: declaration 'engine' definition 'sei'. maildrop-3.2.1/libs/maildir/maildirsearch.c:54:59: note: Function 'maildir_search_start_str' argument 1 names different: declaration 'engine' definition 'sei'. maildrop-3.2.1/libs/maildir/maildirsearch.c:55:21: style:inconclusive: Function 'maildir_search_start_str' argument 2 names different: declaration 'string' definition 's'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirsearch.h:62:21: note: Function 'maildir_search_start_str' argument 2 names different: declaration 'string' definition 's'. maildrop-3.2.1/libs/maildir/maildirsearch.c:55:21: note: Function 'maildir_search_start_str' argument 2 names different: declaration 'string' definition 's'. maildrop-3.2.1/libs/maildir/maildirsearch.h:146:9: style:inconclusive: Technically the member function 'mail::Search::getSearchLen' can be const. [functionConst] maildrop-3.2.1/libs/maildir/maildirsearch.h:170:7: style:inconclusive: Technically the member function 'mail::Search::atstart' can be const. [functionConst] maildrop-3.2.1/libs/maildir/maildirsearch.h:171:2: style:inconclusive: Technically the member function 'mail::Search::operatorbool' can be const. [functionConst] maildrop-3.2.1/libs/maildir/maildirsearch.h:151:29: performance: Function parameter 's' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/maildir/maildirsearch.h:151:44: performance: Function parameter 'chset' should be passed by const reference. [passedByValue] maildrop-3.2.1/libs/maildir/maildirshared.c:877:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirshared.c:889:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirshared.c:871:8: style: Parameter 'voidp' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildir/maildirshared.c:883:8: style: Parameter 'voidp' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildir/maildirshared2.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirwatch.c:375:8: style: Variable '*fdret' is reassigned a value before the old one has been used. [redundantAssignment] maildrop-3.2.1/libs/maildir/maildirwatch.c:360:8: note: *fdret is assigned maildrop-3.2.1/libs/maildir/maildirwatch.c:375:8: note: *fdret is overwritten maildrop-3.2.1/libs/maildir/maildirwatch.c:303:45: warning: Function 'maildirwatch_start' argument order different: declaration 'p, w' definition 'w, mc' [funcArgOrderDifferent] maildrop-3.2.1/libs/maildir/maildirwatch.h:79:45: note: Function 'maildirwatch_start' argument order different: declaration 'p, w' definition 'w, mc' maildrop-3.2.1/libs/maildir/maildirwatch.c:303:45: note: Function 'maildirwatch_start' argument order different: declaration 'p, w' definition 'w, mc' maildrop-3.2.1/libs/maildir/maildirwatch.c:353:56: style:inconclusive: Function 'maildirwatch_started' argument 1 names different: declaration 'w' definition 'mc'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirwatch.h:93:56: note: Function 'maildirwatch_started' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.2.1/libs/maildir/maildirwatch.c:353:56: note: Function 'maildirwatch_started' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.2.1/libs/maildir/maildirwatch.c:406:54: style:inconclusive: Function 'maildirwatch_check' argument 1 names different: declaration 'w' definition 'mc'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirwatch.h:109:54: note: Function 'maildirwatch_check' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.2.1/libs/maildir/maildirwatch.c:406:54: note: Function 'maildirwatch_check' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.2.1/libs/maildir/maildirwatch.c:496:53: style:inconclusive: Function 'maildirwatch_end' argument 1 names different: declaration 'w' definition 'mc'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildir/maildirwatch.h:117:53: note: Function 'maildirwatch_end' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.2.1/libs/maildir/maildirwatch.c:496:53: note: Function 'maildirwatch_end' argument 1 names different: declaration 'w' definition 'mc'. maildrop-3.2.1/libs/maildir/maildirwatch.c:203:56: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildir/maildirwatch.c:496:53: style: Parameter 'mc' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildir/maildirwatchprog.c:112:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/maildirwatchprog.c:144:8: style: Local variable 'rc' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildir/maildirwatchprog.c:85:6: note: Shadowed declaration maildrop-3.2.1/libs/maildir/maildirwatchprog.c:144:8: note: Shadow variable maildrop-3.2.1/libs/maildir/testmaildiraclt.c:97:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/testmaildiraclt.c:32:8: style: Variable 'cb' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/testmaildirfilter.c:28:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildir/testmaildirfilter.c:22:27: style: Variable 'r' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildir/testmaildirsearch.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/message.h:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/message.h:121:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/alarm.C:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/alarm.C:149:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/alarm.C:156:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/alarm.h:32:2: warning: Member variable 'Alarm::me' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/mio.h:53:6: style:inconclusive: Technically the member function 'Mio::fd' can be const. [functionConst] maildrop-3.2.1/libs/maildrop/mio.h:62:6: style:inconclusive: Technically the member function 'Mio::errflag' can be const. [functionConst] maildrop-3.2.1/libs/maildrop/message.h:180:23: style:inconclusive: Technically the member function 'Message::MessageSize' can be const. [functionConst] maildrop-3.2.1/libs/maildrop/message.h:76:8: note: Technically the member function 'Message::MessageSize' can be const. maildrop-3.2.1/libs/maildrop/message.h:180:23: note: Technically the member function 'Message::MessageSize' can be const. maildrop-3.2.1/libs/maildrop/message.h:77:8: style:inconclusive: Technically the member function 'Message::MessageLines' can be const. [functionConst] maildrop-3.2.1/libs/maildrop/messageinfo.h:26:7: style: The member function 'MessageInfo::filtered' can be static. [functionStatic] maildrop-3.2.1/libs/maildrop/mio.h:81:7: warning: The class 'MioStdio' defines member function with name 'write' also defined in its parent class 'Mio'. [duplInheritedMember] maildrop-3.2.1/libs/maildrop/mio.h:66:7: note: Parent function 'Mio::write' maildrop-3.2.1/libs/maildrop/mio.h:81:7: note: Derived function 'MioStdio::write' maildrop-3.2.1/libs/maildrop/mio.h:78:2: style: Class 'MioStdio' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/maildrop/mio.h:79:3: style: The destructor '~MioStdio' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] maildrop-3.2.1/libs/maildrop/mio.h:40:11: note: Virtual destructor in base class maildrop-3.2.1/libs/maildrop/mio.h:79:3: note: Destructor in derived class maildrop-3.2.1/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.2.1/libs/maildrop/exittrap.h:29:11: note: Virtual destructor in base class maildrop-3.2.1/libs/maildrop/tempfile.h:46:3: note: Destructor in derived class maildrop-3.2.1/libs/maildrop/alarmsleep.h:22:2: style: Class 'AlarmSleep' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/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.2.1/libs/maildrop/alarm.h:33:11: note: Virtual destructor in base class maildrop-3.2.1/libs/maildrop/alarmsleep.h:23:3: note: Destructor in derived class maildrop-3.2.1/libs/maildrop/alarmtimer.h:22:6: style:inconclusive: Technically the member function 'AlarmTimer::Expired' can be const. [functionConst] maildrop-3.2.1/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.2.1/libs/maildrop/alarm.h:37:7: note: Parent function 'Alarm::Set' maildrop-3.2.1/libs/maildrop/alarmtimer.C:19:18: note: Derived function 'AlarmTimer::Set' maildrop-3.2.1/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.2.1/libs/maildrop/alarm.h:33:11: note: Virtual destructor in base class maildrop-3.2.1/libs/maildrop/alarmtimer.h:21:3: note: Destructor in derived class maildrop-3.2.1/libs/maildrop/buffer.C:26:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXLONGSIZE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/buffer.C:10:31: style:inconclusive: Function 'add_integer' argument 1 names different: declaration 'buf' definition 'b'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildrop/buffer.h:9:31: note: Function 'add_integer' argument 1 names different: declaration 'buf' definition 'b'. maildrop-3.2.1/libs/maildrop/buffer.C:10:31: note: Function 'add_integer' argument 1 names different: declaration 'buf' definition 'b'. maildrop-3.2.1/libs/maildrop/buffer.C:24:42: style:inconclusive: Function 'add_number' argument 2 names different: declaration 'val' definition 'd'. [funcArgNamesDifferent] maildrop-3.2.1/libs/maildrop/buffer.h:8:42: note: Function 'add_number' argument 2 names different: declaration 'val' definition 'd'. maildrop-3.2.1/libs/maildrop/buffer.C:24:42: note: Function 'add_number' argument 2 names different: declaration 'val' definition 'd'. maildrop-3.2.1/libs/maildrop/deliver.C:195:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/deliver.C:274:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/formatmbox.h:50:2: warning: Member variable 'FormatMbox::do_escape' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/formatmbox.h:50:2: warning: Member variable 'FormatMbox::next_func' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/formatmbox.h:50:2: warning: Member variable 'FormatMbox::inheader' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/formatmbox.h:50:2: warning: Member variable 'FormatMbox::msgsize' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/dotlockrefresh.h:25:2: style: Class 'DotLockRefresh' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/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.2.1/libs/maildrop/alarm.h:33:11: note: Virtual destructor in base class maildrop-3.2.1/libs/maildrop/dotlockrefresh.h:26:3: note: Destructor in derived class maildrop-3.2.1/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.2.1/libs/maildrop/tempfile.h:46:3: note: Virtual destructor in base class maildrop-3.2.1/libs/maildrop/dotlock.h:25:3: note: Destructor in derived class maildrop-3.2.1/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.2.1/libs/maildrop/dotlock.h:25:3: note: Virtual destructor in base class maildrop-3.2.1/libs/maildrop/deliverdotlock.h:26:3: note: Destructor in derived class maildrop-3.2.1/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.2.1/libs/maildrop/exittrap.h:29:11: note: Virtual destructor in base class maildrop-3.2.1/libs/maildrop/filelock.h:23:11: note: Destructor in derived class maildrop-3.2.1/libs/maildrop/deliver.C:123:14: style: Variable 'pipe.fds[1]' is assigned a value that is never used. [unreadVariable] maildrop-3.2.1/libs/maildrop/deliver.C:56:14: style: Unused variable: b [unusedVariable] maildrop-3.2.1/libs/maildrop/deliver.C:186:15: style: Unused variable: name_buf [unusedVariable] maildrop-3.2.1/libs/maildrop/deliver.C:258:14: style: Unused variable: b [unusedVariable] maildrop-3.2.1/libs/maildrop/dotlock.C:43:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/dotlock.C:149:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCKEXT_DEF [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/dotlock.C:22:10: warning: Member variable 'DotLock::refresh_interval' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/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.2.1/libs/maildrop/alarm.h:37:7: note: Parent function 'Alarm::Set' maildrop-3.2.1/libs/maildrop/alarmtimer.h:20:7: note: Derived function 'AlarmTimer::Set' maildrop-3.2.1/libs/maildrop/dotlock.C:103:26: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] maildrop-3.2.1/libs/maildrop/dotlockmaildrop.C:9:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCKSLEEP_DEF [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/dotlockmaildrop.C:14:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCKTIMEOUT_DEF [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/dotlockmaildrop.C:19:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCKREFRESH_DEF [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/dovecotauth.c:78:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/dovecotauth.c:124:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/dovecotauth.c:236:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/dovecotauth.c:244:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/dovecotauth.c:303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/dovecotauth.c:382:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/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.2.1/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.2.1/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.2.1/libs/maildrop/dovecotauth.c:321:9: style: Condition 'a.sysusername' is always true [knownConditionTrueFalse] maildrop-3.2.1/libs/maildrop/dovecotauth.c:372:3: error: Memory leak: cmdbuf [memleak] maildrop-3.2.1/libs/maildrop/dovecotauth.c:323:20: style: Variable 'q' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildrop/dovecotauth.c:355:14: style: Variable 'cmdpart1' can be declared as const array [constVariable] maildrop-3.2.1/libs/maildrop/dovecotauth.c:356:14: style: Variable 'cmdpart2' can be declared as const array [constVariable] maildrop-3.2.1/libs/maildrop/filelock.C:44:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/filelock.C:55:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/filter.C:177:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/filter.C:278:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/filter.C:184:7: style: Local variable 'n' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildrop/filter.C:173:6: note: Shadowed declaration maildrop-3.2.1/libs/maildrop/filter.C:184:7: note: Shadow variable maildrop-3.2.1/libs/maildrop/filter.C:159:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildrop/formatmbox.C:64:6: style: Condition '!msglinebuf.c_str()' is always false [knownConditionTrueFalse] maildrop-3.2.1/libs/maildrop/funcs.C:131:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/funcs.C:129:6: style: Condition '!procgroup_set' is always true [knownConditionTrueFalse] maildrop-3.2.1/libs/maildrop/lexer.C:15:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/lexer.h:48:2: warning: Member variable 'Lexer::linenum' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/lexer.h:48:2: warning: Member variable 'Lexer::lasttokentype' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/lexer.C:21:13: style: The member function 'Lexer::error' can be static. [functionStatic] maildrop-3.2.1/libs/maildrop/lexer.h:45:7: note: The member function 'Lexer::error' can be static. maildrop-3.2.1/libs/maildrop/lexer.C:21:13: note: The member function 'Lexer::error' can be static. maildrop-3.2.1/libs/maildrop/lexer.C:509:13: style:inconclusive: Technically the member function 'Lexer::errmsg' can be const. [functionConst] maildrop-3.2.1/libs/maildrop/lexer.h:56:7: note: Technically the member function 'Lexer::errmsg' can be const. maildrop-3.2.1/libs/maildrop/lexer.C:509:13: note: Technically the member function 'Lexer::errmsg' can be const. maildrop-3.2.1/libs/maildrop/lexer.h:59:6: style:inconclusive: Technically the member function 'Lexer::Linenum' can be const. [functionConst] maildrop-3.2.1/libs/maildrop/lexer.C:50:16: style: Local variable 'errmsg' shadows outer function [shadowFunction] maildrop-3.2.1/libs/maildrop/lexer.h:55:7: note: Shadowed declaration maildrop-3.2.1/libs/maildrop/lexer.C:50:16: note: Shadow variable maildrop-3.2.1/libs/maildrop/mailbot-old.c:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot-old.c:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot-old.c:122:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot-old.c:430:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot-old.c:440:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot-old.c:498:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot-old.c:525:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot-old.c:536:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot-old.c:688:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot-old.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.2.1/libs/maildrop/mailbot-old.c:1014:20: style: Local variable 'rfcp' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildrop/mailbot-old.c:668:18: note: Shadowed declaration maildrop-3.2.1/libs/maildrop/mailbot-old.c:1014:20: note: Shadow variable maildrop-3.2.1/libs/maildrop/mailbot-old.c:1020:16: style: Local variable 'charset' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildrop/mailbot-old.c:46:20: note: Shadowed declaration maildrop-3.2.1/libs/maildrop/mailbot-old.c:1020:16: note: Shadow variable maildrop-3.2.1/libs/maildrop/mailbot-old.c:176:17: style: Variable 'h' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildrop/mailbot-old.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.2.1/libs/maildrop/mailbot-old.c:955:31: note: You might need to cast the function pointer here maildrop-3.2.1/libs/maildrop/mailbot-old.c:486:47: note: Parameter 'ptr' can be declared as pointer to const maildrop-3.2.1/libs/maildrop/mailbot-old.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.2.1/libs/maildrop/mailbot-old.c:957:29: note: You might need to cast the function pointer here maildrop-3.2.1/libs/maildrop/mailbot-old.c:490:62: note: Parameter 'ptr' can be declared as pointer to const maildrop-3.2.1/libs/maildrop/mailbot-old.c:585:18: style: Variable 'de' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildrop/mailbot-old.c:990:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildrop/mailbot-old.c:1103:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/maildrop/mailbot.C:67:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot.C:373:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot.C:391:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot.C:482:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot.C:562:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot.C:616:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mailbot.C:900:25: style: Expression is always false because 'else if' condition matches previous condition at line 879. [multiCondition] maildrop-3.2.1/libs/maildrop/mailbot.C:1003:8: style: Local variable 'charset' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildrop/mailbot.C:55:20: note: Shadowed declaration maildrop-3.2.1/libs/maildrop/mailbot.C:1003:8: note: Shadow variable maildrop-3.2.1/libs/maildrop/mailbot.C:1086:13: style: Variable 'h' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/maildrop/mailbot.C:380:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] maildrop-3.2.1/libs/maildrop/mailbot.C:358:18: error: Dereference of an invalid iterator: s.end()+1 [derefInvalidIterator] maildrop-3.2.1/libs/maildrop/mailbot.C:369:18: error: Dereference of an invalid iterator: s.end()+1 [derefInvalidIterator] maildrop-3.2.1/libs/maildrop/maildir.C:180:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/maildir.C:213:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/maildir.C:202:22: style: Redundant condition: The condition '*keywords_s' is redundant since '*keywords_s == ','' is sufficient. [redundantCondition] maildrop-3.2.1/libs/maildrop/maildir.C:233:24: style: Redundant condition: The condition '*keywords_s' is redundant since '*keywords_s == ','' is sufficient. [redundantCondition] maildrop-3.2.1/libs/maildrop/maildir.C:146:8: style: The if condition is the same as the previous if condition [duplicateCondition] maildrop-3.2.1/libs/maildrop/maildir.C:131:8: note: First condition maildrop-3.2.1/libs/maildrop/maildir.C:146:8: note: Second condition maildrop-3.2.1/libs/maildrop/maildir.C:320:17: error: Using pointer to local variable 'dir' that may be invalid. [invalidContainer] maildrop-3.2.1/libs/maildrop/maildir.C:303:26: note: Pointer to container is created here. maildrop-3.2.1/libs/maildrop/maildir.C:306:7: note: Assuming condition is true. maildrop-3.2.1/libs/maildrop/maildir.C:308:8: note: After calling 'resize', iterators or references to the container's data may be invalid . maildrop-3.2.1/libs/maildrop/maildir.C:288:15: note: Variable created here. maildrop-3.2.1/libs/maildrop/maildir.C:320:17: note: Using pointer to local variable 'dir' that may be invalid. maildrop-3.2.1/libs/maildrop/maildir.C:111:15: style: Unused variable: name_buf [unusedVariable] maildrop-3.2.1/libs/maildrop/maildir.C:125:16: style: Unused variable: b [unusedVariable] maildrop-3.2.1/libs/maildrop/maildrop.C:53:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/maildrop.C:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/maildrop.C:100:13: style: Local variable 'n' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildrop/maildrop.C:58:5: note: Shadowed declaration maildrop-3.2.1/libs/maildrop/maildrop.C:100:13: note: Shadow variable maildrop-3.2.1/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.2.1/libs/maildrop/message.C:84:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMALLMSG [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/message.C:156:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMALLMSG [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/message.C:35:10: warning: Member variable 'Message::msglines' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/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.2.1/libs/maildrop/message.C:208:6: note: Assuming that condition '!extra_headers' is not redundant maildrop-3.2.1/libs/maildrop/message.C:209:9: note: Null pointer dereference maildrop-3.2.1/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.2.1/libs/maildrop/message.C:208:6: note: Assuming that condition '!extra_headers' is not redundant maildrop-3.2.1/libs/maildrop/message.C:210:2: note: Null pointer dereference maildrop-3.2.1/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.2.1/libs/maildrop/message.C:208:6: note: Assuming that condition '!extra_headers' is not redundant maildrop-3.2.1/libs/maildrop/message.C:211:19: note: Assignment 'extra_headersptr=extra_headers', assigned value is 0 maildrop-3.2.1/libs/maildrop/message.C:212:8: note: Null pointer dereference maildrop-3.2.1/libs/maildrop/message.C:134:26: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/maildrop/message.C:136:16: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/maildrop/mio.C:17:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mio.C:26:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mio.C:35:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mio.C:44:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mio.C:53:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/mio.C:60:6: warning: Member variable 'Mio::readptr' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/mio.C:60:6: warning: Member variable 'Mio::writeptr' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/mio.C:60:6: warning: Member variable 'Mio::readstartpos' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/mio.C:60:6: warning: Member variable 'Mio::readsize' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/mio.C:60:6: warning: Member variable 'Mio::buf' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/mio.C:218:12: style:inconclusive: Technically the member function 'Mio::tell' can be const. [functionConst] maildrop-3.2.1/libs/maildrop/mio.h:51:8: note: Technically the member function 'Mio::tell' can be const. maildrop-3.2.1/libs/maildrop/mio.C:218:12: note: Technically the member function 'Mio::tell' can be const. maildrop-3.2.1/libs/maildrop/mio.C:98:27: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/maildrop/mio.C:177:25: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/maildrop/search.h:64:2: warning: Member variable 'Search::match_top_header' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/search.h:64:2: warning: Member variable 'Search::match_other_headers' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/search.h:64:2: warning: Member variable 'Search::match_body' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/search.h:64:2: warning: Member variable 'Search::weight1' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/search.h:64:2: warning: Member variable 'Search::weight2' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/search.h:64:2: warning: Member variable 'Search::scoring_match' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/search.h:64:2: warning: Member variable 'Search::score' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/search.h:64:2: warning: Member variable 'Search::foreachp_arg' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/recipe.C:8:9: warning: Member variable 'Recipe::lex' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/maildrop/recipenode.h:125:2: style: Class 'RecipeNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/maildrop/recipe.C:30:2: warning: Either the condition '!n' is redundant or there is possible null pointer dereference: n. [nullPointerRedundantCheck] maildrop-3.2.1/libs/maildrop/recipe.C:28:6: note: Assuming that condition '!n' is not redundant maildrop-3.2.1/libs/maildrop/recipe.C:30:2: note: Null pointer dereference maildrop-3.2.1/libs/maildrop/recipe.C:31:2: warning: Either the condition '!n' is redundant or there is possible null pointer dereference: n. [nullPointerRedundantCheck] maildrop-3.2.1/libs/maildrop/recipe.C:28:6: note: Assuming that condition '!n' is not redundant maildrop-3.2.1/libs/maildrop/recipe.C:31:2: note: Null pointer dereference maildrop-3.2.1/libs/maildrop/recipe.C:47:13: style: The scope of the variable 'b' can be reduced. [variableScope] maildrop-3.2.1/libs/maildrop/recipe.C:40:33: style: Parameter 'r' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/maildrop/recipenode.C:730:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/recipenode.C:1516:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/recipenode.C:160:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.2.1/libs/maildrop/recipenode.C:165:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.2.1/libs/maildrop/recipenode.C:170:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.2.1/libs/maildrop/recipenode.C:175:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.2.1/libs/maildrop/recipenode.C:180:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.2.1/libs/maildrop/recipenode.C:185:7: style: Boolean value assigned to floating point variable. [assignBoolToFloat] maildrop-3.2.1/libs/maildrop/recipenode.C:1398:18: style: The member function 'RecipeNode::rfc822getaddr' can be static. [functionStatic] maildrop-3.2.1/libs/maildrop/recipenode.h:137:7: note: The member function 'RecipeNode::rfc822getaddr' can be static. maildrop-3.2.1/libs/maildrop/recipenode.C:1398:18: note: The member function 'RecipeNode::rfc822getaddr' can be static. maildrop-3.2.1/libs/maildrop/recipenode.C:1476:17: style: The member function 'RecipeNode::rfc822hasaddr' can be static. [functionStatic] maildrop-3.2.1/libs/maildrop/recipenode.h:139:6: note: The member function 'RecipeNode::rfc822hasaddr' can be static. maildrop-3.2.1/libs/maildrop/recipenode.C:1476:17: note: The member function 'RecipeNode::rfc822hasaddr' can be static. maildrop-3.2.1/libs/maildrop/recipenode.C:1223:18: style: The member function 'RecipeNode::SpecialEscape' can be static. [functionStatic] maildrop-3.2.1/libs/maildrop/recipenode.h:140:7: note: The member function 'RecipeNode::SpecialEscape' can be static. maildrop-3.2.1/libs/maildrop/recipenode.C:1223:18: note: The member function 'RecipeNode::SpecialEscape' can be static. maildrop-3.2.1/libs/maildrop/recipenode.C:1506:17: style: The member function 'RecipeNode::dolookup' can be static. [functionStatic] maildrop-3.2.1/libs/maildrop/recipenode.h:141:6: note: The member function 'RecipeNode::dolookup' can be static. maildrop-3.2.1/libs/maildrop/recipenode.C:1506:17: note: The member function 'RecipeNode::dolookup' can be static. maildrop-3.2.1/libs/maildrop/recipenode.C:650:5: style: Throwing a copy of the caught exception instead of rethrowing the original exception. [exceptRethrowCopy] maildrop-3.2.1/libs/maildrop/recipenode.C:792:10: style: Local variable 'r' shadows outer argument [shadowArgument] maildrop-3.2.1/libs/maildrop/recipenode.C:66:35: note: Shadowed declaration maildrop-3.2.1/libs/maildrop/recipenode.C:792:10: note: Shadow variable maildrop-3.2.1/libs/maildrop/recipenode.C:843:16: style: Variable 'v' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/maildrop/recipenode.C:1416:44: style: Parameter 'buf' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/maildrop/recipenode.C:1506:39: style: Parameter 'strng' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/maildrop/recipenode.C:1506:59: style: Parameter 'filename' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/maildrop/recipenode.C:1498:5: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] maildrop-3.2.1/libs/maildrop/regexpnode.h:30:2: style: Class 'RegExpNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/maildrop/reformail.C:65:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/reformail.C:71:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/reformail.C:643:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/reformail.C:686:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/reformail.C:797:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/reformail.C:833:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/reformail.C:1131:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/reformail.C:655:6: style: The scope of the variable 'c' can be reduced. [variableScope] maildrop-3.2.1/libs/maildrop/reformail.C:822:5: style: The scope of the variable 'l' can be reduced. [variableScope] maildrop-3.2.1/libs/maildrop/reformail.C:874:15: style: The scope of the variable 'buf' can be reduced. [variableScope] maildrop-3.2.1/libs/maildrop/reformail.C:221:16: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildrop/reformail.C:170:13: note: Shadowed declaration maildrop-3.2.1/libs/maildrop/reformail.C:221:16: note: Shadow variable maildrop-3.2.1/libs/maildrop/reformail.C:677:9: style: Local variable 'c' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildrop/reformail.C:655:6: note: Shadowed declaration maildrop-3.2.1/libs/maildrop/reformail.C:677:9: note: Shadow variable maildrop-3.2.1/libs/maildrop/reformail.C:874:15: style: Local variable 'buf' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/maildrop/reformail.C:821:13: note: Shadowed declaration maildrop-3.2.1/libs/maildrop/reformail.C:874:15: note: Shadow variable maildrop-3.2.1/libs/maildrop/reformail.C:407:31: style: Parameter 'hdrs' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/maildrop/reformail.C:793: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.2.1/libs/maildrop/reformail.C:801: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.2.1/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.2.1/libs/maildrop/rematch.h:26:11: note: Virtual destructor in base class maildrop-3.2.1/libs/maildrop/rematchmsg.h:46:11: note: Destructor in derived class maildrop-3.2.1/libs/maildrop/rematchmsg.C:28:5: style: The scope of the variable 'c' can be reduced. [variableScope] maildrop-3.2.1/libs/maildrop/rematchstr.h:22:2: style: Class 'ReMatchStr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/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.2.1/libs/maildrop/rematch.h:26:11: note: Virtual destructor in base class maildrop-3.2.1/libs/maildrop/rematchstr.h:23:3: note: Destructor in derived class maildrop-3.2.1/libs/maildrop/search.C:57:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_CASELESS [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/search.C:199:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC2045_DECODEMSG_NOHEADERS [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/search.C:299:14: style: The member function 'Search::init_match_vars' can be static. [functionStatic] maildrop-3.2.1/libs/maildrop/search.h:73:7: note: The member function 'Search::init_match_vars' can be static. maildrop-3.2.1/libs/maildrop/search.C:299:14: note: The member function 'Search::init_match_vars' can be static. maildrop-3.2.1/libs/maildrop/search.C:212:26: style: Condition 'current_line.size()>=1' is always false [knownConditionTrueFalse] maildrop-3.2.1/libs/maildrop/search.C:219:10: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/maildrop/search.C:330:14: style: C-style pointer casting [cstyleCast] maildrop-3.2.1/libs/maildrop/search.C:74:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] maildrop-3.2.1/libs/maildrop/search.C:304:14: style: The scope of the variable 'varname' can be reduced. [variableScope] maildrop-3.2.1/libs/maildrop/search.C:176:33: style: Checking if unsigned expression 'ovector_count' is less than zero. [unsignedLessThanZero] maildrop-3.2.1/libs/maildrop/search.C:300:21: style: Parameter 'offsets' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/maildrop/tempfile.C:67:9: warning: Either the condition '!filename' is redundant or there is possible null pointer dereference: filename. [nullPointerRedundantCheck] maildrop-3.2.1/libs/maildrop/tempfile.C:66:6: note: Assuming that condition '!filename' is not redundant maildrop-3.2.1/libs/maildrop/tempfile.C:67:9: note: Null pointer dereference maildrop-3.2.1/libs/maildrop/testtimer.C:29:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/maildrop/testtimer.C:25:3: style: Instance of 'AlarmSleep' object is destroyed immediately. [unusedScopedObject] maildrop-3.2.1/libs/maildrop/testtimer.C:40:3: style: Instance of 'AlarmSleep' object is destroyed immediately. [unusedScopedObject] maildrop-3.2.1/libs/maildrop/token.C:78:20: style:inconclusive: Technically the member function 'Token::Name' can be const. [functionConst] maildrop-3.2.1/libs/maildrop/token.h:104:14: note: Technically the member function 'Token::Name' can be const. maildrop-3.2.1/libs/maildrop/token.C:78:20: note: Technically the member function 'Token::Name' can be const. maildrop-3.2.1/libs/maildrop/varlist.C:78:7: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] maildrop-3.2.1/libs/makedat/makedatprog.c:34:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/makedat/makedatprog.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/makedat/makedatprog.c:91:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/makedat/makedatprog.c:47:8: style: Variable 'buflen' is assigned a value that is never used. [unreadVariable] maildrop-3.2.1/libs/numlib/changeuidgid.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/numlib/changeuidgid.c:185:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/base64.c:47:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/encode.C:142:6: style: The scope of the variable 'a' can be reduced. [variableScope] maildrop-3.2.1/libs/rfc2045/encode.C:142:10: style: The scope of the variable 'b' can be reduced. [variableScope] maildrop-3.2.1/libs/rfc2045/encode.C:142:14: style: The scope of the variable 'c' can be reduced. [variableScope] maildrop-3.2.1/libs/rfc2045/encode.C:144:6: style: The scope of the variable 'd' can be reduced. [variableScope] maildrop-3.2.1/libs/rfc2045/encode.C:144:9: style: The scope of the variable 'e' can be reduced. [variableScope] maildrop-3.2.1/libs/rfc2045/encode.C:144:12: style: The scope of the variable 'f' can be reduced. [variableScope] maildrop-3.2.1/libs/rfc2045/encode.C:144:15: style: The scope of the variable 'g' can be reduced. [variableScope] maildrop-3.2.1/libs/rfc2045/encode.C:142:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] maildrop-3.2.1/libs/rfc2045/encode.C:142:11: style: Variable 'b' is assigned a value that is never used. [unreadVariable] maildrop-3.2.1/libs/rfc2045/encode.C:142:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] maildrop-3.2.1/libs/rfc2045/encodeautodetect.C:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/encodeautodetect.C:158:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/encodeautodetect.C:166:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/encodeautodetect.C:167:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/makemime.C:869:3: error: There is an unknown macro here somewhere. Configuration is required. If RFC2045MIMEMSG is a macro then please configure it. [unknownMacro] maildrop-3.2.1/libs/rfc2045/reformime.C:259:17: error: There is an unknown macro here somewhere. Configuration is required. If RFC2045PKG is a macro then please configure it. [unknownMacro] maildrop-3.2.1/libs/rfc2045/rfc2045.c:701:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.c:799:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.c:914:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.c:1113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tokens [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.c:1141:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tokens [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.c:1184:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.c:1197:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.c:181:8: style: Local variable 'p' shadows outer argument [shadowArgument] maildrop-3.2.1/libs/rfc2045/rfc2045.c:176:14: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045.c:181:8: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045.c:595:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/rfc2045.c:1180:7: style: Variable 's' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/rfc2045_fromfd.c:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045_fromfd.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3112:27: debug: simplifyOperatorName: found unsimplified operator name [debug] maildrop-3.2.1/libs/rfc2045/rfc2045.h:911:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1769:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subentities [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1804:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endbody [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1842:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subentities [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1971:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crlf [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2007:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parsing_entities [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2089:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crlf [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2254:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qp [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2442:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sevenbit [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2548:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mime1 [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2962:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable left [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2976:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3006:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable left [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3361:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3581:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_mime_header [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045acchkcpp.C:16:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3320:10: debug: CheckClass::isMemberVar found used member variable 'subentities' with varid 0 [varid0] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3363:17: debug: CheckClass::isMemberVar found used member variable 'startbody' with varid 0 [varid0] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1791:3: debug: CheckClass::isMemberVar found used member variable 'subentities' with varid 0 [varid0] maildrop-3.2.1/libs/rfc2045/rfc2045acchkcpp.C:16:6: debug: CheckClass::isMemberVar found used member variable 'content_type' with varid 0 [varid0] maildrop-3.2.1/libs/rfc2045/rfc2045acchkcpp.C:18:3: debug: CheckClass::isMemberVar found used member variable 'subentities' with varid 0 [varid0] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1971:19: style:inconclusive: Either there is a missing 'override', or the member function 'iter::eol_size' can be const. [functionConst] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2160:7: style: Either there is a missing 'override', or the member function 'iter::isnybble' can be static. [functionStatic] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1543:3: style: Struct 'rfc2231_header' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1866:3: style: Class 'dsn_handler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2967:2: style: Struct 'headers' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3110:2: style: Class 'converter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3162:2: style: Class 'mime_unicode_decoder_helper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2031:11: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2030:7: note: outer condition: *cached_boundary_found maildrop-3.2.1/libs/rfc2045/rfc2045.h:2031:11: note: identical inner condition: *cached_boundary_found maildrop-3.2.1/libs/rfc2045/rfc2045.h:2007:15: style: Local variable 'e' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1904:17: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045.h:2007:15: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045.h:2009:11: style: Local variable 'b' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1903:17: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045.h:2009:11: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045.h:2065:8: style: Local variable 'b' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1903:17: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045.h:2065:8: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045.h:2388:9: style: Local variable 'b' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1903:17: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045.h:2388:9: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045.h:2540:15: style: Local variable 'header' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045.h:224:8: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045.h:2540:15: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045.h:2770:9: style: Local variable 'line' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2536:14: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045.h:2770:9: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045.h:3465:14: style: Local variable 'boundary' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045.h:172:8: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045.h:3465:14: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045.h:3525:7: style: Local variable 'new_boundary' shadows outer function [shadowFunction] maildrop-3.2.1/libs/rfc2045/rfc2045.h:1810:21: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045.h:3525:7: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045.h:2503:11: style: Parameter 'c' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3403:14: style: Variable 'subentity' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3611:13: style: Variable 'subentity' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3407:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3589:20: style: Variable 'seen_mime_version' is assigned a value that is never used. [unreadVariable] maildrop-3.2.1/libs/rfc2045/rfc2045appendurl.c:126:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/rfc2045/rfc2045cdecode.c:156:7: style: Local variable 'i' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045cdecode.c:135:14: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045cdecode.c:156:7: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045cdecode.c:33:7: style: Variable 'a' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/rfc2045cdecode.c:33:15: style: Variable 'c' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/rfc2045cdecode.c:33:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/rfc2045cpp.C:507:26: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] maildrop-3.2.1/libs/rfc2045/rfc2045cpp2.C:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp2.C:65:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp2.C:73:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp2.C:88:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp2.C:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp2.C:108:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parsing_thread [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp2.C:91:7: style:inconclusive: Technically the member function '::parser_beg_iter::drain' can be const. [functionConst] maildrop-3.2.1/libs/rfc2045/rfc2045cpp3.C:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDNA_SUCCESS [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp3.C:180:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linebuf [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp3.C:227:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origreceip [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp3.C:27:44: warning:inconclusive: Possible dereference of an invalid iterator: e [derefInvalidIterator] maildrop-3.2.1/libs/rfc2045/rfc2045cpp3.C:12:17: note: Assignment 'e=addr.end()', assigned value is end=0 maildrop-3.2.1/libs/rfc2045/rfc2045cpp3.C:27:44: note: Dereference of an invalid iterator maildrop-3.2.1/libs/rfc2045/rfc2045cpp3.C:104:44: warning: Possible dereference of an invalid iterator: ae [derefInvalidIterator] maildrop-3.2.1/libs/rfc2045/rfc2045cpp3.C:99:39: note: Assignment 'ae=action.end()', assigned value is end=0 maildrop-3.2.1/libs/rfc2045/rfc2045cpp3.C:104:44: note: Dereference of an invalid iterator maildrop-3.2.1/libs/rfc2045/rfc2045decodemimesection.c:24:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/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.2.1/libs/rfc2045/rfc2045decodemsgtoutf8.c:176:13: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc2045/rfc2045decodemsgtoutf8.c:98:58: note: Parameter 'voidarg' can be declared as pointer to const maildrop-3.2.1/libs/rfc2045/rfc2045defcharset.c:19:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC2045CHARSET [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045find.c:17:60: style: Parameter 'id' can be declared as pointer to const. However it seems that 'do_decode' is a callback function, if 'id' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.2.1/libs/rfc2045/rfc2045find.c:47:21: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc2045/rfc2045find.c:17:60: note: Parameter 'id' can be declared as pointer to const maildrop-3.2.1/libs/rfc2045/rfc2045header.c:190:11: style: Local variable 'n' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045header.c:176:9: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045header.c:190:11: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045header.c:191:10: style: Local variable 's' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045header.c:177:8: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045header.c:191:10: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045header.c:60:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/rfc2045header.c:70:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/rfc2045header.c:93:28: style: Parameter 'rfcp' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/rfc2045/rfc2045mkboundary.c:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045new_boundary.C:27:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045new_boundary.C:22:2: style: Struct 'strbuf < pid_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc2045/rfc2045new_boundary.C:22:2: style: Struct 'strbuf < time_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc2045/rfc2045new_boundary.C:22:2: style: Struct 'strbuf < unsigned int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/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.2.1/libs/rfc2045/rfc2045reply.h:1333:8: error: There is an unknown macro here somewhere. Configuration is required. If RFC2045MIMEMSG is a macro then please configure it. [unknownMacro] maildrop-3.2.1/libs/rfc2045/rfc2045rewrite.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045rewrite.c:82:53: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'do_8bit' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.2.1/libs/rfc2045/rfc2045rewrite.c:328:30: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc2045/rfc2045rewrite.c:82:53: note: Parameter 'ptr' can be declared as pointer to const maildrop-3.2.1/libs/rfc2045/rfc2045rewrite.c:136:60: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'fdout_add_qp' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.2.1/libs/rfc2045/rfc2045rewrite.c:322:11: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc2045/rfc2045rewrite.c:136:60: note: Parameter 'dummy' can be declared as pointer to const maildrop-3.2.1/libs/rfc2045/rfc2045rewrite.c:153:21: style: Variable 'a' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc2045/rfc2045rewrite.c:41:6: style: Variable 'i' is assigned a value that is never used. [unreadVariable] maildrop-3.2.1/libs/rfc2045/rfc2045tryboundary.c:39:56: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'boundary_chk' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.2.1/libs/rfc2045/rfc2045tryboundary.c:88:27: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc2045/rfc2045tryboundary.c:39:56: note: Parameter 'ptr' can be declared as pointer to const maildrop-3.2.1/libs/rfc2045/rfc2231.c:24:48: style:inconclusive: Function 'rfc2231_paramDestroy' argument 1 names different: declaration 'paramList' definition 'p'. [funcArgNamesDifferent] maildrop-3.2.1/libs/rfc2045/rfc2045.h:800:48: note: Function 'rfc2231_paramDestroy' argument 1 names different: declaration 'paramList' definition 'p'. maildrop-3.2.1/libs/rfc2045/rfc2231.c:24:48: note: Function 'rfc2231_paramDestroy' argument 1 names different: declaration 'paramList' definition 'p'. maildrop-3.2.1/libs/rfc2045/rfc2231.c:336:16: style:inconclusive: Function 'rfc2231_udecodeType' argument 3 names different: declaration 'myChset' definition 'myCharset'. [funcArgNamesDifferent] maildrop-3.2.1/libs/rfc2045/rfc2045.h:762:16: note: Function 'rfc2231_udecodeType' argument 3 names different: declaration 'myChset' definition 'myCharset'. maildrop-3.2.1/libs/rfc2045/rfc2231.c:336:16: note: Function 'rfc2231_udecodeType' argument 3 names different: declaration 'myChset' definition 'myCharset'. maildrop-3.2.1/libs/rfc2045/rfc2231.c:357:23: style:inconclusive: Function 'rfc2231_udecodeDisposition' argument 3 names different: declaration 'myChset' definition 'myCharset'. [funcArgNamesDifferent] maildrop-3.2.1/libs/rfc2045/rfc2045.h:766:23: note: Function 'rfc2231_udecodeDisposition' argument 3 names different: declaration 'myChset' definition 'myCharset'. maildrop-3.2.1/libs/rfc2045/rfc2231.c:357:23: note: Function 'rfc2231_udecodeDisposition' argument 3 names different: declaration 'myChset' definition 'myCharset'. maildrop-3.2.1/libs/rfc2045/rfc2231.c:99:52: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/rfc2045/rfc2231.c:143:47: style: Parameter 'paramList' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:760:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNICODE_LB_OPT_PRBREAK [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:973:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNICODE_LB_NONE [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:266:23: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:262:25: note: outer condition: handle->errflag==0 maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:266:23: note: identical inner condition: handle->errflag==0 maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:322:12: style: Condition 'ptr' is always true [knownConditionTrueFalse] maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:259:22: style:inconclusive: Function 'rfc3676parser_unicode' argument 2 names different: declaration 'txt' definition 'p'. [funcArgNamesDifferent] maildrop-3.2.1/libs/rfc2045/rfc3676parser.h:112:22: note: Function 'rfc3676parser_unicode' argument 2 names different: declaration 'txt' definition 'p'. maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:259:22: note: Function 'rfc3676parser_unicode' argument 2 names different: declaration 'txt' definition 'p'. maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:260:13: style:inconclusive: Function 'rfc3676parser_unicode' argument 3 names different: declaration 'txt_cnt' definition 'cnt'. [funcArgNamesDifferent] maildrop-3.2.1/libs/rfc2045/rfc3676parser.h:113:13: note: Function 'rfc3676parser_unicode' argument 3 names different: declaration 'txt_cnt' definition 'cnt'. maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:260:13: note: Function 'rfc3676parser_unicode' argument 3 names different: declaration 'txt_cnt' definition 'cnt'. maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:578:22: style:inconclusive: Function 'seen_notsig_block' argument 2 names different: declaration 'ptr' definition 'newptr'. [funcArgNamesDifferent] maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:155:21: note: Function 'seen_notsig_block' argument 2 names different: declaration 'ptr' definition 'newptr'. maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:578:22: note: Function 'seen_notsig_block' argument 2 names different: declaration 'ptr' definition 'newptr'. maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:578:37: style:inconclusive: Function 'seen_notsig_block' argument 3 names different: declaration 'cnt' definition 'newcnt'. [funcArgNamesDifferent] maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:155:33: note: Function 'seen_notsig_block' argument 3 names different: declaration 'cnt' definition 'newcnt'. maildrop-3.2.1/libs/rfc2045/rfc3676parser.c:578:37: note: Function 'seen_notsig_block' argument 3 names different: declaration 'cnt' definition 'newcnt'. maildrop-3.2.1/libs/rfc2045/rfc3676parser.h:160:4: warning:inconclusive: Class 'textplainparser' which has virtual members does not have a virtual destructor. [virtualDestructor] maildrop-3.2.1/libs/rfc2045/rfc6533.c:90:22: style: Local variable 'xdigit' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc6533.c:17:19: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc6533.c:90:22: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc6533.c:174:16: style: Local variable 'p' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc6533.c:146:9: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc6533.c:174:16: note: Shadow variable maildrop-3.2.1/libs/rfc2045/testrfc3676parser.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/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.2.1/libs/rfc2045/testrfc3676parser.c:56:18: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc2045/testrfc3676parser.c:12:49: note: Parameter 'arg' can be declared as pointer to const maildrop-3.2.1/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.2.1/libs/rfc2045/testrfc3676parser.c:57:21: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc2045/testrfc3676parser.c:20:11: note: Parameter 'arg' can be declared as pointer to const maildrop-3.2.1/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.2.1/libs/rfc2045/testrfc3676parser.c:58:26: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc2045/testrfc3676parser.c:27:37: note: Parameter 'arg' can be declared as pointer to const maildrop-3.2.1/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.2.1/libs/rfc2045/testrfc3676parser.c:59:16: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc2045/testrfc3676parser.c:33:27: note: Parameter 'arg' can be declared as pointer to const maildrop-3.2.1/libs/rfc2045/testrfc6533parser.c:37:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:380:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:523:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3223:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eol [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3396:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base64 [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:3548:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eol [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp.H:187:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:1500:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:1835:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:1998:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:2100:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:2682:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:1962:14: style: Condition 's<=50' is always true [knownConditionTrueFalse] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:1949:21: note: Assuming that condition 's<51' is not redundant maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:1962:14: note: Condition 's<=50' is always true maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:39:16: style: Local variable 's' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:17:20: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:39:16: note: Shadow variable maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:61:16: style: Local variable 's' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:17:20: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:61:16: note: Shadow variable maildrop-3.2.1/libs/rfc2045/testsuitecpp.H:39:14: style: Variable 'se' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:2505:13: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:2513:13: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] maildrop-3.2.1/libs/rfc2045/testsuitecpp.C:2069:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] maildrop-3.2.1/libs/rfc2045/testsuitecpp2.C:513:11: debug: Failed to instantiate template "decode". The checking continues anyway. [templateInstantiation] maildrop-3.2.1/libs/rfc2045/rfc2045cpp.C:13:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp.C:172:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subentities [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp.C:198:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp2.C:614:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp2.C:895:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp2.C:566:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp2.C:324:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp2.C:231:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp2.C:180:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/testsuitecpp2.C:97:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp.C:544:24: warning: Member variable 'headers_base::left' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2996:2: warning: Member variable 'headers < std :: streambuf >::src' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2997:2: warning: Member variable 'headers < std :: streambuf >::src' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/rfc2045/rfc2045cpp.C:172:15: debug: CheckClass::isMemberVar found used member variable 'subentities' with varid 0 [varid0] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2967:2: style: Struct 'headers < std :: streambuf >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2996:2: style: Struct 'headers < std :: streambuf >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2997:2: style: Struct 'headers < std :: streambuf >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc2045/rfc2045cpp.C:465:8: style: Local variable 'parent' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045.h:157:18: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045cpp.C:465:8: note: Shadow variable maildrop-3.2.1/libs/rfc2045/rfc2045cpp.C:589:14: style: Local variable 'name_lc' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc2045/rfc2045.h:2936:7: note: Shadowed declaration maildrop-3.2.1/libs/rfc2045/rfc2045cpp.C:589:14: note: Shadow variable maildrop-3.2.1/libs/rfc2045/testsuitecpp2.C:747:14: style: Variable 'a' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc822/imaprefs.c:91:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hashtable [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/imaprefs.c:140:69: style: Parameter 'mt' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/rfc822/imaprefs.c:144:25: style: Variable 'h' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/imaprefs.c:157:46: style: Parameter 'mt' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/rfc822/imaprefs.c:234:33: style: Variable 'm' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/imaprefs.c:948:22: style: Variable 'ma' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/imaprefs.c:949:22: style: Variable 'mb' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/imapsubj.c:23:8: style: Variable 'orig_p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/reftest.c:171:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] maildrop-3.2.1/libs/rfc822/reftest.c:173:26: style: Variable 's' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/rfc2047.c:64:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDNA_SUCCESS [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/rfc2047.c:90:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/rfc2047u.c:345:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDNA_SUCCESS [valueFlowBailoutIncompleteVar] maildrop-3.2.1/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.2.1/libs/rfc822/rfc2047u.c:519:26: note: Calling function 'rfc822_display_addr' returns 0 maildrop-3.2.1/libs/rfc822/rfc2047u.c:520:32: note: Condition 'rfc822_display_addr(a,n,charset,save_unicode_text,&nbuf)<0' is always false maildrop-3.2.1/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.2.1/libs/rfc822/rfc2047u.c:528:26: note: Calling function 'rfc822_display_addr' returns 0 maildrop-3.2.1/libs/rfc822/rfc2047u.c:529:32: note: Condition 'rfc822_display_addr(a,n,charset,save_unicode_text,&nbuf)<0' is always false maildrop-3.2.1/libs/rfc822/rfc2047u.c:685:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] maildrop-3.2.1/libs/rfc822/rfc2047u.c:682:29: note: Calling function 'rfc822_display_addr' returns 0 maildrop-3.2.1/libs/rfc822/rfc2047u.c:682:29: note: Assignment 'errcode=rfc822_display_addr(rfcp,index,chset,rfc822_display_hdrvalue_tobuf_cnt,&nbuf)', assigned value is 0 maildrop-3.2.1/libs/rfc822/rfc2047u.c:685:14: note: Condition 'errcode<0' is always false maildrop-3.2.1/libs/rfc822/rfc2047u.c:696:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] maildrop-3.2.1/libs/rfc822/rfc2047u.c:693:29: note: Calling function 'rfc822_display_addr' returns 0 maildrop-3.2.1/libs/rfc822/rfc2047u.c:693:29: note: Assignment 'errcode=rfc822_display_addr(rfcp,index,chset,rfc822_display_hdrvalue_tobuf_save,&nbuf)', assigned value is 0 maildrop-3.2.1/libs/rfc822/rfc2047u.c:696:14: note: Condition 'errcode<0' is always false maildrop-3.2.1/libs/rfc822/rfc2047u.c:758:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] maildrop-3.2.1/libs/rfc822/rfc2047u.c:754:33: note: Calling function 'rfc822_display_addr_str' returns 0 maildrop-3.2.1/libs/rfc822/rfc2047u.c:754:33: note: Assignment 'errcode=rfc822_display_addr_str(tok,chset,rfc822_display_hdrvalue_tobuf_cnt,&s)', assigned value is 0 maildrop-3.2.1/libs/rfc822/rfc2047u.c:758:14: note: Condition 'errcode<0' is always false maildrop-3.2.1/libs/rfc822/rfc2047u.c:769:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] maildrop-3.2.1/libs/rfc822/rfc2047u.c:766:33: note: Calling function 'rfc822_display_addr_str' returns 0 maildrop-3.2.1/libs/rfc822/rfc2047u.c:766:33: note: Assignment 'errcode=rfc822_display_addr_str(tok,chset,rfc822_display_hdrvalue_tobuf_save,&s)', assigned value is 0 maildrop-3.2.1/libs/rfc822/rfc2047u.c:769:14: note: Condition 'errcode<0' is always false maildrop-3.2.1/libs/rfc822/rfc2047u.c:441:11: style: Local variable 'i' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc822/rfc2047u.c:413:10: note: Shadowed declaration maildrop-3.2.1/libs/rfc822/rfc2047u.c:441:11: note: Shadow variable maildrop-3.2.1/libs/rfc822/rfc822.c:678:40: style:inconclusive: Function 'rfc822_print' argument 1 names different: declaration 'a' definition 'rfcp'. [funcArgNamesDifferent] maildrop-3.2.1/libs/rfc822/rfc822.h:124:40: note: Function 'rfc822_print' argument 1 names different: declaration 'a' definition 'rfcp'. maildrop-3.2.1/libs/rfc822/rfc822.c:678:40: note: Function 'rfc822_print' argument 1 names different: declaration 'a' definition 'rfcp'. maildrop-3.2.1/libs/rfc822/rfc822.c:685:47: style:inconclusive: Function 'rfc822_print_common' argument 1 names different: declaration 'a' definition 'rfcp'. [funcArgNamesDifferent] maildrop-3.2.1/libs/rfc822/rfc822.h:130:47: note: Function 'rfc822_print_common' argument 1 names different: declaration 'a' definition 'rfcp'. maildrop-3.2.1/libs/rfc822/rfc822.c:685:47: note: Function 'rfc822_print_common' argument 1 names different: declaration 'a' definition 'rfcp'. maildrop-3.2.1/libs/rfc822/rfc822.c:834:47: style:inconclusive: Function 'rfc822t_alloc_new' argument 1 names different: declaration 'p' definition 'addr'. [funcArgNamesDifferent] maildrop-3.2.1/libs/rfc822/rfc822.h:92:47: note: Function 'rfc822t_alloc_new' argument 1 names different: declaration 'p' definition 'addr'. maildrop-3.2.1/libs/rfc822/rfc822.c:834:47: note: Function 'rfc822t_alloc_new' argument 1 names different: declaration 'p' definition 'addr'. maildrop-3.2.1/libs/rfc822/rfc822.c:131:9: style: Local variable 'j' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc822/rfc822.c:24:14: note: Shadowed declaration maildrop-3.2.1/libs/rfc822/rfc822.c:131:9: note: Shadow variable maildrop-3.2.1/libs/rfc822/rfc822.c:943:13: style: Local variable 'k' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc822/rfc822.c:938:9: note: Shadowed declaration maildrop-3.2.1/libs/rfc822/rfc822.c:943:13: note: Shadow variable maildrop-3.2.1/libs/rfc822/rfc822.c:944:22: style: Local variable 'save_token' shadows outer function [shadowFunction] maildrop-3.2.1/libs/rfc822/rfc822.c:824:13: note: Shadowed declaration maildrop-3.2.1/libs/rfc822/rfc822.c:944:22: note: Shadow variable maildrop-3.2.1/libs/rfc822/rfc822.c:704:24: style: Variable 't' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/rfc822.c:749:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/rfc822.c:813:60: style: Parameter 'voidp' can be declared as pointer to const. However it seems that 'ignore_errors' is a callback function, if 'voidp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.2.1/libs/rfc822/rfc822.c:856:43: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc822/rfc822.c:813:60: note: Parameter 'voidp' can be declared as pointer to const maildrop-3.2.1/libs/rfc822/rfc822.c:897:54: style: Parameter 'voidp' can be declared as pointer to const. However it seems that 'make_quoted_token_ignore' is a callback function, if 'voidp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.2.1/libs/rfc822/rfc822.c:1003:5: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc822/rfc822.c:897:54: note: Parameter 'voidp' can be declared as pointer to const maildrop-3.2.1/libs/rfc822/rfc822.c:901:73: style: Parameter 'voidp' can be declared as pointer to const. However it seems that 'define_addr_name_ignore' is a callback function, if 'voidp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.2.1/libs/rfc822/rfc822.c:1004:5: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc822/rfc822.c:901:73: note: Parameter 'voidp' can be declared as pointer to const maildrop-3.2.1/libs/rfc822/rfc822.c:316:22: warning: Uninitialized variable: c [uninitvar] maildrop-3.2.1/libs/rfc822/rfc822.h:1416:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:126:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:157:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/rfc822.h:1429:6: style: Virtual function 'sync' is called from destructor '~fdstreambuf()' at line 17. Dynamic binding is not used. [virtualCallInConstructor] maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:17:8: note: Calling sync maildrop-3.2.1/libs/rfc822/rfc822.h:1429:6: note: sync is a virtual function maildrop-3.2.1/libs/rfc822/rfc822.h:376:2: style: Struct 'tokens' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc822/rfc822.h:841:2: style: Struct 'addresses' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc822/rfc822.h:1111:3: style: Struct 'wrap_out_iter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc822/rfc822.h:1153:3: style: Struct 'wrap_out_iter_sep' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc822/rfc822.h:1400:2: style: Class 'fdstreambuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:28:46: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:26:20: note: Assuming allocation function fails maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:26:20: note: Assignment 'fp=::tmpfile()', assigned value is 0 maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:28:46: note: Null pointer dereference maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:30:9: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:26:20: note: Assuming allocation function fails maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:26:20: note: Assignment 'fp=::tmpfile()', assigned value is 0 maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:30:9: note: Null pointer dereference maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:94:6: style: Local variable 'error' shadows outer function [shadowFunction] maildrop-3.2.1/libs/rfc822/rfc822.h:1412:7: note: Shadowed declaration maildrop-3.2.1/libs/rfc822/rfc822_fdstreambuf.C:94:6: note: Shadow variable maildrop-3.2.1/libs/rfc822/rfc822_getaddrs.c:14:3: style: Redundant assignment of 'c' to itself. [selfAssignment] maildrop-3.2.1/libs/rfc822/rfc822_getaddrs.c:86:24: style: Variable 'start' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/rfc822_getaddrs.c:14:3: style: Variable 'c' is assigned a value that is never used. [unreadVariable] maildrop-3.2.1/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.2.1/libs/rfc822/rfc822_mkdate.c:44:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/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.2.1/libs/rfc822/rfc822_parsedt.c:244:12: style: Variable 'tmptr' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:221:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDNA_SUCCESS [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:449:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:321:26: warning: Member variable 'qpdecoder_base::nybble' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/rfc822/rfc2047.h:353:2: warning: Member variable 'base64decoder_base::buffer' is not initialized in the constructor. [uninitMemberVar] maildrop-3.2.1/libs/rfc822/rfc2047.h:287:3: warning:inconclusive: Class 'qpdecoder_base' which has virtual members does not have a virtual destructor. [virtualDestructor] maildrop-3.2.1/libs/rfc822/rfc2047.h:354:3: warning:inconclusive: Class 'base64decoder_base' which has virtual members does not have a virtual destructor. [virtualDestructor] maildrop-3.2.1/libs/rfc822/rfc2047.h:376:2: style: Struct 'base64decoder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:509:10: style: Local variable 'n' shadows outer argument [shadowArgument] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:445:70: note: Shadowed declaration maildrop-3.2.1/libs/rfc822/rfc822cpp.C:509:10: note: Shadow variable maildrop-3.2.1/libs/rfc822/rfc822cpp.C:523:15: style: Local variable 'i' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:503:17: note: Shadowed declaration maildrop-3.2.1/libs/rfc822/rfc822cpp.C:523:15: note: Shadow variable maildrop-3.2.1/libs/rfc822/rfc822cpp.C:264:14: style: Variable 't' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:101:54: style: Parameter 'voidp' can be declared as pointer to const. However it seems that 'make_quoted_token_ignore' is a callback function, if 'voidp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:194:5: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc822/rfc822cpp.C:101:54: note: Parameter 'voidp' can be declared as pointer to const maildrop-3.2.1/libs/rfc822/rfc822cpp.C:105:73: style: Parameter 'voidp' can be declared as pointer to const. However it seems that 'define_addr_name_ignore' is a callback function, if 'voidp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:195:5: note: You might need to cast the function pointer here maildrop-3.2.1/libs/rfc822/rfc822cpp.C:105:73: note: Parameter 'voidp' can be declared as pointer to const maildrop-3.2.1/libs/rfc822/rfc822cpp.C:395:7: style: Variable 'found' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:425:7: style: Variable 'found' can be declared as pointer to const [constVariablePointer] maildrop-3.2.1/libs/rfc822/rfc822cpp.C:505:8: style: Variable 'out' can be declared as const array [constVariable] maildrop-3.2.1/libs/rfc822/rfc822hdr.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/testsuite.c:15:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/testsuite.c:43:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/testsuite.c:48:33: style: Condition 'buf[0]' is always true [knownConditionTrueFalse] maildrop-3.2.1/libs/rfc822/testsuite.c:14:3: style: Redundant assignment of 'p' to itself. [selfAssignment] maildrop-3.2.1/libs/rfc822/testsuite.c:20:3: style: Redundant assignment of 'p' to itself. [selfAssignment] maildrop-3.2.1/libs/rfc822/testsuite.c:14:3: style: Variable 'p' is assigned a value that is never used. [unreadVariable] maildrop-3.2.1/libs/rfc822/testsuite.c:20:3: style: Variable 'p' is assigned a value that is never used. [unreadVariable] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:18:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:129:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:261:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:508:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:559:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:34:11: style: Condition 'ch' is always true [knownConditionTrueFalse] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:772:13: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:762:18: note: Assuming allocation function fails maildrop-3.2.1/libs/rfc822/testsuitecpp.C:762:18: note: Assignment 'fp=tmpfile()', assigned value is 0 maildrop-3.2.1/libs/rfc822/testsuitecpp.C:772:13: note: Null pointer dereference maildrop-3.2.1/libs/rfc822/testsuitecpp.C:780:37: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:762:18: note: Assuming allocation function fails maildrop-3.2.1/libs/rfc822/testsuitecpp.C:762:18: note: Assignment 'fp=tmpfile()', assigned value is 0 maildrop-3.2.1/libs/rfc822/testsuitecpp.C:780:37: note: Null pointer dereference maildrop-3.2.1/libs/rfc822/testsuitecpp.C:879:38: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:877:12: note: Assuming allocation function fails maildrop-3.2.1/libs/rfc822/testsuitecpp.C:877:12: note: Assignment 'fp=tmpfile()', assigned value is 0 maildrop-3.2.1/libs/rfc822/testsuitecpp.C:879:38: note: Null pointer dereference maildrop-3.2.1/libs/rfc822/testsuitecpp.C:879:23: style: Local variable 'fds' shadows outer variable [shadowVariable] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:780:22: note: Shadowed declaration maildrop-3.2.1/libs/rfc822/testsuitecpp.C:879:23: note: Shadow variable maildrop-3.2.1/libs/rfc822/testsuitecpp.C:22:13: style: Variable 'c' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:102:11: style: Parameter 'charset' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:103:11: style: Parameter 'language' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:114:33: style: Parameter 'b' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:115:33: style: Parameter 'e' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:370:20: style: Parameter 's' can be declared as reference to const [constParameterReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:557:13: style: Variable 'l' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:575:14: style: Variable 'l' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:582:13: style: Variable 'l' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:599:14: style: Variable 'l' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:606:13: style: Variable 'l' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:623:14: style: Variable 'l' can be declared as reference to const [constVariableReference] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:570:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:594:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] maildrop-3.2.1/libs/rfc822/testsuitecpp.C:618:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] diff: DONE