2025-12-27 06:05 ftp://ftp.de.debian.org/debian/pool/main/c/courier-authlib/courier-authlib_0.72.6.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=sqlite3 --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 -j90 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.19.0 head-info: a5ec929 (2025-12-24 09:21:38 +0100) count: 598 598 elapsed-time: 0.7 0.7 head-timing-info: old-timing-info: head results: courier-authlib-0.72.6/authdaemondcpp.cpp:22:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authcustom.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authcustom.c:89:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemontest.c:62:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authmksock.c:30:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemontest.c:78:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemontest.c:115:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authenumerate.c:31:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authenumerate.c:74:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authinfo.c:27:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAILUSER [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authldap.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authinfo.c:40:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAILGROUP [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authinfo.c:96:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGVERSION [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authoption.c:78:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpasswd.c:46:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authmoduser2.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authmoduser3.c:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpasswd.c:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsaslclientcrammd5.c:26:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hmac_md5 [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpwd.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsaslclientcramsha1.c:26:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hmac_sha1 [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsaslclientcramsha1.c:35:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hmac_sha256 [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authldaplib.cpp:512:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] courier-authlib-0.72.6/authmysqllib.cpp:122:9: error: There is an unknown macro here somewhere. Configuration is required. If AUTHMYSQLRC is a macro then please configure it. [unknownMacro] courier-authlib-0.72.6/authdaemon.c:60:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authcustom.c:28:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authdaemon.c:100:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpipe.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authcustom.c:29:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authdaemon.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpipe.c:181:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIPE_PROGRAM [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpipelib.c:39:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIPE_PROGRAM [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authshadow.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemon.c:181:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpam.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pam_response [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpipelib.c:65:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemon.c:208:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpam.c:106:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpipelib.c:129:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsasl.c:75:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemon.c:288:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authmysql.cpp:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpam.c:241:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsyscommon.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authmysql.cpp:80:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpam.c:284:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authmysql.cpp:125:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsyschangepwd.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsyschangepwd.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authuserdb.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/bdbobj/bdbobj2.c:22:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_FIRST [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authuserdb.c:84:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERDB [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/checkpasswordsha1.c:48:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSHA_RAND [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/cryptpassword.c:82:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable md5_hash_courier [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/debug.c:146:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/bdbobj/bdbobj2.c:62:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NEXT [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/debug.c:166:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/bdbobj/bdbobj.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/cramlib.c:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authldap.c:28:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authtest.c:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBM_READER [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authldap.c:29:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authtest.c:96:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.c:97:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBM_REPLACE [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpwdenumerate.c:36:14: portability: Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'. [prohibitedgetpwentCalled] courier-authlib-0.72.6/authpwd.c:42:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/liblock/lockfcntl.c:27:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpwd.c:43:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authsaslclient.c:49:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authsqlite.cpp:71:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/lockflock.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsqlite.cpp:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemonlib.c:139:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFL [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsqlite.cpp:154:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemonlib.c:184:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemonlib.c:303:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authshadow.c:46:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authdaemonlib.c:324:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authshadow.c:47:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/bdbobj/testbdb.C:92:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemonlib.c:465:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authmksock.c:37:2: error: Resource leak: fd [resourceLeak] courier-authlib-0.72.6/authuserdbpwd.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hmac_list [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemonlib.c:578:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authuserdbpwd.c:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemonlib.c:586:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authuserdbpwd.c:215:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/locktest.c:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemonlib.c:615:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authuserdbpwd.c:245:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERDB [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authinfo.c:27:20: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] courier-authlib-0.72.6/authuserdbpwd.c:321:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBINDIR [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/gdbmobj/testgdbm.C:93:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/lockdaemon.c:107:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/lockmail.c:55:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/makedat/makedatprog.c:34:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authinfo.c:40:19: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] courier-authlib-0.72.6/authuserdbpwd.c:412:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBINDIR [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/lockdaemon.c:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/lockmail.c:79:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/makedat/makedatprog.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/lockdaemon.c:200:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/makedat/makedatprog.c:91:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/lockdaemon.c:246:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/lockdaemon.c:281:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsyschangepwd.c:51:6: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] courier-authlib-0.72.6/libs/liblock/lockdaemon.c:342:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/numlib/changeuidgid.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/numlib/changeuidgid.c:185:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authuserdb.c:179:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authuserdb.c:180:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/liblog/logger.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/liblog/logger.c:223:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/liblog/logger.c:250:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/liblog/logger.c:290:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/mail.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/liblog/logger.c:351:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEST [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/mail.c:273:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemond.c:57:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authmysql.cpp:77:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/liblock/mail.c:306:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemond.c:87:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authmysql.cpp:78:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/liblock/mail.c:358:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemond.c:165:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/mail.c:464:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemond.c:262:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/mail.c:496:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/random128/random128.c:31:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemond.c:423:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemond.c:590:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpgsqllib.cpp:101:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PGRES_TUPLES_OK [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemond.c:798:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpgsqllib.cpp:107:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PGRES_COMMAND_OK [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemond.c:922:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpgsqllib.cpp:347:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECTION_OK [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemond.c:935:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpgsqllib.cpp:761:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemond.c:965:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpgsqllib.cpp:802:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpgsqllib.cpp:848:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpam.c:288:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authmksock.c:23:26: style: Parameter 'argv' can be declared as const array [constParameter] courier-authlib-0.72.6/authpam.c:289:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/rfc2045/encodeautodetect.C:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/encodeautodetect.C:158:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/libhmac/md5hmactest.c:54:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp.C:507:26: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] courier-authlib-0.72.6/libs/md5/md5.c:37:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_WORD [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/cramlib.c:89:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp2.C:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/cramlib.c:90:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp2.C:65:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp2.C:73:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp2.C:88:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/libhmac/sha1hmactest.c:54:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] courier-authlib-0.72.6/libs/rfc2045/rfc2045_fromfd.c:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp2.C:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/libhmac/sha1hmactest.c:70:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] courier-authlib-0.72.6/libs/rfc2045/rfc2045_fromfd.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp2.C:108:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parsing_thread [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpasswd.c:55:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/authdaemon.c:269:21: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] courier-authlib-0.72.6/authmoduser3.c:37:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/liblock/locktest.c:53:3: error: Memory leak: name [memleak] courier-authlib-0.72.6/authmoduser3.c:37:15: style: Variable 'r' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/liblock/locktest.c:65:3: error: Resource leak: f [resourceLeak] courier-authlib-0.72.6/libs/rfc2045/rfc2045decodemimesection.c:24:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/liblock/locktest.c:65:3: error: Memory leak: name [memleak] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp3.C:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDNA_SUCCESS [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045defcharset.c:19:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC2045CHARSET [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp3.C:180:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linebuf [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsqlite.cpp:110:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp3.C:227:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origreceip [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsqlite.cpp:111:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authtest.c:113:23: style: Condition 'argc-argn>=1' is always true [knownConditionTrueFalse] courier-authlib-0.72.6/authtest.c:80:18: note: Assuming that condition 'argc-argn<=0' is not redundant courier-authlib-0.72.6/authtest.c:85:18: note: Assuming condition is false courier-authlib-0.72.6/authtest.c:102:18: note: Assuming that condition 'argc-argn>=2' is not redundant courier-authlib-0.72.6/authtest.c:113:23: note: Condition 'argc-argn>=1' is always true courier-authlib-0.72.6/authpipe.c:40:64: style: Parameter 'authdata' can be declared as pointer to const. However it seems that 'auth_pipe' is a callback function, if 'authdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] courier-authlib-0.72.6/authpipe.c:172:2: note: You might need to cast the function pointer here courier-authlib-0.72.6/authpipe.c:40:64: note: Parameter 'authdata' can be declared as pointer to const courier-authlib-0.72.6/authpipe.c:46:8: style: Variable 'n' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045mkboundary.c:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUMBUFSIZE [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/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] courier-authlib-0.72.6/authinfo.c:27:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/testrfc3676parser.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authinfo.c:40:16: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/authsaslplain.c:30:7: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/liblock/lockdaemon.c:206:14: error: Resource leak: i [resourceLeak] courier-authlib-0.72.6/libs/liblock/lockdaemon.c:209:2: error: Resource leak: i [resourceLeak] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3119:27: debug: simplifyOperatorName: found unsimplified operator name [debug] courier-authlib-0.72.6/libs/liblock/lockdaemon.c:211:14: error: Resource leak: i [resourceLeak] courier-authlib-0.72.6/libs/liblock/lockdaemon.c:212:2: error: Resource leak: i [resourceLeak] courier-authlib-0.72.6/authdaemon.c:297:7: style: Condition 'rc' is always false [knownConditionTrueFalse] courier-authlib-0.72.6/authdaemon.c:270:22: note: Calling function 'do_mkhomedir' returns 0 courier-authlib-0.72.6/authdaemon.c:293:15: note: Calling function 'mkhomedir' returns 0 courier-authlib-0.72.6/authdaemon.c:293:15: note: Assignment 'rc=mkhomedir(ainfo,p)', assigned value is 0 courier-authlib-0.72.6/authdaemon.c:297:7: note: Condition 'rc' is always false courier-authlib-0.72.6/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] courier-authlib-0.72.6/authsaslcram.c:34:7: style: Variable 'q' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/testrfc6533parser.c:37:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc822/rfc822hdr.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/bdbobj/bdbobj.c:43:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:760:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNICODE_LB_OPT_PRBREAK [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045rewrite.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:973:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNICODE_LB_NONE [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/bdbobj/bdbobj.c:203:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/bdbobj/bdbobj.c:291:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/testsuite.c:15:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc822/testsuite.c:43:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/sha1/sha1.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_WORD [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/bdbobj/bdbobj.h:76:6: style:inconclusive: Technically the member function 'BDbObj::IsOpen' can be const. [functionConst] courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.h:62:6: style:inconclusive: Technically the member function 'GdbmObj::IsOpen' can be const. [functionConst] courier-authlib-0.72.6/libs/rfc822/rfc2047.c:64:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDNA_SUCCESS [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/preauthpam.c:36:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/preauthpwd.c:33:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/random128/random128.c:72:12: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] courier-authlib-0.72.6/libs/random128/random128.c:69:4: note: p is assigned courier-authlib-0.72.6/libs/random128/random128.c:72:12: note: p is overwritten courier-authlib-0.72.6/preauthshadow.c:40:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsqlitelib.cpp:244:36: style: The member function 'authsqlite_connection::escape' can be static. [functionStatic] courier-authlib-0.72.6/authsqlitelib.cpp:82:14: note: The member function 'authsqlite_connection::escape' can be static. courier-authlib-0.72.6/authsqlitelib.cpp:244:36: note: The member function 'authsqlite_connection::escape' can be static. courier-authlib-0.72.6/authtest.c:28:51: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'callback_pre' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] courier-authlib-0.72.6/authtest.c:116:8: note: You might need to cast the function pointer here courier-authlib-0.72.6/authtest.c:28:51: note: Parameter 'dummy' can be declared as pointer to const courier-authlib-0.72.6/userdb/userdb2.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/checkpassword.c:38:8: style: Unused variable: cpass [unusedVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp2.C:91:7: style:inconclusive: Technically the member function '::parser_beg_iter::drain' can be const. [functionConst] courier-authlib-0.72.6/libs/rfc822/imaprefs.c:91:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hashtable [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsqlitelib.cpp:55:3: style: Class 'authsqliterc_file' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/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] courier-authlib-0.72.6/preauthuserdbcommon.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERDB [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/userdb/userdbpw.c:87:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsqlitelib.cpp:259:2: style: Class 'select_callback_info' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/sha1/sha512.c:51:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA512_WORD [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/preauthuserdbcommon.c:131:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERDB [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/userdb/userdbpw.c:97:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/checkpasswordsha1.c:54:18: error: Uninitialized variable: rand [legacyUninitvar] courier-authlib-0.72.6/authsqlitelib.cpp:58:8: style: The function 'do_load' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] courier-authlib-0.72.6/authconfigfile.h:39:15: note: Virtual function in base class courier-authlib-0.72.6/authsqlitelib.cpp:58:8: note: Function in derived class courier-authlib-0.72.6/libs/liblock/lockdaemon.c:218:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/md5/redhat-crypt-md5.c:112:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/authdaemon.c:279:37: style:inconclusive: Function 'auth_mkhomedir' argument 1 names different: declaration 'info' definition 'ainfo'. [funcArgNamesDifferent] courier-authlib-0.72.6/courierauth.h:189:37: note: Function 'auth_mkhomedir' argument 1 names different: declaration 'info' definition 'ainfo'. courier-authlib-0.72.6/authdaemon.c:279:37: note: Function 'auth_mkhomedir' argument 1 names different: declaration 'info' definition 'ainfo'. courier-authlib-0.72.6/authsqlitelib.cpp:59:8: style: The function 'do_reload' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] courier-authlib-0.72.6/authconfigfile.h:40:15: note: Virtual function in base class courier-authlib-0.72.6/authsqlitelib.cpp:59:8: note: Function in derived class courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:701:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpipelib.c:37:27: style: Parameter 'to' can be declared as const array [constParameter] courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:799:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/userdb/userdb.c:50:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpipelib.c:37:37: style: Parameter 'from' can be declared as const array [constParameter] courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:914:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/userdb/userdb.c:101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:1113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tokens [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/userdb/userdb.c:191:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:1141:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tokens [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/userdb/userdb.c:321:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:1184:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:345:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDNA_SUCCESS [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:1197:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable token [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authdaemon.c:56:15: style: Parameter 'authdata' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/authdaemon.c:62:8: style: Variable 'n' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.h:160:4: warning:inconclusive: Class 'textplainparser' which has virtual members does not have a virtual destructor. [virtualDestructor] courier-authlib-0.72.6/authdaemon.c:136:20: style: Parameter 'stat_buf' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/authdaemon.c:200:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/authdaemon.c:264:39: style: Parameter 'ainfo' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/preauthpwd.c:31:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] courier-authlib-0.72.6/authdaemon.c:269:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/preauthpam.c:34:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] courier-authlib-0.72.6/libs/rfc2045/base64.c:47:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/authmysql.cpp:74:8: style: Variable 'user' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/authmysql.cpp:74:15: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/preauthshadow.c:38:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] courier-authlib-0.72.6/authconfigfile.cpp:27:29: warning: Member variable 'config_file::config_timestamp' is not initialized in the constructor. [uninitMemberVar] courier-authlib-0.72.6/authuserdbpwd.c:313:37: style:inconclusive: Function 'dochangepwd2' argument 1 names different: declaration 'service' definition 'services'. [funcArgNamesDifferent] courier-authlib-0.72.6/authuserdbpwd.c:228:37: note: Function 'dochangepwd2' argument 1 names different: declaration 'service' definition 'services'. courier-authlib-0.72.6/authuserdbpwd.c:313:37: note: Function 'dochangepwd2' argument 1 names different: declaration 'service' definition 'services'. courier-authlib-0.72.6/preauthshadow.c:44:11: portability: Non reentrant function 'getspnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getspnam_r'. [prohibitedgetspnamCalled] courier-authlib-0.72.6/authuserdbpwd.c:52:12: style: Local variable 'i' shadows outer variable [shadowVariable] courier-authlib-0.72.6/authuserdbpwd.c:42:10: note: Shadowed declaration courier-authlib-0.72.6/authuserdbpwd.c:52:12: note: Shadow variable courier-authlib-0.72.6/libs/md5/md5_hash.c:18:6: style: Variable 'a' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp2.C:513:11: debug: Failed to instantiate template "decode". The checking continues anyway. [templateInstantiation] courier-authlib-0.72.6/libs/md5/md5_hash.c:18:10: style: Variable 'b' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/md5/md5_hash.c:18:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/makedat/makedatprog.c:47:8: style: Variable 'buflen' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/preauthcustom.c:43:6: style: Condition 'rc' is always true [knownConditionTrueFalse] courier-authlib-0.72.6/preauthcustom.c:41:19: note: Calling function 'do_auth_custom' returns -1 courier-authlib-0.72.6/preauthcustom.c:41:19: note: Assignment 'rc=do_auth_custom(user,&auth)', assigned value is -1 courier-authlib-0.72.6/preauthcustom.c:43:6: note: Condition 'rc' is always true courier-authlib-0.72.6/authconfigfile.cpp:60:7: style:inconclusive: Technically the member function 'courier::auth::config_file::isspace::operator()' can be const. [functionConst] courier-authlib-0.72.6/authconfigfile.cpp:70:7: warning: The class 'not_isspace' defines member function with name 'operator()' also defined in its parent class 'isspace'. [duplInheritedMember] courier-authlib-0.72.6/authconfigfile.cpp:60:7: note: Parent function 'isspace::operator()' courier-authlib-0.72.6/authconfigfile.cpp:70:7: note: Derived function 'not_isspace::operator()' courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/rfc2045find.c:47:21: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc2045/rfc2045find.c:17:60: note: Parameter 'id' can be declared as pointer to const courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/testrfc3676parser.c:56:18: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc2045/testrfc3676parser.c:12:49: note: Parameter 'arg' can be declared as pointer to const courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/testrfc3676parser.c:57:21: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc2045/testrfc3676parser.c:20:11: note: Parameter 'arg' can be declared as pointer to const courier-authlib-0.72.6/libs/rfc2045/rfc2045appendurl.c:126:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/testrfc3676parser.c:58:26: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc2045/testrfc3676parser.c:27:37: note: Parameter 'arg' can be declared as pointer to const courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/testrfc3676parser.c:59:16: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc2045/testrfc3676parser.c:33:27: note: Parameter 'arg' can be declared as pointer to const courier-authlib-0.72.6/libs/bdbobj/testbdb.C:21:21: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/libs/md5/md5.c:195:22: style: Variable 'zero' can be declared as const array [constVariable] courier-authlib-0.72.6/libs/rfc822/rfc822_getaddrs.c:14:3: style: Redundant assignment of 'c' to itself. [selfAssignment] courier-authlib-0.72.6/libs/bdbobj/testbdb.C:22:5: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/libs/md5/md5.c:237:45: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/bdbobj/testbdb.C:49:16: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/libs/bdbobj/testbdb.C:56:16: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/libs/gdbmobj/testgdbm.C:22:21: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/libs/bdbobj/testbdb.C:57:14: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/libs/gdbmobj/testgdbm.C:23:5: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/authsqlite.cpp:65:43: style: Parameter 'authinfo' can be declared as reference to const [constParameterReference] courier-authlib-0.72.6/libs/bdbobj/testbdb.C:72:16: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/libs/gdbmobj/testgdbm.C:50:16: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/libs/rfc822/rfc822.h:1416:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/gdbmobj/testgdbm.C:57:16: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/rfc2045decodemsgtoutf8.c:176:13: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc2045/rfc2045decodemsgtoutf8.c:98:58: note: Parameter 'voidarg' can be declared as pointer to const courier-authlib-0.72.6/authsqlite.cpp:105:8: style: Variable 'user' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/gdbmobj/testgdbm.C:58:14: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/libs/rfc822/rfc822_mkdate.c:44:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/authsqlite.cpp:105:15: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/gdbmobj/testgdbm.C:73:16: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/rfc2045tryboundary.c:88:27: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc2045/rfc2045tryboundary.c:39:56: note: Parameter 'ptr' can be declared as pointer to const courier-authlib-0.72.6/libs/rfc822/reftest.c:171:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/liblock/mail.c:265:36: style:inconclusive: Function 'try_dotlock' argument 1 names different: declaration 'tmpfile' definition 'tmpname'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/liblock/mail.c:232:36: note: Function 'try_dotlock' argument 1 names different: declaration 'tmpfile' definition 'tmpname'. courier-authlib-0.72.6/libs/liblock/mail.c:265:36: note: Function 'try_dotlock' argument 1 names different: declaration 'tmpfile' definition 'tmpname'. courier-authlib-0.72.6/libs/rfc822/reftest.c:173:26: style: Variable 's' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:911:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:126:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsqlitelib.cpp:248:16: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] courier-authlib-0.72.6/authsqlitelib.cpp:246:25: note: Assuming allocation function fails courier-authlib-0.72.6/authsqlitelib.cpp:246:25: note: Assignment 'q=sqlite3_mprintf("%q",s.c_str())', assigned value is 0 courier-authlib-0.72.6/authsqlitelib.cpp:248:16: note: Null pointer dereference courier-authlib-0.72.6/libs/liblock/mail.c:186:9: style: Local variable 'p' shadows outer argument [shadowArgument] courier-authlib-0.72.6/libs/liblock/mail.c:115:34: note: Shadowed declaration courier-authlib-0.72.6/libs/liblock/mail.c:186:9: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1769:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subentities [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:157:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1804:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endbody [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cdecode.c:156:7: style: Local variable 'i' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045cdecode.c:135:14: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045cdecode.c:156:7: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1842:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subentities [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1971:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crlf [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authsqlitelib.cpp:498:31: style: C-style pointer casting [cstyleCast] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2007:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parsing_entities [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2089:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crlf [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2254:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qp [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/preauthcustom.c:66:64: style: Parameter 'authinfo' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/authpgsqllib.cpp:799:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/liblock/mail.c:103:29: style: Parameter 'idbuf' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2442:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sevenbit [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authpgsqllib.cpp:800:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/liblock/mail.c:103:42: style: Parameter 'myidbuf' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2555:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mime1 [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cdecode.c:33:7: style: Variable 'a' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/rfc822_getaddrs.c:86:24: style: Variable 'start' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2969:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable left [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cdecode.c:33:15: style: Variable 'c' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2983:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cdecode.c:33:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/preauthpwd.c:27:16: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3013:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable left [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/preauthpam.c:27:16: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3235:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable src_type [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3368:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3588:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_mime_header [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045header.c:190:11: style: Local variable 'n' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045header.c:176:9: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045header.c:190:11: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045acchkcpp.C:16:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045header.c:191:10: style: Local variable 's' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045header.c:177:8: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045header.c:191:10: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc6533.c:90:22: style: Local variable 'xdigit' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc6533.c:17:19: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc6533.c:90:22: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc6533.c:174:16: style: Local variable 'p' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc6533.c:146:9: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc6533.c:174:16: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/encodeautodetect.C:166:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/preauthshadow.c:32:16: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/encodeautodetect.C:167:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:221:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDNA_SUCCESS [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/preauthshadow.c:33:14: style: Variable 'spw' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:449:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045header.c:60:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045header.c:70:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/imapsubj.c:23:8: style: Variable 'orig_p' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/bdbobj/bdbobj.h:71:23: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/rfc2045/rfc2045header.c:93:28: style: Parameter 'rfcp' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/bdbobj/bdbobj.h:79:32: performance: Function parameter 'key' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/authpgsqllib.cpp:454:28: style: The member function 'authpgsql_connection::getuserinfo' can be static. [functionStatic] courier-authlib-0.72.6/authpgsqllib.cpp:278:7: note: The member function 'authpgsql_connection::getuserinfo' can be static. courier-authlib-0.72.6/authpgsqllib.cpp:454:28: note: The member function 'authpgsql_connection::getuserinfo' can be static. courier-authlib-0.72.6/libs/bdbobj/bdbobj.h:79:49: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/bdbobj/bdbobj.h:92:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.h:57:23: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/bdbobj/bdbobj.h:97:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.h:65:32: performance: Function parameter 'key' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/bdbobj/bdbobj.h:102:25: performance: Function parameter 'key' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.h:65:49: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/bdbobj/bdbobj.h:102:42: performance: Function parameter 'val' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.h:78:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/authpgsqllib.cpp:174:3: style: Class 'authpgsqlrc_file' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/bdbobj/bdbobj.h:102:59: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.h:83:26: performance: Function parameter 'key' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.h:88:24: performance: Function parameter 'key' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/authpgsqllib.cpp:180:8: style: The function 'do_load' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] courier-authlib-0.72.6/authconfigfile.h:39:15: note: Virtual function in base class courier-authlib-0.72.6/authpgsqllib.cpp:180:8: note: Function in derived class courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.h:88:41: performance: Function parameter 'val' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/authpgsqllib.cpp:233:8: style: The function 'do_reload' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] courier-authlib-0.72.6/authconfigfile.h:40:15: note: Virtual function in base class courier-authlib-0.72.6/authpgsqllib.cpp:233:8: note: Function in derived class courier-authlib-0.72.6/libs/bdbobj/testbdb.C:6:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/gdbmobj/gdbmobj.h:88:58: performance: Function parameter 'mode' should be passed by const reference. [passedByValue] courier-authlib-0.72.6/libs/bdbobj/testbdb.C:32:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045new_boundary.C:27:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/sha1/sha256_hash.c:17:6: style: Variable 'a' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/gdbmobj/testgdbm.C:7:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/sha1/sha256_hash.c:17:10: style: Variable 'b' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/sha1/sha512_hash.c:17:6: style: Variable 'a' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/authsqlitelib.cpp:375:33: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'dummy_callback' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] courier-authlib-0.72.6/authsqlitelib.cpp:456:41: note: You might need to cast the function pointer here courier-authlib-0.72.6/authsqlitelib.cpp:375:33: note: Parameter 'dummy' can be declared as pointer to const courier-authlib-0.72.6/libs/gdbmobj/testgdbm.C:33:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/sha1/sha256_hash.c:17:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/sha1/sha512_hash.c:17:10: style: Variable 'b' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/sha1/sha512_hash.c:17:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc822/rfc822_getaddrs.c:14:3: style: Variable 'c' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/sha1/sha1_hash.c:17:6: style: Variable 'a' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/sha1/sha1_hash.c:17:10: style: Variable 'b' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/sha1/sha1_hash.c:17:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/sha1/sha1_hash.c:52:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc2045/encode.C:142:6: style: The scope of the variable 'a' can be reduced. [variableScope] courier-authlib-0.72.6/libs/sha1/sha1_hash.c:52:11: style: Variable 'b' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc2045/encode.C:142:10: style: The scope of the variable 'b' can be reduced. [variableScope] courier-authlib-0.72.6/libs/sha1/sha1_hash.c:52:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc2045/encode.C:142:14: style: The scope of the variable 'c' can be reduced. [variableScope] courier-authlib-0.72.6/libs/rfc2045/encode.C:144:6: style: The scope of the variable 'd' can be reduced. [variableScope] courier-authlib-0.72.6/libs/rfc2045/encode.C:144:9: style: The scope of the variable 'e' can be reduced. [variableScope] courier-authlib-0.72.6/libs/rfc2045/rfc2231.c:24:48: style:inconclusive: Function 'rfc2231_paramDestroy' argument 1 names different: declaration 'paramList' definition 'p'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:800:48: note: Function 'rfc2231_paramDestroy' argument 1 names different: declaration 'paramList' definition 'p'. courier-authlib-0.72.6/libs/rfc2045/rfc2231.c:24:48: note: Function 'rfc2231_paramDestroy' argument 1 names different: declaration 'paramList' definition 'p'. courier-authlib-0.72.6/userdb/userdbpw.c:205:5: style: Variable 'md5' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc2045/encode.C:144:12: style: The scope of the variable 'f' can be reduced. [variableScope] courier-authlib-0.72.6/libs/rfc2045/rfc2231.c:336:16: style:inconclusive: Function 'rfc2231_udecodeType' argument 3 names different: declaration 'myChset' definition 'myCharset'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:762:16: note: Function 'rfc2231_udecodeType' argument 3 names different: declaration 'myChset' definition 'myCharset'. courier-authlib-0.72.6/libs/rfc2045/rfc2231.c:336:16: note: Function 'rfc2231_udecodeType' argument 3 names different: declaration 'myChset' definition 'myCharset'. courier-authlib-0.72.6/userdb/userdbpw.c:239:10: style: Variable 'salt[1]' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc2045/encode.C:144:15: style: The scope of the variable 'g' can be reduced. [variableScope] courier-authlib-0.72.6/libs/rfc2045/rfc2231.c:357:23: style:inconclusive: Function 'rfc2231_udecodeDisposition' argument 3 names different: declaration 'myChset' definition 'myCharset'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:766:23: note: Function 'rfc2231_udecodeDisposition' argument 3 names different: declaration 'myChset' definition 'myCharset'. courier-authlib-0.72.6/libs/rfc2045/rfc2231.c:357:23: note: Function 'rfc2231_udecodeDisposition' argument 3 names different: declaration 'myChset' definition 'myCharset'. courier-authlib-0.72.6/libs/rfc2045/rfc2231.c:99:52: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/rfc2045/rfc2231.c:143:47: style: Parameter 'paramList' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:266:23: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:262:25: note: outer condition: handle->errflag==0 courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:266:23: note: identical inner condition: handle->errflag==0 courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:322:12: style: Condition 'ptr' is always true [knownConditionTrueFalse] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:18:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:129:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/authconfigfile.cpp:117:31: warning:inconclusive: Possible dereference of an invalid iterator: e [derefInvalidIterator] courier-authlib-0.72.6/authconfigfile.cpp:139:11: note: Assignment 'e=s.end()', assigned value is end=0 courier-authlib-0.72.6/authconfigfile.cpp:117:31: note: Dereference of an invalid iterator courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:261:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/userdb/userdb.c:232:42: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:508:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/userdb/userdb.c:233:14: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:559:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc822/testsuite.c:48:33: style: Condition 'buf[0]' is always true [knownConditionTrueFalse] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp3.C:27:44: warning:inconclusive: Possible dereference of an invalid iterator: e [derefInvalidIterator] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp3.C:12:17: note: Assignment 'e=addr.end()', assigned value is end=0 courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp3.C:27:44: note: Dereference of an invalid iterator courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp3.C:104:44: warning: Possible dereference of an invalid iterator: ae [derefInvalidIterator] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp3.C:99:39: note: Assignment 'ae=action.end()', assigned value is end=0 courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp3.C:104:44: note: Dereference of an invalid iterator courier-authlib-0.72.6/libs/rfc822/testsuite.c:14:3: style: Redundant assignment of 'p' to itself. [selfAssignment] courier-authlib-0.72.6/libs/rfc822/testsuite.c:20:3: style: Redundant assignment of 'p' to itself. [selfAssignment] courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:259:22: style:inconclusive: Function 'rfc3676parser_unicode' argument 2 names different: declaration 'txt' definition 'p'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.h:112:22: note: Function 'rfc3676parser_unicode' argument 2 names different: declaration 'txt' definition 'p'. courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:259:22: note: Function 'rfc3676parser_unicode' argument 2 names different: declaration 'txt' definition 'p'. courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:260:13: style:inconclusive: Function 'rfc3676parser_unicode' argument 3 names different: declaration 'txt_cnt' definition 'cnt'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.h:113:13: note: Function 'rfc3676parser_unicode' argument 3 names different: declaration 'txt_cnt' definition 'cnt'. courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:260:13: note: Function 'rfc3676parser_unicode' argument 3 names different: declaration 'txt_cnt' definition 'cnt'. courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:578:22: style:inconclusive: Function 'seen_notsig_block' argument 2 names different: declaration 'ptr' definition 'newptr'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:155:21: note: Function 'seen_notsig_block' argument 2 names different: declaration 'ptr' definition 'newptr'. courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:578:22: note: Function 'seen_notsig_block' argument 2 names different: declaration 'ptr' definition 'newptr'. courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:578:37: style:inconclusive: Function 'seen_notsig_block' argument 3 names different: declaration 'cnt' definition 'newcnt'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:155:33: note: Function 'seen_notsig_block' argument 3 names different: declaration 'cnt' definition 'newcnt'. courier-authlib-0.72.6/libs/rfc2045/rfc3676parser.c:578:37: note: Function 'seen_notsig_block' argument 3 names different: declaration 'cnt' definition 'newcnt'. courier-authlib-0.72.6/libs/rfc822/rfc822_parsedt.c:244:12: style: Variable 'tmptr' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/encode.C:142:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc2045/encode.C:142:11: style: Variable 'b' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc2045/encode.C:142:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/authpgsqllib.cpp:754:43: style: Parameter 'authinfo' can be declared as reference to const [constParameterReference] courier-authlib-0.72.6/authpgsqllib.cpp:795:8: style: Variable 'user' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/authpgsqllib.cpp:795:15: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/rfc2045rewrite.c:328:30: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc2045/rfc2045rewrite.c:82:53: note: Parameter 'ptr' can be declared as pointer to const courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/rfc2045rewrite.c:322:11: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc2045/rfc2045rewrite.c:136:60: note: Parameter 'dummy' can be declared as pointer to const courier-authlib-0.72.6/libs/rfc2045/rfc2045rewrite.c:153:21: style: Variable 'a' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/testsuite.c:14:3: style: Variable 'p' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc822/testsuite.c:20:3: style: Variable 'p' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045rewrite.c:41:6: style: Variable 'i' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc822/rfc822.h:1429:6: style: Virtual function 'sync' is called from destructor '~fdstreambuf()' at line 17. Dynamic binding is not used. [virtualCallInConstructor] courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:17:8: note: Calling sync courier-authlib-0.72.6/libs/rfc822/rfc822.h:1429:6: note: sync is a virtual function courier-authlib-0.72.6/libs/rfc822/rfc822.h:376:2: style: Struct 'tokens' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc822/rfc822.h:841:2: style: Struct 'addresses' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc822/rfc822.h:1111:3: style: Struct 'wrap_out_iter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc822/rfc822.h:1153:3: style: Struct 'wrap_out_iter_sep' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc822/rfc822.h:1400:2: style: Class 'fdstreambuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:28:46: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:26:20: note: Assuming allocation function fails courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:26:20: note: Assignment 'fp=::tmpfile()', assigned value is 0 courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:28:46: note: Null pointer dereference courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:30:9: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:26:20: note: Assuming allocation function fails courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:26:20: note: Assignment 'fp=::tmpfile()', assigned value is 0 courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:30:9: note: Null pointer dereference courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:94:6: style: Local variable 'error' shadows outer function [shadowFunction] courier-authlib-0.72.6/libs/rfc822/rfc822.h:1412:7: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc822/rfc822_fdstreambuf.C:94:6: note: Shadow variable courier-authlib-0.72.6/authdaemond.c:396:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/authdaemond.c:396:44: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] courier-authlib-0.72.6/libs/rfc822/rfc2047.h:287:3: warning:inconclusive: Class 'qpdecoder_base' which has virtual members does not have a virtual destructor. [virtualDestructor] courier-authlib-0.72.6/libs/rfc822/rfc2047.h:354:3: warning:inconclusive: Class 'base64decoder_base' which has virtual members does not have a virtual destructor. [virtualDestructor] courier-authlib-0.72.6/libs/rfc822/rfc2047.h:376:2: style: Struct 'base64decoder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/authdaemond.c:83:15: style: Checking if unsigned expression 'ndaemons' is less than zero. [unsignedLessThanZero] courier-authlib-0.72.6/authdaemond.c:78:7: style: Local variable 'buf' shadows outer variable [shadowVariable] courier-authlib-0.72.6/authdaemond.c:241:13: note: Shadowed declaration courier-authlib-0.72.6/authdaemond.c:78:7: note: Shadow variable courier-authlib-0.72.6/authdaemond.c:165:7: style: Local variable 'buf' shadows outer variable [shadowVariable] courier-authlib-0.72.6/authdaemond.c:241:13: note: Shadowed declaration courier-authlib-0.72.6/authdaemond.c:165:7: note: Shadow variable courier-authlib-0.72.6/authdaemond.c:590:7: style: Local variable 'buf' shadows outer variable [shadowVariable] courier-authlib-0.72.6/authdaemond.c:241:13: note: Shadowed declaration courier-authlib-0.72.6/authdaemond.c:590:7: note: Shadow variable courier-authlib-0.72.6/authdaemond.c:754:26: style: Local variable 'auth' shadows outer function [shadowFunction] courier-authlib-0.72.6/authdaemond.c:730:13: note: Shadowed declaration courier-authlib-0.72.6/authdaemond.c:754:26: note: Shadow variable courier-authlib-0.72.6/authdaemond.c:789:26: style: Local variable 'auth' shadows outer function [shadowFunction] courier-authlib-0.72.6/authdaemond.c:730:13: note: Shadowed declaration courier-authlib-0.72.6/authdaemond.c:789:26: note: Shadow variable courier-authlib-0.72.6/authdaemond.c:798:6: style: Local variable 'buf' shadows outer variable [shadowVariable] courier-authlib-0.72.6/authdaemond.c:241:13: note: Shadowed declaration courier-authlib-0.72.6/authdaemond.c:798:6: note: Shadow variable courier-authlib-0.72.6/authdaemond.c:499:31: style: Parameter 'prebuf' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/authdaemond.c:903:31: style: Parameter 'pipefd' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/rfc822/imaprefs.c:140:69: style: Parameter 'mt' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/rfc822/imaprefs.c:157:46: style: Parameter 'mt' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/libs/rfc822/imaprefs.c:234:33: style: Variable 'm' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/imaprefs.c:948:22: style: Variable 'ma' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/imaprefs.c:949:22: style: Variable 'mb' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/rfc2047.c:90:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/liblog/logger.c:248:16: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] courier-authlib-0.72.6/liblog/logger.c:290:10: error: Allocation with open, checkfd doesn't release it. [leakNoVarFunctionCall] courier-authlib-0.72.6/liblog/logger.c:363:11: error: Allocation with open, checkfd doesn't release it. [leakNoVarFunctionCall] courier-authlib-0.72.6/liblog/logger.c:364:11: error: Allocation with open, checkfd doesn't release it. [leakNoVarFunctionCall] courier-authlib-0.72.6/liblog/logger.c:58:33: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] courier-authlib-0.72.6/liblog/logger.c:493:18: note: Assuming allocation function fails courier-authlib-0.72.6/liblog/logger.c:493:18: note: Assignment 'f=fdopen(0,"r")', assigned value is 0 courier-authlib-0.72.6/liblog/logger.c:495:32: note: Calling function 'do_logger', 3rd argument 'f' value is 0 courier-authlib-0.72.6/liblog/logger.c:52:17: note: Assuming condition is false courier-authlib-0.72.6/liblog/logger.c:58:33: note: Null pointer dereference courier-authlib-0.72.6/liblog/logger.c:496:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] courier-authlib-0.72.6/liblog/logger.c:493:18: note: Assuming allocation function fails courier-authlib-0.72.6/liblog/logger.c:493:18: note: Assignment 'f=fdopen(0,"r")', assigned value is 0 courier-authlib-0.72.6/liblog/logger.c:496:10: note: Null pointer dereference courier-authlib-0.72.6/liblog/logger.c:244:16: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/liblog/logger.c:405:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:321:26: warning: Member variable 'qpdecoder_base::nybble' is not initialized in the constructor. [uninitMemberVar] courier-authlib-0.72.6/libs/rfc822/rfc2047.h:353:2: warning: Member variable 'base64decoder_base::buffer' is not initialized in the constructor. [uninitMemberVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:24:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iterator [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:380:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:523:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:564:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3230:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eol [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3403:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base64 [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3555:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eol [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.H:187:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:1526:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:1861:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:2024:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:2126:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:2708:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:509:10: style: Local variable 'n' shadows outer argument [shadowArgument] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:445:70: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:509:10: note: Shadow variable courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:523:15: style: Local variable 'i' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:503:17: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:523:15: note: Shadow variable courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:520:32: style: Condition 'rfc822_display_addr(a,n,charset,save_unicode_text,&nbuf)<0' is always false [knownConditionTrueFalse] courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:519:26: note: Calling function 'rfc822_display_addr' returns 0 courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:520:32: note: Condition 'rfc822_display_addr(a,n,charset,save_unicode_text,&nbuf)<0' is always false courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:529:32: style: Condition 'rfc822_display_addr(a,n,charset,save_unicode_text,&nbuf)<0' is always false [knownConditionTrueFalse] courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:528:26: note: Calling function 'rfc822_display_addr' returns 0 courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:529:32: note: Condition 'rfc822_display_addr(a,n,charset,save_unicode_text,&nbuf)<0' is always false courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:685:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:682:29: note: Calling function 'rfc822_display_addr' returns 0 courier-authlib-0.72.6/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 courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:685:14: note: Condition 'errcode<0' is always false courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:696:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:693:29: note: Calling function 'rfc822_display_addr' returns 0 courier-authlib-0.72.6/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 courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:696:14: note: Condition 'errcode<0' is always false courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:758:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:754:33: note: Calling function 'rfc822_display_addr_str' returns 0 courier-authlib-0.72.6/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 courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:758:14: note: Condition 'errcode<0' is always false courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:769:14: style: Condition 'errcode<0' is always false [knownConditionTrueFalse] courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:766:33: note: Calling function 'rfc822_display_addr_str' returns 0 courier-authlib-0.72.6/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 courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:769:14: note: Condition 'errcode<0' is always false courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:264:14: style: Variable 't' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:23:38: style: Parameter 'voidp' can be declared as pointer to const [constParameterPointer] courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:194:5: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:101:54: note: Parameter 'voidp' can be declared as pointer to const courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:195:5: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:105:73: note: Parameter 'voidp' can be declared as pointer to const courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:395:7: style: Variable 'found' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:425:7: style: Variable 'found' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/rfc822cpp.C:505:8: style: Variable 'out' can be declared as const array [constVariable] courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:441:11: style: Local variable 'i' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:413:10: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc822/rfc2047u.c:441:11: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp.C:13:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp.C:172:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subentities [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp.C:198:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp2.C:614:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp2.C:895:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp2.C:566:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp2.C:324:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp2.C:231:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp2.C:180:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp2.C:97:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] courier-authlib-0.72.6/libs/rfc822/rfc822.c:678:40: style:inconclusive: Function 'rfc822_print' argument 1 names different: declaration 'a' definition 'rfcp'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/rfc822/rfc822.h:124:40: note: Function 'rfc822_print' argument 1 names different: declaration 'a' definition 'rfcp'. courier-authlib-0.72.6/libs/rfc822/rfc822.c:678:40: note: Function 'rfc822_print' argument 1 names different: declaration 'a' definition 'rfcp'. courier-authlib-0.72.6/libs/rfc822/rfc822.c:685:47: style:inconclusive: Function 'rfc822_print_common' argument 1 names different: declaration 'a' definition 'rfcp'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/rfc822/rfc822.h:130:47: note: Function 'rfc822_print_common' argument 1 names different: declaration 'a' definition 'rfcp'. courier-authlib-0.72.6/libs/rfc822/rfc822.c:685:47: note: Function 'rfc822_print_common' argument 1 names different: declaration 'a' definition 'rfcp'. courier-authlib-0.72.6/libs/rfc822/rfc822.c:834:47: style:inconclusive: Function 'rfc822t_alloc_new' argument 1 names different: declaration 'p' definition 'addr'. [funcArgNamesDifferent] courier-authlib-0.72.6/libs/rfc822/rfc822.h:92:47: note: Function 'rfc822t_alloc_new' argument 1 names different: declaration 'p' definition 'addr'. courier-authlib-0.72.6/libs/rfc822/rfc822.c:834:47: note: Function 'rfc822t_alloc_new' argument 1 names different: declaration 'p' definition 'addr'. courier-authlib-0.72.6/libs/rfc822/rfc822.c:131:9: style: Local variable 'j' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc822/rfc822.c:24:14: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc822/rfc822.c:131:9: note: Shadow variable courier-authlib-0.72.6/libs/rfc822/rfc822.c:943:13: style: Local variable 'k' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc822/rfc822.c:938:9: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc822/rfc822.c:943:13: note: Shadow variable courier-authlib-0.72.6/libs/rfc822/rfc822.c:944:22: style: Local variable 'save_token' shadows outer function [shadowFunction] courier-authlib-0.72.6/libs/rfc822/rfc822.c:824:13: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc822/rfc822.c:944:22: note: Shadow variable courier-authlib-0.72.6/libs/rfc822/rfc822.c:704:24: style: Variable 't' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/rfc822.c:749:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc822/rfc822.c:856:43: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc822/rfc822.c:813:60: note: Parameter 'voidp' can be declared as pointer to const courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc822/rfc822.c:1003:5: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc822/rfc822.c:897:54: note: Parameter 'voidp' can be declared as pointer to const courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc822/rfc822.c:1004:5: note: You might need to cast the function pointer here courier-authlib-0.72.6/libs/rfc822/rfc822.c:901:73: note: Parameter 'voidp' can be declared as pointer to const courier-authlib-0.72.6/libs/rfc822/rfc822.c:316:22: warning: Uninitialized variable: c [uninitvar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:181:8: style: Local variable 'p' shadows outer argument [shadowArgument] courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:176:14: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:181:8: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:595:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc2045/rfc2045.c:1180:7: style: Variable 's' can be declared as pointer to const [constVariablePointer] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:34:11: style: Condition 'ch' is always true [knownConditionTrueFalse] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:772:13: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:762:18: note: Assuming allocation function fails courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:762:18: note: Assignment 'fp=tmpfile()', assigned value is 0 courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:772:13: note: Null pointer dereference courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:780:37: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:762:18: note: Assuming allocation function fails courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:762:18: note: Assignment 'fp=tmpfile()', assigned value is 0 courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:780:37: note: Null pointer dereference courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:879:38: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:877:12: note: Assuming allocation function fails courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:877:12: note: Assignment 'fp=tmpfile()', assigned value is 0 courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:879:38: note: Null pointer dereference courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:879:23: style: Local variable 'fds' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:780:22: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:879:23: note: Shadow variable courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:22:13: style: Variable 'c' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:102:11: style: Parameter 'charset' can be declared as reference to const [constParameterReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:103:11: style: Parameter 'language' can be declared as reference to const [constParameterReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:114:33: style: Parameter 'b' can be declared as reference to const [constParameterReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:115:33: style: Parameter 'e' can be declared as reference to const [constParameterReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:370:20: style: Parameter 's' can be declared as reference to const [constParameterReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:557:13: style: Variable 'l' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:575:14: style: Variable 'l' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:582:13: style: Variable 'l' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:599:14: style: Variable 'l' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:606:13: style: Variable 'l' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:623:14: style: Variable 'l' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:570:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:594:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] courier-authlib-0.72.6/libs/rfc822/testsuitecpp.C:618:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3327:10: debug: CheckClass::isMemberVar found used member variable 'subentities' with varid 0 [varid0] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3370:17: debug: CheckClass::isMemberVar found used member variable 'startbody' with varid 0 [varid0] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1791:3: debug: CheckClass::isMemberVar found used member variable 'subentities' with varid 0 [varid0] courier-authlib-0.72.6/libs/rfc2045/rfc2045acchkcpp.C:16:6: debug: CheckClass::isMemberVar found used member variable 'content_type' with varid 0 [varid0] courier-authlib-0.72.6/libs/rfc2045/rfc2045acchkcpp.C:18:3: debug: CheckClass::isMemberVar found used member variable 'subentities' with varid 0 [varid0] courier-authlib-0.72.6/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] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2160:7: style:inconclusive: Either there is a missing 'override', or the member function 'iter::isnybble' can be const. [functionConst] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1543:3: style: Struct 'rfc2231_header' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1866:3: style: Class 'dsn_handler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2974:2: style: Struct 'headers' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3117:2: style: Class 'converter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3169:2: style: Class 'mime_unicode_decoder_helper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2031:11: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2030:7: note: outer condition: *cached_boundary_found courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2031:11: note: identical inner condition: *cached_boundary_found courier-authlib-0.72.6/libs/rfc2045/rfc2045new_boundary.C:22:2: style: Struct 'strbuf < pid_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/rfc2045new_boundary.C:22:2: style: Struct 'strbuf < time_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/rfc2045new_boundary.C:22:2: style: Struct 'strbuf < unsigned int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2007:15: style: Local variable 'e' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1904:17: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2007:15: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2009:11: style: Local variable 'b' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1903:17: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2009:11: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2065:8: style: Local variable 'b' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1903:17: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2065:8: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2388:9: style: Local variable 'b' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1903:17: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2388:9: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2547:15: style: Local variable 'header' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:224:8: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2547:15: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2777:9: style: Local variable 'line' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2543:14: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2777:9: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3472:14: style: Local variable 'boundary' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:172:8: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3472:14: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3532:7: style: Local variable 'new_boundary' shadows outer function [shadowFunction] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:1810:21: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3532:7: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2499:21: style: Parameter 'c' can be declared as reference to const [constParameterReference] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2512:11: style: Parameter 'c' can be declared as reference to const [constParameterReference] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3410:14: style: Variable 'subentity' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3618:13: style: Variable 'subentity' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3414:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3596:20: style: Variable 'seen_mime_version' is assigned a value that is never used. [unreadVariable] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:1988:14: style: Condition 's<=50' is always true [knownConditionTrueFalse] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:1975:21: note: Assuming that condition 's<51' is not redundant courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:1988:14: note: Condition 's<=50' is always true courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp.C:544:24: warning: Member variable 'headers_base::left' is not initialized in the constructor. [uninitMemberVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3003:2: warning: Member variable 'headers < std :: streambuf >::src' is not initialized in the constructor. [uninitMemberVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3004:2: warning: Member variable 'headers < std :: streambuf >::src' is not initialized in the constructor. [uninitMemberVar] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp.C:172:15: debug: CheckClass::isMemberVar found used member variable 'subentities' with varid 0 [varid0] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2974:2: style: Struct 'headers < std :: streambuf >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3003:2: style: Struct 'headers < std :: streambuf >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:3004:2: style: Struct 'headers < std :: streambuf >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:39:16: style: Local variable 's' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:17:20: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:39:16: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:61:16: style: Local variable 's' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:17:20: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:61:16: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.H:39:14: style: Variable 'se' can be declared as reference to const [constVariableReference] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:2531:13: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:2539:13: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] courier-authlib-0.72.6/libs/rfc2045/testsuitecpp.C:2095:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp.C:465:8: style: Local variable 'parent' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:157:18: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp.C:465:8: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp.C:589:14: style: Local variable 'name_lc' shadows outer variable [shadowVariable] courier-authlib-0.72.6/libs/rfc2045/rfc2045.h:2943:7: note: Shadowed declaration courier-authlib-0.72.6/libs/rfc2045/rfc2045cpp.C:589:14: note: Shadow variable courier-authlib-0.72.6/libs/rfc2045/testsuitecpp2.C:747:14: style: Variable 'a' can be declared as reference to const [constVariableReference] diff: DONE