2026-05-01 14:28 ftp://ftp.de.debian.org/debian/pool/main/c/cyrus-imspd/cyrus-imspd_1.8.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 781 464 elapsed-time: 0.7 0.6 head-timing-info: old-timing-info: head results: cyrus-imspd-v1.8/imsp/adate.c:56:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imspd-v1.8/imsp/adate.c:57:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imspd-v1.8/imsp/adate.c:88:5: warning: %ld in format string (no. 9) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] cyrus-imspd-v1.8/imsp/adate.c:88:5: warning: %ld in format string (no. 10) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] cyrus-imspd-v1.8/imsp/adate.c:48:23: style: Variable 'gmt' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/alock.c:73:11: style:inconclusive: Function 'alock_dolock' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/alock.c:73:18: style:inconclusive: Function 'alock_dolock' argument 2 names different: declaration '' definition 'item1'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/alock.c:73:26: style:inconclusive: Function 'alock_dolock' argument 3 names different: declaration '' definition 'item2'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/alock.c:74:9: style:inconclusive: Function 'alock_dolock' argument 4 names different: declaration '' definition 'lockflag'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/alock.c:73:35: style:inconclusive: Function 'alock_dolock' argument 5 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/alock.c:73:11: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/alock.c:73:18: style: Parameter 'item1' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/alock.c:73:26: style: Parameter 'item2' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/alock.c:77:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/dispatch.c:218:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/dispatch.c:247:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/dispatch.c:368:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/dispatch.c:489:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/dispatch.c:592:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/dispatch.c:615:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_MAXOUTBUF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/im_util.c:186:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EC_IOERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/im_util.c:210:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EC_IOERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/im_util.c:244:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EC_IOERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/im_util.c:341:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EC_IOERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook_ldap.c:126:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook_ldap.c:154:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook_ldap.c:419:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook_ldap.c:466:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook_ldap.c:648:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SUCCESS [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook_ldap.c:691:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook_ldap.c:800:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:114:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_ALL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:241:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:287:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:297:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_WRITE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:319:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:448:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:513:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_CREATE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:575:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_DELETE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:644:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_DELETE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:774:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_WRITE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:846:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_DELETE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:912:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_ADMIN [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:990:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/abook.c:1047:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/imap_client.c:214:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/im_util.c:306:11: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] cyrus-imspd-v1.8/imsp/im_util.c:315:6: note: Assuming that condition 'buf' is not redundant cyrus-imspd-v1.8/imsp/im_util.c:306:11: note: Null pointer dereference cyrus-imspd-v1.8/imsp/im_util.c:307:19: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] cyrus-imspd-v1.8/imsp/im_util.c:315:6: note: Assuming that condition 'buf' is not redundant cyrus-imspd-v1.8/imsp/im_util.c:307:19: note: Null pointer dereference cyrus-imspd-v1.8/imsp/im_util.c:106:11: style:inconclusive: Function 'copy_get_partition' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/im_util.c:107:12: style:inconclusive: Function 'copy_get_partition' argument 2 names different: declaration '' definition 'partition'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/im_util.c:136:13: style:inconclusive: Function 'get_atom' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/im_util.c:156:13: style:inconclusive: Function 'get_latom' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/im_util.c:175:13: style:inconclusive: Function 'copy_atom' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/im_util.c:199:13: style:inconclusive: Function 'copy_latom' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/im_util.c:229:13: style:inconclusive: Function 'copy_astring' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/im_util.c:230:9: style:inconclusive: Function 'copy_astring' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/im_util.c:299:13: style:inconclusive: Function 'copy_atom_list' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/im_util.c:300:12: style:inconclusive: Function 'copy_atom_list' argument 2 names different: declaration '' definition 'plist'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/im_util.c:109:11: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/im_util.c:138:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/im_util.c:158:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/im_util.c:177:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/im_util.c:178:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/im_util.c:201:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/im_util.c:202:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/im_util.c:233:25: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/im_util.c:302:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/im_util.c:302:25: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/im_util.c:337:9: style: Variable 'end' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/imsp/dispatch.c:105:13: style:inconclusive: Function 'dispatch_initbuf' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:106:9: style:inconclusive: Function 'dispatch_initbuf' argument 2 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:127:9: style:inconclusive: Function 'dispatch_err' argument 1 names different: declaration '' definition 'read_secs'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:127:20: style:inconclusive: Function 'dispatch_err' argument 2 names different: declaration '' definition 'write_secs'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:128:16: style:inconclusive: Function 'dispatch_err' argument 3 names different: declaration '' definition 'iproc'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:143:17: style:inconclusive: Function 'dispatch_add' argument 1 names different: declaration '' definition 'dptr'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:158:13: style:inconclusive: Function 'dispatch_remove' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:175:9: style:inconclusive: Function 'dispatch_check' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:231:9: style:inconclusive: Function 'dispatch_loop' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:231:13: style:inconclusive: Function 'dispatch_loop' argument 2 names different: declaration '' definition 'onwrite'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:415:13: style:inconclusive: Function 'dispatch_read' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:416:11: style:inconclusive: Function 'dispatch_read' argument 2 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:417:9: style:inconclusive: Function 'dispatch_read' argument 3 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:446:13: style:inconclusive: Function 'dispatch_readline' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:528:13: style:inconclusive: Function 'dispatch_flush' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:544:13: style:inconclusive: Function 'dispatch_write' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:545:17: style:inconclusive: Function 'dispatch_write' argument 2 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:546:9: style:inconclusive: Function 'dispatch_write' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:569:13: style:inconclusive: Function 'dispatch_close' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:589:13: style:inconclusive: Function 'dispatch_telemetry' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:590:11: style:inconclusive: Function 'dispatch_telemetry' argument 2 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/dispatch.c:158:13: style: Parameter 'fbuf' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/dispatch.c:177:17: style: Variable 'dptr' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/dispatch.c:288:11: style: Variable 'src' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/dispatch.c:590:11: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/dispatch.c:373:7: style: Unused variable: lup [unusedVariable] cyrus-imspd-v1.8/imsp/dispatch.c:480:10: style: Unused variable: ebuf [unusedVariable] cyrus-imspd-v1.8/imsp/login_krb.c:108:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANAME_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/login_krb.c:104:7: style:inconclusive: Function 'login_authproc' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/login_krb.c:105:7: style:inconclusive: Function 'login_authproc' argument 2 names different: declaration '' definition 'auth_identity'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/login_krb.c:106:8: style:inconclusive: Function 'login_authproc' argument 3 names different: declaration '' definition 'reply'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/login_unix.c:42:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cyrus-imspd-v1.8/imsp/login_unix.c:45:32: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] cyrus-imspd-v1.8/imsp/login_unix.c:35:7: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/login_unix.c:36:7: style: Parameter 'pass' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/login_unix.c:39:20: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/login_unix_shadow.c:43:11: portability: Non reentrant function 'getspnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getspnam_r'. [prohibitedgetspnamCalled] cyrus-imspd-v1.8/imsp/login_unix_shadow.c:46:30: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] cyrus-imspd-v1.8/imsp/login_unix_shadow.c:36:7: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/login_unix_shadow.c:37:7: style: Parameter 'pass' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/login_unix_shadow.c:40:18: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/main.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXHOSTNAMELEN [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/main.c:126:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/main.c:219:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/imap_client.c:190:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cyrus-imspd-v1.8/imsp/imap_client.c:216:13: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cyrus-imspd-v1.8/imsp/imap_client.c:65:14: style:inconclusive: Function 'imap_wait' argument 1 names different: declaration '' definition 'con'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:158:11: style:inconclusive: Function 'imap_connect' argument 1 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:159:14: style:inconclusive: Function 'imap_connect' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:160:9: style:inconclusive: Function 'imap_connect' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:332:14: style:inconclusive: Function 'imap_close' argument 1 names different: declaration '' definition 'con'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:369:14: style:inconclusive: Function 'imap_newhandler' argument 1 names different: declaration '' definition 'con'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:370:11: style:inconclusive: Function 'imap_newhandler' argument 2 names different: declaration '' definition 'com'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:371:14: style:inconclusive: Function 'imap_newhandler' argument 3 names different: declaration '' definition 'proc'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:372:9: style:inconclusive: Function 'imap_newhandler' argument 4 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:395:14: style:inconclusive: Function 'imap_removehandler' argument 1 names different: declaration '' definition 'con'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:396:11: style:inconclusive: Function 'imap_removehandler' argument 2 names different: declaration '' definition 'command'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imap_client.c:130:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/imap_client.c:173:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/imap_client.c:396:11: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/main.c:106:17: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] cyrus-imspd-v1.8/imsp/main.c:154:10: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cyrus-imspd-v1.8/imsp/main.c:91:21: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/main.c:92:11: style: Variable 'iaddr' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:393:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_ALL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/bb.c:423:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_CREATE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/bb.c:448:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/bb.c:531:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/bb.c:592:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_ICASE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/bb.c:821:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/bb.c:1028:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_DELETE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/bb.c:1149:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_DELETE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/bb.c:1260:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_ADMIN [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/proxy_krb.c:81:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_OSFILE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/sasl_support.c:88:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sasl_security_properties_t [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/sasl_support.c:152:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/sasl_support.c:214:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/sasl_support.c:243:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_BADAUTH [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/sasl_support.c:281:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/sasl_support.c:206:2: warning:inconclusive: The buffer 'opt' may not be null-terminated after the call to strncpy(). [terminateStrncpy] cyrus-imspd-v1.8/imsp/sasl_support.c:112:5: warning: If memory allocation fails, then there is a possible null pointer dereference: prop [nullPointerOutOfMemory] cyrus-imspd-v1.8/imsp/sasl_support.c:88:9: note: Assuming allocation function fails cyrus-imspd-v1.8/imsp/sasl_support.c:87:12: note: Assignment 'prop=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imspd-v1.8/imsp/sasl_support.c:112:5: note: Null pointer dereference cyrus-imspd-v1.8/imsp/sasl_support.c:113:5: warning: If memory allocation fails, then there is a possible null pointer dereference: prop [nullPointerOutOfMemory] cyrus-imspd-v1.8/imsp/sasl_support.c:88:9: note: Assuming allocation function fails cyrus-imspd-v1.8/imsp/sasl_support.c:87:12: note: Assignment 'prop=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imspd-v1.8/imsp/sasl_support.c:113:5: note: Null pointer dereference cyrus-imspd-v1.8/imsp/sasl_support.c:115:5: warning: If memory allocation fails, then there is a possible null pointer dereference: prop [nullPointerOutOfMemory] cyrus-imspd-v1.8/imsp/sasl_support.c:88:9: note: Assuming allocation function fails cyrus-imspd-v1.8/imsp/sasl_support.c:87:12: note: Assignment 'prop=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imspd-v1.8/imsp/sasl_support.c:115:5: note: Null pointer dereference cyrus-imspd-v1.8/imsp/sasl_support.c:117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: prop [nullPointerOutOfMemory] cyrus-imspd-v1.8/imsp/sasl_support.c:88:9: note: Assuming allocation function fails cyrus-imspd-v1.8/imsp/sasl_support.c:87:12: note: Assignment 'prop=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imspd-v1.8/imsp/sasl_support.c:117:5: note: Null pointer dereference cyrus-imspd-v1.8/imsp/sasl_support.c:119:5: warning: If memory allocation fails, then there is a possible null pointer dereference: prop [nullPointerOutOfMemory] cyrus-imspd-v1.8/imsp/sasl_support.c:88:9: note: Assuming allocation function fails cyrus-imspd-v1.8/imsp/sasl_support.c:87:12: note: Assignment 'prop=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imspd-v1.8/imsp/sasl_support.c:119:5: note: Null pointer dereference cyrus-imspd-v1.8/imsp/sasl_support.c:128:5: warning: If memory allocation fails, then there is a possible null pointer dereference: prop [nullPointerOutOfMemory] cyrus-imspd-v1.8/imsp/sasl_support.c:88:9: note: Assuming allocation function fails cyrus-imspd-v1.8/imsp/sasl_support.c:87:12: note: Assignment 'prop=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imspd-v1.8/imsp/sasl_support.c:128:5: note: Null pointer dereference cyrus-imspd-v1.8/imsp/sasl_support.c:129:5: warning: If memory allocation fails, then there is a possible null pointer dereference: prop [nullPointerOutOfMemory] cyrus-imspd-v1.8/imsp/sasl_support.c:88:9: note: Assuming allocation function fails cyrus-imspd-v1.8/imsp/sasl_support.c:87:12: note: Assignment 'prop=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imspd-v1.8/imsp/sasl_support.c:129:5: note: Null pointer dereference cyrus-imspd-v1.8/imsp/abook.c:199:18: style:inconclusive: Function 'abook_fetch' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:200:14: style:inconclusive: Function 'abook_fetch' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:201:11: style:inconclusive: Function 'abook_fetch' argument 3 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:201:18: style:inconclusive: Function 'abook_fetch' argument 4 names different: declaration '' definition 'alias'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:202:10: style:inconclusive: Function 'abook_fetch' argument 5 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:203:10: style:inconclusive: Function 'abook_fetch' argument 6 names different: declaration '' definition 'freedata'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:259:18: style:inconclusive: Function 'abook_fetchdone' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:260:22: style:inconclusive: Function 'abook_fetchdone' argument 2 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:261:9: style:inconclusive: Function 'abook_fetchdone' argument 3 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:262:9: style:inconclusive: Function 'abook_fetchdone' argument 4 names different: declaration '' definition 'freedata'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:284:14: style:inconclusive: Function 'abook_canfetch' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:285:11: style:inconclusive: Function 'abook_canfetch' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:294:14: style:inconclusive: Function 'abook_canlock' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:295:11: style:inconclusive: Function 'abook_canlock' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:304:18: style:inconclusive: Function 'abook_searchstart' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:305:12: style:inconclusive: Function 'abook_searchstart' argument 2 names different: declaration '' definition 'ldap_state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:306:14: style:inconclusive: Function 'abook_searchstart' argument 3 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:307:11: style:inconclusive: Function 'abook_searchstart' argument 4 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:308:22: style:inconclusive: Function 'abook_searchstart' argument 5 names different: declaration '' definition 'flist'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:309:9: style:inconclusive: Function 'abook_searchstart' argument 6 names different: declaration '' definition 'fcount'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:433:18: style:inconclusive: Function 'abook_search' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:434:11: style:inconclusive: Function 'abook_search' argument 2 names different: declaration '' definition 'ldap_state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:461:18: style:inconclusive: Function 'abook_searchdone' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:462:11: style:inconclusive: Function 'abook_searchdone' argument 2 names different: declaration '' definition 'ldap_state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:477:14: style:inconclusive: Function 'abook_create' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:478:11: style:inconclusive: Function 'abook_create' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:556:14: style:inconclusive: Function 'abook_delete' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:557:11: style:inconclusive: Function 'abook_delete' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:622:14: style:inconclusive: Function 'abook_rename' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:623:11: style:inconclusive: Function 'abook_rename' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:623:18: style:inconclusive: Function 'abook_rename' argument 3 names different: declaration '' definition 'newname'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:728:14: style:inconclusive: Function 'abook_store' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:729:11: style:inconclusive: Function 'abook_store' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:729:18: style:inconclusive: Function 'abook_store' argument 3 names different: declaration '' definition 'alias'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:730:22: style:inconclusive: Function 'abook_store' argument 4 names different: declaration '' definition 'flist'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:731:9: style:inconclusive: Function 'abook_store' argument 5 names different: declaration '' definition 'fcount'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:836:14: style:inconclusive: Function 'abook_deleteent' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:837:11: style:inconclusive: Function 'abook_deleteent' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:837:18: style:inconclusive: Function 'abook_deleteent' argument 3 names different: declaration '' definition 'alias'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:904:14: style:inconclusive: Function 'abook_setacl' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:905:11: style:inconclusive: Function 'abook_setacl' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:905:18: style:inconclusive: Function 'abook_setacl' argument 3 names different: declaration '' definition 'ident'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:905:26: style:inconclusive: Function 'abook_setacl' argument 4 names different: declaration '' definition 'rights'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:965:14: style:inconclusive: Function 'abook_myrights' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:966:11: style:inconclusive: Function 'abook_myrights' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:966:18: style:inconclusive: Function 'abook_myrights' argument 3 names different: declaration '' definition 'rights'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:977:14: style:inconclusive: Function 'abook_getacl' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:978:11: style:inconclusive: Function 'abook_getacl' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:1002:18: style:inconclusive: Function 'abook_findstart' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:1003:14: style:inconclusive: Function 'abook_findstart' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:1004:11: style:inconclusive: Function 'abook_findstart' argument 3 names different: declaration '' definition 'pat'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:1031:18: style:inconclusive: Function 'abook_find' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:1032:14: style:inconclusive: Function 'abook_find' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:1033:12: style:inconclusive: Function 'abook_find' argument 3 names different: declaration '' definition 'abook'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:1034:10: style:inconclusive: Function 'abook_find' argument 4 names different: declaration '' definition 'attrs'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:1069:18: style:inconclusive: Function 'abook_finddone' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook.c:287:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imspd-v1.8/imsp/abook.c:297:54: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imspd-v1.8/imsp/abook.c:73:11: style: Variable 'split' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:101:11: style: Variable 'uname' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:142:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/abook.c:201:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/abook.c:201:18: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/abook.c:312:17: style: Variable 'key' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:562:24: style: Variable 'kvpos' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:563:11: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:628:24: style: Variable 'kvpos' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:629:11: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:734:17: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:839:17: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:1036:11: style: Variable 'user' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:1036:18: style: Variable 'key' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook.c:955:9: warning: Uninitialized variable: acl [uninitvar] cyrus-imspd-v1.8/imsp/abook.c:926:50: note: Assuming condition is false cyrus-imspd-v1.8/imsp/abook.c:955:9: note: Uninitialized variable: acl cyrus-imspd-v1.8/imsp/abook.c:850:19: style: Variable 'ownerlen' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/imsp/imsp_server.c:318:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/imsp_server.c:328:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/imsp_server.c:487:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_CONTINUE [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/imsp_server.c:591:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/imsp_server.c:1254:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_MAXSTR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/imsp_server.c:1549:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acl_afs.c:217:25: debug: Function::addArguments found argument 'rock' with varid 0. [varid0] cyrus-imspd-v1.8/imsp/syncdb.c:148:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/syncdb.c:384:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/syncdb.c:433:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/syncdb.c:567:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/syncdb.c:653:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/syncdb.c:797:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/syncdb.c:853:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/syncdb.c:1158:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/syncdb.c:1234:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/syncdb.c:1305:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acl_afs.c:219:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable canonproc [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/option.c:108:11: style:inconclusive: Function 'option_check' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:121:11: style:inconclusive: Function 'option_create' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:133:19: style:inconclusive: Function 'option_matchstart' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:134:11: style:inconclusive: Function 'option_matchstart' argument 2 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:134:18: style:inconclusive: Function 'option_matchstart' argument 3 names different: declaration '' definition 'pat'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:180:19: style:inconclusive: Function 'option_match' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:181:11: style:inconclusive: Function 'option_match' argument 2 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:182:12: style:inconclusive: Function 'option_match' argument 3 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:182:20: style:inconclusive: Function 'option_match' argument 4 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:183:10: style:inconclusive: Function 'option_match' argument 5 names different: declaration '' definition 'rwflag'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:184:9: style:inconclusive: Function 'option_match' argument 6 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:251:19: style:inconclusive: Function 'option_matchdone' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:266:11: style:inconclusive: Function 'option_get' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:266:18: style:inconclusive: Function 'option_get' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:267:9: style:inconclusive: Function 'option_get' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:268:10: style:inconclusive: Function 'option_get' argument 4 names different: declaration '' definition 'rwflag'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:314:11: style:inconclusive: Function 'option_test' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:314:18: style:inconclusive: Function 'option_test' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:315:9: style:inconclusive: Function 'option_test' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:315:16: style:inconclusive: Function 'option_test' argument 4 names different: declaration '' definition 'dflt'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:345:11: style:inconclusive: Function 'option_getlist' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:345:18: style:inconclusive: Function 'option_getlist' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:346:9: style:inconclusive: Function 'option_getlist' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:403:18: style:inconclusive: Function 'option_freelist' argument 1 names different: declaration '' definition 'olist'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:413:11: style:inconclusive: Function 'option_lookup' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:413:18: style:inconclusive: Function 'option_lookup' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:414:9: style:inconclusive: Function 'option_lookup' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:415:11: style:inconclusive: Function 'option_lookup' argument 4 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:441:11: style:inconclusive: Function 'option_doquota' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:442:10: style:inconclusive: Function 'option_doquota' argument 2 names different: declaration '' definition 'delta'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:493:11: style:inconclusive: Function 'option_set' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:493:18: style:inconclusive: Function 'option_set' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:494:9: style:inconclusive: Function 'option_set' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:495:11: style:inconclusive: Function 'option_set' argument 4 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:581:11: style:inconclusive: Function 'option_unset' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:581:18: style:inconclusive: Function 'option_unset' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:582:9: style:inconclusive: Function 'option_unset' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/option.c:77:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/option.c:77:24: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/option.c:108:11: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/option.c:121:11: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/option.c:134:11: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/option.c:415:11: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/option.c:441:11: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/option.c:495:11: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/option.c:378:11: error: Memory is allocated but not initialized: result [uninitdata] cyrus-imspd-v1.8/imsp/option.c:572:43: error: Uninitialized variable: delta [legacyUninitvar] cyrus-imspd-v1.8/imsp/option.c:584:18: style: Variable 'globflag' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/imsp/option.c:595:15: style: Variable 'globflag' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/lib/acl_afs.c:132:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newidentifier [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/acl_afs.c:131:25: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/acl_afs.c:131:25: note: Assignment 'newidentifier=xmalloc(strlen(canonid)+2)', assigned value is 0 cyrus-imspd-v1.8/lib/acl_afs.c:132:2: note: Null pointer dereference cyrus-imspd-v1.8/lib/acl_afs.c:198:10: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imspd-v1.8/lib/acl_afs.c:198:10: note: Null pointer dereference cyrus-imspd-v1.8/lib/acl_afs.c:133:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imspd-v1.8/lib/acl_afs.c:131:25: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/acl_afs.c:131:25: note: Assignment 'newidentifier=xmalloc(strlen(canonid)+2)', assigned value is 0 cyrus-imspd-v1.8/lib/acl_afs.c:133:22: note: Null pointer addition cyrus-imspd-v1.8/lib/acl_afs.c:117:7: style:inconclusive: Function 'acl_set' argument 6 names different: declaration '' definition 'canonrock'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acl_afs.c:217:25: style:inconclusive: Function 'acl_remove' argument 3 names different: declaration 'canonproc' definition 'rock'. [funcArgNamesDifferent] cyrus-imspd-v1.8/lib/acl.h:115:26: note: Function 'acl_remove' argument 3 names different: declaration 'canonproc' definition 'rock'. cyrus-imspd-v1.8/lib/acl_afs.c:217:25: note: Function 'acl_remove' argument 3 names different: declaration 'canonproc' definition 'rock'. cyrus-imspd-v1.8/lib/acl_afs.c:217:25: style:inconclusive: Function 'acl_remove' argument 4 names different: declaration '' definition 'identifier'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acl_afs.c:217:25: style:inconclusive: Function 'acl_remove' argument 5 names different: declaration '' definition 'rights'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook_ldap.c:338:8: warning: Either the condition 'mapping==NULL' is redundant or there is possible null pointer dereference: mapping. [nullPointerRedundantCheck] cyrus-imspd-v1.8/imsp/abook_ldap.c:334:16: note: Assuming that condition 'mapping==NULL' is not redundant cyrus-imspd-v1.8/imsp/abook_ldap.c:338:8: note: Null pointer dereference cyrus-imspd-v1.8/imsp/abook_ldap.c:335:14: style: Redundant assignment of 'mapping' to itself. [selfAssignment] cyrus-imspd-v1.8/imsp/abook_ldap.c:124:20: style: Parameter 'reason' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/abook_ldap.c:632:63: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/abook_ldap.c:793:9: style: Variable 'searchattr' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/abook_ldap.c:794:9: style: Variable 'searchkey' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/acte.c:33:5: style:inconclusive: Function 'acte_prottostring' argument 1 names different: declaration '' definition 'protlevel'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/abook_ldap.c:132:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/imsp/abook_ldap.c:132:18: style: Variable 'j' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/imsp/abook_ldap.c:456:9: style: Unused variable: sizelimit [unusedVariable] cyrus-imspd-v1.8/imsp/abook_ldap.c:457:11: style: Unused variable: msg [unusedVariable] cyrus-imspd-v1.8/imsp/abook_ldap.c:664:13: style: Unused variable: count [unusedVariable] cyrus-imspd-v1.8/imsp/abook_ldap.c:668:11: style: Unused variable: dn [unusedVariable] cyrus-imspd-v1.8/lib/assert.c:60:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/auth_krb.c:102:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANAME_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/auth_krb.c:151:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_K_NAME_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/auth_krb.c:179:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_K_NAME_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/auth_krb.c:252:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_K_NAME_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acte_krb.c:171:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_K_NAME_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acte_krb.c:366:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXHOSTNAMELEN [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acte_krb.c:494:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INST_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acte_krb.c:672:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable krb_err_txt [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acte_krb.c:726:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable krb_err_txt [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acte_krb.c:768:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable des_cblock [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acte_krb.c:788:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALM_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acte_krb.c:881:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable des_cblock [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/acte_krb.c:920:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/auth_krb_pts.c:138:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_K_NAME_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/auth_krb_pts.c:165:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_K_NAME_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/auth_krb_pts.c:237:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_K_NAME_SZ [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/auth_krb_pts.c:337:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_MAXNAMELEN [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/auth_krb.c:324:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb.c:322:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb.c:322:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb.c:324:12: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb.c:325:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb.c:322:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb.c:322:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb.c:325:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb.c:325:26: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb.c:322:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb.c:322:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb.c:325:26: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb.c:325:46: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb.c:322:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb.c:322:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb.c:325:46: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb.c:326:17: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb.c:322:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb.c:322:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb.c:326:17: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb.c:326:34: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb.c:322:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb.c:322:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb.c:326:34: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb.c:326:50: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb.c:322:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb.c:322:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb.c:326:50: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb.c:99:20: style: Parameter 'auth_state' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/auth_trivial.c:38:1: portability: Omitted return type of function 'auth_memberof' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] cyrus-imspd-v1.8/lib/auth_trivial.c:60:1: portability: Omitted return type of function 'auth_setid' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] cyrus-imspd-v1.8/lib/auth_trivial.c:39:7: style: Parameter 'identifier' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/auth_trivial.c:50:7: style: Parameter 'identifier' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/auth_trivial.c:61:7: style: Parameter 'identifier' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/auth_trivial.c:62:7: style: Parameter 'cacheid' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/acte_krb.c:195:17: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cyrus-imspd-v1.8/lib/acte_krb.c:896:26: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] cyrus-imspd-v1.8/lib/acte_krb.c:640:7: style:inconclusive: Function 'krb_en_integrity' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:641:7: style:inconclusive: Function 'krb_en_integrity' argument 2 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:642:5: style:inconclusive: Function 'krb_en_integrity' argument 3 names different: declaration '' definition 'inputlen'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:643:7: style:inconclusive: Function 'krb_en_integrity' argument 4 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:644:6: style:inconclusive: Function 'krb_en_integrity' argument 5 names different: declaration '' definition 'outputlen'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:660:7: style:inconclusive: Function 'krb_de_integrity' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:661:7: style:inconclusive: Function 'krb_de_integrity' argument 2 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:662:5: style:inconclusive: Function 'krb_de_integrity' argument 3 names different: declaration '' definition 'inputlen'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:663:8: style:inconclusive: Function 'krb_de_integrity' argument 4 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:664:6: style:inconclusive: Function 'krb_de_integrity' argument 5 names different: declaration '' definition 'outputlen'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:693:7: style:inconclusive: Function 'krb_en_privacy' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:694:7: style:inconclusive: Function 'krb_en_privacy' argument 2 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:695:5: style:inconclusive: Function 'krb_en_privacy' argument 3 names different: declaration '' definition 'inputlen'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:696:7: style:inconclusive: Function 'krb_en_privacy' argument 4 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:697:6: style:inconclusive: Function 'krb_en_privacy' argument 5 names different: declaration '' definition 'outputlen'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/auth_unix.c:74:1: portability: Omitted return type of function 'auth_memberof' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] cyrus-imspd-v1.8/lib/acte_krb.c:714:7: style:inconclusive: Function 'krb_de_privacy' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:715:7: style:inconclusive: Function 'krb_de_privacy' argument 2 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:716:5: style:inconclusive: Function 'krb_de_privacy' argument 3 names different: declaration '' definition 'inputlen'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:717:8: style:inconclusive: Function 'krb_de_privacy' argument 4 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:718:6: style:inconclusive: Function 'krb_de_privacy' argument 5 names different: declaration '' definition 'outputlen'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:874:18: style:inconclusive: Function 'afs_cmu_StringToKey' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:875:18: style:inconclusive: Function 'afs_cmu_StringToKey' argument 2 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:876:14: style:inconclusive: Function 'afs_cmu_StringToKey' argument 3 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:914:18: style:inconclusive: Function 'afs_transarc_StringToKey' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:915:18: style:inconclusive: Function 'afs_transarc_StringToKey' argument 2 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:916:15: style:inconclusive: Function 'afs_transarc_StringToKey' argument 3 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/acte_krb.c:271:9: style: Local variable 'maxbufsize' shadows outer variable [shadowVariable] cyrus-imspd-v1.8/lib/acte_krb.c:426:5: note: Shadowed declaration cyrus-imspd-v1.8/lib/acte_krb.c:271:9: note: Shadow variable cyrus-imspd-v1.8/lib/acte_krb.c:496:9: style: Local variable 'protallowed' shadows outer variable [shadowVariable] cyrus-imspd-v1.8/lib/acte_krb.c:425:5: note: Shadowed declaration cyrus-imspd-v1.8/lib/acte_krb.c:496:9: note: Shadow variable cyrus-imspd-v1.8/lib/acte_krb.c:497:9: style: Local variable 'maxbufsize' shadows outer variable [shadowVariable] cyrus-imspd-v1.8/lib/acte_krb.c:426:5: note: Shadowed declaration cyrus-imspd-v1.8/lib/acte_krb.c:497:9: note: Shadow variable cyrus-imspd-v1.8/lib/acte_krb.c:146:23: style: Variable 'kstate' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/acte_krb.c:162:7: style: Parameter 'host' can be declared as pointer to const. However it seems that 'krb_client_start' is a callback function, if 'host' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/lib/acte_krb.c:407:5: note: You might need to cast the function pointer here cyrus-imspd-v1.8/lib/acte_krb.c:162:7: note: Parameter 'host' can be declared as pointer to const cyrus-imspd-v1.8/lib/acte_krb.c:874:18: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/acte_krb.c:875:18: style: Parameter 'cell' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/acte_krb.c:914:18: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/acte_krb.c:915:18: style: Parameter 'cell' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/acte_krb.c:151:12: warning: Size of pointer 'cacheid' used instead of size of its data. [pointerSize] cyrus-imspd-v1.8/lib/auth_unix.c:181:8: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cyrus-imspd-v1.8/lib/auth_unix.c:236:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cyrus-imspd-v1.8/lib/auth_unix.c:245:18: portability: Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'. [prohibitedgetgrentCalled] cyrus-imspd-v1.8/lib/auth_unix.c:240:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_unix.c:238:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_unix.c:238:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_unix.c:240:12: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_unix.c:241:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_unix.c:238:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_unix.c:238:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_unix.c:241:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_unix.c:242:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_unix.c:238:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_unix.c:238:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_unix.c:242:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb_pts.c:352:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb_pts.c:352:12: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb_pts.c:354:17: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb_pts.c:354:17: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb_pts.c:354:34: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb_pts.c:354:34: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb_pts.c:354:50: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb_pts.c:354:50: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb_pts.c:356:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb_pts.c:356:12: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_krb_pts.c:357:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/auth_krb_pts.c:351:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imspd-v1.8/lib/auth_krb_pts.c:357:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/auth_unix.c:75:20: style: Parameter 'auth_state' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/auth_unix.c:157:19: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/auth_unix.c:228:20: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/auth_unix.c:229:19: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/auth_krb_pts.c:85:38: style: Parameter 'auth_state' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/auth_krb_pts.c:335:24: style: Variable 'fetched' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/ftruncate.c:53:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/syncdb.c:1029:6: warning: If memory allocation fails, then there is a possible null pointer dereference: kdst [nullPointerOutOfMemory] cyrus-imspd-v1.8/imsp/syncdb.c:1028:43: note: Assuming allocation function fails cyrus-imspd-v1.8/imsp/syncdb.c:1028:18: note: Assignment 'kdst=*pkv=(sdb_keyvalue*)xmalloc(sizeof(sdb_keyvalue))', assigned value is 0 cyrus-imspd-v1.8/imsp/syncdb.c:1029:6: note: Null pointer dereference cyrus-imspd-v1.8/imsp/syncdb.c:1030:6: warning: If memory allocation fails, then there is a possible null pointer dereference: kdst [nullPointerOutOfMemory] cyrus-imspd-v1.8/imsp/syncdb.c:1028:43: note: Assuming allocation function fails cyrus-imspd-v1.8/imsp/syncdb.c:1028:18: note: Assignment 'kdst=*pkv=(sdb_keyvalue*)xmalloc(sizeof(sdb_keyvalue))', assigned value is 0 cyrus-imspd-v1.8/imsp/syncdb.c:1030:6: note: Null pointer dereference cyrus-imspd-v1.8/imsp/syncdb.c:348:2: style: Variable '*scan' is assigned an expression that holds the same value. [redundantAssignment] cyrus-imspd-v1.8/imsp/syncdb.c:338:9: note: savech is assigned '*scan' here. cyrus-imspd-v1.8/imsp/syncdb.c:343:14: note: Assuming condition is false cyrus-imspd-v1.8/imsp/syncdb.c:348:2: note: Variable '*scan' is assigned an expression that holds the same value. cyrus-imspd-v1.8/imsp/syncdb.c:732:9: style:inconclusive: Function 'sdb_flush' argument 1 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:761:11: style:inconclusive: Function 'sdb_check' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:775:11: style:inconclusive: Function 'sdb_create' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:808:11: style:inconclusive: Function 'sdb_delete' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:834:11: style:inconclusive: Function 'sdb_copy' argument 1 names different: declaration '' definition 'dbsrc'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:834:19: style:inconclusive: Function 'sdb_copy' argument 2 names different: declaration '' definition 'dbdst'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:835:9: style:inconclusive: Function 'sdb_copy' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:892:11: style:inconclusive: Function 'sdb_get' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:892:16: style:inconclusive: Function 'sdb_get' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:893:9: style:inconclusive: Function 'sdb_get' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:894:12: style:inconclusive: Function 'sdb_get' argument 4 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:928:11: style:inconclusive: Function 'sdb_count' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:929:9: style:inconclusive: Function 'sdb_count' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:980:11: style:inconclusive: Function 'sdb_match' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:981:11: style:inconclusive: Function 'sdb_match' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:982:9: style:inconclusive: Function 'sdb_match' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:983:11: style:inconclusive: Function 'sdb_match' argument 4 names different: declaration '' definition 'vpat'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:984:9: style:inconclusive: Function 'sdb_match' argument 5 names different: declaration '' definition 'copy'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:985:20: style:inconclusive: Function 'sdb_match' argument 6 names different: declaration '' definition 'pkv'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:986:10: style:inconclusive: Function 'sdb_match' argument 7 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1144:19: style:inconclusive: Function 'sdb_freematch' argument 1 names different: declaration '' definition 'kv'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1145:9: style:inconclusive: Function 'sdb_freematch' argument 2 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1146:9: style:inconclusive: Function 'sdb_freematch' argument 3 names different: declaration '' definition 'copy'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1178:11: style:inconclusive: Function 'sdb_unlock' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1178:16: style:inconclusive: Function 'sdb_unlock' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1179:9: style:inconclusive: Function 'sdb_unlock' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1225:11: style:inconclusive: Function 'sdb_writelock' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1225:16: style:inconclusive: Function 'sdb_writelock' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1226:9: style:inconclusive: Function 'sdb_writelock' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1286:11: style:inconclusive: Function 'sdb_set' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1286:16: style:inconclusive: Function 'sdb_set' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1287:9: style:inconclusive: Function 'sdb_set' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1286:22: style:inconclusive: Function 'sdb_set' argument 4 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1369:11: style:inconclusive: Function 'sdb_remove' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1369:16: style:inconclusive: Function 'sdb_remove' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:1370:9: style:inconclusive: Function 'sdb_remove' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/syncdb.c:207:11: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/syncdb.c:253:19: style: Parameter 'kv1' can be declared as pointer to const. However it seems that 'keycmp' is a callback function, if 'kv1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/syncdb.c:392:40: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/syncdb.c:253:19: note: Parameter 'kv1' can be declared as pointer to const cyrus-imspd-v1.8/imsp/syncdb.c:253:25: style: Parameter 'kv2' can be declared as pointer to const. However it seems that 'keycmp' is a callback function, if 'kv2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/syncdb.c:392:40: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/syncdb.c:253:25: note: Parameter 'kv2' can be declared as pointer to const cyrus-imspd-v1.8/imsp/syncdb.c:258:19: style: Parameter 'kv1' can be declared as pointer to const. However it seems that 'ikeycmp' is a callback function, if 'kv1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/syncdb.c:392:30: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/syncdb.c:258:19: note: Parameter 'kv1' can be declared as pointer to const cyrus-imspd-v1.8/imsp/syncdb.c:258:25: style: Parameter 'kv2' can be declared as pointer to const. However it seems that 'ikeycmp' is a callback function, if 'kv2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/syncdb.c:392:30: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/syncdb.c:258:25: note: Parameter 'kv2' can be declared as pointer to const cyrus-imspd-v1.8/imsp/syncdb.c:284:11: style: Variable 'token' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/syncdb.c:763:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/syncdb.c:989:11: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/syncdb.c:1286:22: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/syncdb.c:1373:19: style: Variable 'kvtop' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/syncdb.c:415:9: style: Unused variable: fdl [unusedVariable] cyrus-imspd-v1.8/imsp/syncdb.c:419:10: style: Unused variable: lname [unusedVariable] cyrus-imspd-v1.8/imsp/syncdb.c:993:17: style: Unused variable: copysize [unusedVariable] cyrus-imspd-v1.8/lib/getaddrinfo.c:76:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/getaddrinfo.c:135:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/getdtablesize.c:50:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_OPEN_MAX [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/getnameinfo.c:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_MEMORY [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/getnameinfo.c:90:11: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] cyrus-imspd-v1.8/lib/getnameinfo.c:70:25: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/getnameinfo.c:71:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/gmtoff_gmtime.c:59:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imspd-v1.8/lib/gmtoff_gmtime.c:78:5: style: Variable '*tm' is assigned an expression that holds the same value. [redundantAssignment] cyrus-imspd-v1.8/lib/gmtoff_gmtime.c:58:11: note: local is assigned '*tm' here. cyrus-imspd-v1.8/lib/gmtoff_gmtime.c:78:5: note: Variable '*tm' is assigned an expression that holds the same value. cyrus-imspd-v1.8/lib/gmtoff_gmtime.c:55:16: style: Variable 'gtm' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/getaddrinfo.c:173:16: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cyrus-imspd-v1.8/lib/getaddrinfo.c:198:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cyrus-imspd-v1.8/lib/getaddrinfo.c:131:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/getaddrinfo.c:159:22: style: Variable 'se' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/getaddrinfo.c:160:12: style: Variable 'pe_proto' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/gmtoff_tm.c:51:12: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/hash.c:263:13: style:inconclusive: Function 'hash_enumerate' argument 3 names different: declaration '' definition 'rock'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/hash.c:82:25: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/hash.c:145:25: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/hash.c:145:42: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/hash.c:148:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/hash.c:166:22: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/hash.c:262:33: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/imparse.c:99:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/imclient.c:236:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/imclient.c:684:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/imclient.c:1015:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/imclient.c:1150:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sasl_security_properties_t [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/imclient.c:1178:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_CB_USER [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/imclient.c:1207:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_CB_LIST_END [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/imclient.c:1251:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_SEC_PROPS [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/imclient.c:1425:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_MAXOUTBUF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/iptostring.c:56:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/is.c:55:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/lock_fcntl.c:83:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/lock_fcntl.c:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/lock_fcntl.c:158:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/lock_fcntl.c:181:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/lock_fcntl.c:199:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/lock_fcntl.c:70:5: style:inconclusive: Function 'lock_reopen' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_fcntl.c:71:13: style:inconclusive: Function 'lock_reopen' argument 2 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_fcntl.c:72:14: style:inconclusive: Function 'lock_reopen' argument 3 names different: declaration '' definition 'sbuf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_fcntl.c:73:14: style:inconclusive: Function 'lock_reopen' argument 4 names different: declaration '' definition 'failaction'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_fcntl.c:129:5: style:inconclusive: Function 'lock_blocking' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_fcntl.c:152:5: style:inconclusive: Function 'lock_shared' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_fcntl.c:175:5: style:inconclusive: Function 'lock_nonblocking' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_fcntl.c:195:21: style:inconclusive: Function 'lock_unlock' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_fcntl.c:102:8: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/lib/lock_fcntl.c:115:8: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/lib/lock_flock.c:84:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_EX [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/lock_flock.c:123:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_EX [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/lock_flock.c:141:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_SH [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/lock_flock.c:159:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_EX [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/lock_flock.c:171:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_UN [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/imsp_server.c:1305:24: style: Expression is always false because 'else if' condition matches previous condition at line 1265. [multiCondition] cyrus-imspd-v1.8/imsp/imsp_server.c:1237:9: style: Condition 'ahost' is always false [knownConditionTrueFalse] cyrus-imspd-v1.8/imsp/imsp_server.c:1195:26: note: Assignment 'ahost=NULL', assigned value is 0 cyrus-imspd-v1.8/imsp/imsp_server.c:1237:9: note: Condition 'ahost' is always false cyrus-imspd-v1.8/imsp/imsp_server.c:1074:7: error: Common realloc mistake: 'flist' nulled but not freed upon failure [memleakOnRealloc] cyrus-imspd-v1.8/lib/lock_flock.c:72:5: style:inconclusive: Function 'lock_reopen' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_flock.c:73:13: style:inconclusive: Function 'lock_reopen' argument 2 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_flock.c:74:14: style:inconclusive: Function 'lock_reopen' argument 3 names different: declaration '' definition 'sbuf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_flock.c:75:14: style:inconclusive: Function 'lock_reopen' argument 4 names different: declaration '' definition 'failaction'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_flock.c:118:5: style:inconclusive: Function 'lock_blocking' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_flock.c:136:5: style:inconclusive: Function 'lock_shared' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_flock.c:154:5: style:inconclusive: Function 'lock_nonblocking' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/lock_flock.c:169:21: style:inconclusive: Function 'lock_unlock' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imsp_server.c:1506:19: style:inconclusive: Function 'im_start' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imsp_server.c:1506:29: style:inconclusive: Function 'im_start' argument 2 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/imsp_server.c:1072:24: style: Argument '(fsize=32)*sizeof(struct abook_fielddata)' to function malloc is always 512. It does not matter what value 'fsize' has. [knownArgument] cyrus-imspd-v1.8/imsp/imsp_server.c:386:11: style: Parameter 'atom' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/imsp_server.c:445:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_authenticate' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1495:41: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:445:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:569:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_login' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1467:27: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:569:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:640:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_logout' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1468:29: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:640:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:658:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_noop' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1469:25: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:658:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:673:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_get' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1470:23: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:673:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:705:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_set' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1471:23: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:705:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:740:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_unset' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1472:27: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:740:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:779:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_addressbook' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1490:39: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:779:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:873:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_createabook' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1491:45: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:873:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:908:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_deleteabook' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1492:45: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:908:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:943:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_renameabook' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1493:45: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:943:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:1012:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_fetchaddress' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1480:41: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1012:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:1049:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_searchaddress' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1482:41: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1049:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:1151:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_deleteaddress' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1483:43: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1151:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:1190:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_setacl' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1485:35: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1190:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:1248:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_getacl' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1487:33: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1248:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:1252:55: style: Variable 'user' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/imsp_server.c:1415:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_capability' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1494:37: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1415:16: note: Parameter 'cp' can be declared as pointer to const cyrus-imspd-v1.8/imsp/imsp_server.c:1509:11: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/map_nommap.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/imsp/imsp_server.c:495:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/imsp/imsp_server.c:453:11: style: Unused variable: authproc [unusedVariable] cyrus-imspd-v1.8/imsp/imsp_server.c:454:11: style: Unused variable: output [unusedVariable] cyrus-imspd-v1.8/imsp/imsp_server.c:455:14: style: Unused variable: olen [unusedVariable] cyrus-imspd-v1.8/imsp/imsp_server.c:457:9: style: Unused variable: protlevel [unusedVariable] cyrus-imspd-v1.8/imsp/imsp_server.c:463:17: style: Unused variable: errstr [unusedVariable] cyrus-imspd-v1.8/imsp/imsp_server.c:589:23: style: Variable 'result' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/imsp/imsp_server.c:1195:33: style: Unused variable: resp [unusedVariable] cyrus-imspd-v1.8/lib/map_private.c:53:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/map_shared.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/map_stupidshared.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/mkgmtime.c:137:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imspd-v1.8/lib/mkgmtime.c:113:19: style: Parameter 'tmp' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/mkgmtime.c:119:23: style: Variable 'mytm' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/mpool.c:107:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/mpool.c:139:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/mpool.c:83:5: warning: If memory allocation fails, then there is a possible null pointer dereference: blob [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/mpool.c:79:38: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/mpool.c:79:38: note: Assignment 'blob=xmalloc(sizeof(struct mpool_blob))', assigned value is 0 cyrus-imspd-v1.8/lib/mpool.c:83:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/mpool.c:83:18: warning: If memory allocation fails, then there is a possible null pointer dereference: blob [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/mpool.c:79:38: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/mpool.c:79:38: note: Assignment 'blob=xmalloc(sizeof(struct mpool_blob))', assigned value is 0 cyrus-imspd-v1.8/lib/mpool.c:83:18: note: Null pointer dereference cyrus-imspd-v1.8/lib/mpool.c:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: blob [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/mpool.c:79:38: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/mpool.c:79:38: note: Assignment 'blob=xmalloc(sizeof(struct mpool_blob))', assigned value is 0 cyrus-imspd-v1.8/lib/mpool.c:84:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/mpool.c:85:5: warning: If memory allocation fails, then there is a possible null pointer dereference: blob [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/mpool.c:79:38: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/mpool.c:79:38: note: Assignment 'blob=xmalloc(sizeof(struct mpool_blob))', assigned value is 0 cyrus-imspd-v1.8/lib/mpool.c:85:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/mpool.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/mpool.c:93:32: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/mpool.c:93:32: note: Assignment 'ret=xmalloc(sizeof(struct mpool))', assigned value is 0 cyrus-imspd-v1.8/lib/mpool.c:95:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/mkchartable.c:131:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/mkchartable.c:205:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/mkchartable.c:353:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/mkchartable.c:374:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/mkchartable.c:559:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/mkchartable.c:876:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/mkchartable.c:944:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/n_binsearch.c:147:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] cyrus-imspd-v1.8/lib/n_binsearch.c:114:35: style: Variable 'endBuff' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/n_binsearch.c:179:29: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/n_binsearch.c:179:35: style: Variable 'wordPtr' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/nonblock_fcntl.c:75:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/nonblock_fcntl.c:70:5: style:inconclusive: Function 'nonblock' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/nonblock_fcntl.c:71:5: style:inconclusive: Function 'nonblock' argument 2 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/nonblock_ioctl.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/nonblock_ioctl.c:56:5: style:inconclusive: Function 'nonblock' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/nonblock_ioctl.c:57:5: style:inconclusive: Function 'nonblock' argument 2 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/imclient.c:1398:25: warning: If memory allocation fails, then there is a possible null pointer dereference: mtr [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/imclient.c:1394:25: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/imclient.c:1394:25: note: Assignment 'mtr=xstrdup(mtried)', assigned value is 0 cyrus-imspd-v1.8/lib/imclient.c:1398:25: note: Null pointer dereference cyrus-imspd-v1.8/lib/imclient.c:1405:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newlist [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/imclient.c:1393:29: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/imclient.c:1393:29: note: Assignment 'newlist=xmalloc(strlen(mlist)+1)', assigned value is 0 cyrus-imspd-v1.8/lib/imclient.c:1399:9: note: Assuming condition is false cyrus-imspd-v1.8/lib/imclient.c:1405:13: note: Null pointer dereference cyrus-imspd-v1.8/lib/imclient.c:571:51: style:inconclusive: Function 'imclient_writeastring' argument 1 names different: declaration '' definition 'imclient'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/imclient.c:571:73: style:inconclusive: Function 'imclient_writeastring' argument 2 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/imclient.c:950:43: style:inconclusive: Function 'imclient_eof' argument 1 names different: declaration '' definition 'imclient'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/imclient.c:1465:40: style:inconclusive: Function 'imclient_decodebase64' argument 1 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/imclient.c:1499:51: style:inconclusive: Function 'imclient_writebase64' argument 1 names different: declaration '' definition 'imclient'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/imclient.c:1500:18: style:inconclusive: Function 'imclient_writebase64' argument 2 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/imclient.c:1501:13: style:inconclusive: Function 'imclient_writebase64' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/imclient.c:1159:71: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/imclient.c:1185:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/imclient.c:745:10: style: Variable 'parsed' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/lib/prot.c:172:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_SSF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/prot.c:321:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/prot.c:348:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/prot.c:513:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/prot.c:603:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/prot.c:665:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/prot.c:691:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/prot.c:713:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/charset.c:238:6: warning: If memory allocation fails, then there is a possible null pointer dereference: retval [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/charset.c:236:18: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/charset.c:236:18: note: Assignment 'retval=xmalloc(alloced)', assigned value is 0 cyrus-imspd-v1.8/lib/charset.c:238:6: note: Null pointer dereference cyrus-imspd-v1.8/lib/charset.c:409:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pat [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/charset.c:408:30: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/charset.c:408:11: note: Assignment 'pat=(comp_pat*)xmalloc(515*sizeof(comp_pat))', assigned value is 0 cyrus-imspd-v1.8/lib/charset.c:409:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/charset.c:416:27: warning: If memory allocation fails, then there is a possible null pointer dereference: pat [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/charset.c:408:30: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/charset.c:408:11: note: Assignment 'pat=(comp_pat*)xmalloc(515*sizeof(comp_pat))', assigned value is 0 cyrus-imspd-v1.8/lib/charset.c:416:27: note: Null pointer dereference cyrus-imspd-v1.8/lib/charset.c:419:21: warning: If memory allocation fails, then there is a possible null pointer dereference: pat [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/charset.c:408:30: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/charset.c:408:11: note: Assignment 'pat=(comp_pat*)xmalloc(515*sizeof(comp_pat))', assigned value is 0 cyrus-imspd-v1.8/lib/charset.c:419:21: note: Null pointer dereference cyrus-imspd-v1.8/lib/charset.c:419:2: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imspd-v1.8/lib/charset.c:408:30: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/charset.c:408:11: note: Assignment 'pat=(comp_pat*)xmalloc(515*sizeof(comp_pat))', assigned value is 0 cyrus-imspd-v1.8/lib/charset.c:419:2: note: Null pointer addition cyrus-imspd-v1.8/lib/charset.c:222:57: style:inconclusive: Function 'charset_convert' argument 3 names different: declaration 'buf' definition 'retval'. [funcArgNamesDifferent] cyrus-imspd-v1.8/lib/charset.h:60:64: note: Function 'charset_convert' argument 3 names different: declaration 'buf' definition 'retval'. cyrus-imspd-v1.8/lib/charset.c:222:57: note: Function 'charset_convert' argument 3 names different: declaration 'buf' definition 'retval'. cyrus-imspd-v1.8/lib/charset.c:223:9: style:inconclusive: Function 'charset_convert' argument 4 names different: declaration 'bufsz' definition 'alloced'. [funcArgNamesDifferent] cyrus-imspd-v1.8/lib/charset.h:61:9: note: Function 'charset_convert' argument 4 names different: declaration 'bufsz' definition 'alloced'. cyrus-imspd-v1.8/lib/charset.c:223:9: note: Function 'charset_convert' argument 4 names different: declaration 'bufsz' definition 'alloced'. cyrus-imspd-v1.8/lib/charset.c:257:47: style:inconclusive: Function 'charset_decode1522' argument 2 names different: declaration 'buf' definition 'retval'. [funcArgNamesDifferent] cyrus-imspd-v1.8/lib/charset.h:62:54: note: Function 'charset_decode1522' argument 2 names different: declaration 'buf' definition 'retval'. cyrus-imspd-v1.8/lib/charset.c:257:47: note: Function 'charset_decode1522' argument 2 names different: declaration 'buf' definition 'retval'. cyrus-imspd-v1.8/lib/charset.c:257:59: style:inconclusive: Function 'charset_decode1522' argument 3 names different: declaration 'bufsz' definition 'alloced'. [funcArgNamesDifferent] cyrus-imspd-v1.8/lib/charset.h:62:63: note: Function 'charset_decode1522' argument 3 names different: declaration 'bufsz' definition 'alloced'. cyrus-imspd-v1.8/lib/charset.c:257:59: note: Function 'charset_decode1522' argument 3 names different: declaration 'bufsz' definition 'alloced'. cyrus-imspd-v1.8/lib/prot.c:82:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:82:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:84:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:85:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:85:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:85:22: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:85:22: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:86:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:86:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:87:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:87:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:88:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:88:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:89:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:89:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:90:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:90:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:91:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:91:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:92:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:92:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:93:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:93:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:94:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:94:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:95:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:96:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:96:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:97:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:98:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:99:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:99:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:100:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:100:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newstream [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:81:46: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:81:17: note: Assignment 'newstream=(struct protstream*)xmalloc(sizeof(struct protstream))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:101:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:261:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:260:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:260:11: note: Assignment 'new=(struct prot_waitevent*)xmalloc(sizeof(struct prot_waitevent))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:261:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:262:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:260:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:260:11: note: Assignment 'new=(struct prot_waitevent*)xmalloc(sizeof(struct prot_waitevent))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:262:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:263:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:260:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:260:11: note: Assignment 'new=(struct prot_waitevent*)xmalloc(sizeof(struct prot_waitevent))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:263:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:264:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/prot.c:260:44: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/prot.c:260:11: note: Assignment 'new=(struct prot_waitevent*)xmalloc(sizeof(struct prot_waitevent))', assigned value is 0 cyrus-imspd-v1.8/lib/prot.c:264:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:272:2: warning: Either the condition 'cur' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] cyrus-imspd-v1.8/lib/prot.c:271:9: note: Assuming that condition 'cur' is not redundant cyrus-imspd-v1.8/lib/prot.c:272:2: note: Null pointer dereference cyrus-imspd-v1.8/lib/prot.c:594:5: style: Unsigned expression 'len' can't be negative so it is unnecessary to test it. [unsignedPositive] cyrus-imspd-v1.8/lib/prot.c:236:38: style:inconclusive: Function 'prot_setreadcallback' argument 3 names different: declaration '' definition 'rock'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/prot.c:252:13: style:inconclusive: Function 'prot_addwaitevent' argument 4 names different: declaration '' definition 'rock'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/prot.c:618:36: style:inconclusive: Function 'prot_printf' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/prot.c:618:51: style:inconclusive: Function 'prot_printf' argument 2 names different: declaration '' definition 'fmt'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/prot.c:179:9: style: Local variable 'result' shadows outer variable [shadowVariable] cyrus-imspd-v1.8/lib/prot.c:165:7: note: Shadowed declaration cyrus-imspd-v1.8/lib/prot.c:179:9: note: Shadow variable cyrus-imspd-v1.8/lib/prot.c:281:72: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/prot.c:308:43: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/prot.c:621:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/charset.c:507:5: style: Variable 'state.lasttable' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/lib/charset.c:507:5: style: Variable 'state.curtable' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/lib/charset.c:507:5: style: Variable 'state.utfcode' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/lib/retry.c:75:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/retry.c:115:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_len [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/retry.c:63:5: style:inconclusive: Function 'retry_write' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/retry.c:64:13: style:inconclusive: Function 'retry_write' argument 2 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/retry.c:65:10: style:inconclusive: Function 'retry_write' argument 3 names different: declaration '' definition 'nbyte'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/retry.c:95:5: style:inconclusive: Function 'retry_writev' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/retry.c:96:15: style:inconclusive: Function 'retry_writev' argument 2 names different: declaration '' definition 'iov'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/retry.c:97:5: style:inconclusive: Function 'retry_writev' argument 3 names different: declaration '' definition 'iovcnt'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/strerror.c:51:5: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] cyrus-imspd-v1.8/lib/xmalloc.c:59:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/xmalloc.c:73:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/xmalloc.c:85:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imspd-v1.8/lib/xmalloc.c:92:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/xmalloc.c:91:22: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/xmalloc.c:91:22: note: Assignment 'p=xmalloc(strlen(str)+1)', assigned value is 0 cyrus-imspd-v1.8/lib/xmalloc.c:92:12: note: Null pointer dereference cyrus-imspd-v1.8/lib/xmalloc.c:99:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/xmalloc.c:98:22: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/xmalloc.c:98:22: note: Assignment 'p=xmalloc(len+1)', assigned value is 0 cyrus-imspd-v1.8/lib/xmalloc.c:99:13: note: Null pointer dereference cyrus-imspd-v1.8/lib/xmalloc.c:113:13: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] cyrus-imspd-v1.8/lib/util.c:200:6: error: Common realloc mistake: 'beautybuf' nulled but not freed upon failure [memleakOnRealloc] cyrus-imspd-v1.8/lib/util.c:225:31: style: Variable 'cmp' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imspd-v1.8/lib/util.c:222:9: note: cmp is assigned cyrus-imspd-v1.8/lib/util.c:225:31: note: cmp is overwritten cyrus-imspd-v1.8/lib/mkchartable.c:591:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/mkchartable.c:590:56: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/mkchartable.c:590:47: note: Assignment 'p=table[thisstate].ch[thischar].action=xstrdup(p)', assigned value is 0 cyrus-imspd-v1.8/lib/mkchartable.c:591:14: note: Null pointer dereference cyrus-imspd-v1.8/lib/mkchartable.c:591:29: warning: If memory allocation fails, then there is a possible null pointer dereference: (unsigned char*)p [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/mkchartable.c:590:56: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/mkchartable.c:590:47: note: Assignment 'p=table[thisstate].ch[thischar].action=xstrdup(p)', assigned value is 0 cyrus-imspd-v1.8/lib/mkchartable.c:591:29: note: Null pointer dereference cyrus-imspd-v1.8/lib/mkchartable.c:763:37: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/mkchartable.c:697:30: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/mkchartable.c:697:30: note: Calling function 'newstate', 1st argument 'xstrdup(buf+1)' value is 0 cyrus-imspd-v1.8/lib/mkchartable.c:763:37: note: Null pointer dereference cyrus-imspd-v1.8/lib/mkchartable.c:880:15: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cyrus-imspd-v1.8/lib/mkchartable.c:942:24: style:inconclusive: Function 'fatal' argument 1 names different: declaration 'fatal_message' definition 's'. [funcArgNamesDifferent] cyrus-imspd-v1.8/lib/xmalloc.h:74:31: note: Function 'fatal' argument 1 names different: declaration 'fatal_message' definition 's'. cyrus-imspd-v1.8/lib/mkchartable.c:942:24: note: Function 'fatal' argument 1 names different: declaration 'fatal_message' definition 's'. cyrus-imspd-v1.8/lib/mkchartable.c:942:31: style:inconclusive: Function 'fatal' argument 2 names different: declaration 'fatal_code' definition 'c'. [funcArgNamesDifferent] cyrus-imspd-v1.8/lib/xmalloc.h:74:50: note: Function 'fatal' argument 2 names different: declaration 'fatal_code' definition 'c'. cyrus-imspd-v1.8/lib/mkchartable.c:942:31: note: Function 'fatal' argument 2 names different: declaration 'fatal_code' definition 'c'. cyrus-imspd-v1.8/lib/mkchartable.c:426:6: style: Local variable 'n_mapcode' shadows outer variable [shadowVariable] cyrus-imspd-v1.8/lib/mkchartable.c:364:18: note: Shadowed declaration cyrus-imspd-v1.8/lib/mkchartable.c:426:6: note: Shadow variable cyrus-imspd-v1.8/lib/mkchartable.c:211:19: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/mkchartable.c:499:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/mkchartable.c:752:16: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/mkchartable.c:785:17: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/lib/mkchartable.c:802:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/lib/mkchartable.c:218:24: style: Variable 'zeromap' is not assigned a value. [unassignedVariable] cyrus-imspd-v1.8/lib/parseaddr.c:190:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newaddr [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/parseaddr.c:175:40: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/parseaddr.c:175:15: note: Assignment 'newaddr=(struct address*)xmalloc(sizeof(struct address))', assigned value is 0 cyrus-imspd-v1.8/lib/parseaddr.c:190:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/parseaddr.c:195:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newaddr [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/parseaddr.c:175:40: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/parseaddr.c:175:15: note: Assignment 'newaddr=(struct address*)xmalloc(sizeof(struct address))', assigned value is 0 cyrus-imspd-v1.8/lib/parseaddr.c:195:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/parseaddr.c:197:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newaddr [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/parseaddr.c:175:40: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/parseaddr.c:175:15: note: Assignment 'newaddr=(struct address*)xmalloc(sizeof(struct address))', assigned value is 0 cyrus-imspd-v1.8/lib/parseaddr.c:197:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/parseaddr.c:198:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newaddr [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/parseaddr.c:175:40: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/parseaddr.c:175:15: note: Assignment 'newaddr=(struct address*)xmalloc(sizeof(struct address))', assigned value is 0 cyrus-imspd-v1.8/lib/parseaddr.c:198:5: note: Null pointer dereference cyrus-imspd-v1.8/lib/parseaddr.c:68:13: style:inconclusive: Function 'parseaddr_list' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/parseaddr.c:69:18: style:inconclusive: Function 'parseaddr_list' argument 2 names different: declaration '' definition 'addrp'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/parseaddr.c:149:17: style:inconclusive: Function 'parseaddr_free' argument 1 names different: declaration '' definition 'addr'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/parseaddr.c:280:8: style:inconclusive: Function 'parseaddr_domain' argument 3 names different: declaration 'commmentp' definition 'commentp'. [funcArgNamesDifferent] cyrus-imspd-v1.8/lib/parseaddr.c:59:65: note: Function 'parseaddr_domain' argument 3 names different: declaration 'commmentp' definition 'commentp'. cyrus-imspd-v1.8/lib/parseaddr.c:280:8: note: Function 'parseaddr_domain' argument 3 names different: declaration 'commmentp' definition 'commentp'. cyrus-imspd-v1.8/lib/parseaddr.c:234:7: style: Parameter 'specials' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/bb.c:157:5: error: Address of local auto-variable assigned to a function parameter. [autoVariables] cyrus-imspd-v1.8/imsp/bb.c:365:11: warning: Possible null pointer dereference: uid [nullPointer] cyrus-imspd-v1.8/imsp/bb.c:421:19: note: Calling function 'bb_get', 2nd argument 'NULL' value is 0 cyrus-imspd-v1.8/imsp/bb.c:365:11: note: Null pointer dereference cyrus-imspd-v1.8/imsp/bb.c:663:17: style: Variable 'cmp' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imspd-v1.8/imsp/bb.c:661:6: note: cmp is assigned cyrus-imspd-v1.8/imsp/bb.c:663:17: note: cmp is overwritten cyrus-imspd-v1.8/imsp/bb.c:356:11: style:inconclusive: Function 'bb_get' argument 1 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:357:12: style:inconclusive: Function 'bb_get' argument 2 names different: declaration '' definition 'uid'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:357:19: style:inconclusive: Function 'bb_get' argument 3 names different: declaration '' definition 'loc'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:357:26: style:inconclusive: Function 'bb_get' argument 4 names different: declaration '' definition 'acl'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:358:11: style:inconclusive: Function 'bb_get' argument 5 names different: declaration '' definition 'sep_char'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:385:24: style:inconclusive: Function 'bb_rights' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:386:11: style:inconclusive: Function 'bb_rights' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:386:18: style:inconclusive: Function 'bb_rights' argument 3 names different: declaration '' definition 'acl'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:495:11: style:inconclusive: Function 'bb_subsinit' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:512:24: style:inconclusive: Function 'bb_subscribe' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:513:11: style:inconclusive: Function 'bb_subscribe' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:514:9: style:inconclusive: Function 'bb_subscribe' argument 3 names different: declaration '' definition 'subscribe'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:577:15: style:inconclusive: Function 'bb_matchstart' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:578:11: style:inconclusive: Function 'bb_matchstart' argument 2 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:578:18: style:inconclusive: Function 'bb_matchstart' argument 3 names different: declaration '' definition 'pat'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:645:15: style:inconclusive: Function 'bb_matchverify' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:646:24: style:inconclusive: Function 'bb_matchverify' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:647:11: style:inconclusive: Function 'bb_matchverify' argument 3 names different: declaration '' definition 'pat'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:647:18: style:inconclusive: Function 'bb_matchverify' argument 4 names different: declaration '' definition 'oldname'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:647:29: style:inconclusive: Function 'bb_matchverify' argument 5 names different: declaration '' definition 'newname'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:648:10: style:inconclusive: Function 'bb_matchverify' argument 6 names different: declaration '' definition 'autosub'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:752:15: style:inconclusive: Function 'bb_match' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:753:24: style:inconclusive: Function 'bb_match' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:754:12: style:inconclusive: Function 'bb_match' argument 3 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:754:20: style:inconclusive: Function 'bb_match' argument 4 names different: declaration '' definition 'loc'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:755:11: style:inconclusive: Function 'bb_match' argument 5 names different: declaration '' definition 'sep_char'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:756:10: style:inconclusive: Function 'bb_match' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:757:9: style:inconclusive: Function 'bb_match' argument 7 names different: declaration '' definition 'subonly'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:899:24: style:inconclusive: Function 'bb_create' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:900:11: style:inconclusive: Function 'bb_create' argument 2 names different: declaration '' definition 'mbox'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:901:9: style:inconclusive: Function 'bb_create' argument 3 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:902:11: style:inconclusive: Function 'bb_create' argument 4 names different: declaration '' definition 'hostlist'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1010:24: style:inconclusive: Function 'bb_delete' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1011:11: style:inconclusive: Function 'bb_delete' argument 2 names different: declaration '' definition 'mbox'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1011:18: style:inconclusive: Function 'bb_delete' argument 3 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1103:24: style:inconclusive: Function 'bb_rename' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1104:11: style:inconclusive: Function 'bb_rename' argument 2 names different: declaration '' definition 'oldname'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1105:11: style:inconclusive: Function 'bb_rename' argument 3 names different: declaration '' definition 'newname'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1106:9: style:inconclusive: Function 'bb_rename' argument 4 names different: declaration '' definition 'rflag'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1244:24: style:inconclusive: Function 'bb_setacl' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1245:11: style:inconclusive: Function 'bb_setacl' argument 2 names different: declaration '' definition 'mbox'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1245:18: style:inconclusive: Function 'bb_setacl' argument 3 names different: declaration '' definition 'ident'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1245:26: style:inconclusive: Function 'bb_setacl' argument 4 names different: declaration '' definition 'rights'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1307:11: style:inconclusive: Function 'bb_last' argument 1 names different: declaration '' definition 'mbox'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1307:18: style:inconclusive: Function 'bb_last' argument 2 names different: declaration '' definition 'uid'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1307:24: style:inconclusive: Function 'bb_last' argument 3 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1365:11: style:inconclusive: Function 'bb_seen' argument 1 names different: declaration '' definition 'mbox'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1365:18: style:inconclusive: Function 'bb_seen' argument 2 names different: declaration '' definition 'uid'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:1365:24: style:inconclusive: Function 'bb_seen' argument 3 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/imsp/bb.c:104:19: style: Variable 'bits' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:239:20: style: Variable 'response' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:239:55: style: Variable 'host' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:386:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/bb.c:389:11: style: Variable 'user' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:440:26: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/bb.c:443:11: style: Variable 'key' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:461:19: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/bb.c:464:11: style: Variable 'key' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:482:11: style: Parameter 'uid' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/bb.c:495:11: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/bb.c:517:11: style: Variable 'user' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:578:11: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/bb.c:651:23: style: Variable 'user' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:1014:11: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:1307:18: style: Parameter 'uid' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/bb.c:1309:37: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] cyrus-imspd-v1.8/imsp/bb.c:1365:18: style: Parameter 'uid' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/bb.c:1365:24: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imspd-v1.8/imsp/bb.c:162:25: warning: Uninitialized variable: reply [uninitvar] cyrus-imspd-v1.8/imsp/bb.c:159:16: note: Assuming condition is false cyrus-imspd-v1.8/imsp/bb.c:162:25: note: Uninitialized variable: reply cyrus-imspd-v1.8/imsp/bb.c:365:10: warning: Uninitialized variable: *uid [uninitvar] cyrus-imspd-v1.8/imsp/bb.c:1257:22: note: Calling function 'bb_get', 2nd argument '&uid' value is cyrus-imspd-v1.8/imsp/bb.c:365:10: note: Uninitialized variable: *uid cyrus-imspd-v1.8/imsp/bb.c:152:12: style: Variable 'h.mbox' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/imsp/bb.c:153:12: style: Variable 'h.mlen' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/imsp/bb.c:154:11: style: Variable 'h.num' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/imsp/bb.c:155:12: style: Variable 'h.used' is assigned a value that is never used. [unreadVariable] cyrus-imspd-v1.8/lib/glob.c:290:33: style: Condition 'ptr!=pend' is always true [knownConditionTrueFalse] cyrus-imspd-v1.8/lib/glob.c:291:12: style: Condition '*ptr==g->sep_char' is always true [knownConditionTrueFalse] cyrus-imspd-v1.8/lib/glob.c:288:12: note: Assuming that condition '*ptr==g->sep_char' is not redundant cyrus-imspd-v1.8/lib/glob.c:291:12: note: Condition '*ptr==g->sep_char' is always true cyrus-imspd-v1.8/lib/glob.c:365:33: style: Condition 'ptr!=pend' is always true [knownConditionTrueFalse] cyrus-imspd-v1.8/lib/glob.c:366:12: style: Condition '*ptr==g->sep_char' is always true [knownConditionTrueFalse] cyrus-imspd-v1.8/lib/glob.c:363:12: note: Assuming that condition '*ptr==g->sep_char' is not redundant cyrus-imspd-v1.8/lib/glob.c:366:12: note: Condition '*ptr==g->sep_char' is always true cyrus-imspd-v1.8/lib/glob.c:71:17: style:inconclusive: Function 'glob_init_suppress' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/glob.c:72:9: style:inconclusive: Function 'glob_init_suppress' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/glob.c:73:17: style:inconclusive: Function 'glob_init_suppress' argument 3 names different: declaration '' definition 'suppress'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/glob.c:191:12: style:inconclusive: Function 'glob_free' argument 1 names different: declaration '' definition 'g'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/glob.c:206:11: style:inconclusive: Function 'glob_test' argument 1 names different: declaration '' definition 'g'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/glob.c:207:17: style:inconclusive: Function 'glob_test' argument 2 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/glob.c:208:14: style:inconclusive: Function 'glob_test' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/glob.c:209:15: style:inconclusive: Function 'glob_test' argument 4 names different: declaration '' definition 'min'. [funcArgNamesDifferentUnnamed] cyrus-imspd-v1.8/lib/glob.c:206:11: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] diff: head cyrus-imspd-v1.8/imsp/abook.c:1002:18: style:inconclusive: Function 'abook_findstart' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:1003:14: style:inconclusive: Function 'abook_findstart' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:1004:11: style:inconclusive: Function 'abook_findstart' argument 3 names different: declaration '' definition 'pat'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:1031:18: style:inconclusive: Function 'abook_find' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:1032:14: style:inconclusive: Function 'abook_find' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:1033:12: style:inconclusive: Function 'abook_find' argument 3 names different: declaration '' definition 'abook'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:1034:10: style:inconclusive: Function 'abook_find' argument 4 names different: declaration '' definition 'attrs'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:1069:18: style:inconclusive: Function 'abook_finddone' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:199:18: style:inconclusive: Function 'abook_fetch' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:200:14: style:inconclusive: Function 'abook_fetch' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:201:11: style:inconclusive: Function 'abook_fetch' argument 3 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:201:18: style:inconclusive: Function 'abook_fetch' argument 4 names different: declaration '' definition 'alias'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:202:10: style:inconclusive: Function 'abook_fetch' argument 5 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:203:10: style:inconclusive: Function 'abook_fetch' argument 6 names different: declaration '' definition 'freedata'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:259:18: style:inconclusive: Function 'abook_fetchdone' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:260:22: style:inconclusive: Function 'abook_fetchdone' argument 2 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:261:9: style:inconclusive: Function 'abook_fetchdone' argument 3 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:262:9: style:inconclusive: Function 'abook_fetchdone' argument 4 names different: declaration '' definition 'freedata'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:284:14: style:inconclusive: Function 'abook_canfetch' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:285:11: style:inconclusive: Function 'abook_canfetch' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:294:14: style:inconclusive: Function 'abook_canlock' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:295:11: style:inconclusive: Function 'abook_canlock' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:304:18: style:inconclusive: Function 'abook_searchstart' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:305:12: style:inconclusive: Function 'abook_searchstart' argument 2 names different: declaration '' definition 'ldap_state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:306:14: style:inconclusive: Function 'abook_searchstart' argument 3 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:307:11: style:inconclusive: Function 'abook_searchstart' argument 4 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:308:22: style:inconclusive: Function 'abook_searchstart' argument 5 names different: declaration '' definition 'flist'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:309:9: style:inconclusive: Function 'abook_searchstart' argument 6 names different: declaration '' definition 'fcount'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:433:18: style:inconclusive: Function 'abook_search' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:434:11: style:inconclusive: Function 'abook_search' argument 2 names different: declaration '' definition 'ldap_state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:461:18: style:inconclusive: Function 'abook_searchdone' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:462:11: style:inconclusive: Function 'abook_searchdone' argument 2 names different: declaration '' definition 'ldap_state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:477:14: style:inconclusive: Function 'abook_create' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:478:11: style:inconclusive: Function 'abook_create' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:556:14: style:inconclusive: Function 'abook_delete' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:557:11: style:inconclusive: Function 'abook_delete' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:622:14: style:inconclusive: Function 'abook_rename' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:623:11: style:inconclusive: Function 'abook_rename' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:623:18: style:inconclusive: Function 'abook_rename' argument 3 names different: declaration '' definition 'newname'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:728:14: style:inconclusive: Function 'abook_store' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:729:11: style:inconclusive: Function 'abook_store' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:729:18: style:inconclusive: Function 'abook_store' argument 3 names different: declaration '' definition 'alias'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:730:22: style:inconclusive: Function 'abook_store' argument 4 names different: declaration '' definition 'flist'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:731:9: style:inconclusive: Function 'abook_store' argument 5 names different: declaration '' definition 'fcount'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:836:14: style:inconclusive: Function 'abook_deleteent' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:837:11: style:inconclusive: Function 'abook_deleteent' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:837:18: style:inconclusive: Function 'abook_deleteent' argument 3 names different: declaration '' definition 'alias'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:904:14: style:inconclusive: Function 'abook_setacl' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:905:11: style:inconclusive: Function 'abook_setacl' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:905:18: style:inconclusive: Function 'abook_setacl' argument 3 names different: declaration '' definition 'ident'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:905:26: style:inconclusive: Function 'abook_setacl' argument 4 names different: declaration '' definition 'rights'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:965:14: style:inconclusive: Function 'abook_myrights' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:966:11: style:inconclusive: Function 'abook_myrights' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:966:18: style:inconclusive: Function 'abook_myrights' argument 3 names different: declaration '' definition 'rights'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:977:14: style:inconclusive: Function 'abook_getacl' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/abook.c:978:11: style:inconclusive: Function 'abook_getacl' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/alock.c:73:11: style:inconclusive: Function 'alock_dolock' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/alock.c:73:18: style:inconclusive: Function 'alock_dolock' argument 2 names different: declaration '' definition 'item1'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/alock.c:73:26: style:inconclusive: Function 'alock_dolock' argument 3 names different: declaration '' definition 'item2'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/alock.c:73:35: style:inconclusive: Function 'alock_dolock' argument 5 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/alock.c:74:9: style:inconclusive: Function 'alock_dolock' argument 4 names different: declaration '' definition 'lockflag'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1010:24: style:inconclusive: Function 'bb_delete' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1011:11: style:inconclusive: Function 'bb_delete' argument 2 names different: declaration '' definition 'mbox'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1011:18: style:inconclusive: Function 'bb_delete' argument 3 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1103:24: style:inconclusive: Function 'bb_rename' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1104:11: style:inconclusive: Function 'bb_rename' argument 2 names different: declaration '' definition 'oldname'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1105:11: style:inconclusive: Function 'bb_rename' argument 3 names different: declaration '' definition 'newname'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1106:9: style:inconclusive: Function 'bb_rename' argument 4 names different: declaration '' definition 'rflag'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1244:24: style:inconclusive: Function 'bb_setacl' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1245:11: style:inconclusive: Function 'bb_setacl' argument 2 names different: declaration '' definition 'mbox'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1245:18: style:inconclusive: Function 'bb_setacl' argument 3 names different: declaration '' definition 'ident'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1245:26: style:inconclusive: Function 'bb_setacl' argument 4 names different: declaration '' definition 'rights'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1307:11: style:inconclusive: Function 'bb_last' argument 1 names different: declaration '' definition 'mbox'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1307:18: style:inconclusive: Function 'bb_last' argument 2 names different: declaration '' definition 'uid'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1307:24: style:inconclusive: Function 'bb_last' argument 3 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1365:11: style:inconclusive: Function 'bb_seen' argument 1 names different: declaration '' definition 'mbox'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1365:18: style:inconclusive: Function 'bb_seen' argument 2 names different: declaration '' definition 'uid'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:1365:24: style:inconclusive: Function 'bb_seen' argument 3 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:356:11: style:inconclusive: Function 'bb_get' argument 1 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:357:12: style:inconclusive: Function 'bb_get' argument 2 names different: declaration '' definition 'uid'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:357:19: style:inconclusive: Function 'bb_get' argument 3 names different: declaration '' definition 'loc'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:357:26: style:inconclusive: Function 'bb_get' argument 4 names different: declaration '' definition 'acl'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:358:11: style:inconclusive: Function 'bb_get' argument 5 names different: declaration '' definition 'sep_char'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:385:24: style:inconclusive: Function 'bb_rights' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:386:11: style:inconclusive: Function 'bb_rights' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:386:18: style:inconclusive: Function 'bb_rights' argument 3 names different: declaration '' definition 'acl'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:495:11: style:inconclusive: Function 'bb_subsinit' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:512:24: style:inconclusive: Function 'bb_subscribe' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:513:11: style:inconclusive: Function 'bb_subscribe' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:514:9: style:inconclusive: Function 'bb_subscribe' argument 3 names different: declaration '' definition 'subscribe'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:577:15: style:inconclusive: Function 'bb_matchstart' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:578:11: style:inconclusive: Function 'bb_matchstart' argument 2 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:578:18: style:inconclusive: Function 'bb_matchstart' argument 3 names different: declaration '' definition 'pat'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:645:15: style:inconclusive: Function 'bb_matchverify' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:646:24: style:inconclusive: Function 'bb_matchverify' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:647:11: style:inconclusive: Function 'bb_matchverify' argument 3 names different: declaration '' definition 'pat'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:647:18: style:inconclusive: Function 'bb_matchverify' argument 4 names different: declaration '' definition 'oldname'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:647:29: style:inconclusive: Function 'bb_matchverify' argument 5 names different: declaration '' definition 'newname'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:648:10: style:inconclusive: Function 'bb_matchverify' argument 6 names different: declaration '' definition 'autosub'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:752:15: style:inconclusive: Function 'bb_match' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:753:24: style:inconclusive: Function 'bb_match' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:754:12: style:inconclusive: Function 'bb_match' argument 3 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:754:20: style:inconclusive: Function 'bb_match' argument 4 names different: declaration '' definition 'loc'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:755:11: style:inconclusive: Function 'bb_match' argument 5 names different: declaration '' definition 'sep_char'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:756:10: style:inconclusive: Function 'bb_match' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:757:9: style:inconclusive: Function 'bb_match' argument 7 names different: declaration '' definition 'subonly'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:899:24: style:inconclusive: Function 'bb_create' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:900:11: style:inconclusive: Function 'bb_create' argument 2 names different: declaration '' definition 'mbox'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:901:9: style:inconclusive: Function 'bb_create' argument 3 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/bb.c:902:11: style:inconclusive: Function 'bb_create' argument 4 names different: declaration '' definition 'hostlist'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:105:13: style:inconclusive: Function 'dispatch_initbuf' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:106:9: style:inconclusive: Function 'dispatch_initbuf' argument 2 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:127:20: style:inconclusive: Function 'dispatch_err' argument 2 names different: declaration '' definition 'write_secs'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:127:9: style:inconclusive: Function 'dispatch_err' argument 1 names different: declaration '' definition 'read_secs'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:128:16: style:inconclusive: Function 'dispatch_err' argument 3 names different: declaration '' definition 'iproc'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:143:17: style:inconclusive: Function 'dispatch_add' argument 1 names different: declaration '' definition 'dptr'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:158:13: style:inconclusive: Function 'dispatch_remove' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:175:9: style:inconclusive: Function 'dispatch_check' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:231:13: style:inconclusive: Function 'dispatch_loop' argument 2 names different: declaration '' definition 'onwrite'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:231:9: style:inconclusive: Function 'dispatch_loop' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:415:13: style:inconclusive: Function 'dispatch_read' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:416:11: style:inconclusive: Function 'dispatch_read' argument 2 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:417:9: style:inconclusive: Function 'dispatch_read' argument 3 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:446:13: style:inconclusive: Function 'dispatch_readline' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:528:13: style:inconclusive: Function 'dispatch_flush' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:544:13: style:inconclusive: Function 'dispatch_write' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:545:17: style:inconclusive: Function 'dispatch_write' argument 2 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:546:9: style:inconclusive: Function 'dispatch_write' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:569:13: style:inconclusive: Function 'dispatch_close' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:589:13: style:inconclusive: Function 'dispatch_telemetry' argument 1 names different: declaration '' definition 'fbuf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/dispatch.c:590:11: style:inconclusive: Function 'dispatch_telemetry' argument 2 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/im_util.c:106:11: style:inconclusive: Function 'copy_get_partition' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/im_util.c:107:12: style:inconclusive: Function 'copy_get_partition' argument 2 names different: declaration '' definition 'partition'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/im_util.c:136:13: style:inconclusive: Function 'get_atom' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/im_util.c:156:13: style:inconclusive: Function 'get_latom' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/im_util.c:175:13: style:inconclusive: Function 'copy_atom' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/im_util.c:199:13: style:inconclusive: Function 'copy_latom' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/im_util.c:229:13: style:inconclusive: Function 'copy_astring' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/im_util.c:230:9: style:inconclusive: Function 'copy_astring' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/im_util.c:299:13: style:inconclusive: Function 'copy_atom_list' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/im_util.c:300:12: style:inconclusive: Function 'copy_atom_list' argument 2 names different: declaration '' definition 'plist'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:158:11: style:inconclusive: Function 'imap_connect' argument 1 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:159:14: style:inconclusive: Function 'imap_connect' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:160:9: style:inconclusive: Function 'imap_connect' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:332:14: style:inconclusive: Function 'imap_close' argument 1 names different: declaration '' definition 'con'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:369:14: style:inconclusive: Function 'imap_newhandler' argument 1 names different: declaration '' definition 'con'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:370:11: style:inconclusive: Function 'imap_newhandler' argument 2 names different: declaration '' definition 'com'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:371:14: style:inconclusive: Function 'imap_newhandler' argument 3 names different: declaration '' definition 'proc'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:372:9: style:inconclusive: Function 'imap_newhandler' argument 4 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:395:14: style:inconclusive: Function 'imap_removehandler' argument 1 names different: declaration '' definition 'con'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:396:11: style:inconclusive: Function 'imap_removehandler' argument 2 names different: declaration '' definition 'command'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imap_client.c:65:14: style:inconclusive: Function 'imap_wait' argument 1 names different: declaration '' definition 'con'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imsp_server.c:1012:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_fetchaddress' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1480:41: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1012:16: note: Parameter 'cp' can be declared as pointer to const head cyrus-imspd-v1.8/imsp/imsp_server.c:1049:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_searchaddress' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1482:41: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1049:16: note: Parameter 'cp' can be declared as pointer to const head cyrus-imspd-v1.8/imsp/imsp_server.c:1151:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_deleteaddress' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1483:43: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1151:16: note: Parameter 'cp' can be declared as pointer to const head cyrus-imspd-v1.8/imsp/imsp_server.c:1190:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_setacl' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1485:35: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1190:16: note: Parameter 'cp' can be declared as pointer to const head cyrus-imspd-v1.8/imsp/imsp_server.c:1248:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_getacl' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1487:33: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:1248:16: note: Parameter 'cp' can be declared as pointer to const head cyrus-imspd-v1.8/imsp/imsp_server.c:1252:55: style: Variable 'user' can be declared as pointer to const [constVariablePointer] head cyrus-imspd-v1.8/imsp/imsp_server.c:1305:24: style: Expression is always false because 'else if' condition matches previous condition at line 1265. [multiCondition] head cyrus-imspd-v1.8/imsp/imsp_server.c:1506:19: style:inconclusive: Function 'im_start' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imsp_server.c:1506:29: style:inconclusive: Function 'im_start' argument 2 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/imsp_server.c:673:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_get' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1470:23: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:673:16: note: Parameter 'cp' can be declared as pointer to const head cyrus-imspd-v1.8/imsp/imsp_server.c:740:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_unset' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1472:27: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:740:16: note: Parameter 'cp' can be declared as pointer to const head cyrus-imspd-v1.8/imsp/imsp_server.c:873:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_createabook' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1491:45: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:873:16: note: Parameter 'cp' can be declared as pointer to const head cyrus-imspd-v1.8/imsp/imsp_server.c:908:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_deleteabook' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1492:45: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:908:16: note: Parameter 'cp' can be declared as pointer to const head cyrus-imspd-v1.8/imsp/imsp_server.c:943:16: style: Parameter 'cp' can be declared as pointer to const. However it seems that 'imsp_renameabook' is a callback function, if 'cp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imspd-v1.8/imsp/imsp_server.c:1493:45: note: You might need to cast the function pointer here cyrus-imspd-v1.8/imsp/imsp_server.c:943:16: note: Parameter 'cp' can be declared as pointer to const head cyrus-imspd-v1.8/imsp/login_krb.c:104:7: style:inconclusive: Function 'login_authproc' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/login_krb.c:105:7: style:inconclusive: Function 'login_authproc' argument 2 names different: declaration '' definition 'auth_identity'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/login_krb.c:106:8: style:inconclusive: Function 'login_authproc' argument 3 names different: declaration '' definition 'reply'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:108:11: style:inconclusive: Function 'option_check' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:121:11: style:inconclusive: Function 'option_create' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:133:19: style:inconclusive: Function 'option_matchstart' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:134:11: style:inconclusive: Function 'option_matchstart' argument 2 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:134:18: style:inconclusive: Function 'option_matchstart' argument 3 names different: declaration '' definition 'pat'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:180:19: style:inconclusive: Function 'option_match' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:181:11: style:inconclusive: Function 'option_match' argument 2 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:182:12: style:inconclusive: Function 'option_match' argument 3 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:182:20: style:inconclusive: Function 'option_match' argument 4 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:183:10: style:inconclusive: Function 'option_match' argument 5 names different: declaration '' definition 'rwflag'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:184:9: style:inconclusive: Function 'option_match' argument 6 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:251:19: style:inconclusive: Function 'option_matchdone' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:266:11: style:inconclusive: Function 'option_get' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:266:18: style:inconclusive: Function 'option_get' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:267:9: style:inconclusive: Function 'option_get' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:268:10: style:inconclusive: Function 'option_get' argument 4 names different: declaration '' definition 'rwflag'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:314:11: style:inconclusive: Function 'option_test' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:314:18: style:inconclusive: Function 'option_test' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:315:16: style:inconclusive: Function 'option_test' argument 4 names different: declaration '' definition 'dflt'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:315:9: style:inconclusive: Function 'option_test' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:345:11: style:inconclusive: Function 'option_getlist' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:345:18: style:inconclusive: Function 'option_getlist' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:346:9: style:inconclusive: Function 'option_getlist' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:403:18: style:inconclusive: Function 'option_freelist' argument 1 names different: declaration '' definition 'olist'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:413:11: style:inconclusive: Function 'option_lookup' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:413:18: style:inconclusive: Function 'option_lookup' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:414:9: style:inconclusive: Function 'option_lookup' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:415:11: style:inconclusive: Function 'option_lookup' argument 4 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:441:11: style:inconclusive: Function 'option_doquota' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:442:10: style:inconclusive: Function 'option_doquota' argument 2 names different: declaration '' definition 'delta'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:493:11: style:inconclusive: Function 'option_set' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:493:18: style:inconclusive: Function 'option_set' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:494:9: style:inconclusive: Function 'option_set' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:495:11: style:inconclusive: Function 'option_set' argument 4 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:581:11: style:inconclusive: Function 'option_unset' argument 1 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:581:18: style:inconclusive: Function 'option_unset' argument 2 names different: declaration '' definition 'opt'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/option.c:582:9: style:inconclusive: Function 'option_unset' argument 3 names different: declaration '' definition 'admin'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1144:19: style:inconclusive: Function 'sdb_freematch' argument 1 names different: declaration '' definition 'kv'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1145:9: style:inconclusive: Function 'sdb_freematch' argument 2 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1146:9: style:inconclusive: Function 'sdb_freematch' argument 3 names different: declaration '' definition 'copy'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1178:11: style:inconclusive: Function 'sdb_unlock' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1178:16: style:inconclusive: Function 'sdb_unlock' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1179:9: style:inconclusive: Function 'sdb_unlock' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1225:11: style:inconclusive: Function 'sdb_writelock' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1225:16: style:inconclusive: Function 'sdb_writelock' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1226:9: style:inconclusive: Function 'sdb_writelock' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1286:11: style:inconclusive: Function 'sdb_set' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1286:16: style:inconclusive: Function 'sdb_set' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1286:22: style:inconclusive: Function 'sdb_set' argument 4 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1287:9: style:inconclusive: Function 'sdb_set' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1369:11: style:inconclusive: Function 'sdb_remove' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1369:16: style:inconclusive: Function 'sdb_remove' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1370:9: style:inconclusive: Function 'sdb_remove' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:1373:19: style: Variable 'kvtop' can be declared as pointer to const [constVariablePointer] head cyrus-imspd-v1.8/imsp/syncdb.c:284:11: style: Variable 'token' can be declared as pointer to const [constVariablePointer] head cyrus-imspd-v1.8/imsp/syncdb.c:732:9: style:inconclusive: Function 'sdb_flush' argument 1 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:761:11: style:inconclusive: Function 'sdb_check' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:775:11: style:inconclusive: Function 'sdb_create' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:808:11: style:inconclusive: Function 'sdb_delete' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:834:11: style:inconclusive: Function 'sdb_copy' argument 1 names different: declaration '' definition 'dbsrc'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:834:19: style:inconclusive: Function 'sdb_copy' argument 2 names different: declaration '' definition 'dbdst'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:835:9: style:inconclusive: Function 'sdb_copy' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:892:11: style:inconclusive: Function 'sdb_get' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:892:16: style:inconclusive: Function 'sdb_get' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:893:9: style:inconclusive: Function 'sdb_get' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:894:12: style:inconclusive: Function 'sdb_get' argument 4 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:928:11: style:inconclusive: Function 'sdb_count' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:929:9: style:inconclusive: Function 'sdb_count' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:980:11: style:inconclusive: Function 'sdb_match' argument 1 names different: declaration '' definition 'db'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:981:11: style:inconclusive: Function 'sdb_match' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:982:9: style:inconclusive: Function 'sdb_match' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:983:11: style:inconclusive: Function 'sdb_match' argument 4 names different: declaration '' definition 'vpat'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:984:9: style:inconclusive: Function 'sdb_match' argument 5 names different: declaration '' definition 'copy'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:985:20: style:inconclusive: Function 'sdb_match' argument 6 names different: declaration '' definition 'pkv'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:986:10: style:inconclusive: Function 'sdb_match' argument 7 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/imsp/syncdb.c:989:11: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] head cyrus-imspd-v1.8/lib/acl_afs.c:117:7: style:inconclusive: Function 'acl_set' argument 6 names different: declaration '' definition 'canonrock'. [funcArgNamesDifferentUnnamed] 2.20.0 cyrus-imspd-v1.8/lib/acl_afs.c:199:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imspd-v1.8/lib/acl_afs.c:199:16: note: Null pointer addition 2.20.0 cyrus-imspd-v1.8/lib/acl_afs.c:200:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imspd-v1.8/lib/acl_afs.c:200:9: note: Null pointer dereference 2.20.0 cyrus-imspd-v1.8/lib/acl_afs.c:201:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imspd-v1.8/lib/acl_afs.c:201:38: note: Null pointer addition 2.20.0 cyrus-imspd-v1.8/lib/acl_afs.c:201:47: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imspd-v1.8/lib/acl_afs.c:201:47: note: Null pointer dereference 2.20.0 cyrus-imspd-v1.8/lib/acl_afs.c:202:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imspd-v1.8/lib/acl_afs.c:202:9: note: Null pointer dereference 2.20.0 cyrus-imspd-v1.8/lib/acl_afs.c:203:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/acl_afs.c:196:18: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imspd-v1.8/lib/acl_afs.c:203:9: note: Null pointer dereference head cyrus-imspd-v1.8/lib/acl_afs.c:217:25: style:inconclusive: Function 'acl_remove' argument 3 names different: declaration 'canonproc' definition 'rock'. [funcArgNamesDifferent] cyrus-imspd-v1.8/lib/acl.h:115:26: note: Function 'acl_remove' argument 3 names different: declaration 'canonproc' definition 'rock'. cyrus-imspd-v1.8/lib/acl_afs.c:217:25: note: Function 'acl_remove' argument 3 names different: declaration 'canonproc' definition 'rock'. head cyrus-imspd-v1.8/lib/acl_afs.c:217:25: style:inconclusive: Function 'acl_remove' argument 4 names different: declaration '' definition 'identifier'. [funcArgNamesDifferentUnnamed] 2.20.0 cyrus-imspd-v1.8/lib/acl_afs.c:217:25: style:inconclusive: Function 'acl_remove' argument 4 names different: declaration 'canonrock' definition 'identifier'. [funcArgNamesDifferent] cyrus-imspd-v1.8/lib/acl.h:115:43: note: Function 'acl_remove' argument 4 names different: declaration 'canonrock' definition 'identifier'. cyrus-imspd-v1.8/lib/acl_afs.c:217:25: note: Function 'acl_remove' argument 4 names different: declaration 'canonrock' definition 'identifier'. head cyrus-imspd-v1.8/lib/acl_afs.c:217:25: style:inconclusive: Function 'acl_remove' argument 5 names different: declaration '' definition 'rights'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte.c:33:5: style:inconclusive: Function 'acte_prottostring' argument 1 names different: declaration '' definition 'protlevel'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:640:7: style:inconclusive: Function 'krb_en_integrity' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:641:7: style:inconclusive: Function 'krb_en_integrity' argument 2 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:642:5: style:inconclusive: Function 'krb_en_integrity' argument 3 names different: declaration '' definition 'inputlen'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:643:7: style:inconclusive: Function 'krb_en_integrity' argument 4 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:644:6: style:inconclusive: Function 'krb_en_integrity' argument 5 names different: declaration '' definition 'outputlen'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:660:7: style:inconclusive: Function 'krb_de_integrity' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:661:7: style:inconclusive: Function 'krb_de_integrity' argument 2 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:662:5: style:inconclusive: Function 'krb_de_integrity' argument 3 names different: declaration '' definition 'inputlen'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:663:8: style:inconclusive: Function 'krb_de_integrity' argument 4 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:664:6: style:inconclusive: Function 'krb_de_integrity' argument 5 names different: declaration '' definition 'outputlen'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:693:7: style:inconclusive: Function 'krb_en_privacy' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:694:7: style:inconclusive: Function 'krb_en_privacy' argument 2 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:695:5: style:inconclusive: Function 'krb_en_privacy' argument 3 names different: declaration '' definition 'inputlen'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:696:7: style:inconclusive: Function 'krb_en_privacy' argument 4 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:697:6: style:inconclusive: Function 'krb_en_privacy' argument 5 names different: declaration '' definition 'outputlen'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:714:7: style:inconclusive: Function 'krb_de_privacy' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:715:7: style:inconclusive: Function 'krb_de_privacy' argument 2 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:716:5: style:inconclusive: Function 'krb_de_privacy' argument 3 names different: declaration '' definition 'inputlen'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:717:8: style:inconclusive: Function 'krb_de_privacy' argument 4 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:718:6: style:inconclusive: Function 'krb_de_privacy' argument 5 names different: declaration '' definition 'outputlen'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:874:18: style:inconclusive: Function 'afs_cmu_StringToKey' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:875:18: style:inconclusive: Function 'afs_cmu_StringToKey' argument 2 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:876:14: style:inconclusive: Function 'afs_cmu_StringToKey' argument 3 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:914:18: style:inconclusive: Function 'afs_transarc_StringToKey' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:915:18: style:inconclusive: Function 'afs_transarc_StringToKey' argument 2 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/acte_krb.c:916:15: style:inconclusive: Function 'afs_transarc_StringToKey' argument 3 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/glob.c:191:12: style:inconclusive: Function 'glob_free' argument 1 names different: declaration '' definition 'g'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/glob.c:206:11: style:inconclusive: Function 'glob_test' argument 1 names different: declaration '' definition 'g'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/glob.c:207:17: style:inconclusive: Function 'glob_test' argument 2 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/glob.c:208:14: style:inconclusive: Function 'glob_test' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/glob.c:209:15: style:inconclusive: Function 'glob_test' argument 4 names different: declaration '' definition 'min'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/glob.c:71:17: style:inconclusive: Function 'glob_init_suppress' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/glob.c:72:9: style:inconclusive: Function 'glob_init_suppress' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/glob.c:73:17: style:inconclusive: Function 'glob_init_suppress' argument 3 names different: declaration '' definition 'suppress'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/hash.c:263:13: style:inconclusive: Function 'hash_enumerate' argument 3 names different: declaration '' definition 'rock'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/imclient.c:1465:40: style:inconclusive: Function 'imclient_decodebase64' argument 1 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/imclient.c:1499:51: style:inconclusive: Function 'imclient_writebase64' argument 1 names different: declaration '' definition 'imclient'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/imclient.c:1500:18: style:inconclusive: Function 'imclient_writebase64' argument 2 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/imclient.c:1501:13: style:inconclusive: Function 'imclient_writebase64' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/imclient.c:571:51: style:inconclusive: Function 'imclient_writeastring' argument 1 names different: declaration '' definition 'imclient'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/imclient.c:571:73: style:inconclusive: Function 'imclient_writeastring' argument 2 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/imclient.c:950:43: style:inconclusive: Function 'imclient_eof' argument 1 names different: declaration '' definition 'imclient'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_fcntl.c:129:5: style:inconclusive: Function 'lock_blocking' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_fcntl.c:152:5: style:inconclusive: Function 'lock_shared' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_fcntl.c:175:5: style:inconclusive: Function 'lock_nonblocking' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_fcntl.c:195:21: style:inconclusive: Function 'lock_unlock' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_fcntl.c:70:5: style:inconclusive: Function 'lock_reopen' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_fcntl.c:71:13: style:inconclusive: Function 'lock_reopen' argument 2 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_fcntl.c:72:14: style:inconclusive: Function 'lock_reopen' argument 3 names different: declaration '' definition 'sbuf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_fcntl.c:73:14: style:inconclusive: Function 'lock_reopen' argument 4 names different: declaration '' definition 'failaction'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_flock.c:118:5: style:inconclusive: Function 'lock_blocking' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_flock.c:136:5: style:inconclusive: Function 'lock_shared' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_flock.c:154:5: style:inconclusive: Function 'lock_nonblocking' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_flock.c:169:21: style:inconclusive: Function 'lock_unlock' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_flock.c:72:5: style:inconclusive: Function 'lock_reopen' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_flock.c:73:13: style:inconclusive: Function 'lock_reopen' argument 2 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_flock.c:74:14: style:inconclusive: Function 'lock_reopen' argument 3 names different: declaration '' definition 'sbuf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/lock_flock.c:75:14: style:inconclusive: Function 'lock_reopen' argument 4 names different: declaration '' definition 'failaction'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/nonblock_fcntl.c:70:5: style:inconclusive: Function 'nonblock' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/nonblock_fcntl.c:71:5: style:inconclusive: Function 'nonblock' argument 2 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/nonblock_ioctl.c:56:5: style:inconclusive: Function 'nonblock' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/nonblock_ioctl.c:57:5: style:inconclusive: Function 'nonblock' argument 2 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/parseaddr.c:149:17: style:inconclusive: Function 'parseaddr_free' argument 1 names different: declaration '' definition 'addr'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/parseaddr.c:68:13: style:inconclusive: Function 'parseaddr_list' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/parseaddr.c:69:18: style:inconclusive: Function 'parseaddr_list' argument 2 names different: declaration '' definition 'addrp'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/prot.c:236:38: style:inconclusive: Function 'prot_setreadcallback' argument 3 names different: declaration '' definition 'rock'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/prot.c:252:13: style:inconclusive: Function 'prot_addwaitevent' argument 4 names different: declaration '' definition 'rock'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/prot.c:618:36: style:inconclusive: Function 'prot_printf' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/prot.c:618:51: style:inconclusive: Function 'prot_printf' argument 2 names different: declaration '' definition 'fmt'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/retry.c:63:5: style:inconclusive: Function 'retry_write' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/retry.c:64:13: style:inconclusive: Function 'retry_write' argument 2 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/retry.c:65:10: style:inconclusive: Function 'retry_write' argument 3 names different: declaration '' definition 'nbyte'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/retry.c:95:5: style:inconclusive: Function 'retry_writev' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/retry.c:96:15: style:inconclusive: Function 'retry_writev' argument 2 names different: declaration '' definition 'iov'. [funcArgNamesDifferentUnnamed] head cyrus-imspd-v1.8/lib/retry.c:97:5: style:inconclusive: Function 'retry_writev' argument 3 names different: declaration '' definition 'iovcnt'. [funcArgNamesDifferentUnnamed] 2.20.0 cyrus-imspd-v1.8/lib/xmalloc.c:100:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imspd-v1.8/lib/xmalloc.c:98:22: note: Assuming allocation function fails cyrus-imspd-v1.8/lib/xmalloc.c:98:22: note: Assignment 'p=xmalloc(len+1)', assigned value is 0 cyrus-imspd-v1.8/lib/xmalloc.c:100:5: note: Null pointer dereference DONE