2025-08-30 07:31 ftp://ftp.de.debian.org/debian/pool/main/c/cyrus-imapd/cyrus-imapd_3.12.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=bsd --library=sqlite3 --library=pcre --library=icu --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 478055e (2025-08-29 18:53:24 +0200) count: 3839 3839 elapsed-time: 874.7 861.1 head-timing-info: old-timing-info: head results: cyrus-imapd-3.12.1/bench/cyrdbbench.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/bench/cyrdbbench.c:116:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/bench/cyrdbbench.c:211:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTW_DEPTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/bench/cyrdbbench.c:258:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/bench/cyrdbbench.c:313:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/bench/cyrdbbench.c:326:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/bench/cyrdbbench.c:380:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/bench/cyrdbbench.c:420:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/bench/cyrdbbench.c:477:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/bench/cyrdbbench.c:507:9: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/bench/cyrdbbench.c:474:9: note: ret is assigned cyrus-imapd-3.12.1/bench/cyrdbbench.c:507:9: note: ret is overwritten cyrus-imapd-3.12.1/bench/cyrdbbench.c:199:40: style: Parameter 'ftwbuf' can be declared as pointer to const. However it seems that 'recursive_rm_cb' is a callback function, if 'ftwbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/bench/cyrdbbench.c:211:23: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/bench/cyrdbbench.c:199:40: note: Parameter 'ftwbuf' can be declared as pointer to const cyrus-imapd-3.12.1/cassandane/utils/crash.c:65:5: error: Memory leak: ptr [memleak] cyrus-imapd-3.12.1/cassandane/utils/gdbtramp.c:74:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/gdbtramp.c:89:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/gdbtramp.c:109:13: style: Variable 'prog' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/cassandane/utils/gdbtramp.c:111:14: style: Variable 'prog' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:77:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CORE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:106:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:141:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:216:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:222:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:238:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:271:5: error: Return value of allocation function 'creat' is not stored. [leakReturnValNotUsed] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:327:10: error: Null pointer dereference: (char*)0 [nullPointer] cyrus-imapd-3.12.1/cassandane/utils/lemming.c:77:7: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/cassandane/utils/syslog.c:34:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NEXT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/syslog.c:41:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NEXT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/syslog.c:48:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NEXT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/syslog.c:95:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cassandane/utils/syslog.c:106:56: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/cassandane/utils/syslog_probe.c:23:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/com_err/et/com_err.c:117:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/com_err/et/error_message.c:82:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sys_nerr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/com_err/et/init_et.c:71:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/com_err/et/test_et.c:9:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] cyrus-imapd-3.12.1/com_err/et/test_et.c:12:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KRB_MK_AP_TGTEXP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/contrib/fud-client.c:68:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/contrib/fud-client.c:77:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/contrib/fud-client.c:129:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/contrib/fud-client.c:110:9: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] cyrus-imapd-3.12.1/contrib/fud-client.c:127:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cyrus-imapd-3.12.1/contrib/fud-client.c:153:25: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] cyrus-imapd-3.12.1/contrib/fud-client.c:89:25: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/contrib/fud-client.c:99:19: style: Variable 'hname' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/contrib/fud-client.c:90:16: style: Unused variable: fset [unusedVariable] cyrus-imapd-3.12.1/cunit/syslog.c:94:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/syslog.c:183:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/syslog.c:200:65: style:inconclusive: Function 'CU_syslogMatchEnd' argument 2 names different: declaration 's' definition 'sp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/cunit/cunit-syslog.h:50:72: note: Function 'CU_syslogMatchEnd' argument 2 names different: declaration 's' definition 'sp'. cyrus-imapd-3.12.1/cunit/syslog.c:200:65: note: Function 'CU_syslogMatchEnd' argument 2 names different: declaration 's' definition 'sp'. cyrus-imapd-3.12.1/cunit/syslog.c:73:42: style: Parameter 'sl' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/cunit/syslog.c:102:9: error: va_list 'args2' used before va_start() was called. [va_list_usedBeforeStarted] cyrus-imapd-3.12.1/cunit/syslog.c:103:44: error: va_list 'args2' used before va_start() was called. [va_list_usedBeforeStarted] cyrus-imapd-3.12.1/cunit/syslog.c:104:9: error: va_list 'args2' used before va_start() was called. [va_list_usedBeforeStarted] cyrus-imapd-3.12.1/cunit/timeofday.c:251:0: error: #error "Don't know how to intercept gettimeofday for this libc" [preprocessorErrorDirective] cyrus-imapd-3.12.1/cunit/timeofday.c:251:2: error: #error "Don't know how to intercept gettimeofday for this libc" [preprocessorErrorDirective] cyrus-imapd-3.12.1/cunit/timeout.c:78:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/timeout.c:187:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_NODEFER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/timeout.c:252:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/timezones.c:59:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/timezones.c:77:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/timezones.c:86:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/timezones.c:70:5: error: Memory leak: s [memleak] cyrus-imapd-3.12.1/cunit/unit.c:100:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/unit.c:127:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/unit.c:145:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/unit.c:224:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/unit.c:307:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/unit.c:346:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/unit.c:412:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pSuite [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/unit.c:437:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/unit.c:471:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/cunit/unit.c:243:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/cunit/unit.c:245:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/cunit/unit.c:468:13: style: Statements following noreturn function 'usage()' will never be executed. [unreachableCode] cyrus-imapd-3.12.1/cunit/unit.c:409:15: style: Variable 'suite' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/cunit/unit.c:410:14: style: Variable 'test' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:66:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:98:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BV_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:181:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:230:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:139:9: style: Variable 'cmp' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:138:9: note: cmp is assigned cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:139:9: note: cmp is overwritten cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:186:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:184:15: note: r is assigned cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:186:7: note: r is overwritten cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus.c:146:42: style: Parameter 'thunk' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:43:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:49:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:55:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAYU64_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:85:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:119:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHU64_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:178:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMALLARRAYU64_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:192:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:242:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:266:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:235:10: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:233:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:233:22: note: Assignment 's=xstrdup("xmalloc ok")', assigned value is 0 cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:235:10: note: Null pointer dereference cyrus-imapd-3.12.1/doc/examples/libcyrus/example_libcyrus_min.c:219:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/annotate.c:395:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:555:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:578:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:657:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_CONVERT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:687:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:713:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:731:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:749:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:801:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:914:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_ANNOTATION_BADENTRY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:995:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable modseq_t [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1059:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1184:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1463:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1477:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1516:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1620:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1645:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1664:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1677:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1690:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1701:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1731:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1759:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1772:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1785:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC3501_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1812:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC3501_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1832:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1846:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC3501_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1865:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1879:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1894:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1916:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1943:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1980:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:2023:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:2687:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_PROXYSERVERS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:2734:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:2878:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3013:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_AGAIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3038:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable modseq_t [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3082:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3224:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3279:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3373:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_ANNOTATION_BADVALUE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3507:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3539:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_PERMISSION_DENIED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3602:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_PERMISSION_DENIED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3628:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATETIME_FULL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3654:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_PERMISSION_DENIED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3667:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SPECIALUSE_EXTRA [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3780:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3828:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:3900:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_PERMISSION_DENIED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:4029:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:4050:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:4169:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:4205:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:4318:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:4465:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ANNOTATION_DEFINITIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:4599:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:4624:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_AGAIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:4633:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/annotate.c:1074:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/annotate.c:296:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *tail [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/annotate.c:295:38: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/annotate.c:295:13: note: Assignment '*tail=(struct strlist*)xmalloc(sizeof(struct strlist))', assigned value is 0 cyrus-imapd-3.12.1/imap/annotate.c:296:6: note: Null pointer dereference cyrus-imapd-3.12.1/imap/annotate.c:360:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *tail [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/annotate.c:359:43: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/annotate.c:359:13: note: Assignment '*tail=(struct entryattlist*)xmalloc(sizeof(struct entryattlist))', assigned value is 0 cyrus-imapd-3.12.1/imap/annotate.c:360:6: note: Null pointer dereference cyrus-imapd-3.12.1/imap/annotate.c:423:22: warning: Either the condition '!ea' is redundant or there is possible null pointer dereference: *pea. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/imap/annotate.c:427:9: note: Assuming that condition '!ea' is not redundant cyrus-imapd-3.12.1/imap/annotate.c:426:10: note: Assignment to 'ea=*pea' cyrus-imapd-3.12.1/imap/annotate.c:423:22: note: Null pointer dereference cyrus-imapd-3.12.1/imap/annotate.c:431:22: warning: Either the condition '!av' is redundant or there is possible null pointer dereference: *pav. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/imap/annotate.c:435:9: note: Assuming that condition '!av' is not redundant cyrus-imapd-3.12.1/imap/annotate.c:434:10: note: Assignment to 'av=*pav' cyrus-imapd-3.12.1/imap/annotate.c:431:22: note: Null pointer dereference cyrus-imapd-3.12.1/imap/annotate.c:4098:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/annotate.c:4067:11: note: r is assigned cyrus-imapd-3.12.1/imap/annotate.c:4098:7: note: r is overwritten cyrus-imapd-3.12.1/imap/annotate.c:4568:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cyrus-imapd-3.12.1/imap/annotate.c:289:55: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/annotate.c:482:26: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'done_cb' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:494:27: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:482:26: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1661:66: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_freespace' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2583:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1661:66: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1673:50: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_freespace_total' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2593:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1673:50: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1686:50: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_freespace_percent_most' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2603:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1686:50: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1699:63: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_server' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2413:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1699:63: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1729:66: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_partition' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2360:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1729:66: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1756:61: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_annotsize' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2249:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1756:61: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1769:61: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_size' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2443:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1769:61: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1782:67: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_lastupdate' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2329:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1782:67: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1809:64: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_lastpop' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2299:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1809:64: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1843:70: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_pop3showafter' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2380:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1843:70: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1862:65: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_synccrcs' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2473:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1862:65: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1877:69: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_foldermodseq' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2319:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1877:69: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1892:67: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_usermodseq' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2551:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1892:67: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1914:69: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_usercounters' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2563:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1914:69: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1941:69: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_userrawquota' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2392:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1941:69: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:1978:65: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_uniqueid' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:2483:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:1978:65: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:2008:63: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'annotation_get_fromdb' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/annotate.c:4558:19: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/annotate.c:2008:63: note: Parameter 'entry' can be declared as pointer to const cyrus-imapd-3.12.1/imap/annotate.c:3805:46: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/annotate.c:1000:13: style: Variable 'tmps' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/annotate.c:3618:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/append.c:131:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:202:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:246:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APPEND_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:265:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APPEND_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:303:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APPEND_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:337:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:428:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:471:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:519:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:716:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:752:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:816:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_SETSEEN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:969:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:1227:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:1282:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:1349:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ANNOTATION_CALLOUT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:1527:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_WRITE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:1684:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/append.c:337:14: warning: If memory allocation fails, then there is a possible null pointer dereference: stage [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/append.c:334:20: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/append.c:334:20: note: Assignment 'stage=xmalloc(sizeof(struct stagemsg))', assigned value is 0 cyrus-imapd-3.12.1/imap/append.c:337:14: note: Null pointer dereference cyrus-imapd-3.12.1/imap/append.c:348:24: warning: If memory allocation fails, then there is a possible null pointer dereference: stage [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/append.c:334:20: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/append.c:334:20: note: Assignment 'stage=xmalloc(sizeof(struct stagemsg))', assigned value is 0 cyrus-imapd-3.12.1/imap/append.c:341:9: note: Assuming condition is false cyrus-imapd-3.12.1/imap/append.c:348:24: note: Null pointer dereference cyrus-imapd-3.12.1/imap/append.c:936:56: style:inconclusive: Function 'append_fromstage_full' argument 1 names different: declaration 'mailbox' definition 'as'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/append.h:122:54: note: Function 'append_fromstage_full' argument 1 names different: declaration 'mailbox' definition 'as'. cyrus-imapd-3.12.1/imap/append.c:936:56: note: Function 'append_fromstage_full' argument 1 names different: declaration 'mailbox' definition 'as'. cyrus-imapd-3.12.1/imap/append.c:941:58: style:inconclusive: Function 'append_fromstage_full' argument 9 names different: declaration 'annotations' definition 'user_annotsp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/append.h:127:56: note: Function 'append_fromstage_full' argument 9 names different: declaration 'annotations' definition 'user_annotsp'. cyrus-imapd-3.12.1/imap/append.c:941:58: note: Function 'append_fromstage_full' argument 9 names different: declaration 'annotations' definition 'user_annotsp'. cyrus-imapd-3.12.1/imap/append.c:1440:71: style:inconclusive: Function 'append_copy' argument 2 names different: declaration 'append_mailbox' definition 'as'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/append.h:140:44: note: Function 'append_copy' argument 2 names different: declaration 'append_mailbox' definition 'as'. cyrus-imapd-3.12.1/imap/append.c:1440:71: note: Function 'append_copy' argument 2 names different: declaration 'append_mailbox' definition 'as'. cyrus-imapd-3.12.1/imap/append.c:1651:64: style:inconclusive: Function 'append_setseen' argument 2 names different: declaration 'mr' definition 'msgrec'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/append.c:102:64: note: Function 'append_setseen' argument 2 names different: declaration 'mr' definition 'msgrec'. cyrus-imapd-3.12.1/imap/append.c:1651:64: note: Function 'append_setseen' argument 2 names different: declaration 'mr' definition 'msgrec'. cyrus-imapd-3.12.1/imap/arbitron.c:207:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/arbitron.c:252:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/arbitron.c:297:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/arbitron.c:385:38: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] cyrus-imapd-3.12.1/imap/arbitron.c:504:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/imap/arbitron.c:508:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/imap/arbitron.c:311:19: style: Condition 'dirq' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/arbitron.c:300:30: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: dirp [nullPointerOutOfResources] cyrus-imapd-3.12.1/imap/arbitron.c:295:19: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/arbitron.c:295:19: note: Assignment 'dirp=opendir(prefix)', assigned value is 0 cyrus-imapd-3.12.1/imap/arbitron.c:300:30: note: Null pointer dereference cyrus-imapd-3.12.1/imap/arbitron.c:117:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/arbitron.c:259:44: style: Parameter 'data' can be declared as pointer to const. However it seems that 'do_mailbox' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/arbitron.c:228:22: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/arbitron.c:259:44: note: Parameter 'data' can be declared as pointer to const cyrus-imapd-3.12.1/imap/arbitron.c:291:20: style: Variable 'dirent1' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/arbitron.c:324:27: style: Variable 'user' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/arbitron.c:368:33: style: Parameter 'rockp' can be declared as pointer to const. However it seems that 'process_user_p' is a callback function, if 'rockp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/arbitron.c:423:33: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/arbitron.c:368:33: note: Parameter 'rockp' can be declared as pointer to const cyrus-imapd-3.12.1/imap/arbitron.c:430:34: style: Parameter 'rockp' can be declared as pointer to const. However it seems that 'process_subs_cb' is a callback function, if 'rockp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/arbitron.c:479:49: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/arbitron.c:430:34: note: Parameter 'rockp' can be declared as pointer to const cyrus-imapd-3.12.1/imap/arbitron.c:439:33: style: Parameter 'rockp' can be declared as pointer to const. However it seems that 'process_subs_p' is a callback function, if 'rockp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/arbitron.c:479:33: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/arbitron.c:439:33: note: Parameter 'rockp' can be declared as pointer to const cyrus-imapd-3.12.1/imap/arbitron.c:500:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/attachextract.c:155:50: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/autocreate.c:538:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/autocreate.c:577:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_AUTOCREATE_SUBSCRIBE_SHAREDFOLDERS_ALL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/autocreate.c:616:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/autocreate.c:669:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/autocreate.c:702:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/autocreate.c:661:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/imap/autocreate.c:662:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/imap/autocreate.c:663:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/imap/autocreate.c:664:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/imap/autocreate.c:518:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'autochangesub' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/autocreate.c:596:26: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/autocreate.c:518:47: note: Parameter 'data' can be declared as pointer to const cyrus-imapd-3.12.1/imap/autocreate.c:524:24: style: Variable 'auth_state' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/autocreate.c:653:58: style: Variable 'junk' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/backend.c:634:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_BUFSIZE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/backend.c:792:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/backend.c:897:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CLIENT_BIND_NAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/backend.c:954:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CLIENT_TIMEOUT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/backend.c:1019:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/backend.c:1317:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_VERSION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/backend.c:231:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/imap/backend.c:237:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/imap/backend.c:247:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/imap/backend.c:249:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/imap/backend.c:838:21: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cyrus-imapd-3.12.1/imap/backend.c:757:81: style: Condition 'backend_starttls(s,&prot->u.std.tls_cmd,c_cert_file,c_key_file)!=-1' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/backend.c:757:30: note: Calling function 'backend_starttls' returns -1 cyrus-imapd-3.12.1/imap/backend.c:757:81: note: Condition 'backend_starttls(s,&prot->u.std.tls_cmd,c_cert_file,c_key_file)!=-1' is always false cyrus-imapd-3.12.1/imap/backend.c:856:25: style: Condition 'new_mechlist' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/backend.c:857:25: style: Condition 'old_mechlist' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/backend.c:886:13: style: Condition 'r' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/backend.c:885:24: note: Calling function 'do_compress' returns -1 cyrus-imapd-3.12.1/imap/backend.c:885:24: note: Assignment 'r=do_compress(ret,&prot->u.std.compress_cmd)', assigned value is -1 cyrus-imapd-3.12.1/imap/backend.c:886:13: note: Condition 'r' is always true cyrus-imapd-3.12.1/imap/backend.c:964:13: style: Condition 'r' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/backend.c:963:29: note: Calling function 'backend_starttls' returns -1 cyrus-imapd-3.12.1/imap/backend.c:963:29: note: Assignment 'r=backend_starttls(ret,NULL,NULL,NULL)', assigned value is -1 cyrus-imapd-3.12.1/imap/backend.c:964:13: note: Condition 'r' is always true cyrus-imapd-3.12.1/imap/backend.c:1164:13: style: Condition 'r' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/backend.c:1163:29: note: Calling function 'backend_starttls' returns -1 cyrus-imapd-3.12.1/imap/backend.c:1163:29: note: Assignment 'r=backend_starttls(ret,NULL,NULL,NULL)', assigned value is -1 cyrus-imapd-3.12.1/imap/backend.c:1164:13: note: Condition 'r' is always true cyrus-imapd-3.12.1/imap/backend.c:570:43: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/backend.c:731:33: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/backend.c:731:33: note: Assignment 'conf=xstrdup(mech_conf)', assigned value is 0 cyrus-imapd-3.12.1/imap/backend.c:732:54: note: Calling function 'intersect_mechlists', 1st argument 'conf' value is 0 cyrus-imapd-3.12.1/imap/backend.c:570:43: note: Null pointer dereference cyrus-imapd-3.12.1/imap/backend.c:618:22: warning: If memory allocation fails, then there is a possible null pointer dereference: config++ [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/backend.c:731:33: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/backend.c:731:33: note: Assignment 'conf=xstrdup(mech_conf)', assigned value is 0 cyrus-imapd-3.12.1/imap/backend.c:732:54: note: Calling function 'intersect_mechlists', 1st argument 'conf' value is 0 cyrus-imapd-3.12.1/imap/backend.c:618:22: note: Null pointer dereference cyrus-imapd-3.12.1/imap/backend.c:618:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imapd-3.12.1/imap/backend.c:731:33: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/backend.c:731:33: note: Assignment 'conf=xstrdup(mech_conf)', assigned value is 0 cyrus-imapd-3.12.1/imap/backend.c:732:54: note: Calling function 'intersect_mechlists', 1st argument 'conf' value is 0 cyrus-imapd-3.12.1/imap/backend.c:618:22: note: Null pointer addition cyrus-imapd-3.12.1/imap/backend.c:991:58: style:inconclusive: Function 'backend_connect' argument 1 names different: declaration 'cache' definition 'ret_backend'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/backend.h:95:49: note: Function 'backend_connect' argument 1 names different: declaration 'cache' definition 'ret_backend'. cyrus-imapd-3.12.1/imap/backend.c:991:58: note: Function 'backend_connect' argument 1 names different: declaration 'cache' definition 'ret_backend'. cyrus-imapd-3.12.1/imap/backend.c:196:39: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/backend.c:501:40: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/backend.c:502:45: style: Parameter 'compress_cmd' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/backend.c:559:49: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/backend.c:560:51: style: Parameter 'tls_cmd' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/backend.c:571:11: style: Variable 'cmech' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/backend.c:571:26: style: Variable 'smech' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/backend.c:898:49: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/backend.c:1048:23: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/backend.c:774:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/backend.c:888:15: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/calalarmd.c:73:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/calalarmd.c:99:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/calalarmd.c:95:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/caldav_alarm.c:700:37: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/caldav_db.c:111:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:398:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:430:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:456:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:487:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:549:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:601:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:618:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:637:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:677:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ATTACH_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:707:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:825:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sqldb_bindval [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:842:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:890:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1047:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1152:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1351:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ORGANIZER_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1432:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1468:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1487:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1645:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1715:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1775:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1835:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_db.c:1488:12: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/caldav_db.c:1486:44: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/caldav_db.c:1486:44: note: Assignment 'f=xmalloc(sizeof(struct caldav_jscal_filter))', assigned value is 0 cyrus-imapd-3.12.1/imap/caldav_db.c:1488:12: note: Null pointer dereference cyrus-imapd-3.12.1/imap/caldav_db.c:423:58: style:inconclusive: Function 'caldav_lookup_imapuid' argument 3 names different: declaration 'uid' definition 'imap_uid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/caldav_db.h:147:57: note: Function 'caldav_lookup_imapuid' argument 3 names different: declaration 'uid' definition 'imap_uid'. cyrus-imapd-3.12.1/imap/caldav_db.c:423:58: note: Function 'caldav_lookup_imapuid' argument 3 names different: declaration 'uid' definition 'imap_uid'. cyrus-imapd-3.12.1/imap/caldav_db.c:629:47: style:inconclusive: Function 'caldav_get_updates' argument 5 names different: declaration 'max_records' definition 'limit'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/caldav_db.h:199:28: note: Function 'caldav_get_updates' argument 5 names different: declaration 'max_records' definition 'limit'. cyrus-imapd-3.12.1/imap/caldav_db.c:629:47: note: Function 'caldav_get_updates' argument 5 names different: declaration 'max_records' definition 'limit'. cyrus-imapd-3.12.1/imap/caldav_db.c:1462:50: style:inconclusive: Function 'caldav_write_jscalcache' argument 3 names different: declaration 'recurid' definition 'ical_recurid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/caldav_db.h:292:41: note: Function 'caldav_write_jscalcache' argument 3 names different: declaration 'recurid' definition 'ical_recurid'. cyrus-imapd-3.12.1/imap/caldav_db.c:1462:50: note: Function 'caldav_write_jscalcache' argument 3 names different: declaration 'recurid' definition 'ical_recurid'. cyrus-imapd-3.12.1/imap/caldav_db.c:1159:26: style: Local variable 'bval' shadows outer function [shadowFunction] cyrus-imapd-3.12.1/imap/caldav_db.c:849:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/caldav_db.c:1159:26: note: Shadow variable cyrus-imapd-3.12.1/imap/caldav_db.c:1467:26: style: Local variable 'bval' shadows outer function [shadowFunction] cyrus-imapd-3.12.1/imap/caldav_db.c:849:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/caldav_db.c:1467:26: note: Shadow variable cyrus-imapd-3.12.1/imap/caldav_db.c:1834:26: style: Local variable 'bval' shadows outer function [shadowFunction] cyrus-imapd-3.12.1/imap/caldav_db.c:849:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/caldav_db.c:1834:26: note: Shadow variable cyrus-imapd-3.12.1/imap/caldav_db.c:93:27: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'done_cb' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/caldav_db.c:100:27: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/caldav_db.c:93:27: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/caldav_db.c:271:55: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/caldav_db.c:704:55: style: Parameter 'jscal' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/caldav_db.c:837:27: style: Variable 'val' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/caldav_db.c:902:37: style: Variable 'id' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/caldav_db.c:1043:63: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/caldav_db.c:1044:53: style: Parameter 'sort' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/httpd.h:164:27: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] cyrus-imapd-3.12.1/imap/caldav_util.c:78:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ANY_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:108:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VTIMEZONE_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:163:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:247:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PER_USER_CAL_DATA [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:279:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:333:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FORBIDDEN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:383:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_UID_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:661:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:689:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ATTENDEE_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:759:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_INSERT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:934:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CALENDARPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:962:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ORGANIZER_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:989:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_X_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:1042:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:1350:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:1413:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CALENDAR_COMPONENT_SET [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:1446:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:1560:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:1676:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:1695:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CALENDARPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:1854:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CALDAV_HISTORICAL_AGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/caldav_util.c:1632:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/caldav_util.c:1645:17: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/caldav_util.c:1652:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/caldav_util.c:582:13: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] cyrus-imapd-3.12.1/imap/caldav_util.c:588:13: note: Found duplicate branches for 'if' and 'else'. cyrus-imapd-3.12.1/imap/caldav_util.c:582:13: note: Found duplicate branches for 'if' and 'else'. cyrus-imapd-3.12.1/imap/caldav_util.c:978:59: style: Parameter 'cdata' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/calsched_support.c:68:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/calsched_support.c:110:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/calsched_support.c:143:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/calsched_support.c:63:65: style:inconclusive: Function 'caldav_caluseraddr_read' argument 3 names different: declaration 'addrs' definition 'addr'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/calsched_support.h:61:63: note: Function 'caldav_caluseraddr_read' argument 3 names different: declaration 'addrs' definition 'addr'. cyrus-imapd-3.12.1/imap/calsched_support.c:63:65: note: Function 'caldav_caluseraddr_read' argument 3 names different: declaration 'addrs' definition 'addr'. cyrus-imapd-3.12.1/imap/calsched_support.c:104:72: style:inconclusive: Function 'caldav_caluseraddr_write' argument 3 names different: declaration 'addrs' definition 'addr'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/calsched_support.h:65:70: note: Function 'caldav_caluseraddr_write' argument 3 names different: declaration 'addrs' definition 'addr'. cyrus-imapd-3.12.1/imap/calsched_support.c:104:72: note: Function 'caldav_caluseraddr_write' argument 3 names different: declaration 'addrs' definition 'addr'. cyrus-imapd-3.12.1/imap/carddav_db.c:307:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:339:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:365:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:406:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:479:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:533:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:583:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:606:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:725:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:778:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:806:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:824:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:840:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:898:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:939:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:956:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:977:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:1000:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:1028:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:1076:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:1114:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:1220:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_VCARD_MAX_SIZE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:1346:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:1385:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:1393:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/carddav_db.c:140:55: style:inconclusive: Function 'carddav_set_otheruser' argument 1 names different: declaration 'db' definition 'carddavdb'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/carddav_db.h:100:46: note: Function 'carddav_set_otheruser' argument 1 names different: declaration 'db' definition 'carddavdb'. cyrus-imapd-3.12.1/imap/carddav_db.c:140:55: note: Function 'carddav_set_otheruser' argument 1 names different: declaration 'db' definition 'carddavdb'. cyrus-imapd-3.12.1/imap/carddav_db.c:332:67: style:inconclusive: Function 'carddav_lookup_imapuid' argument 3 names different: declaration 'uid' definition 'imap_uid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/carddav_db.h:115:58: note: Function 'carddav_lookup_imapuid' argument 3 names different: declaration 'uid' definition 'imap_uid'. cyrus-imapd-3.12.1/imap/carddav_db.c:332:67: note: Function 'carddav_lookup_imapuid' argument 3 names different: declaration 'uid' definition 'imap_uid'. cyrus-imapd-3.12.1/imap/carddav_db.c:361:75: style:inconclusive: Function 'carddav_lookup_uid' argument 2 names different: declaration 'ical_uid' definition 'vcard_uid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/carddav_db.h:121:66: note: Function 'carddav_lookup_uid' argument 2 names different: declaration 'ical_uid' definition 'vcard_uid'. cyrus-imapd-3.12.1/imap/carddav_db.c:361:75: note: Function 'carddav_lookup_uid' argument 2 names different: declaration 'ical_uid' definition 'vcard_uid'. cyrus-imapd-3.12.1/imap/carddav_db.c:530:81: style:inconclusive: Function 'carddav_getemail' argument 2 names different: declaration 'key' definition 'email'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/carddav_db.h:126:72: note: Function 'carddav_getemail' argument 2 names different: declaration 'key' definition 'email'. cyrus-imapd-3.12.1/imap/carddav_db.c:530:81: note: Function 'carddav_getemail' argument 2 names different: declaration 'key' definition 'email'. cyrus-imapd-3.12.1/imap/carddav_db.c:576:59: style:inconclusive: Function 'carddav_getemail2details' argument 2 names different: declaration 'key' definition 'email'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/carddav_db.h:127:80: note: Function 'carddav_getemail2details' argument 2 names different: declaration 'key' definition 'email'. cyrus-imapd-3.12.1/imap/carddav_db.c:576:59: note: Function 'carddav_getemail2details' argument 2 names different: declaration 'key' definition 'email'. cyrus-imapd-3.12.1/imap/carddav_db.c:599:56: style:inconclusive: Function 'carddav_getuid2groups' argument 2 names different: declaration 'key' definition 'member_uid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/carddav_db.h:129:77: note: Function 'carddav_getuid2groups' argument 2 names different: declaration 'key' definition 'member_uid'. cyrus-imapd-3.12.1/imap/carddav_db.c:599:56: note: Function 'carddav_getuid2groups' argument 2 names different: declaration 'key' definition 'member_uid'. cyrus-imapd-3.12.1/imap/carddav_db.c:1067:48: style:inconclusive: Function 'carddav_get_updates' argument 5 names different: declaration 'max_records' definition 'limit'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/carddav_db.h:154:29: note: Function 'carddav_get_updates' argument 5 names different: declaration 'max_records' definition 'limit'. cyrus-imapd-3.12.1/imap/carddav_db.c:1067:48: note: Function 'carddav_get_updates' argument 5 names different: declaration 'max_records' definition 'limit'. cyrus-imapd-3.12.1/imap/carddav_db.c:76:27: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'done_cb' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/carddav_db.c:83:27: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/carddav_db.c:76:27: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/carddav_db.c:398:54: style: Parameter 'sort' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/carddav_db.c:1109:52: style: Parameter 'vcard' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/chk_cyrus.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/chk_cyrus.c:88:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/chk_cyrus.c:136:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/chk_cyrus.c:78:41: style: Parameter 'data' can be declared as pointer to const. However it seems that 'chkmbox' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/chk_cyrus.c:173:32: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/chk_cyrus.c:78:41: note: Parameter 'data' can be declared as pointer to const cyrus-imapd-3.12.1/imap/chk_cyrus.c:115:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/chk_cyrus.c:116:10: style: Variable 'pattern' can be declared as const array [constVariable] cyrus-imapd-3.12.1/imap/cli_fatal.c:62:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:179:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS_COUNTED_FLAGS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:222:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:366:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:459:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:469:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:537:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:627:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INVALID_IDENTIFIER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:665:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:699:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAYU64_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:730:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:792:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:816:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:871:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:980:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1015:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1048:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1067:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1116:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1161:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1214:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1289:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1534:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1571:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1620:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1648:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1794:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:1989:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:2049:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:2141:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:2169:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SEARCH_QUERYSCAN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:2209:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:2234:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:2315:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:2347:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:2495:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:2971:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS_KEEP_EXISTING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:3039:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:3061:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/conversations.c:3203:12: warning: Identical condition and return expression 'r', return value is always 0 [identicalConditionAfterEarlyExit] cyrus-imapd-3.12.1/imap/conversations.c:3201:9: note: If condition 'r' is true, the function will return/exit cyrus-imapd-3.12.1/imap/conversations.c:3203:12: note: Returning identical expression 'r' cyrus-imapd-3.12.1/imap/conversations.c:2484:13: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/conversations.c:2483:30: note: Calling function 'conversation_load' returns 0 cyrus-imapd-3.12.1/imap/conversations.c:2483:30: note: Assignment 'r=conversation_load(cstate,record->cid,&conv)', assigned value is 0 cyrus-imapd-3.12.1/imap/conversations.c:2484:13: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/conversations.c:2845:17: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/conversations.c:2844:39: note: Calling function 'conversation_setstatus' returns 0 cyrus-imapd-3.12.1/imap/conversations.c:2844:39: note: Assignment 'r=conversation_setstatus(state,mailbox,&status)', assigned value is 0 cyrus-imapd-3.12.1/imap/conversations.c:2845:17: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/conversations.c:3031:13: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/conversations.c:3030:35: note: Calling function 'conversation_setstatus' returns 0 cyrus-imapd-3.12.1/imap/conversations.c:3030:35: note: Assignment 'r=conversation_setstatus(state,to_name,&status)', assigned value is 0 cyrus-imapd-3.12.1/imap/conversations.c:3031:13: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/conversations.c:3039:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/conversations.c:3039:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/conversations.c:1838:44: style: Checking if unsigned expression 'thread->exists+delta_exists' is less than zero. [unsignedLessThanZero] cyrus-imapd-3.12.1/imap/conversations.c:244:38: style:inconclusive: Function 'conversation_folder_number' argument 2 names different: declaration 'name' definition 'folder'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/conversations.h:248:51: note: Function 'conversation_folder_number' argument 2 names different: declaration 'name' definition 'folder'. cyrus-imapd-3.12.1/imap/conversations.c:244:38: note: Function 'conversation_folder_number' argument 2 names different: declaration 'name' definition 'folder'. cyrus-imapd-3.12.1/imap/conversations.c:357:50: style:inconclusive: Function 'conversations_open_path' argument 1 names different: declaration 'path' definition 'fname'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/conversations.h:232:48: note: Function 'conversations_open_path' argument 1 names different: declaration 'path' definition 'fname'. cyrus-imapd-3.12.1/imap/conversations.c:357:50: note: Function 'conversations_open_path' argument 1 names different: declaration 'path' definition 'fname'. cyrus-imapd-3.12.1/imap/conversations.c:454:50: style:inconclusive: Function 'conversations_open_user' argument 1 names different: declaration 'username' definition 'userid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/conversations.h:234:48: note: Function 'conversations_open_user' argument 1 names different: declaration 'username' definition 'userid'. cyrus-imapd-3.12.1/imap/conversations.c:454:50: note: Function 'conversations_open_user' argument 1 names different: declaration 'username' definition 'userid'. cyrus-imapd-3.12.1/imap/conversations.c:477:73: style:inconclusive: Function 'conversations_get_path' argument 1 names different: declaration 'path' definition 'fname'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/conversations.h:238:71: note: Function 'conversations_get_path' argument 1 names different: declaration 'path' definition 'fname'. cyrus-imapd-3.12.1/imap/conversations.c:477:73: note: Function 'conversations_get_path' argument 1 names different: declaration 'path' definition 'fname'. cyrus-imapd-3.12.1/imap/conversations.c:574:63: style:inconclusive: Function 'conversations_abort' argument 1 names different: declaration 'state' definition 'statep'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/conversations.h:252:61: note: Function 'conversations_abort' argument 1 names different: declaration 'state' definition 'statep'. cyrus-imapd-3.12.1/imap/conversations.c:574:63: note: Function 'conversations_abort' argument 1 names different: declaration 'state' definition 'statep'. cyrus-imapd-3.12.1/imap/conversations.c:597:64: style:inconclusive: Function 'conversations_commit' argument 1 names different: declaration 'state' definition 'statep'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/conversations.h:253:62: note: Function 'conversations_commit' argument 1 names different: declaration 'state' definition 'statep'. cyrus-imapd-3.12.1/imap/conversations.c:597:64: note: Function 'conversations_commit' argument 1 names different: declaration 'state' definition 'statep'. cyrus-imapd-3.12.1/imap/conversations.c:1557:39: style:inconclusive: Function 'conversation_load_advanced' argument 3 names different: declaration 'convp' definition 'conv'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/conversations.h:314:55: note: Function 'conversation_load_advanced' argument 3 names different: declaration 'convp' definition 'conv'. cyrus-imapd-3.12.1/imap/conversations.c:1557:39: note: Function 'conversation_load_advanced' argument 3 names different: declaration 'convp' definition 'conv'. cyrus-imapd-3.12.1/imap/conversations.c:2158:47: style:inconclusive: Function 'conversations_guid_foreach' argument 4 names different: declaration 'rock' definition 'cbrock'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/conversations.h:271:45: note: Function 'conversations_guid_foreach' argument 4 names different: declaration 'rock' definition 'cbrock'. cyrus-imapd-3.12.1/imap/conversations.c:2158:47: note: Function 'conversations_guid_foreach' argument 4 names different: declaration 'rock' definition 'cbrock'. cyrus-imapd-3.12.1/imap/conversations.c:2166:52: style:inconclusive: Function 'conversations_iterate_searchset' argument 5 names different: declaration 'rock' definition 'cbrock'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/conversations.h:275:50: note: Function 'conversations_iterate_searchset' argument 5 names different: declaration 'rock' definition 'cbrock'. cyrus-imapd-3.12.1/imap/conversations.c:2166:52: note: Function 'conversations_iterate_searchset' argument 5 names different: declaration 'rock' definition 'cbrock'. cyrus-imapd-3.12.1/imap/conversations.c:2437:63: style:inconclusive: Function 'conversations_update_record' argument 4 names different: declaration 'new_' definition 'new'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/conversations.h:331:61: note: Function 'conversations_update_record' argument 4 names different: declaration 'new_' definition 'new'. cyrus-imapd-3.12.1/imap/conversations.c:2437:63: note: Function 'conversations_update_record' argument 4 names different: declaration 'new_' definition 'new'. cyrus-imapd-3.12.1/imap/conversations.c:137:43: style: Parameter 'mbname' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/conversations.c:510:54: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/conversations.c:1203:20: style: Variable 'cachestatus' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/conversations.c:2388:33: style: Variable 'cstate' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/conversations.c:2658:51: style: Parameter 'delta_counts' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/conversations.c:2029:44: portability: 'frock->filterdata' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/imap/conversations.c:2188:36: portability: 'data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/imap/conversations.c:1626:7: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/convert_code.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_IOERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:102:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:120:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:157:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:221:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:239:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:324:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_CONVERSATIONS_NOT_OPEN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:584:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:723:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:782:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:888:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:1016:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hashu64_table [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:1115:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:1136:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:531:17: style: Condition 'rb' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:521:13: note: Assuming that condition 'rb' is not redundant cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:531:17: note: Condition 'rb' is always false cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:597:17: style: Condition 'rb' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:574:13: note: Assuming that condition 'rb' is not redundant cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:597:17: note: Condition 'rb' is always false cyrus-imapd-3.12.1/imap/ctl_conversationsdb.c:1026:41: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/ctl_cyrusdb.c:118:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_cyrusdb.c:135:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_cyrusdb.c:228:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_REVERSEACLS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_cyrusdb.c:238:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_MBOXLIST_DB_PATH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_cyrusdb.c:280:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_cyrusdb.c:295:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_cyrusdb.c:231:44: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/ctl_cyrusdb.c:288:26: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/ctl_cyrusdb.c:291:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/ctl_deliver.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_deliver.c:126:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_deliver.c:70:26: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/ctl_deliver.c:74:11: style: Variable 'alt_file' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/ctl_mboxlist.c:698:51: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:109:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:341:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:361:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:387:17: warning: Either the condition '(llen=readlink(path,link,sizeof(link)))<0' is redundant or the array 'link[1024]' is accessed at index -4, which is out of bounds. [negativeIndex] cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:386:61: note: Assuming that condition '(llen=readlink(path,link,sizeof(link)))<0' is not redundant cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:387:17: note: Negative array index cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:349:29: style:inconclusive: Function 'do_zonedir' argument 1 names different: declaration 'prefix' definition 'dir'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:81:29: note: Function 'do_zonedir' argument 1 names different: declaration 'prefix' definition 'dir'. cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:349:29: note: Function 'do_zonedir' argument 1 names different: declaration 'prefix' definition 'dir'. cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:89:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/ctl_zoneinfo.c:353:20: style: Variable 'dirent' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cvt_cyrusdb.c:91:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cvt_cyrusdb.c:70:26: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/cvt_cyrusdb.c:76:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cvt_xlist_specialuse.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cvt_xlist_specialuse.c:88:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cvt_xlist_specialuse.c:146:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cvt_xlist_specialuse.c:165:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cvt_xlist_specialuse.c:149:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/cyr_buildinfo.c:78:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_buildinfo.c:305:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XAPIAN_CJK_TOKENS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_buildinfo.c:371:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_OBJECT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_buildinfo.c:391:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_PRESERVE_ORDER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_buildinfo.c:406:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_buildinfo.c:401:26: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/cyr_dbtool.c:86:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_dbtool.c:118:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_dbtool.c:147:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_dbtool.c:294:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_dbtool.c:267:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyr_dbtool.c:155:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/cyr_deny.c:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_deny.c:168:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ALERT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_deny.c:206:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_deny.c:79:27: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'list_one' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/cyr_deny.c:276:28: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/cyr_deny.c:79:27: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/cyr_df.c:84:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_df.c:111:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_df.c:64:26: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/cyr_df.c:67:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyr_expire.c:175:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:216:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:278:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:293:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:319:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:480:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:659:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:703:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:733:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS_EXPIRE_AFTER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:767:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DELETEDPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:850:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:949:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_expire.c:645:27: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/cyr_expire.c:814:39: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/cyr_expire.c:362:39: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] cyrus-imapd-3.12.1/imap/cyr_expire.c:251:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/cyr_info.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_info.c:136:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_info.c:238:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_info.c:320:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_info.c:407:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SYNC_LOG_CHANNELS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_info.c:431:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_info.c:488:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_info.c:348:26: style: Condition 'known_saslkey(key+5)' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/cyr_info.c:348:26: note: Calling function 'known_saslkey' returns 1 cyrus-imapd-3.12.1/imap/cyr_info.c:348:26: note: Condition 'known_saslkey(key+5)' is always true cyrus-imapd-3.12.1/imap/cyr_info.c:358:34: style: Condition 'known_saslkey(key+svc->prefixlen+5)' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/cyr_info.c:358:34: note: Calling function 'known_saslkey' returns 1 cyrus-imapd-3.12.1/imap/cyr_info.c:358:34: note: Condition 'known_saslkey(key+svc->prefixlen+5)' is always true cyrus-imapd-3.12.1/imap/cyr_info.c:393:5: warning: If memory allocation fails, then there is a possible null pointer dereference: knew [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/cyr_info.c:392:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/cyr_info.c:392:40: note: Assignment 'knew=xmalloc(sizeof(struct service_item))', assigned value is 0 cyrus-imapd-3.12.1/imap/cyr_info.c:393:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/cyr_info.c:394:5: warning: If memory allocation fails, then there is a possible null pointer dereference: knew [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/cyr_info.c:392:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/cyr_info.c:392:40: note: Assignment 'knew=xmalloc(sizeof(struct service_item))', assigned value is 0 cyrus-imapd-3.12.1/imap/cyr_info.c:394:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/cyr_info.c:394:30: warning: If memory allocation fails, then there is a possible null pointer dereference: knew [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/cyr_info.c:392:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/cyr_info.c:392:40: note: Assignment 'knew=xmalloc(sizeof(struct service_item))', assigned value is 0 cyrus-imapd-3.12.1/imap/cyr_info.c:394:30: note: Null pointer dereference cyrus-imapd-3.12.1/imap/cyr_info.c:395:5: warning: If memory allocation fails, then there is a possible null pointer dereference: knew [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/cyr_info.c:392:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/cyr_info.c:392:40: note: Assignment 'knew=xmalloc(sizeof(struct service_item))', assigned value is 0 cyrus-imapd-3.12.1/imap/cyr_info.c:395:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/cyr_info.c:100:33: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'print_procinfo' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/cyr_info.c:112:18: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/cyr_info.c:100:33: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/cyr_info.c:116:33: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'print_overflow' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/cyr_info.c:228:34: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/cyr_info.c:116:33: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/cyr_info.c:464:26: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/cyr_ls.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_ls.c:130:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_NONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_ls.c:187:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIuMAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_ls.c:288:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_ls.c:378:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_ls.c:177:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cyrus-imapd-3.12.1/imap/cyr_ls.c:178:11: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] cyrus-imapd-3.12.1/imap/cyr_ls.c:182:36: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/imap/cyr_ls.c:334:27: style: Local variable 'mbname' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/cyr_ls.c:284:31: note: Shadowed declaration cyrus-imapd-3.12.1/imap/cyr_ls.c:334:27: note: Shadow variable cyrus-imapd-3.12.1/imap/cyr_ls.c:169:36: style: Parameter 'statp' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/cyr_ls.c:171:19: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyr_ls.c:172:20: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyr_ls.c:351:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyr_pwd.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_pwd.c:93:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_pwd.c:78:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyr_synclog.c:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_synclog.c:113:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_synclog.c:85:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyr_userseen.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_userseen.c:114:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_userseen.c:95:26: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/cyr_userseen.c:98:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:279:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:507:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:585:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_VIRUSSCAN_NOTIFICATION_TEMPLATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:614:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:685:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC5322_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:726:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:534:28: style:inconclusive: Function 'virus_check' argument 3 names different: declaration 'rock' definition 'deciderock'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:256:28: note: Function 'virus_check' argument 3 names different: declaration 'rock' definition 'deciderock'. cyrus-imapd-3.12.1/imap/cyr_virusscan.c:534:28: note: Function 'virus_check' argument 3 names different: declaration 'rock' definition 'deciderock'. cyrus-imapd-3.12.1/imap/cyr_virusscan.c:276:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:398:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:421:34: style: Parameter 'data' can be declared as pointer to const. However it seems that 'scan_me' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/cyr_virusscan.c:377:53: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/cyr_virusscan.c:421:34: note: Parameter 'data' can be declared as pointer to const cyrus-imapd-3.12.1/imap/cyr_withlock_run.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_withlock_run.c:104:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyr_withlock_run.c:87:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyr_withlock_run.c:88:11: style: Variable 'userid' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyrdump.c:108:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyrdump.c:142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyrdump.c:207:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imapurl [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/cyrdump.c:273:30: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] cyrus-imapd-3.12.1/imap/cyrdump.c:214:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/cyrdump.c:291:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/cyrdump.c:85:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyrdump.c:170:41: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dump_me' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/cyrdump.c:131:53: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/cyrdump.c:170:41: note: Parameter 'data' can be declared as pointer to const cyrus-imapd-3.12.1/imap/cyrdump.c:175:32: style: Variable 'irec' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyrdump.c:270:27: style: Variable 'im' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/cyrdump.c:314:33: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/dav_db.c:341:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_db.c:354:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_db.c:366:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_db.c:377:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_db.c:469:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_filename [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_db.c:479:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_db.c:592:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_db.c:318:62: style: Parameter 'mailbox' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/dav_reconstruct.c:116:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_reconstruct.c:167:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_reconstruct.c:97:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/dav_util.c:89:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_util.c:115:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_CREATED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/dav_util.c:68:64: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/defaultalarms.c:43:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_XROOT_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:122:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:203:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:252:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:308:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:340:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:360:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:376:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_RELATEDTO_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:403:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:565:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VTODO_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:611:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:726:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/defaultalarms.c:804:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/defaultalarms.c:764:7: note: r is assigned cyrus-imapd-3.12.1/imap/defaultalarms.c:804:7: note: r is overwritten cyrus-imapd-3.12.1/imap/defaultalarms.c:299:55: style:inconclusive: Function 'defaultalarms_load' argument 3 names different: declaration 'alarms' definition 'defalarms'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/defaultalarms.h:69:53: note: Function 'defaultalarms_load' argument 3 names different: declaration 'alarms' definition 'defalarms'. cyrus-imapd-3.12.1/imap/defaultalarms.c:299:55: note: Function 'defaultalarms_load' argument 3 names different: declaration 'alarms' definition 'defalarms'. cyrus-imapd-3.12.1/imap/defaultalarms.c:426:24: style: Local variable 'valarm' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/defaultalarms.c:406:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/defaultalarms.c:426:24: note: Shadow variable cyrus-imapd-3.12.1/imap/defaultalarms.c:861:19: style: Variable 'annotval' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/deliver.c:113:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/deliver.c:131:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_PROTOCOL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/deliver.c:192:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/deliver.c:295:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/deliver.c:313:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/deliver.c:337:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lmtp_rcpt [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/deliver.c:279:32: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cyrus-imapd-3.12.1/imap/deliver.c:399:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/deliver.c:392:7: note: r is assigned cyrus-imapd-3.12.1/imap/deliver.c:399:7: note: r is overwritten cyrus-imapd-3.12.1/imap/deliver.c:303:45: style:inconclusive: Function 'init_net' argument 1 names different: declaration 'sockaddr' definition 'unixpath'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/deliver.c:109:45: note: Function 'init_net' argument 1 names different: declaration 'sockaddr' definition 'unixpath'. cyrus-imapd-3.12.1/imap/deliver.c:303:45: note: Function 'init_net' argument 1 names different: declaration 'sockaddr' definition 'unixpath'. cyrus-imapd-3.12.1/imap/deliver.c:171:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/deliver.c:279:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/deliver.c:333:58: style: Parameter 'mailbox' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/dlist.c:112:59: error: There is an unknown macro here somewhere. Configuration is required. If MODSEQ_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/duplicate.c:96:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DUPLICATE_DB_PATH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/duplicate.c:124:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/duplicate.c:144:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/duplicate.c:165:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/duplicate.c:208:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/duplicate.c:217:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/duplicate.c:333:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_AGAIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/duplicate.c:343:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/duplicate.c:398:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BH_UPPER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/duplicate.c:431:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fetchnews.c:84:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_NEWSRC_DB_PATH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fetchnews.c:111:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fetchnews.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fetchnews.c:135:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fetchnews.c:175:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fetchnews.c:258:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fetchnews.c:432:17: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imapd-3.12.1/imap/fetchnews.c:539:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] cyrus-imapd-3.12.1/imap/fetchnews.c:572:21: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] cyrus-imapd-3.12.1/imap/fetchnews.c:289:33: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/fetchnews.c:288:29: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/fetchnews.c:288:29: note: Assignment 'server=xstrdup(optarg)', assigned value is 0 cyrus-imapd-3.12.1/imap/fetchnews.c:289:33: note: Null pointer dereference cyrus-imapd-3.12.1/imap/fetchnews.c:246:26: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/fud.c:125:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fud.c:160:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fud.c:183:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fud.c:210:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fud.c:242:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fud.c:368:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_USER0 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fud.c:484:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/fud.c:253:70: error: Memory leak: res0 [memleak] cyrus-imapd-3.12.1/imap/fud.c:453:29: style: Parameter 'sfrom' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/global.c:134:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DAEMON [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:194:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_debug [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:213:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PID [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:466:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:499:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:512:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_BUFSIZE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:571:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_virtdomains [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:636:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_BUFOVER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:671:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_virtdomains [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:696:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_ADMIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:716:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LOGINREALMS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:839:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:899:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SYSLOG_PREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:960:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:1031:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_CANCELLED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:1058:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_SSF_EXTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/global.c:176:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cm [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/global.c:175:38: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/global.c:175:38: note: Assignment 'cm=xmalloc(sizeof(struct cyrus_module))', assigned value is 0 cyrus-imapd-3.12.1/imap/global.c:176:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/global.c:177:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cm [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/global.c:175:38: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/global.c:175:38: note: Assignment 'cm=xmalloc(sizeof(struct cyrus_module))', assigned value is 0 cyrus-imapd-3.12.1/imap/global.c:177:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/global.c:629:29: style:inconclusive: Function 'mysasl_canon_user' argument 7 names different: declaration 'out_user' definition 'out'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/global.h:114:36: note: Function 'mysasl_canon_user' argument 7 names different: declaration 'out_user' definition 'out'. cyrus-imapd-3.12.1/imap/global.c:629:29: note: Function 'mysasl_canon_user' argument 7 names different: declaration 'out_user' definition 'out'. cyrus-imapd-3.12.1/imap/global.c:839:20: style: Local variable 'buf' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/global.c:830:34: note: Shadowed declaration cyrus-imapd-3.12.1/imap/global.c:839:20: note: Shadow variable cyrus-imapd-3.12.1/imap/global.c:215:11: style: Variable 'ident_buf' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/global.c:719:11: style: Variable 'realm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/haproxy.c:57:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/haproxy.c:117:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] cyrus-imapd-3.12.1/imap/haproxy.c:29:21: style: struct member 'Anonymous2::sig' is never used. [unusedStructMember] cyrus-imapd-3.12.1/imap/haproxy.c:49:19: style: union member 'Anonymous3::unx' is never used. [unusedStructMember] cyrus-imapd-3.12.1/imap/haproxy.c:47:29: style: struct member 'Anonymous6::src_addr' is never used. [unusedStructMember] cyrus-imapd-3.12.1/imap/haproxy.c:48:29: style: struct member 'Anonymous6::dst_addr' is never used. [unusedStructMember] cyrus-imapd-3.12.1/imap/http_admin.c:260:42: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/http_applepush.c:95:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_APS_TOPIC_CALDAV [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_applepush.c:102:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BAD_REQUEST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_applepush.c:230:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOT_FOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_applepush.c:283:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOT_FOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_applepush.c:105:41: style: Local variable 'mailbox_uniqueid' shadows outer function [shadowFunction] cyrus-imapd-3.12.1/imap/mailbox.h:593:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/http_applepush.c:105:41: note: Shadow variable cyrus-imapd-3.12.1/imap/http_caldav.c:1736:49: error: There is an unknown macro here somewhere. Configuration is required. If MODSEQ_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/http_caldav_sched.c:401:57: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/http_carddav.c:1174:42: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/http_cgi.c:108:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_ENUM_HTTPMODULES_CGI [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_cgi.c:126:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_cgi.c:172:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_HTTPDOCROOT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_cgi.c:106:34: style: Parameter 'serverinfo' can be declared as pointer to const. However it seems that 'cgi_init' is a callback function, if 'serverinfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/http_cgi.c:78:5: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/http_cgi.c:106:34: note: Parameter 'serverinfo' can be declared as pointer to const cyrus-imapd-3.12.1/imap/http_cgi.c:177:15: style: Variable 'token' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_client.c:101:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_MAXMESSAGESIZE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_client.c:204:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_client.c:249:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_BUFSIZE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_client.c:437:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BAD_GATEWAY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_client.c:495:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_msgs [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_client.c:540:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_client.c:126:19: style: Variable 'token' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_client.c:460:15: style: Variable 'token' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_client.c:231:45: style: Variable 'c' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/http_client.c:383:23: style: Variable 'hdr' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/http_dav.c:7648:34: error: There is an unknown macro here somewhere. Configuration is required. If MODSEQ_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/http_dav_sharing.c:858:34: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/http_dblookup.c:98:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NO_CONTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_dblookup.c:136:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NO_CONTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_dblookup.c:191:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NO_CONTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_dblookup.c:249:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NO_CONTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_dblookup.c:313:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BAD_REQUEST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_h2.c:1034:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_h2.c:1039:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_h2.c:1032:56: style:inconclusive: Function 'http2_start_session' argument 2 names different: declaration 'conn' definition 'c'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/http_h2.h:64:56: note: Function 'http2_start_session' argument 2 names different: declaration 'conn' definition 'c'. cyrus-imapd-3.12.1/imap/http_h2.c:1032:56: note: Function 'http2_start_session' argument 2 names different: declaration 'conn' definition 'c'. cyrus-imapd-3.12.1/imap/http_h2.c:1016:47: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/http_h2.c:1017:36: style: Parameter 'serverinfo' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/http_h2.c:1022:38: style: Parameter 'altsvc' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/http_h2.c:1026:50: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/http_ischedule.c:228:42: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/http_jmap.c:1577:37: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/http_jwt.c:630:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_prometheus.c:100:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_PROMETHEUS_NEED_AUTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_prometheus.c:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_httpmodules [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_prometheus.c:134:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:103:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_CB_LIST_END [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:137:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:498:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_VERSION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:530:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_mupdate_server [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:566:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_serverinfo [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:721:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_BUFSIZE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:881:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:1032:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_VERSION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:1306:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_VERSION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:1384:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_NO_FD [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_proxy.c:518:35: style: Parameter 's' can be declared as pointer to const. However it seems that 'logout' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/http_proxy.c:92:31: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/http_proxy.c:518:35: note: Parameter 's' can be declared as pointer to const cyrus-imapd-3.12.1/imap/http_proxy.c:747:15: style: Variable 'c' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_proxy.c:825:68: style: Parameter 'resp_body' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/http_proxy.c:1395:32: style: Variable 'pout' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_rss.c:617:31: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/http_tzdist.c:596:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:630:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:772:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIME_T_FMT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:920:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_SERVER_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:1016:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC3339_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:1062:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_SERVER_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:1254:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TZ_INVALID_START [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:1439:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TZ_INVALID_START [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:1642:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_PRESERVE_ORDER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:1693:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BAD_REQUEST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:1816:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_RRULE_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:1936:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_tzdist.c:743:46: style: Condition '++levels' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/http_tzdist.c:621:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: leap [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/http_tzdist.c:618:27: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/http_tzdist.c:618:27: note: Assignment 'leap=xmalloc(sizeof(struct leapsec))', assigned value is 0 cyrus-imapd-3.12.1/imap/http_tzdist.c:621:13: note: Null pointer dereference cyrus-imapd-3.12.1/imap/http_tzdist.c:2203:56: style:inconclusive: Function 'icaltimezone_as_tzif' argument 1 names different: declaration 'comp' definition 'ical'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/http_tzdist.c:101:56: note: Function 'icaltimezone_as_tzif' argument 1 names different: declaration 'comp' definition 'ical'. cyrus-imapd-3.12.1/imap/http_tzdist.c:2203:56: note: Function 'icaltimezone_as_tzif' argument 1 names different: declaration 'comp' definition 'ical'. cyrus-imapd-3.12.1/imap/http_tzdist.c:2208:61: style:inconclusive: Function 'icaltimezone_as_tzif_leap' argument 1 names different: declaration 'comp' definition 'ical'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/http_tzdist.c:102:61: note: Function 'icaltimezone_as_tzif_leap' argument 1 names different: declaration 'comp' definition 'ical'. cyrus-imapd-3.12.1/imap/http_tzdist.c:2208:61: note: Function 'icaltimezone_as_tzif_leap' argument 1 names different: declaration 'comp' definition 'ical'. cyrus-imapd-3.12.1/imap/http_tzdist.c:986:21: style: Local variable 'leap' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/http_tzdist.c:917:27: note: Shadowed declaration cyrus-imapd-3.12.1/imap/http_tzdist.c:986:21: note: Shadow variable cyrus-imapd-3.12.1/imap/http_tzdist.c:1309:16: style: Local variable 'msg_size' shadows outer function [shadowFunction] cyrus-imapd-3.12.1/imap/message.h:380:17: note: Shadowed declaration cyrus-imapd-3.12.1/imap/http_tzdist.c:1309:16: note: Shadow variable cyrus-imapd-3.12.1/imap/http_tzdist.c:1515:16: style: Local variable 'msg_size' shadows outer function [shadowFunction] cyrus-imapd-3.12.1/imap/message.h:380:17: note: Shadowed declaration cyrus-imapd-3.12.1/imap/http_tzdist.c:1515:16: note: Shadow variable cyrus-imapd-3.12.1/imap/http_tzdist.c:2049:29: style: Local variable 'endp' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/http_tzdist.c:1916:78: note: Shadowed declaration cyrus-imapd-3.12.1/imap/http_tzdist.c:2049:29: note: Shadow variable cyrus-imapd-3.12.1/imap/http_tzdist.c:562:41: style: Parameter 'serverinfo' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/http_tzdist.c:572:56: style: Parameter 'txn' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/http_tzdist.c:1644:11: style: Variable 'json' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_tzdist.c:1691:48: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/http_tzdist.c:1840:16: style: Variable 'by_year_day' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_tzdist.c:1866:20: style: Variable 'by_month' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_tzdist.c:1867:20: style: Variable 'by_month_day' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_tzdist.c:1939:21: style: Variable 'leap' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_tzdist.c:1940:35: style: Variable 'leap_sec' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/http_webdav.c:297:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_ENUM_HTTPMODULES_WEBDAV [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_webdav.c:314:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_PROXYSERVERS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_webdav.c:441:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FORBIDDEN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_webdav.c:587:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_CONTINUE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_webdav.c:655:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FORBIDDEN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_webdav.c:730:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_webdav.c:645:29: style:inconclusive: Function 'webdav_put' argument 5 names different: declaration 'davdb' definition 'destdb'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/http_webdav.c:80:29: note: Function 'webdav_put' argument 5 names different: declaration 'davdb' definition 'destdb'. cyrus-imapd-3.12.1/imap/http_webdav.c:645:29: note: Function 'webdav_put' argument 5 names different: declaration 'davdb' definition 'destdb'. cyrus-imapd-3.12.1/imap/http_webdav.c:351:23: style: Local variable 'mbentry' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/http_webdav.c:337:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/http_webdav.c:351:23: note: Shadow variable cyrus-imapd-3.12.1/imap/http_webdav.c:575:44: style: Parameter 'record' can be declared as pointer to const. However it seems that 'webdav_get' is a callback function, if 'record' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/http_webdav.c:249:6: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/http_webdav.c:575:44: note: Parameter 'record' can be declared as pointer to const cyrus-imapd-3.12.1/imap/http_webdav.c:594:21: style: Variable 'action' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/http_ws.c:1027:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_ws.c:1036:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_ws.c:1042:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/http_ws.c:1024:41: style:inconclusive: Function 'ws_start_channel' argument 2 names different: declaration 'sub_prot' definition 'protocol'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/http_ws.h:72:41: note: Function 'ws_start_channel' argument 2 names different: declaration 'sub_prot' definition 'protocol'. cyrus-imapd-3.12.1/imap/http_ws.c:1024:41: note: Function 'ws_start_channel' argument 2 names different: declaration 'sub_prot' definition 'protocol'. cyrus-imapd-3.12.1/imap/http_ws.c:1017:44: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/http_ws.c:1018:32: style: Parameter 'serverinfo' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/http_ws.c:1030:52: style: Parameter 'txn' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/httpd.c:4088:31: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/ical_apply_patch.c:39:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idle.c:80:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idle.c:120:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idle.c:138:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_IMAPIDLEPOLL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idle.c:170:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_IMAPIDLEPOLL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idle.c:204:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idled.c:110:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idled.c:156:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idled.c:265:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idled.c:400:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idled.c:243:13: portability: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'mailbox_filter_t {aka signed int}'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/imap/idled.c:281:13: portability: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'mailbox_filter_t {aka signed int}'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/imap/idled.c:307:13: portability: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'mailbox_filter_t {aka signed int}'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/imap/idled.c:124:25: style: Variable 'client' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/idled.c:149:25: style: Variable 'client' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/idled.c:387:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/idled.c:395:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/idlemsg.c:78:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idlemsg.c:94:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idlemsg.c:153:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idlemsg.c:180:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_SERVER_UNAVAILABLE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/idlemsg.c:223:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imap_proxy.c:1013:39: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/imapd.c:4253:56: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/imapparse.c:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:102:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LITERALMINUS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:286:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:318:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:410:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:529:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:542:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:642:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_LITERAL_TOO_LARGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:729:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_ARGS_TOO_LARGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:782:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:848:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_KEEPCASE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/imapparse.c:941:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/index.c:846:52: error: There is an unknown macro here somewhere. Configuration is required. If MODSEQ_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/ipurge.c:134:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ipurge.c:264:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/ipurge.c:315:35: style:inconclusive: Function 'purge_check' argument 3 names different: declaration 'rock' definition 'deciderock'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/ipurge.c:96:35: note: Function 'purge_check' argument 3 names different: declaration 'rock' definition 'deciderock'. cyrus-imapd-3.12.1/imap/ipurge.c:315:35: note: Function 'purge_check' argument 3 names different: declaration 'rock' definition 'deciderock'. cyrus-imapd-3.12.1/imap/ipurge.c:104:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/ipurge.c:277:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'purge_findall' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/ipurge.c:216:57: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/ipurge.c:277:47: note: Parameter 'data' can be declared as pointer to const cyrus-imapd-3.12.1/imap/ipurge.c:412:39: style: Parameter 'stats' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/itip_support.c:103:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_SCHEDULEAGENT_SERVER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:116:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ORGANIZER_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:131:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_PARTSTAT_NEEDSACTION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:168:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_TRIM [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:196:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:334:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_TZID_PARAMETER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:365:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ANY_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:428:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_PARTSTAT_NONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:641:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_NO_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:901:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_NO_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:981:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_NO_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:1039:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VALARM_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:1093:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/itip_support.c:479:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/itip_support.c:1368:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/itip_support.c:1091:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/itip_support.c:1368:17: note: Shadow variable cyrus-imapd-3.12.1/imap/itip_support.c:1544:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/jcal.c:131:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_UNKNOWN_STATUS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jcal.c:266:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jcal.c:326:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ANY_PARAMETER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jcal.c:412:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ANY_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jcal.c:442:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_PRESERVE_ORDER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jcal.c:513:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jcal.c:669:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jcal.c:778:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jcal.c:849:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jcal.c:869:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_PRESERVE_ORDER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jcal.c:438:57: style:inconclusive: Function 'icalcomponent_as_jcal_string' argument 1 names different: declaration 'comp' definition 'ical'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jcal.h:51:64: note: Function 'icalcomponent_as_jcal_string' argument 1 names different: declaration 'comp' definition 'ical'. cyrus-imapd-3.12.1/imap/jcal.c:438:57: note: Function 'icalcomponent_as_jcal_string' argument 1 names different: declaration 'comp' definition 'ical'. cyrus-imapd-3.12.1/imap/jmap_admin.c:92:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_NONSTANDARD_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_admin.c:124:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bitvector [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_admin.c:157:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NO_CONTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_admin.c:173:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_admin.c:430:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CALENDARPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_admin.c:464:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_admin.c:137:60: style: Parameter 'sched_addrs' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_api.c:230:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:259:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JMAP_NOT_REQUEST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:335:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BAD_REQUEST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:500:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:548:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:622:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:915:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:967:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:1080:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:1107:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:1161:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:1332:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:1452:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:1558:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:1836:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable args_parse [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:1951:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable args_parse [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2034:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2239:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_OBJECT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2306:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2341:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter_cb [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2458:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSIZE_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2510:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter_cb [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2657:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable args_parse [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2765:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_INSERT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2817:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_MODE_SET [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2869:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_USER9 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2891:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_INSERT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2907:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:2940:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:3096:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:3154:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_RESERVED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:3176:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:3289:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:3319:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_api.c:433:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mbstate [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_api.c:432:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_api.c:432:22: note: Assignment 'mbstate=xmalloc(sizeof(struct mbstate))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_api.c:433:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_api.c:977:9: warning: If memory allocation fails, then there is a possible null pointer dereference: userpat [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_api.c:976:26: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_api.c:976:26: note: Assignment 'userpat=xstrdup("user.*")', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_api.c:977:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_api.c:3101:22: warning:inconclusive: Possible null pointer dereference: field [nullPointer] cyrus-imapd-3.12.1/imap/jmap_api.c:3097:25: note: Assignment 'field=NULL', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_api.c:3101:22: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_api.c:3361:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mboxid [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_api.c:3355:29: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_api.c:3355:29: note: Assignment 'mboxid=xstrdup("")', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_api.c:3361:10: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_api.c:1615:39: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_api.c:1656:41: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_api.c:1665:45: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_api.c:125:38: style:inconclusive: Function 'extract_value' argument 1 names different: declaration 'from' definition 'val'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.c:75:38: note: Function 'extract_value' argument 1 names different: declaration 'from' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:125:38: note: Function 'extract_value' argument 1 names different: declaration 'from' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:125:73: style:inconclusive: Function 'extract_value' argument 3 names different: declaration 'refs' definition 'pool'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.c:75:74: note: Function 'extract_value' argument 3 names different: declaration 'refs' definition 'pool'. cyrus-imapd-3.12.1/imap/jmap_api.c:125:73: note: Function 'extract_value' argument 3 names different: declaration 'refs' definition 'pool'. cyrus-imapd-3.12.1/imap/jmap_api.c:1264:55: style:inconclusive: Function 'jmap_findblob' argument 2 names different: declaration 'accountid' definition 'from_accountid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:311:55: note: Function 'jmap_findblob' argument 2 names different: declaration 'accountid' definition 'from_accountid'. cyrus-imapd-3.12.1/imap/jmap_api.c:1264:55: note: Function 'jmap_findblob' argument 2 names different: declaration 'accountid' definition 'from_accountid'. cyrus-imapd-3.12.1/imap/jmap_api.c:1275:61: style:inconclusive: Function 'jmap_findblob_exact' argument 2 names different: declaration 'accountid' definition 'from_accountid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:316:61: note: Function 'jmap_findblob_exact' argument 2 names different: declaration 'accountid' definition 'from_accountid'. cyrus-imapd-3.12.1/imap/jmap_api.c:1275:61: note: Function 'jmap_findblob_exact' argument 2 names different: declaration 'accountid' definition 'from_accountid'. cyrus-imapd-3.12.1/imap/jmap_api.c:1530:47: style:inconclusive: Function 'jmap_get_parse' argument 7 names different: declaration 'get' definition 'arg'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:376:45: note: Function 'jmap_get_parse' argument 7 names different: declaration 'get' definition 'arg'. cyrus-imapd-3.12.1/imap/jmap_api.c:1530:47: note: Function 'jmap_get_parse' argument 7 names different: declaration 'get' definition 'arg'. cyrus-imapd-3.12.1/imap/jmap_api.c:1530:47: style:inconclusive: Function 'jmap_get_parse' argument 8 names different: declaration 'err' definition 'val'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:377:37: note: Function 'jmap_get_parse' argument 8 names different: declaration 'err' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:1530:47: note: Function 'jmap_get_parse' argument 8 names different: declaration 'err' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:1754:47: style:inconclusive: Function 'jmap_set_parse' argument 6 names different: declaration 'set' definition 'arg'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:406:45: note: Function 'jmap_set_parse' argument 6 names different: declaration 'set' definition 'arg'. cyrus-imapd-3.12.1/imap/jmap_api.c:1754:47: note: Function 'jmap_set_parse' argument 6 names different: declaration 'set' definition 'arg'. cyrus-imapd-3.12.1/imap/jmap_api.c:1754:47: style:inconclusive: Function 'jmap_set_parse' argument 7 names different: declaration 'err' definition 'val'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:406:59: note: Function 'jmap_set_parse' argument 7 names different: declaration 'err' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:1754:47: note: Function 'jmap_set_parse' argument 7 names different: declaration 'err' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:1914:51: style:inconclusive: Function 'jmap_changes_parse' argument 6 names different: declaration 'changes' definition 'arg'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:431:53: note: Function 'jmap_changes_parse' argument 6 names different: declaration 'changes' definition 'arg'. cyrus-imapd-3.12.1/imap/jmap_api.c:1914:51: note: Function 'jmap_changes_parse' argument 6 names different: declaration 'changes' definition 'arg'. cyrus-imapd-3.12.1/imap/jmap_api.c:1914:51: style:inconclusive: Function 'jmap_changes_parse' argument 7 names different: declaration 'err' definition 'val'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:431:71: note: Function 'jmap_changes_parse' argument 7 names different: declaration 'err' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:1914:51: note: Function 'jmap_changes_parse' argument 7 names different: declaration 'err' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:1999:48: style:inconclusive: Function 'jmap_copy_parse' argument 5 names different: declaration 'copy' definition 'arg'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:457:47: note: Function 'jmap_copy_parse' argument 5 names different: declaration 'copy' definition 'arg'. cyrus-imapd-3.12.1/imap/jmap_api.c:1999:48: note: Function 'jmap_copy_parse' argument 5 names different: declaration 'copy' definition 'arg'. cyrus-imapd-3.12.1/imap/jmap_api.c:1999:48: style:inconclusive: Function 'jmap_copy_parse' argument 6 names different: declaration 'err' definition 'val'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:457:62: note: Function 'jmap_copy_parse' argument 6 names different: declaration 'err' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:1999:48: note: Function 'jmap_copy_parse' argument 6 names different: declaration 'err' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:2228:43: warning: Function 'jmap_filter_parse' argument order different: declaration 'req, parser, filter, unsupported, , cond_rock, err, , , ' definition 'req, parser, filter, unsupported, req, parser, filter, unsupported, rock, err' [funcArgOrderDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:511:43: note: Function 'jmap_filter_parse' argument order different: declaration 'req, parser, filter, unsupported, , cond_rock, err, , , ' definition 'req, parser, filter, unsupported, req, parser, filter, unsupported, rock, err' cyrus-imapd-3.12.1/imap/jmap_api.c:2228:43: note: Function 'jmap_filter_parse' argument order different: declaration 'req, parser, filter, unsupported, , cond_rock, err, , , ' definition 'req, parser, filter, unsupported, req, parser, filter, unsupported, rock, err' cyrus-imapd-3.12.1/imap/jmap_api.c:2268:47: warning: Function 'jmap_comparator_parse' argument order different: declaration 'req, parser, jsort, unsupported, , comp_rock, err, ' definition 'req, parser, jsort, unsupported, req, comp, rock, err' [funcArgOrderDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:525:47: note: Function 'jmap_comparator_parse' argument order different: declaration 'req, parser, jsort, unsupported, , comp_rock, err, ' definition 'req, parser, jsort, unsupported, req, comp, rock, err' cyrus-imapd-3.12.1/imap/jmap_api.c:2268:47: note: Function 'jmap_comparator_parse' argument order different: declaration 'req, parser, jsort, unsupported, , comp_rock, err, ' definition 'req, parser, jsort, unsupported, req, comp, rock, err' cyrus-imapd-3.12.1/imap/jmap_api.c:2314:49: style:inconclusive: Function 'jmap_query_parse' argument 6 names different: declaration 'filter_rock' definition 'val'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:532:68: note: Function 'jmap_query_parse' argument 6 names different: declaration 'filter_rock' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:2314:49: note: Function 'jmap_query_parse' argument 6 names different: declaration 'filter_rock' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:2482:56: style:inconclusive: Function 'jmap_querychanges_parse' argument 6 names different: declaration 'filter_rock' definition 'val'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:562:75: note: Function 'jmap_querychanges_parse' argument 6 names different: declaration 'filter_rock' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:2482:56: note: Function 'jmap_querychanges_parse' argument 6 names different: declaration 'filter_rock' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:2632:49: style:inconclusive: Function 'jmap_parse_parse' argument 5 names different: declaration 'parse' definition 'arg'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:586:53: note: Function 'jmap_parse_parse' argument 5 names different: declaration 'parse' definition 'arg'. cyrus-imapd-3.12.1/imap/jmap_api.c:2632:49: note: Function 'jmap_parse_parse' argument 5 names different: declaration 'parse' definition 'arg'. cyrus-imapd-3.12.1/imap/jmap_api.c:2632:49: style:inconclusive: Function 'jmap_parse_parse' argument 6 names different: declaration 'err' definition 'val'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_api.h:587:43: note: Function 'jmap_parse_parse' argument 6 names different: declaration 'err' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:2632:49: note: Function 'jmap_parse_parse' argument 6 names different: declaration 'err' definition 'val'. cyrus-imapd-3.12.1/imap/jmap_api.c:239:17: style: Local variable 'ref' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_api.c:175:13: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:239:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:829:13: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_api.c:618:12: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:829:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:862:17: style: Local variable 'jcreatedIds' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_api.c:652:13: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:862:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:1537:13: style: Local variable 'arg' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:1530:47: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:1537:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:1537:19: style: Local variable 'val' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:1530:47: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:1537:19: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:1770:13: style: Local variable 'arg' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:1754:47: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:1770:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:1770:19: style: Local variable 'val' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:1754:47: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:1770:19: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:1921:13: style: Local variable 'arg' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:1914:51: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:1921:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:2011:13: style: Local variable 'arg' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:1999:48: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:2011:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:2278:28: style: Local variable 'comp' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:2270:60: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:2278:28: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:2321:13: style: Local variable 'arg' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:2314:49: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:2321:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:2321:19: style: Local variable 'val' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:2314:49: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:2321:19: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:2490:13: style: Local variable 'arg' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:2482:56: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:2490:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:2490:19: style: Local variable 'val' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:2482:56: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:2490:19: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:2639:13: style: Local variable 'arg' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_api.c:2632:49: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_api.c:2639:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_api.c:461:21: style: Variable 'mbstate' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_api.c:932:49: style: Parameter 'data' can be declared as pointer to const. However it seems that 'findaccounts_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_api.c:984:52: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_api.c:932:49: note: Parameter 'data' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_api.c:1375:21: style: Variable 'mbstate' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_api.c:3260:77: style: Parameter 'dav' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_api.c:466:17: style: struct member 'capabilities_rock::authuserid' is never used. [unusedStructMember] cyrus-imapd-3.12.1/imap/jmap_api.c:2807:15: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/jmap_backup.c:383:42: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/jmap_blob.c:152:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_NONSTANDARD_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_blob.c:174:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_NONSTANDARD_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_blob.c:189:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_blob.c:300:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_blob.c:704:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_blob.c:980:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_EXISTS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_blob.c:1070:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_MAX_CATENATE_ITEMS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_blob.c:1127:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC3339_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_blob.c:980:21: style: Condition 'seen_one++' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_blob.c:969:20: note: Assignment 'seen_one=0', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_blob.c:980:21: note: Condition 'seen_one++' is always false cyrus-imapd-3.12.1/imap/jmap_blob.c:814:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/jmap_blob.c:820:17: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_blob.c:706:12: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_blob.c:820:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_blob.c:1131:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_blob.c:1096:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_blob.c:1131:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_blob.c:684:60: style: Parameter 'jscal' can be declared as pointer to const. However it seems that 'caleventid_cb' is a callback function, if 'jscal' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_blob.c:878:44: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_blob.c:684:60: note: Parameter 'jscal' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_blob.c:355:17: style: struct member 'getblob_cb_rock::req' is never used. [unusedStructMember] cyrus-imapd-3.12.1/imap/jmap_calendar.c:9850:16: error: There is an unknown macro here somewhere. Configuration is required. If QSORT_R_COMPAR_ARGS is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/jmap_contact.c:2982:44: error: There is an unknown macro here somewhere. Configuration is required. If QSORT_R_COMPAR_ARGS is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/jmap_core.c:105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_MAX_SIZE_UPLOAD [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_core.c:183:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_NONSTANDARD_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_core.c:467:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:138:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_RECURRENCEID_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:150:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VEVENT_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:264:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:301:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_BASE64 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:361:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:453:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:488:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_SERVER_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:537:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_WEBDAV_ATTACHMENTS_BASEURL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:589:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:602:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:625:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ANY_PARAMETER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:759:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_XLICCOMPARETYPE_EQUAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:767:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_X_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:784:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_X_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:806:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_X_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:822:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:831:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:839:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:856:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:878:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1039:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VTIMEZONE_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1380:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_DATETIME_VALUE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1536:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_TZID_PARAMETER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1579:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_DTSTART_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1604:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_DTEND_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1671:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VEVENT_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1693:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1752:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1947:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_DTSTART_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1979:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:2039:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:2063:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_RDATE_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:2187:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:2252:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:2398:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:2434:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:2771:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:2895:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_RELATED_START [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:2980:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3020:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_CATEGORIES_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3041:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3110:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3172:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3203:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3312:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_CONFERENCE_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3405:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_SUMMARY_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3442:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3544:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3597:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3734:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_X_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:3785:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:4228:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:4347:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:4505:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ANY_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:4570:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_DTEND_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:4606:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:4637:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_X_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:4799:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_DTSTART_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:4907:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ROLE_REQPARTICIPANT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:5127:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:5364:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:5788:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ATTENDEE_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:6009:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_DESCRIPTION_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:6106:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:6292:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VALARM_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:6377:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:6653:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_CATEGORIES_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:6688:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_RELATEDTO_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:6856:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_X_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:6926:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_LOCATION_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:6996:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_LOCATION_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:7104:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_CONFERENCE_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:7225:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_LANGUAGE_PARAMETER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:7321:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_RRULE_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:7402:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:7544:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_RDATE_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:7718:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:7830:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_RECURRENCEID_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:8377:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_PRESERVE_ORDER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:8411:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_ical.c:107:18: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] cyrus-imapd-3.12.1/imap/jmap_ical.c:2232:9: style: Condition '!caladdress_is_defined' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_ical.c:2223:33: note: Assignment 'caladdress_is_defined=0', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_ical.c:2227:22: note: Assuming condition is false cyrus-imapd-3.12.1/imap/jmap_ical.c:2232:9: note: Condition '!caladdress_is_defined' is always true cyrus-imapd-3.12.1/imap/jmap_ical.c:1485:9: warning: If memory allocation fails, then there is a possible null pointer dereference: myval [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_ical.c:1484:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_ical.c:1484:24: note: Assignment 'myval=xstrdup(val)', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_ical.c:1485:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_ical.c:1486:9: warning: If memory allocation fails, then there is a possible null pointer dereference: myval [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_ical.c:1484:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_ical.c:1484:24: note: Assignment 'myval=xstrdup(val)', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_ical.c:1486:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_ical.c:6430:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rscale [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_ical.c:6427:31: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_ical.c:6427:31: note: Assignment 'rscale=xstrdup(json_string_value(jprop))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_ical.c:6430:20: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_ical.c:2887:76: style:inconclusive: Function 'jmapical_alert_from_ical' argument 2 names different: declaration 'id' definition 'idbuf'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_ical.h:175:69: note: Function 'jmapical_alert_from_ical' argument 2 names different: declaration 'id' definition 'idbuf'. cyrus-imapd-3.12.1/imap/jmap_ical.c:2887:76: note: Function 'jmapical_alert_from_ical' argument 2 names different: declaration 'id' definition 'idbuf'. cyrus-imapd-3.12.1/imap/jmap_ical.c:3779:40: style:inconclusive: Function 'calendarevent_from_ical' argument 5 names different: declaration 'jtzcache' definition 'jstzones'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_ical.c:250:55: note: Function 'calendarevent_from_ical' argument 5 names different: declaration 'jtzcache' definition 'jstzones'. cyrus-imapd-3.12.1/imap/jmap_ical.c:3779:40: note: Function 'calendarevent_from_ical' argument 5 names different: declaration 'jtzcache' definition 'jstzones'. cyrus-imapd-3.12.1/imap/jmap_ical.c:6084:54: warning: Function 'jmapical_alert_to_ical' argument order different: declaration 'alert, parser, alert_jmap_id, description, email_summary, email_recipient' definition 'alert, parser, alert_jmap_id, summary, description, email_recipient' [funcArgOrderDifferent] cyrus-imapd-3.12.1/imap/jmap_ical.h:178:54: note: Function 'jmapical_alert_to_ical' argument order different: declaration 'alert, parser, alert_jmap_id, description, email_summary, email_recipient' definition 'alert, parser, alert_jmap_id, summary, description, email_recipient' cyrus-imapd-3.12.1/imap/jmap_ical.c:6084:54: note: Function 'jmapical_alert_to_ical' argument order different: declaration 'alert, parser, alert_jmap_id, description, email_summary, email_recipient' definition 'alert, parser, alert_jmap_id, summary, description, email_recipient' cyrus-imapd-3.12.1/imap/jmap_ical.c:7812:43: style:inconclusive: Function 'calendarevent_to_ical' argument 3 names different: declaration 'jsevent' definition 'event'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_ical.c:255:43: note: Function 'calendarevent_to_ical' argument 3 names different: declaration 'jsevent' definition 'event'. cyrus-imapd-3.12.1/imap/jmap_ical.c:7812:43: note: Function 'calendarevent_to_ical' argument 3 names different: declaration 'jsevent' definition 'event'. cyrus-imapd-3.12.1/imap/jmap_ical.c:7816:51: style:inconclusive: Function 'calendarevent_to_ical' argument 7 names different: declaration 'jtzcachep' definition 'jstzonesp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_ical.c:259:51: note: Function 'calendarevent_to_ical' argument 7 names different: declaration 'jtzcachep' definition 'jstzonesp'. cyrus-imapd-3.12.1/imap/jmap_ical.c:7816:51: note: Function 'calendarevent_to_ical' argument 7 names different: declaration 'jtzcachep' definition 'jstzonesp'. cyrus-imapd-3.12.1/imap/jmap_ical.c:1919:20: style: Local variable 'buf' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_ical.c:1752:16: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_ical.c:1919:20: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_ical.c:2463:21: style: Local variable 'kind' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_ical.c:2435:23: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_ical.c:2463:21: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_ical.c:4422:24: style: Local variable 'comp' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_ical.c:4346:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_ical.c:4422:24: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_ical.c:4827:50: style: Local variable 'recurid' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_ical.c:4751:30: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_ical.c:4827:50: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_ical.c:5431:24: style: Local variable 'param' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_ical.c:5339:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_ical.c:5431:24: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_ical.c:5525:24: style: Local variable 'param' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_ical.c:5339:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_ical.c:5525:24: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_ical.c:7915:24: style: Local variable 'ical' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_ical.c:7850:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_ical.c:7915:24: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_ical.c:7978:28: style: Local variable 'ical' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_ical.c:7850:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_ical.c:7978:28: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_ical.c:7996:28: style: Local variable 'old_comp' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_ical.c:7821:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_ical.c:7996:28: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_ical.c:161:23: style: Variable 'recurid' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:442:17: style: Variable 'req' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:483:17: style: Variable 'req' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:1586:23: style: Variable 'utc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:1613:27: style: Variable 'utc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:1688:56: style: Parameter 'iana_kinds' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:1840:12: style: Variable 'by_month' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:2976:60: style: Parameter 'jmapctx' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:4491:50: style: Parameter 'iana_kinds' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/jmap_ical.c:4762:19: style: Variable 'tzrecurid' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:5338:19: style: Variable 'utc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:5548:21: style: Variable 'delegatee' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:5572:21: style: Variable 'delegator' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:5596:21: style: Variable 'group' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:6094:19: style: Variable 'utc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:6287:37: style: Parameter 'jmapctx' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:6575:27: style: Variable 'tzstart' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:7395:52: style: Parameter 'jmapctx' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:7397:19: style: Variable 'utc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:7563:19: style: Variable 'tzstart' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:7587:17: style: Variable 'excluded' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_ical.c:1740:11: warning: Uninitialized variable: tmp [uninitvar] cyrus-imapd-3.12.1/imap/jmap_ical.c:1735:19: note: Assuming condition is false cyrus-imapd-3.12.1/imap/jmap_ical.c:1740:11: note: Uninitialized variable: tmp cyrus-imapd-3.12.1/imap/jmap_ical.c:2324:21: style: Variable 'size' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:296:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_NONSTANDARD_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:326:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_NONSTANDARD_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:377:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:412:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:558:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:614:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:842:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:931:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1043:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1125:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1167:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1222:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1278:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1295:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1327:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1406:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1524:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1587:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jmapseen_ignore [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1654:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jmapseen_unknown [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1734:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jmapseen_flags [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:1991:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:2087:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_OK_COMPLETED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:2112:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_OK_COMPLETED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:2144:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:2280:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:2492:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:2801:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_SEARCH_SLOW [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:2846:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jmap_email_filtercondition_validate [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3008:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAPUPLOADFOLDER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3036:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_SEARCH_SLOW [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3082:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3198:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3212:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODSEQ_FMT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3272:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3473:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3643:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3704:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3836:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3928:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:3958:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_OK_COMPLETED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:4000:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_SEARCH_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:4184:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable guidsearch_match_cmp [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:4234:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BV_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:4462:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_SEARCH_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:4612:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:4796:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_COMPACT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:4860:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:4968:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:5088:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:5303:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:5498:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:5681:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_SEARCH_SLOW [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:5893:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_KEEPCASE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:5919:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6153:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6291:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6337:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_OK_COMPLETED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6395:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6549:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6639:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6698:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6789:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6891:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6933:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MESSAGE_BADHEADER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6961:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6973:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:6985:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:7008:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:7094:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_t [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:7202:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:7339:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC3339_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:7575:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_KEEPCASE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:7589:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:7837:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:7923:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMAILBODIES_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:8236:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:8315:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:8352:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:8684:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:8758:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:8845:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SINGLEINSTANCESTORE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:8882:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9012:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9378:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9396:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9419:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9452:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9628:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9678:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC5322_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9700:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9772:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9884:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:10086:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:10104:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:10247:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:10497:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:10674:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_MAX_LINE_LENGTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:10703:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:10736:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:10840:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_UNKNOWN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:11150:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:11218:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:11284:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:11417:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:11480:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:11694:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:11965:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:12180:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:12330:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:12662:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:12827:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:12982:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:13078:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:13203:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEQ_SPARSE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:13348:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:13429:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:13548:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:13719:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_INSERT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:13729:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:13785:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:14136:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:14151:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:14236:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:14396:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:14446:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:14484:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:14509:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail.c:9040:25: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] cyrus-imapd-3.12.1/imap/jmap_mail.c:9030:18: note: outer condition: !mboxname cyrus-imapd-3.12.1/imap/jmap_mail.c:9040:25: note: opposite inner condition: mboxname cyrus-imapd-3.12.1/imap/jmap_mail.c:10660:36: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] cyrus-imapd-3.12.1/imap/jmap_mail.c:1538:29: style: Condition 'state' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_mail.c:6394:9: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_mail.c:6358:9: note: Assignment 'r=0', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:6393:24: note: Calling function '_thread_get' returns 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:6393:24: note: Assignment 'r=_thread_get(req,get.ids,get.list,get.not_found)', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:6394:9: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/jmap_mail.c:8212:9: style: Condition '!r' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_mail.c:8211:34: note: Calling function '_cyrusmsg_from_record' returns 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:8211:34: note: Assignment 'r=_cyrusmsg_from_record(mr,&msg)', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:8212:9: note: Condition '!r' is always true cyrus-imapd-3.12.1/imap/jmap_mail.c:8225:9: style: Condition '!r' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_mail.c:8224:38: note: Calling function '_cyrusmsg_from_rfc822body' returns 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:8224:38: note: Assignment 'r=_cyrusmsg_from_rfc822body(mr,body,&msg)', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:8225:9: note: Condition '!r' is always true cyrus-imapd-3.12.1/imap/jmap_mail.c:10322:25: style: Condition '!have_inlined' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_mail.c:10317:32: note: Assignment 'have_inlined=0', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:10322:25: note: Condition '!have_inlined' is always true cyrus-imapd-3.12.1/imap/jmap_mail.c:10683:21: style: Condition 'c>0' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_mail.c:10680:20: note: Assuming that condition 'c=='\0'' is not redundant cyrus-imapd-3.12.1/imap/jmap_mail.c:10683:21: note: Condition 'c>0' is always true cyrus-imapd-3.12.1/imap/jmap_mail.c:12648:9: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_mail.c:12647:42: note: Calling function '_email_bulkupdate_plan_snooze' returns 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:12647:42: note: Assignment 'r=_email_bulkupdate_plan_snooze(bulk,updates)', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:12648:9: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/jmap_mail.c:12652:9: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_mail.c:12651:42: note: Calling function '_email_bulkupdate_plan_mailboxids' returns 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:12651:42: note: Assignment 'r=_email_bulkupdate_plan_mailboxids(bulk,updates)', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:12652:9: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/jmap_mail.c:3272:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/jmap_mail.c:3928:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/jmap_mail.c:410:5: warning: If memory allocation fails, then there is a possible null pointer dereference: headers [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_mail.c:7022:38: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_mail.c:7022:38: note: Assignment 'headers=xmalloc(sizeof(struct headers))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:7023:19: note: Calling function '_headers_init', 1st argument 'headers' value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:410:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mail.c:411:5: warning: If memory allocation fails, then there is a possible null pointer dereference: headers [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_mail.c:7022:38: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_mail.c:7022:38: note: Assignment 'headers=xmalloc(sizeof(struct headers))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:7023:19: note: Calling function '_headers_init', 1st argument 'headers' value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:411:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mail.c:1842:12: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_mail.c:1841:34: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_mail.c:1841:34: note: Assignment 'attr=xmalloc(sizeof(struct search_attr_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:1842:12: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mail.c:1846:5: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_mail.c:1841:34: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_mail.c:1841:34: note: Assignment 'attr=xmalloc(sizeof(struct search_attr_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:1846:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mail.c:9813:21: warning:inconclusive: Possible null pointer dereference: lcasename [nullPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:9808:29: note: Assignment 'lcasename=NULL', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:9813:21: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mail.c:11704:25: warning:inconclusive: Possible null pointer dereference: field [nullPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:11700:29: note: Assignment 'field=NULL', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:11704:25: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mail.c:11764:25: warning:inconclusive: Possible null pointer dereference: field [nullPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:11759:29: note: Assignment 'field=NULL', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:11764:25: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mail.c:11810:25: warning:inconclusive: Possible null pointer dereference: field [nullPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:11803:29: note: Assignment 'field=NULL', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:11810:25: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mail.c:5121:45: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:5128:31: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:5129:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:5324:31: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:5509:31: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6742:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6743:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6744:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6745:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6746:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6747:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6748:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6749:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6750:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6751:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6754:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6755:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6756:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6757:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6758:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6759:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6760:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6761:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6762:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6763:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6764:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6765:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6766:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6767:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6768:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6769:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6770:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:6792:53: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:8694:32: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:13884:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mail.c:3123:13: style: Redundant initialization for 'sp'. The initialized value is overwritten before it is read. [redundantInitialization] cyrus-imapd-3.12.1/imap/jmap_mail.c:3122:32: note: sp is initialized cyrus-imapd-3.12.1/imap/jmap_mail.c:3123:13: note: sp is overwritten cyrus-imapd-3.12.1/imap/jmap_mail.c:1250:40: warning: Function 'jmap_email_find' argument order different: declaration 'req, email_id, from_accountid, mboxnameptr, uidptr' definition 'req, from_accountid, email_id, mboxnameptr, uidptr' [funcArgOrderDifferent] cyrus-imapd-3.12.1/imap/jmap_mail.h:55:40: note: Function 'jmap_email_find' argument order different: declaration 'req, email_id, from_accountid, mboxnameptr, uidptr' definition 'req, from_accountid, email_id, mboxnameptr, uidptr' cyrus-imapd-3.12.1/imap/jmap_mail.c:1250:40: note: Function 'jmap_email_find' argument order different: declaration 'req, email_id, from_accountid, mboxnameptr, uidptr' definition 'req, from_accountid, email_id, mboxnameptr, uidptr' cyrus-imapd-3.12.1/imap/jmap_mail.c:2487:28: style: Local variable 'e' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:2419:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:2487:28: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:2518:32: style: Local variable 'e' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:2419:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:2518:32: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:2532:32: style: Local variable 'e' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:2419:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:2532:32: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:2590:28: style: Local variable 'e' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:2419:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:2590:28: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:2596:28: style: Local variable 'parent' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_mail.c:2355:61: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:2596:28: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:2598:28: style: Local variable 'e' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:2419:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:2598:28: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:2605:25: style: Local variable 'val' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:2361:13: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:2605:25: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:4073:18: style: Local variable 'num' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:4057:14: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:4073:18: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:4751:26: style: Local variable 'emailid' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:4722:14: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:4751:26: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:4915:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:4853:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:4915:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:5522:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:5473:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:5522:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:6331:17: style: Local variable 'ids' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_mail.c:6308:49: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:6331:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:6335:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:6314:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:6335:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:6582:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:6535:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:6582:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:7366:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:7227:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:7366:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:7388:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:7227:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:7388:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:7974:30: style: Local variable 'part' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:7927:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:7974:30: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:7987:26: style: Local variable 'part' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:7927:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:7987:26: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:8008:26: style: Local variable 'part' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:7927:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:8008:26: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:8020:26: style: Local variable 'part' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:7927:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:8020:26: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:8032:26: style: Local variable 'part' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:7927:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:8032:26: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:8048:26: style: Local variable 'part' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:7927:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:8048:26: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:9482:17: style: Local variable 'addrs' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_mail.c:9441:47: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:9482:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:10068:17: style: Local variable 'jval' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:9887:13: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:10068:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:12109:21: style: Local variable 'updates' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_mail.c:11963:89: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:12109:21: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:12116:13: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:11976:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:12116:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:12680:17: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:12644:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:12680:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:12685:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:12647:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:12685:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:12700:17: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:12644:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:12700:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:13476:30: style: Local variable 'update' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_mail.c:13423:40: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:13476:30: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:13521:38: style: Local variable 'update' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_mail.c:13423:40: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:13521:38: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:14003:28: style: Local variable 'parser' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail.c:13938:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail.c:14003:28: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail.c:7069:85: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imapd-3.12.1/imap/jmap_mail.c:7073:85: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imapd-3.12.1/imap/jmap_mail.c:7077:85: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imapd-3.12.1/imap/jmap_mail.c:7081:85: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imapd-3.12.1/imap/jmap_mail.c:1045:22: style: Variable 'part' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:1582:62: style: Parameter 'cstate' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:2235:69: style: Parameter 'state' can be declared as pointer to const. However it seems that 'emailsearch_headermatch_internalise' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_mail.c:2339:5: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_mail.c:2235:69: note: Parameter 'state' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_mail.c:2237:56: style: Parameter 'data1' can be declared as pointer to const. However it seems that 'emailsearch_headermatch_internalise' is a callback function, if 'data1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_mail.c:2339:5: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_mail.c:2237:56: note: Parameter 'data1' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_mail.c:2253:30: style: Variable 'hm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:2793:74: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:3112:60: style: Parameter 'comp' can be declared as pointer to const. However it seems that '_email_parse_comparator' is a callback function, if 'comp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_mail.c:5433:29: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_mail.c:3112:60: note: Parameter 'comp' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_mail.c:3227:55: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:3332:69: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:4197:13: style: Variable 'want' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:4202:34: style: Variable 'gsqmatch' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:4227:53: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:4287:13: style: Variable 'want' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:4378:52: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:7792:26: style: Variable 'subpart' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:7829:51: style: Parameter 'part' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:8008:26: style: Variable 'part' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:8020:26: style: Variable 'part' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:8032:26: style: Variable 'part' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:8330:25: style: Variable 'mbox' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:8754:21: style: Variable 'inmem' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:8835:48: style: Parameter 'authstate' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:8837:47: style: Parameter 'namespace' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:8907:45: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:12024:42: style: Variable 'uidrec' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:12075:25: style: Variable 'keep' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:12153:38: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:12361:25: style: Variable 'jval' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:12531:25: style: Variable 'jval' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:12565:25: style: Variable 'jval' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:6525:39: portability: '(void*)count' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/imap/jmap_mail.c:3874:17: style: struct member 'guidsearch_query::req' is never used. [unusedStructMember] cyrus-imapd-3.12.1/imap/jmap_mail.c:3959:7: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/jmap_mail_query.c:73:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS_COUNTED_FLAGS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail_query.c:1479:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_SKIPDIACRIT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail_query.c:1489:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jmap_headermatch [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail_query.c:1538:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jmap_headermatch [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail_query.c:1534:79: style: Parameter 'hm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mail_query_parse.c:112:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail_query_parse.c:237:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_OBJECT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mail_query_parse.c:168:29: style: Local variable 's' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mail_query_parse.c:56:25: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mail_query_parse.c:168:29: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mail_submission.c:416:32: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:146:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_NONSTANDARD_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:193:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:219:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmpstringp_raw [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:280:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:322:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_NONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:355:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:373:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:397:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:430:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:454:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:498:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:536:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:614:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:746:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:926:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1256:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1312:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1516:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1684:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1753:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_UNKNOWN_CHARSET [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1787:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1808:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_OK_COMPLETED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1920:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2076:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2163:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_ADMIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2227:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2450:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2790:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2811:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2931:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_DELETEMBOX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3103:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3134:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3215:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3465:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3536:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3775:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_TRIM [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3796:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3890:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3976:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4177:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_LOOKUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4254:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4350:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3393:16: warning: Assert statement calls a function which may have desired side effects: '_findparent'. [assertWithSideEffect] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1801:22: style: Condition 'retries<3' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1784:19: note: Assignment 'retries=0', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1793:15: note: Assuming condition is false cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1801:22: note: Condition 'retries<3' is always true cyrus-imapd-3.12.1/imap/jmap_mailbox.c:321:61: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: extname [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:318:26: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_mailbox.c:318:26: note: Assignment 'extname=xstrdup(strarray_nth(boxes,strarray_size(boxes)-1))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mailbox.c:321:61: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4019:37: warning:inconclusive: Possible null pointer dereference: creation_id [nullPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4012:31: note: Assignment 'creation_id=NULL', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4019:37: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4048:52: warning:inconclusive: Possible null pointer dereference: mbox_id [nullPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4042:27: note: Assignment 'mbox_id=NULL', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4048:52: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_mailbox.c:587:31: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:937:49: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1640:40: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1708:40: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1713:40: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1718:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3081:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3088:21: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3094:21: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4039:50: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:151:47: style:inconclusive: Function 'jmap_mailbox_capabilities' argument 1 names different: declaration 'jcapabilities' definition 'account_capabilities'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_mail.h:65:47: note: Function 'jmap_mailbox_capabilities' argument 1 names different: declaration 'jcapabilities' definition 'account_capabilities'. cyrus-imapd-3.12.1/imap/jmap_mailbox.c:151:47: note: Function 'jmap_mailbox_capabilities' argument 1 names different: declaration 'jcapabilities' definition 'account_capabilities'. cyrus-imapd-3.12.1/imap/jmap_mailbox.c:611:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:552:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mailbox.c:611:17: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1694:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1650:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1694:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2869:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2812:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2869:13: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3695:20: style: Local variable 'iter' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3650:16: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3695:20: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3991:20: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3964:12: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3991:20: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4053:21: style: Local variable 'err' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3961:37: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4053:21: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4062:21: style: Local variable 'err' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3961:37: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4062:21: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4293:21: style: Local variable 'id' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4264:17: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_mailbox.c:4293:21: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_mailbox.c:151:47: style: Parameter 'account_capabilities' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:278:41: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:353:42: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:444:43: style: Parameter 'mbname' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:477:38: style: Parameter 'mbname' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1297:27: style: Variable 'crit' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1423:58: style: Parameter 'mbquery' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1526:52: style: Parameter 'req' can be declared as pointer to const. However it seems that '_mboxquery_parse_comparator' is a callback function, if 'req' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1657:29: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1526:52: note: Parameter 'req' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1527:64: style: Parameter 'comp' can be declared as pointer to const. However it seems that '_mboxquery_parse_comparator' is a callback function, if 'comp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1657:29: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1527:64: note: Parameter 'comp' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1528:46: style: Parameter 'rock' can be declared as pointer to const. However it seems that '_mboxquery_parse_comparator' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1657:29: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1528:46: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_mailbox.c:1849:45: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2071:41: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2380:55: style: Parameter 'mbentry' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:2613:15: style: Variable 'name' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3079:11: style: Variable 'v' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3418:31: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3455:31: style: Variable 'parent_entry' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mailbox.c:3584:39: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_mdn.c:97:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_NONSTANDARD_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mdn.c:239:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC5322_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mdn.c:440:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mdn.c:517:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mdn.c:621:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_mdn.c:635:13: style: Condition 'mdn' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_mdn.c:631:23: note: Assignment 'mdn=NULL', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mdn.c:635:13: note: Condition 'mdn' is always false cyrus-imapd-3.12.1/imap/jmap_notes.c:106:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_NOTESMAILBOX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:120:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_NOTESMAILBOX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:136:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_NOTESMAILBOX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:208:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:279:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC3339_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:351:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:362:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:449:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:563:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:734:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_INSERT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:801:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_DELETEMSG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:835:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:991:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_notes.c:1003:9: style: The if condition is the same as the previous if condition [duplicateCondition] cyrus-imapd-3.12.1/imap/jmap_notes.c:1001:9: note: First condition cyrus-imapd-3.12.1/imap/jmap_notes.c:1003:9: note: Second condition cyrus-imapd-3.12.1/imap/jmap_notes.c:1045:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: change [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_notes.c:1042:44: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_notes.c:1042:44: note: Assignment 'change=xmalloc(sizeof(struct change))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_notes.c:1045:13: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_notes.c:1046:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: change [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_notes.c:1042:44: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_notes.c:1042:44: note: Assignment 'change=xmalloc(sizeof(struct change))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_notes.c:1046:13: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_notes.c:1047:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: change [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_notes.c:1042:44: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_notes.c:1042:44: note: Assignment 'change=xmalloc(sizeof(struct change))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_notes.c:1047:13: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_notes.c:482:49: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_notes.c:932:45: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/jmap_notes.c:1000:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/jmap_notes.c:997:7: note: r is assigned cyrus-imapd-3.12.1/imap/jmap_notes.c:1000:7: note: r is overwritten cyrus-imapd-3.12.1/imap/jmap_notes.c:794:58: style: Parameter 'msg' can be declared as pointer to const. However it seems that '_notes_destroy_cb' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_notes.c:936:31: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_notes.c:794:58: note: Parameter 'msg' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_notes.c:1068:28: style: Variable 'change' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_notif.c:229:36: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/jmap_push.c:161:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_push.c:113:31: style: Variable 'cur_modseq' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_push.c:172:19: style: Variable 'cur_modseq' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_quota.c:103:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_NONSTANDARD_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_quota.c:115:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_JMAP_NONSTANDARD_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_quota.c:180:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_quota.c:268:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_quota.c:459:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVE_MAXSCRIPTS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_quota.c:533:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_QUOTAWARNPERCENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_quota.c:615:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_quota.c:864:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAYU64_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_quota.c:632:27: style: Variable 'jroot' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_quota.c:713:41: style: Parameter 'req' can be declared as pointer to const. However it seems that 'comparator_parse' is a callback function, if 'req' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_quota.c:871:42: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_quota.c:713:41: note: Parameter 'req' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_quota.c:714:53: style: Parameter 'comp' can be declared as pointer to const. However it seems that 'comparator_parse' is a callback function, if 'comp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_quota.c:871:42: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_quota.c:714:53: note: Parameter 'comp' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_quota.c:715:35: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'comparator_parse' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_quota.c:871:42: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_quota.c:715:35: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_quota.c:765:13: style: Variable 'f' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_quota.c:835:27: style: Variable 'qa' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_quota.c:836:27: style: Variable 'qb' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_sieve.c:155:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVEUSEHOMEDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:213:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOK_TRIMLEFT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:274:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:311:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:358:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:403:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:444:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:537:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:658:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:796:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1112:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAYU64_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1231:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1338:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1350:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1363:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1383:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1408:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1443:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1487:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1551:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_COMPACT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1589:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1623:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1644:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1666:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1683:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1696:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1728:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1742:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1767:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1818:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1848:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNOOZE_WDAYS_MASK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1895:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1907:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1937:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_sieve.c:2086:15: warning: Invalid close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cyrus-imapd-3.12.1/imap/jmap_sieve.c:2060:19: note: Assignment 'fd=-1', assigned value is -1 cyrus-imapd-3.12.1/imap/jmap_sieve.c:2066:15: note: Assuming condition is true cyrus-imapd-3.12.1/imap/jmap_sieve.c:2086:15: note: Invalid argument cyrus-imapd-3.12.1/imap/jmap_sieve.c:820:18: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] cyrus-imapd-3.12.1/imap/jmap_sieve.c:2172:17: style: Condition 'err' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/jmap_sieve.c:2167:19: note: Assignment 'err=NULL', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_sieve.c:2172:17: note: Condition 'err' is always false cyrus-imapd-3.12.1/imap/jmap_sieve.c:1053:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1051:19: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_sieve.c:1051:19: note: Assignment 'info=xmalloc(sizeof(struct script_info))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_sieve.c:1053:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_sieve.c:1054:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1051:19: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_sieve.c:1051:19: note: Assignment 'info=xmalloc(sizeof(struct script_info))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_sieve.c:1054:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_sieve.c:1055:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1051:19: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_sieve.c:1051:19: note: Assignment 'info=xmalloc(sizeof(struct script_info))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_sieve.c:1055:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_sieve.c:1060:49: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1051:19: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_sieve.c:1051:19: note: Assignment 'info=xmalloc(sizeof(struct script_info))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_sieve.c:1060:49: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_sieve.c:457:20: style: Local variable 'buf' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_sieve.c:444:16: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_sieve.c:457:20: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_sieve.c:547:24: style: Local variable 'buf' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_sieve.c:537:16: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_sieve.c:547:24: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_sieve.c:961:41: style: Parameter 'req' can be declared as pointer to const. However it seems that 'comparator_parse' is a callback function, if 'req' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1120:42: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_sieve.c:961:41: note: Parameter 'req' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_sieve.c:962:53: style: Parameter 'comp' can be declared as pointer to const. However it seems that 'comparator_parse' is a callback function, if 'comp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1120:42: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_sieve.c:962:53: note: Parameter 'comp' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_sieve.c:963:35: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'comparator_parse' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1120:42: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_sieve.c:963:35: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_sieve.c:1003:13: style: Variable 'f' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1080:18: style: Variable 'ma' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1081:18: style: Variable 'mb' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1413:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1423:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1438:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1486:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1687:30: style: Parameter 'ic' can be declared as pointer to const. However it seems that 'autorespond' is a callback function, if 'ic' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1734:6: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_sieve.c:1687:30: note: Parameter 'ic' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_sieve.c:1688:30: style: Parameter 'sc' can be declared as pointer to const. However it seems that 'autorespond' is a callback function, if 'sc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1734:6: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/jmap_sieve.c:1688:30: note: Parameter 'sc' can be declared as pointer to const cyrus-imapd-3.12.1/imap/jmap_sieve.c:1692:34: style: Variable 'arc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1693:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/jmap_sieve.c:662:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/jmap_sieve.c:1528:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/jmap_util.c:93:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:110:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:137:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:290:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_OBJECT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:313:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:341:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:389:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:585:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:658:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:682:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_NONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:911:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:1012:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:1061:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATETIME_FULL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:1097:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_UNFOLD_SKIPWS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:1114:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_UNFOLD_SKIPWS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:1191:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/jmap_util.c:1226:26: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] cyrus-imapd-3.12.1/imap/jmap_util.c:1225:22: note: outer condition: form==HEADER_FORM_GROUPEDADDRESSES cyrus-imapd-3.12.1/imap/jmap_util.c:1226:26: note: identical inner condition: form==HEADER_FORM_GROUPEDADDRESSES cyrus-imapd-3.12.1/imap/jmap_util.c:700:21: warning: Either the condition '!charset_id' is redundant or there is possible null pointer dereference: charset_id. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/imap/jmap_util.c:753:14: note: Assuming that condition '!charset_id' is not redundant cyrus-imapd-3.12.1/imap/jmap_util.c:700:21: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_util.c:730:22: warning: Either the condition '!charset_id' is redundant or there is possible null pointer dereference: charset_id. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/imap/jmap_util.c:753:14: note: Assuming that condition '!charset_id' is not redundant cyrus-imapd-3.12.1/imap/jmap_util.c:730:22: note: Null pointer dereference cyrus-imapd-3.12.1/imap/jmap_util.c:671:47: style:inconclusive: Function 'jmap_decode_to_utf8' argument 6 names different: declaration 'dst' definition 'text'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_util.h:151:45: note: Function 'jmap_decode_to_utf8' argument 6 names different: declaration 'dst' definition 'text'. cyrus-imapd-3.12.1/imap/jmap_util.c:671:47: note: Function 'jmap_decode_to_utf8' argument 6 names different: declaration 'dst' definition 'text'. cyrus-imapd-3.12.1/imap/jmap_util.c:906:62: style:inconclusive: Function 'jmap_decode_rawdata_blobid' argument 7 names different: declaration 'guid' definition 'guidptr'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/jmap_util.h:168:60: note: Function 'jmap_decode_rawdata_blobid' argument 7 names different: declaration 'guid' definition 'guidptr'. cyrus-imapd-3.12.1/imap/jmap_util.c:906:62: note: Function 'jmap_decode_rawdata_blobid' argument 7 names different: declaration 'guid' definition 'guidptr'. cyrus-imapd-3.12.1/imap/jmap_util.c:683:28: style: Local variable 'counts' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/jmap_util.c:675:24: note: Shadowed declaration cyrus-imapd-3.12.1/imap/jmap_util.c:683:28: note: Shadow variable cyrus-imapd-3.12.1/imap/jmap_util.c:745:28: style: Variable 'counts' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/jmap_util.c:746:32: style: Variable 'charset_id' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/jmap_util.c:764:32: style: Variable 'counts' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/jmap_util.c:765:36: style: Variable 'charset_id' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/jmap_vacation.c:200:1: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:122:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:149:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:157:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:172:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:213:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:255:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:303:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:328:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_servername [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:390:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:405:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:435:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC5322_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:756:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:872:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:916:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_LMTP_SIEVE_DISCARD_TOTAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:949:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVE_USE_LMTP_REJECT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1096:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1760:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1865:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVENOTIFIER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1899:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_LMTP_SIEVE_AUTORESPOND_TOTAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1960:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2025:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC5322_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2169:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2243:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2256:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2267:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2275:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2381:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2406:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2478:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2368:31: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:761:9: style: Condition 'srs_return_path' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:760:40: note: Calling function 'sieve_srs_forward' returns 0 cyrus-imapd-3.12.1/imap/lmtp_sieve.c:760:40: note: Assignment 'srs_return_path=sieve_srs_forward(return_path)', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtp_sieve.c:761:9: note: Condition 'srs_return_path' is always false cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1906:9: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1904:17: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1904:17: note: Assignment 'id=xmalloc(SIEVE_HASHLEN*2+1)', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1906:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1907:9: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1904:17: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1904:17: note: Assignment 'id=xmalloc(SIEVE_HASHLEN*2+1)', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1907:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1909:5: warning: If memory allocation fails, then there is a possible null pointer dereference: id [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1904:17: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1904:17: note: Assignment 'id=xmalloc(SIEVE_HASHLEN*2+1)', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1909:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2404:79: style:inconclusive: Function 'run_sieve' argument 3 names different: declaration 'mydata' definition 'msgdata'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/lmtp_sieve.h:64:55: note: Function 'run_sieve' argument 3 names different: declaration 'mydata' definition 'msgdata'. cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2404:79: note: Function 'run_sieve' argument 3 names different: declaration 'mydata' definition 'msgdata'. cyrus-imapd-3.12.1/imap/lmtp_sieve.c:182:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:192:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:207:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:254:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:400:20: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:640:38: style: Parameter 'return_path' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:748:50: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1094:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1758:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1869:24: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1892:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:1935:35: style: Parameter 'sdata' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2032:30: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2133:32: style: Variable 'dtc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2134:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2159:32: style: Variable 'dtc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2160:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2241:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtp_sieve.c:2368:24: style: Variable 'pent' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/lmtpd.c:203:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:271:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_LMTP_READY_LISTENERS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:357:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_LMTP_ACTIVE_CONNECTIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:427:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:469:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:535:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NOTSUPPORTED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:700:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lmtp_rcpt [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:795:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:861:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LMTP_PREPARSE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:1045:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_LMTP_ACTIVE_CONNECTIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:1109:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_LMTP_ACTIVE_CONNECTIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:1186:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:1238:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:1294:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_TEMP_PATH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpd.c:943:17: style: Condition 'r' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/lmtpd.c:941:17: note: Assignment 'r=1', assigned value is 1 cyrus-imapd-3.12.1/imap/lmtpd.c:943:17: note: Condition 'r' is always true cyrus-imapd-3.12.1/imap/lmtpd.c:652:54: warning:inconclusive: Either the condition 'id' is redundant or there is possible null pointer dereference: id. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/imap/lmtpd.c:654:32: note: Assuming that condition 'id' is not redundant cyrus-imapd-3.12.1/imap/lmtpd.c:652:54: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpd.c:714:17: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/lmtpd.c:713:12: note: rc is assigned cyrus-imapd-3.12.1/imap/lmtpd.c:714:17: note: rc is overwritten cyrus-imapd-3.12.1/imap/lmtpd.c:1155:40: style:inconclusive: Function 'verify_user' argument 1 names different: declaration 'mbname' definition 'origmbname'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/lmtpd.c:124:40: note: Function 'verify_user' argument 1 names different: declaration 'mbname' definition 'origmbname'. cyrus-imapd-3.12.1/imap/lmtpd.c:1155:40: note: Function 'verify_user' argument 1 names different: declaration 'mbname' definition 'origmbname'. cyrus-imapd-3.12.1/imap/lmtpd.c:516:27: style: Parameter 'notifyheader' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/lmtpengine.c:152:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LMTP_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpengine.c:434:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LMTP_STRICT_RFC2821 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpengine.c:581:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC5322_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpengine.c:798:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_PROTOCOL_BAD_PARAMETERS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpengine.c:871:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpengine.c:896:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpengine.c:935:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOAUTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpengine.c:1544:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpengine.c:1627:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_SERVER_UNAVAILABLE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpengine.c:1717:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_auditlog [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/lmtpengine.c:242:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:242:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:243:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:243:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:244:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:244:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:245:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:245:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:246:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:246:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:247:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:247:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:248:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:248:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:249:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:249:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:251:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:251:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:252:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:252:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:254:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:254:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:256:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:256:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:258:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:240:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:240:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:258:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:373:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:372:27: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:372:11: note: Assignment 'ret=(char*)xmalloc(strlen(s)+1)', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:373:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:620:43: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: addbody [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:617:26: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:617:26: note: Assignment 'addbody=xmalloc(addlen+1)', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:620:43: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:677:46: warning: If memory allocation fails, then there is a possible null pointer dereference: sid [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:676:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:676:24: note: Assignment 'sid=xstrdup(session_id())', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:677:46: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:715:36: warning: If memory allocation fails, then there is a possible null pointer dereference: addbody [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/lmtpengine.c:713:26: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/lmtpengine.c:713:26: note: Assignment 'addbody=xstrdup(datestr)', assigned value is 0 cyrus-imapd-3.12.1/imap/lmtpengine.c:715:36: note: Null pointer dereference cyrus-imapd-3.12.1/imap/lmtpengine.c:952:19: style: Variable 'cd.clienthost' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/lmtpengine.c:933:19: note: cd.clienthost is assigned cyrus-imapd-3.12.1/imap/lmtpengine.c:952:19: note: cd.clienthost is overwritten cyrus-imapd-3.12.1/imap/lmtpengine.c:701:15: style: Local variable 'p' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/lmtpengine.c:586:31: note: Shadowed declaration cyrus-imapd-3.12.1/imap/lmtpengine.c:701:15: note: Shadow variable cyrus-imapd-3.12.1/imap/lmtpengine.c:310:33: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/lmtpengine.c:315:36: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/lmtpengine.c:326:44: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/lmtpengine.c:349:35: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/lmtpengine.c:529:11: style: Variable 'from' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/mailbox.c:6900:7: error: syntax error [syntaxError] cyrus-imapd-3.12.1/imap/mbdump.c:431:32: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/mbexamine.c:205:20: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/mboxevent.c:236:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_EVENT_NOTIFIER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:299:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:549:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_ENUM_EVENT_EXTRA_PARAMS_BODYSTRUCTURE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:742:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_ident [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:895:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imapurl [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:1040:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEQ_SPARSE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:1177:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:1383:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEQ_SPARSE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:1404:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEQ_SPARSE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:1434:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:1502:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_EVENT_CONTENT_SIZE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:1589:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imapurl [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:1685:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imapurl [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:1802:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imapurl [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:1905:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:2012:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxevent.c:350:12: warning: If memory allocation fails, then there is a possible null pointer dereference: mboxevent [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxevent.c:349:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxevent.c:349:24: note: Assignment 'mboxevent=xmalloc(sizeof(struct mboxevent))', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxevent.c:350:12: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxevent.c:353:17: warning: If memory allocation fails, then there is a possible null pointer dereference: mboxevent [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxevent.c:349:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxevent.c:349:24: note: Assignment 'mboxevent=xmalloc(sizeof(struct mboxevent))', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxevent.c:353:17: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxevent.c:354:21: warning: If memory allocation fails, then there is a possible null pointer dereference: mboxevent [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxevent.c:349:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxevent.c:349:24: note: Assignment 'mboxevent=xmalloc(sizeof(struct mboxevent))', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxevent.c:354:21: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxevent.c:357:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mboxevent [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxevent.c:349:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxevent.c:349:24: note: Assignment 'mboxevent=xmalloc(sizeof(struct mboxevent))', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxevent.c:357:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxevent.c:367:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mboxevent [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxevent.c:349:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxevent.c:349:24: note: Assignment 'mboxevent=xmalloc(sizeof(struct mboxevent))', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxevent.c:367:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxevent.c:1940:26: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxevent.c:1939:26: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxevent.c:1939:26: note: Assignment 'val=xstrdup(params[param].value.s)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxevent.c:1940:26: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxevent.c:1954:26: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxevent.c:1953:26: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxevent.c:1953:26: note: Assignment 'val=xstrdup(params[param].value.s)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxevent.c:1954:26: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxevent.c:386:56: style:inconclusive: Function 'mboxevent_enqueue' argument 2 names different: declaration 'events' definition 'mboxevents'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxevent.h:273:56: note: Function 'mboxevent_enqueue' argument 2 names different: declaration 'events' definition 'mboxevents'. cyrus-imapd-3.12.1/imap/mboxevent.c:386:56: note: Function 'mboxevent_enqueue' argument 2 names different: declaration 'events' definition 'mboxevents'. cyrus-imapd-3.12.1/imap/mboxevent.c:410:49: style:inconclusive: Function 'mboxevent_free' argument 1 names different: declaration 'event' definition 'mboxevent'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxevent.h:283:40: note: Function 'mboxevent_free' argument 1 names different: declaration 'event' definition 'mboxevent'. cyrus-imapd-3.12.1/imap/mboxevent.c:410:49: note: Function 'mboxevent_free' argument 1 names different: declaration 'event' definition 'mboxevent'. cyrus-imapd-3.12.1/imap/mboxevent.c:449:45: style:inconclusive: Function 'mboxevent_freequeue' argument 1 names different: declaration 'event' definition 'mboxevent'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxevent.h:288:45: note: Function 'mboxevent_freequeue' argument 1 names different: declaration 'event' definition 'mboxevent'. cyrus-imapd-3.12.1/imap/mboxevent.c:449:45: note: Function 'mboxevent_freequeue' argument 1 names different: declaration 'event' definition 'mboxevent'. cyrus-imapd-3.12.1/imap/mboxevent.c:2010:66: style:inconclusive: Function 'filled_params' argument 2 names different: declaration 'mboxevent' definition 'event'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxevent.c:204:66: note: Function 'filled_params' argument 2 names different: declaration 'mboxevent' definition 'event'. cyrus-imapd-3.12.1/imap/mboxevent.c:2010:66: note: Function 'filled_params' argument 2 names different: declaration 'mboxevent' definition 'event'. cyrus-imapd-3.12.1/imap/mboxevent.c:220:27: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'done_cb' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/mboxevent.c:227:27: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/mboxevent.c:220:27: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/mboxevent.c:289:56: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/mboxevent.c:297:58: style: Parameter 'mailbox' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/mboxevent.c:824:52: style: Parameter 'user_flags' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/mboxevent.c:976:48: style: Parameter 'guid' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/mboxevent.c:1782:27: style: Variable 'modseq' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/mboxkey.c:93:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:123:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:194:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:225:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:236:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:252:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:295:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:337:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:373:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:392:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:431:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_INTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:461:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxkey.c:266:16: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxkey.c:263:29: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxkey.c:263:29: note: Assignment 'data=xmalloc(datalen)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxkey.c:266:16: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxkey.c:267:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imapd-3.12.1/imap/mboxkey.c:263:29: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxkey.c:263:29: note: Assignment 'data=xmalloc(datalen)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxkey.c:267:20: note: Null pointer addition cyrus-imapd-3.12.1/imap/mboxkey.c:309:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/mboxkey.c:292:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/mboxkey.c:309:13: note: Shadow variable cyrus-imapd-3.12.1/imap/mboxlist.c:214:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:358:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_mupdate_server [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:443:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:684:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:786:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_RESERVED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:839:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:878:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:970:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_RESERVED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1001:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_PARTITION_UNKNOWN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1083:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1210:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1390:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_mupdate_server [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1444:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1522:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_defpartition [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1565:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_ADMIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1695:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DEFAULTACL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1768:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_REPLICAONLY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1933:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_MAILBOX_DEFAULT_OPTIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:2098:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_mupdate_config [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:2169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:2219:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:2357:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_PERMISSION_DENIED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:2556:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SPECIALUSE_PROTECT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:2613:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:2630:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:2678:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:2722:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3156:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_ADMIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3163:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3223:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3257:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_MODE_SET [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3504:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NOTSUPPORTED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3580:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3685:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3749:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3769:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3797:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3830:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:3901:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4005:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4069:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4104:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4157:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4474:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4524:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4548:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4576:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4742:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4841:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4868:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4918:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_MBOXLIST_DB_PATH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4938:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4967:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:4990:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5060:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5102:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5125:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5135:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5174:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5215:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5251:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5278:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5374:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DELETE_MODE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5388:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DELETEDPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5425:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5487:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5565:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5643:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5740:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5817:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5858:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:5958:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxlist.c:1071:13: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/mboxlist.c:1070:39: note: Calling function 'mboxlist_update_raclmodseq' returns 0 cyrus-imapd-3.12.1/imap/mboxlist.c:1070:39: note: Assignment 'r=mboxlist_update_raclmodseq(member)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxlist.c:1071:13: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/mboxlist.c:1738:13: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/mboxlist.c:1737:32: note: Calling function 'mboxlist_create_acl' returns 0 cyrus-imapd-3.12.1/imap/mboxlist.c:1737:32: note: Assignment 'r=mboxlist_create_acl(name,&acl)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxlist.c:1738:13: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/mboxlist.c:1959:13: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/mboxlist.c:1958:32: note: Calling function 'mboxlist_create_acl' returns 0 cyrus-imapd-3.12.1/imap/mboxlist.c:1958:32: note: Assignment 'r=mboxlist_create_acl(mboxname,&acl)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxlist.c:1959:13: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/mboxlist.c:3179:13: style: Condition '!r' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/mboxlist.c:3166:13: note: Assignment 'r=0', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxlist.c:3179:13: note: Condition '!r' is always true cyrus-imapd-3.12.1/imap/mboxlist.c:3183:13: style: Condition '!r' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/mboxlist.c:3166:13: note: Assignment 'r=0', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxlist.c:3183:13: note: Condition '!r' is always true cyrus-imapd-3.12.1/imap/mboxlist.c:5253:9: style: Condition '!r' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/mboxlist.c:5251:9: note: Assuming that condition 'r' is not redundant cyrus-imapd-3.12.1/imap/mboxlist.c:5253:9: note: Condition '!r' is always true cyrus-imapd-3.12.1/imap/mboxlist.c:4771:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/mboxlist.c:4754:7: note: r is assigned cyrus-imapd-3.12.1/imap/mboxlist.c:4771:7: note: r is overwritten cyrus-imapd-3.12.1/imap/mboxlist.c:810:42: style:inconclusive: Function 'mboxlist_lookup' argument 2 names different: declaration 'mbentryptr' definition 'entryptr'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:167:51: note: Function 'mboxlist_lookup' argument 2 names different: declaration 'mbentryptr' definition 'entryptr'. cyrus-imapd-3.12.1/imap/mboxlist.c:810:42: note: Function 'mboxlist_lookup' argument 2 names different: declaration 'mbentryptr' definition 'entryptr'. cyrus-imapd-3.12.1/imap/mboxlist.c:820:48: style:inconclusive: Function 'mboxlist_lookup_allow_all' argument 2 names different: declaration 'mbentryptr' definition 'entryptr'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:170:48: note: Function 'mboxlist_lookup_allow_all' argument 2 names different: declaration 'mbentryptr' definition 'entryptr'. cyrus-imapd-3.12.1/imap/mboxlist.c:820:48: note: Function 'mboxlist_lookup_allow_all' argument 2 names different: declaration 'mbentryptr' definition 'entryptr'. cyrus-imapd-3.12.1/imap/mboxlist.c:1759:57: style:inconclusive: Function 'mboxlist_update_intermediaries' argument 1 names different: declaration 'mboxname' definition 'frommboxname'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:409:48: note: Function 'mboxlist_update_intermediaries' argument 1 names different: declaration 'mboxname' definition 'frommboxname'. cyrus-imapd-3.12.1/imap/mboxlist.c:1759:57: note: Function 'mboxlist_update_intermediaries' argument 1 names different: declaration 'mboxname' definition 'frommboxname'. cyrus-imapd-3.12.1/imap/mboxlist.c:1901:46: style:inconclusive: Function 'mboxlist_createmailbox' argument 2 names different: declaration 'mboxopts' definition 'options'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:218:37: note: Function 'mboxlist_createmailbox' argument 2 names different: declaration 'mboxopts' definition 'options'. cyrus-imapd-3.12.1/imap/mboxlist.c:1901:46: note: Function 'mboxlist_createmailbox' argument 2 names different: declaration 'mboxopts' definition 'options'. cyrus-imapd-3.12.1/imap/mboxlist.c:2075:50: style:inconclusive: Function 'mboxlist_createmailboxlock' argument 2 names different: declaration 'mboxopts' definition 'options'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:225:41: note: Function 'mboxlist_createmailboxlock' argument 2 names different: declaration 'mboxopts' definition 'options'. cyrus-imapd-3.12.1/imap/mboxlist.c:2075:50: note: Function 'mboxlist_createmailboxlock' argument 2 names different: declaration 'mboxopts' definition 'options'. cyrus-imapd-3.12.1/imap/mboxlist.c:2092:40: style:inconclusive: Function 'mboxlist_insertremote' argument 2 names different: declaration 'rettid' definition 'txn'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:181:60: note: Function 'mboxlist_insertremote' argument 2 names different: declaration 'rettid' definition 'txn'. cyrus-imapd-3.12.1/imap/mboxlist.c:2092:40: note: Function 'mboxlist_insertremote' argument 2 names different: declaration 'rettid' definition 'txn'. cyrus-imapd-3.12.1/imap/mboxlist.c:3219:53: style:inconclusive: Function 'mboxlist_lookup_usergroups' argument 1 names different: declaration 'userid' definition 'item'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:296:44: note: Function 'mboxlist_lookup_usergroups' argument 1 names different: declaration 'userid' definition 'item'. cyrus-imapd-3.12.1/imap/mboxlist.c:3219:53: note: Function 'mboxlist_lookup_usergroups' argument 1 names different: declaration 'userid' definition 'item'. cyrus-imapd-3.12.1/imap/mboxlist.c:3450:67: style:inconclusive: Function 'mboxlist_updateacl_raw' argument 2 names different: declaration 'acl' definition 'newacl'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:287:58: note: Function 'mboxlist_updateacl_raw' argument 2 names different: declaration 'acl' definition 'newacl'. cyrus-imapd-3.12.1/imap/mboxlist.c:3450:67: note: Function 'mboxlist_updateacl_raw' argument 2 names different: declaration 'acl' definition 'newacl'. cyrus-imapd-3.12.1/imap/mboxlist.c:3485:48: style:inconclusive: Function 'mboxlist_setacls' argument 2 names different: declaration 'acl' definition 'newacl'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:288:52: note: Function 'mboxlist_setacls' argument 2 names different: declaration 'acl' definition 'newacl'. cyrus-imapd-3.12.1/imap/mboxlist.c:3485:48: note: Function 'mboxlist_setacls' argument 2 names different: declaration 'acl' definition 'newacl'. cyrus-imapd-3.12.1/imap/mboxlist.c:4561:33: style:inconclusive: Function 'mboxlist_setquotas' argument 3 names different: declaration 'modseq' definition 'quotamodseq'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:405:33: note: Function 'mboxlist_setquotas' argument 3 names different: declaration 'modseq' definition 'quotamodseq'. cyrus-imapd-3.12.1/imap/mboxlist.c:4561:33: note: Function 'mboxlist_setquotas' argument 3 names different: declaration 'modseq' definition 'quotamodseq'. cyrus-imapd-3.12.1/imap/mboxlist.c:4925:41: style:inconclusive: Function 'mboxlist_open' argument 1 names different: declaration 'name' definition 'fname'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.h:413:32: note: Function 'mboxlist_open' argument 1 names different: declaration 'name' definition 'fname'. cyrus-imapd-3.12.1/imap/mboxlist.c:4925:41: note: Function 'mboxlist_open' argument 1 names different: declaration 'name' definition 'fname'. cyrus-imapd-3.12.1/imap/mboxlist.c:5941:46: style:inconclusive: Function 'mboxlist_upgrade_subs' argument 3 names different: declaration 'ret' definition 'subs'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxlist.c:127:46: note: Function 'mboxlist_upgrade_subs' argument 3 names different: declaration 'ret' definition 'subs'. cyrus-imapd-3.12.1/imap/mboxlist.c:5941:46: note: Function 'mboxlist_upgrade_subs' argument 3 names different: declaration 'ret' definition 'subs'. cyrus-imapd-3.12.1/imap/mboxlist.c:4371:16: style: Local variable 'prefixlen' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/mboxlist.c:4162:12: note: Shadowed declaration cyrus-imapd-3.12.1/imap/mboxlist.c:4371:16: note: Shadow variable cyrus-imapd-3.12.1/imap/mboxlist.c:5581:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/mboxlist.c:5560:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/mboxlist.c:5581:13: note: Shadow variable cyrus-imapd-3.12.1/imap/mboxlist.c:1368:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imapd-3.12.1/imap/mboxlist.c:2812:115: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imapd-3.12.1/imap/mboxlist.c:4817:61: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'mboxlist_rmquota' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/mboxlist.c:4759:29: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/mboxlist.c:4817:61: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/mboxlist.c:4891:26: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'done_cb' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/mboxlist.c:4912:23: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/mboxlist.c:4891:26: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/mboxlist.c:5606:20: style: Variable 'this' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/mboxlist.c:1382:19: style: Variable 'r2' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/mboxlist.c:5149:7: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/mboxlist.c:5459:13: style: Variable 'sep' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/mboxname.c:196:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:215:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:283:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:368:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_defdomain [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:425:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_defdomain [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:448:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_virtdomains [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:596:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DELETEDPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:640:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_UNKNOWN_CHARSET [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:867:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:973:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1029:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1060:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1122:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_USERPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1137:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ALTPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1155:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CROSSDOMAINS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1415:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_UNIXHIERARCHYSEP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1565:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ZERO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ZERO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1671:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1725:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ADDRESSBOOKPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1738:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CALENDARPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1751:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DAVDRIVEPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1821:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:1975:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2028:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2132:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_MBOXNAME_LOCKPATH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2174:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_ENUM_METAPARTITION_FILES_HEADER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2266:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DELETEDPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2289:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_virtdomains [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2344:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2447:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_dir [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2540:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_CHECKSUM [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2863:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2932:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:2997:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:3050:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:3159:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_REPLICAONLY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:3197:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:3243:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:3290:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:3308:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:3340:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:3373:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mboxname.c:150:5: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxname.c:149:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxname.c:149:40: note: Assignment 'item=xmalloc(sizeof(struct mboxlocklist))', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:150:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxname.c:153:5: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxname.c:149:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxname.c:149:40: note: Assignment 'item=xmalloc(sizeof(struct mboxlocklist))', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:153:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxname.c:154:5: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxname.c:149:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxname.c:149:40: note: Assignment 'item=xmalloc(sizeof(struct mboxlocklist))', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:154:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxname.c:155:5: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxname.c:149:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxname.c:149:40: note: Assignment 'item=xmalloc(sizeof(struct mboxlocklist))', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:155:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxname.c:156:5: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxname.c:149:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxname.c:149:40: note: Assignment 'item=xmalloc(sizeof(struct mboxlocklist))', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:156:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxname.c:2289:43: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxname.c:2313:27: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxname.c:2313:27: note: Assignment 'parent=xstrdup(mboxname)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:2316:31: note: Calling function 'mboxname_make_parent', 1st argument 'parent' value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:2289:43: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxname.c:2292:10: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxname.c:2313:27: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxname.c:2313:27: note: Assignment 'parent=xstrdup(mboxname)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:2316:31: note: Calling function 'mboxname_make_parent', 1st argument 'parent' value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:2292:10: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxname.c:2295:17: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxname.c:2313:27: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxname.c:2313:27: note: Assignment 'parent=xstrdup(mboxname)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:2316:31: note: Calling function 'mboxname_make_parent', 1st argument 'parent' value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:2292:18: note: Assuming condition is false cyrus-imapd-3.12.1/imap/mboxname.c:2295:17: note: Null pointer dereference cyrus-imapd-3.12.1/imap/mboxname.c:2292:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imapd-3.12.1/imap/mboxname.c:2313:27: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxname.c:2313:27: note: Assignment 'parent=xstrdup(mboxname)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:2316:31: note: Calling function 'mboxname_make_parent', 1st argument 'parent' value is 0 cyrus-imapd-3.12.1/imap/mboxname.c:2292:33: note: Null pointer addition cyrus-imapd-3.12.1/imap/mboxname.c:268:32: style:inconclusive: Function 'mboxname_lock' argument 3 names different: declaration 'locktype' definition 'locktype_and_flags'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:136:23: note: Function 'mboxname_lock' argument 3 names different: declaration 'locktype' definition 'locktype_and_flags'. cyrus-imapd-3.12.1/imap/mboxname.c:268:32: note: Function 'mboxname_lock' argument 3 names different: declaration 'locktype' definition 'locktype_and_flags'. cyrus-imapd-3.12.1/imap/mboxname.c:402:61: style:inconclusive: Function 'mbname_set_isdeleted' argument 2 names different: declaration 'del' definition 'isdel'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:123:52: note: Function 'mbname_set_isdeleted' argument 2 names different: declaration 'del' definition 'isdel'. cyrus-imapd-3.12.1/imap/mboxname.c:402:61: note: Function 'mbname_set_isdeleted' argument 2 names different: declaration 'del' definition 'isdel'. cyrus-imapd-3.12.1/imap/mboxname.c:434:54: style:inconclusive: Function 'mbname_from_recipient' argument 1 names different: declaration 'recip' definition 'recipient'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:116:45: note: Function 'mbname_from_recipient' argument 1 names different: declaration 'recip' definition 'recipient'. cyrus-imapd-3.12.1/imap/mboxname.c:434:54: note: Function 'mbname_from_recipient' argument 1 names different: declaration 'recip' definition 'recipient'. cyrus-imapd-3.12.1/imap/mboxname.c:479:51: style:inconclusive: Function 'mbname_from_extsub' argument 1 names different: declaration 'extsub' definition 'subfolder'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:115:42: note: Function 'mbname_from_extsub' argument 1 names different: declaration 'extsub' definition 'subfolder'. cyrus-imapd-3.12.1/imap/mboxname.c:479:51: note: Function 'mbname_from_extsub' argument 1 names different: declaration 'extsub' definition 'subfolder'. cyrus-imapd-3.12.1/imap/mboxname.c:496:47: style:inconclusive: Function 'mbname_dup' argument 1 names different: declaration 'mbname' definition 'orig'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:118:38: note: Function 'mbname_dup' argument 1 names different: declaration 'mbname' definition 'orig'. cyrus-imapd-3.12.1/imap/mboxname.c:496:47: note: Function 'mbname_dup' argument 1 names different: declaration 'mbname' definition 'orig'. cyrus-imapd-3.12.1/imap/mboxname.c:941:47: style:inconclusive: Function 'mboxname_to_userid' argument 1 names different: declaration 'mboxname' definition 'intname'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:287:38: note: Function 'mboxname_to_userid' argument 1 names different: declaration 'mboxname' definition 'intname'. cyrus-imapd-3.12.1/imap/mboxname.c:941:47: note: Function 'mboxname_to_userid' argument 1 names different: declaration 'mboxname' definition 'intname'. cyrus-imapd-3.12.1/imap/mboxname.c:1780:47: style:inconclusive: Function 'mboxname_same_userid' argument 1 names different: declaration 'mboxname1' definition 'name1'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:298:38: note: Function 'mboxname_same_userid' argument 1 names different: declaration 'mboxname1' definition 'name1'. cyrus-imapd-3.12.1/imap/mboxname.c:1780:47: note: Function 'mboxname_same_userid' argument 1 names different: declaration 'mboxname1' definition 'name1'. cyrus-imapd-3.12.1/imap/mboxname.c:1780:66: style:inconclusive: Function 'mboxname_same_userid' argument 2 names different: declaration 'mboxname2' definition 'name2'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:298:61: note: Function 'mboxname_same_userid' argument 2 names different: declaration 'mboxname2' definition 'name2'. cyrus-imapd-3.12.1/imap/mboxname.c:1780:66: note: Function 'mboxname_same_userid' argument 2 names different: declaration 'mboxname2' definition 'name2'. cyrus-imapd-3.12.1/imap/mboxname.c:1970:35: style:inconclusive: Function 'mboxname_hash' argument 1 names different: declaration 'buf' definition 'dest'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:274:26: note: Function 'mboxname_hash' argument 1 names different: declaration 'buf' definition 'dest'. cyrus-imapd-3.12.1/imap/mboxname.c:1970:35: note: Function 'mboxname_hash' argument 1 names different: declaration 'buf' definition 'dest'. cyrus-imapd-3.12.1/imap/mboxname.c:1970:48: style:inconclusive: Function 'mboxname_hash' argument 2 names different: declaration 'buf_len' definition 'destlen'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:274:38: note: Function 'mboxname_hash' argument 2 names different: declaration 'buf_len' definition 'destlen'. cyrus-imapd-3.12.1/imap/mboxname.c:1970:48: note: Function 'mboxname_hash' argument 2 names different: declaration 'buf_len' definition 'destlen'. cyrus-imapd-3.12.1/imap/mboxname.c:2024:38: style:inconclusive: Function 'mboxname_id_hash' argument 1 names different: declaration 'buf' definition 'dest'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:278:29: note: Function 'mboxname_id_hash' argument 1 names different: declaration 'buf' definition 'dest'. cyrus-imapd-3.12.1/imap/mboxname.c:2024:38: note: Function 'mboxname_id_hash' argument 1 names different: declaration 'buf' definition 'dest'. cyrus-imapd-3.12.1/imap/mboxname.c:2024:51: style:inconclusive: Function 'mboxname_id_hash' argument 2 names different: declaration 'buf_len' definition 'destlen'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:278:41: note: Function 'mboxname_id_hash' argument 2 names different: declaration 'buf_len' definition 'destlen'. cyrus-imapd-3.12.1/imap/mboxname.c:2024:51: note: Function 'mboxname_id_hash' argument 2 names different: declaration 'buf_len' definition 'destlen'. cyrus-imapd-3.12.1/imap/mboxname.c:2284:41: style:inconclusive: Function 'mboxname_make_parent' argument 1 names different: declaration 'namebuf' definition 'name'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:337:32: note: Function 'mboxname_make_parent' argument 1 names different: declaration 'namebuf' definition 'name'. cyrus-imapd-3.12.1/imap/mboxname.c:2284:41: note: Function 'mboxname_make_parent' argument 1 names different: declaration 'namebuf' definition 'name'. cyrus-imapd-3.12.1/imap/mboxname.c:3180:69: style:inconclusive: Function 'mboxname_setmodseq' argument 2 names different: declaration 'val' definition 'last'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:393:60: note: Function 'mboxname_setmodseq' argument 2 names different: declaration 'val' definition 'last'. cyrus-imapd-3.12.1/imap/mboxname.c:3180:69: note: Function 'mboxname_setmodseq' argument 2 names different: declaration 'val' definition 'last'. cyrus-imapd-3.12.1/imap/mboxname.c:3226:74: style:inconclusive: Function 'mboxname_setquotamodseq' argument 2 names different: declaration 'val' definition 'last'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:399:65: note: Function 'mboxname_setquotamodseq' argument 2 names different: declaration 'val' definition 'last'. cyrus-imapd-3.12.1/imap/mboxname.c:3226:74: note: Function 'mboxname_setquotamodseq' argument 2 names different: declaration 'val' definition 'last'. cyrus-imapd-3.12.1/imap/mboxname.c:3275:73: style:inconclusive: Function 'mboxname_setraclmodseq' argument 2 names different: declaration 'val' definition 'last'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/mboxname.h:402:64: note: Function 'mboxname_setraclmodseq' argument 2 names different: declaration 'val' definition 'last'. cyrus-imapd-3.12.1/imap/mboxname.c:3275:73: note: Function 'mboxname_setraclmodseq' argument 2 names different: declaration 'val' definition 'last'. cyrus-imapd-3.12.1/imap/mboxname.c:742:23: style: Local variable 'p' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/mboxname.c:673:11: note: Shadowed declaration cyrus-imapd-3.12.1/imap/mboxname.c:742:23: note: Shadow variable cyrus-imapd-3.12.1/imap/mboxname.c:761:29: style: Local variable 'toplevel' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/mboxname.c:720:21: note: Shadowed declaration cyrus-imapd-3.12.1/imap/mboxname.c:761:29: note: Shadow variable cyrus-imapd-3.12.1/imap/mboxname.c:763:27: style: Local variable 'p' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/mboxname.c:673:11: note: Shadowed declaration cyrus-imapd-3.12.1/imap/mboxname.c:763:27: note: Shadow variable cyrus-imapd-3.12.1/imap/mboxname.c:786:23: style: Local variable 'p' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/mboxname.c:673:11: note: Shadowed declaration cyrus-imapd-3.12.1/imap/mboxname.c:786:23: note: Shadow variable cyrus-imapd-3.12.1/imap/mboxname.c:824:19: style: Local variable 'p' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/mboxname.c:673:11: note: Shadowed declaration cyrus-imapd-3.12.1/imap/mboxname.c:824:19: note: Shadow variable cyrus-imapd-3.12.1/imap/mboxname.c:173:50: style: Parameter 'remitem' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/mboxname.c:298:22: style: Variable 'lock' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/mboxname.c:2265:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/mboxname.c:1006:13: style: Variable 'sep' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/mbpath.c:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mbpath.c:217:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_SORT_KEYS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mbpath.c:232:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_RESERVED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mbpath.c:317:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_DATAERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mbpath.c:360:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mbpath.c:225:23: style: Variable 'opts' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/mbpath.c:328:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/mbtool.c:128:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mbtool.c:171:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mbtool.c:188:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC5322_DATETIME_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mbtool.c:110:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/mbtool.c:270:33: style: Parameter 'data' can be declared as pointer to const. However it seems that 'do_cmd' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/mbtool.c:163:63: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/mbtool.c:270:33: note: Parameter 'data' can be declared as pointer to const cyrus-imapd-3.12.1/imap/mbtool.c:275:10: style: Variable 'valp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/message.c:189:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_REJECT8BIT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:345:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:389:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:431:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:467:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:540:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:570:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_MAXHEADERLINES [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:648:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:723:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATETIME_DATE_ONLY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:744:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC822_BAD [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:753:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_NONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:779:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:863:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:1118:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_UNKNOWN_CHARSET [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:1135:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_NONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:1280:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_KEEPCASE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:1634:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BH_UPPER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:1826:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_BOUNDARY_LIMIT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:2103:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_RFC2046_STRICT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:2648:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_UNKNOWN_CHARSET [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:2733:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:2984:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:3071:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:3171:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:3335:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bit32 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:3511:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:3575:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:3649:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:3687:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:3703:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAYU64_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:3922:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:4240:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:4355:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:4413:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:4454:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:4595:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:4849:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:4889:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:4940:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:5437:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:5446:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:5607:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:5700:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:5802:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message.c:4860:9: style: The if condition is the same as the previous if condition [duplicateCondition] cyrus-imapd-3.12.1/imap/message.c:4853:9: note: First condition cyrus-imapd-3.12.1/imap/message.c:4860:9: note: Second condition cyrus-imapd-3.12.1/imap/message.c:4292:13: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/message.c:4289:13: note: Assuming that condition 'r' is not redundant cyrus-imapd-3.12.1/imap/message.c:4292:13: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/message.c:914:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/message.c:918:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/message.c:1138:9: warning: Either the condition 'body' is redundant or there is possible null pointer dereference: body. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/imap/message.c:2678:9: note: Assuming that condition 'body' is not redundant cyrus-imapd-3.12.1/imap/message.c:2645:27: note: Calling function 'message_parse_charset', 1st argument 'body' value is 0 cyrus-imapd-3.12.1/imap/message.c:1138:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/message.c:1579:23: warning: Either the condition 'paramp' is redundant or there is possible null pointer dereference: params. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/imap/message.c:1324:23: note: Assuming that condition 'paramp' is not redundant cyrus-imapd-3.12.1/imap/message.c:1323:29: note: Calling function 'message_fold_params', 1st argument 'paramp' value is 0 cyrus-imapd-3.12.1/imap/message.c:1579:23: note: Null pointer dereference cyrus-imapd-3.12.1/imap/message.c:1673:28: warning: If memory allocation fails, then there is a possible null pointer dereference: to++ [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/message.c:1668:36: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/message.c:1668:36: note: Assignment 'tmpvalue=xmalloc(2+3*strlen(thisparam->value)+strlen((*continuation)->value)+1)', assigned value is 0 cyrus-imapd-3.12.1/imap/message.c:1672:28: note: to is assigned 'tmpvalue' here. cyrus-imapd-3.12.1/imap/message.c:1673:28: note: Null pointer dereference cyrus-imapd-3.12.1/imap/message.c:2668:16: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/message.c:2667:36: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/message.c:2667:21: note: Assignment 'tmp=(char*)xcalloc(sizeof(char),len)', assigned value is 0 cyrus-imapd-3.12.1/imap/message.c:2668:16: note: Null pointer dereference cyrus-imapd-3.12.1/imap/message.c:1673:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imapd-3.12.1/imap/message.c:1668:36: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/message.c:1668:36: note: Assignment 'tmpvalue=xmalloc(2+3*strlen(thisparam->value)+strlen((*continuation)->value)+1)', assigned value is 0 cyrus-imapd-3.12.1/imap/message.c:1672:28: note: to is assigned 'tmpvalue' here. cyrus-imapd-3.12.1/imap/message.c:1673:28: note: Null pointer addition cyrus-imapd-3.12.1/imap/message.c:3021:15: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3017:19: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3021:15: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3078:15: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3075:15: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3078:15: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3081:15: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3078:15: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3081:15: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3084:15: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3081:15: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3084:15: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3087:15: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3084:15: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3087:15: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3129:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3126:7: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3129:7: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3132:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3129:7: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3132:7: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3135:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3132:7: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3135:7: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3138:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3135:7: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3138:7: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3141:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3138:7: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3141:7: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3144:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3141:7: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3144:7: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3147:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3144:7: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3147:7: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3150:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3147:7: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3150:7: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3153:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3150:7: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3153:7: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3156:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3153:7: note: c is assigned cyrus-imapd-3.12.1/imap/message.c:3156:7: note: c is overwritten cyrus-imapd-3.12.1/imap/message.c:3960:19: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/message.c:3955:15: note: r is assigned cyrus-imapd-3.12.1/imap/message.c:3960:19: note: r is overwritten cyrus-imapd-3.12.1/imap/message.c:1133:40: style:inconclusive: Function 'message_parse_charset' argument 2 names different: declaration 'encoding' definition 'e_ptr'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message.c:123:40: note: Function 'message_parse_charset' argument 2 names different: declaration 'encoding' definition 'e_ptr'. cyrus-imapd-3.12.1/imap/message.c:1133:40: note: Function 'message_parse_charset' argument 2 names different: declaration 'encoding' definition 'e_ptr'. cyrus-imapd-3.12.1/imap/message.c:1133:58: style:inconclusive: Function 'message_parse_charset' argument 3 names different: declaration 'charset' definition 'c_ptr'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message.c:123:61: note: Function 'message_parse_charset' argument 3 names different: declaration 'charset' definition 'c_ptr'. cyrus-imapd-3.12.1/imap/message.c:1133:58: note: Function 'message_parse_charset' argument 3 names different: declaration 'charset' definition 'c_ptr'. cyrus-imapd-3.12.1/imap/message.c:1381:65: style:inconclusive: Function 'message_parse_disposition' argument 2 names different: declaration 'hdpr' definition 'hdrp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message.h:200:63: note: Function 'message_parse_disposition' argument 2 names different: declaration 'hdpr' definition 'hdrp'. cyrus-imapd-3.12.1/imap/message.c:1381:65: note: Function 'message_parse_disposition' argument 2 names different: declaration 'hdpr' definition 'hdrp'. cyrus-imapd-3.12.1/imap/message.c:1567:48: style:inconclusive: Function 'message_fold_params' argument 1 names different: declaration 'paramp' definition 'params'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message.c:128:48: note: Function 'message_fold_params' argument 1 names different: declaration 'paramp' definition 'params'. cyrus-imapd-3.12.1/imap/message.c:1567:48: note: Function 'message_fold_params' argument 1 names different: declaration 'paramp' definition 'params'. cyrus-imapd-3.12.1/imap/message.c:4211:41: style:inconclusive: Function 'message_unref' argument 1 names different: declaration 'm' definition 'mp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message.h:318:39: note: Function 'message_unref' argument 1 names different: declaration 'm' definition 'mp'. cyrus-imapd-3.12.1/imap/message.c:4211:41: note: Function 'message_unref' argument 1 names different: declaration 'm' definition 'mp'. cyrus-imapd-3.12.1/imap/message.c:4227:42: style:inconclusive: Function 'message_need' argument 1 names different: declaration 'm' definition 'cm'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message.c:152:42: note: Function 'message_need' argument 1 names different: declaration 'm' definition 'cm'. cyrus-imapd-3.12.1/imap/message.c:4227:42: note: Function 'message_need' argument 1 names different: declaration 'm' definition 'cm'. cyrus-imapd-3.12.1/imap/message.c:5435:60: style:inconclusive: Function 'message_get_spamscore' argument 2 names different: declaration 'scorep' definition 'valp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message.h:348:58: note: Function 'message_get_spamscore' argument 2 names different: declaration 'scorep' definition 'valp'. cyrus-imapd-3.12.1/imap/message.c:5435:60: note: Function 'message_get_spamscore' argument 2 names different: declaration 'scorep' definition 'valp'. cyrus-imapd-3.12.1/imap/message.c:5444:58: style:inconclusive: Function 'message_get_field' argument 2 names different: declaration 'name' definition 'hdr'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message.h:320:56: note: Function 'message_get_field' argument 2 names different: declaration 'name' definition 'hdr'. cyrus-imapd-3.12.1/imap/message.c:5444:58: note: Function 'message_get_field' argument 2 names different: declaration 'name' definition 'hdr'. cyrus-imapd-3.12.1/imap/message.c:5444:67: style:inconclusive: Function 'message_get_field' argument 3 names different: declaration 'format' definition 'flags'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message.h:321:34: note: Function 'message_get_field' argument 3 names different: declaration 'format' definition 'flags'. cyrus-imapd-3.12.1/imap/message.c:5444:67: note: Function 'message_get_field' argument 3 names different: declaration 'format' definition 'flags'. cyrus-imapd-3.12.1/imap/message.c:5697:63: style:inconclusive: Function 'message_extract_cids' argument 2 names different: declaration 'state' definition 'cstate'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message.h:374:61: note: Function 'message_extract_cids' argument 2 names different: declaration 'state' definition 'cstate'. cyrus-imapd-3.12.1/imap/message.c:5697:63: note: Function 'message_extract_cids' argument 2 names different: declaration 'state' definition 'cstate'. cyrus-imapd-3.12.1/imap/message.c:4476:19: style: Local variable 'part_id' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/imap/message.c:4450:49: note: Shadowed declaration cyrus-imapd-3.12.1/imap/message.c:4476:19: note: Shadow variable cyrus-imapd-3.12.1/imap/message.c:5567:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/message.c:5562:13: note: Shadowed declaration cyrus-imapd-3.12.1/imap/message.c:5567:17: note: Shadow variable cyrus-imapd-3.12.1/imap/message.c:565:15: style: Variable 'colon' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/message.c:2031:9: style: Variable 'curp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/message.c:5210:43: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/message.c:5272:48: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/message.c:5321:43: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/message.c:5678:47: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/message.c:4231:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/message.c:5591:21: style: Variable 'found_field' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/message_guid.c:122:60: style:inconclusive: Function 'message_guid_equal' argument 1 names different: declaration 'guid1' definition 'g1'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message_guid.h:75:51: note: Function 'message_guid_equal' argument 1 names different: declaration 'guid1' definition 'g1'. cyrus-imapd-3.12.1/imap/message_guid.c:122:60: note: Function 'message_guid_equal' argument 1 names different: declaration 'guid1' definition 'g1'. cyrus-imapd-3.12.1/imap/message_guid.c:123:60: style:inconclusive: Function 'message_guid_equal' argument 2 names different: declaration 'guid2' definition 'g2'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message_guid.h:76:51: note: Function 'message_guid_equal' argument 2 names different: declaration 'guid2' definition 'g2'. cyrus-imapd-3.12.1/imap/message_guid.c:123:60: note: Function 'message_guid_equal' argument 2 names different: declaration 'guid2' definition 'g2'. cyrus-imapd-3.12.1/imap/message_guid.c:128:58: style:inconclusive: Function 'message_guid_cmp' argument 1 names different: declaration 'guid1' definition 'g1'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message_guid.h:77:49: note: Function 'message_guid_cmp' argument 1 names different: declaration 'guid1' definition 'g1'. cyrus-imapd-3.12.1/imap/message_guid.c:128:58: note: Function 'message_guid_cmp' argument 1 names different: declaration 'guid1' definition 'g1'. cyrus-imapd-3.12.1/imap/message_guid.c:129:58: style:inconclusive: Function 'message_guid_cmp' argument 2 names different: declaration 'guid2' definition 'g2'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/message_guid.h:78:49: note: Function 'message_guid_cmp' argument 2 names different: declaration 'guid2' definition 'g2'. cyrus-imapd-3.12.1/imap/message_guid.c:129:58: note: Function 'message_guid_cmp' argument 2 names different: declaration 'guid2' definition 'g2'. cyrus-imapd-3.12.1/imap/message_test.c:126:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message_test.c:153:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message_test.c:298:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message_test.c:310:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/message_test.c:223:13: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/imap/message_test.c:274:13: style: Local variable 'c' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/message_test.c:145:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/message_test.c:274:13: note: Shadow variable cyrus-imapd-3.12.1/imap/message_test.c:120:41: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dump_one_section' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/message_test.c:133:45: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/message_test.c:120:41: note: Parameter 'data' can be declared as pointer to const cyrus-imapd-3.12.1/imap/msgrecord.c:85:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/msgrecord.c:729:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/msgrecord.c:789:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/msgrecord.c:807:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/msgrecord.c:817:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/msgrecord.c:789:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/msgrecord.c:807:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/msgrecord.c:232:45: style:inconclusive: Function 'msgrecord_unref' argument 1 names different: declaration 'mr' definition 'mrp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/msgrecord.h:62:43: note: Function 'msgrecord_unref' argument 1 names different: declaration 'mr' definition 'mrp'. cyrus-imapd-3.12.1/imap/msgrecord.c:232:45: note: Function 'msgrecord_unref' argument 1 names different: declaration 'mr' definition 'mrp'. cyrus-imapd-3.12.1/imap/msgrecord.c:268:47: style:inconclusive: Function 'msgrecord_get_userflags' argument 2 names different: declaration 'user_flags' definition 'flags'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/msgrecord.h:85:62: note: Function 'msgrecord_get_userflags' argument 2 names different: declaration 'user_flags' definition 'flags'. cyrus-imapd-3.12.1/imap/msgrecord.c:268:47: note: Function 'msgrecord_get_userflags' argument 2 names different: declaration 'user_flags' definition 'flags'. cyrus-imapd-3.12.1/imap/msgrecord.c:428:70: style:inconclusive: Function 'msgrecord_get_mailbox' argument 2 names different: declaration 'mailboxptr' definition 'mboxp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/msgrecord.h:90:68: note: Function 'msgrecord_get_mailbox' argument 2 names different: declaration 'mailboxptr' definition 'mboxp'. cyrus-imapd-3.12.1/imap/msgrecord.c:428:70: note: Function 'msgrecord_get_mailbox' argument 2 names different: declaration 'mailboxptr' definition 'mboxp'. cyrus-imapd-3.12.1/imap/msgrecord.c:657:63: style:inconclusive: Function 'msgrecord_set_userflag' argument 2 names different: declaration 'user_flag' definition 'userflag'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/msgrecord.h:106:61: note: Function 'msgrecord_set_userflag' argument 2 names different: declaration 'user_flag' definition 'userflag'. cyrus-imapd-3.12.1/imap/msgrecord.c:657:63: note: Function 'msgrecord_set_userflag' argument 2 names different: declaration 'user_flag' definition 'userflag'. cyrus-imapd-3.12.1/imap/msgrecord.c:657:77: style:inconclusive: Function 'msgrecord_set_userflag' argument 3 names different: declaration 'bit' definition 'val'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/msgrecord.h:106:76: note: Function 'msgrecord_set_userflag' argument 3 names different: declaration 'bit' definition 'val'. cyrus-imapd-3.12.1/imap/msgrecord.c:657:77: note: Function 'msgrecord_set_userflag' argument 3 names different: declaration 'bit' definition 'val'. cyrus-imapd-3.12.1/imap/msgrecord.c:756:43: style:inconclusive: Function 'msgrecord_find' argument 3 names different: declaration 'mr' definition 'mrp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/msgrecord.h:51:77: note: Function 'msgrecord_find' argument 3 names different: declaration 'mr' definition 'mrp'. cyrus-imapd-3.12.1/imap/msgrecord.c:756:43: note: Function 'msgrecord_find' argument 3 names different: declaration 'mr' definition 'mrp'. cyrus-imapd-3.12.1/imap/msgrecord.c:647:47: style: Parameter 'user_flags' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/msgrecord.c:700:72: style: Parameter 'body' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/mupdate-client.c:220:21: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/mupdate-slave.c:83:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mupdate-slave.c:138:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mupdate-slave.c:221:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mupdate-slave.c:300:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_mupdate_server [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mupdate-slave.c:355:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mupdate-slave.c:163:17: style: Variable 'gotdata' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/mupdate.c:1767:21: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/mutex_fake.c:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mutex_fake.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/mutex_fake.c:52:37: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/mutex_fake.c:57:39: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/mutex_fake.c:62:38: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/mutex_pthread.c:54:24: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/mutex_pthread.c:52:54: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mutex_pthread.c:52:28: note: Assignment 'ret=(pthread_mutex_t*)xmalloc(sizeof(pthread_mutex_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/mutex_pthread.c:54:24: note: Null pointer dereference cyrus-imapd-3.12.1/imap/nntpd.c:293:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_UNAVAILABLE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:312:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_UNAVAILABLE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:412:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:511:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:578:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:655:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:674:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:733:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ALLOWANONYMOUSLOGIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:1503:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:1537:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:1709:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:1768:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_serverinfo [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:1854:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_servername [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:1902:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:1955:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ALLOWPLAINTEXT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:1990:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:2086:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_NO_FD [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:2301:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:2407:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ALLOWNEWNEWS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:2484:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:2594:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_READ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:2719:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_serverinfo [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:2796:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_NEWSPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:2821:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:2937:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:3037:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_servername [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:3217:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_SERVER_UNAVAILABLE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:3274:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:3525:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_NEWSPOSTUSER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:3606:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_NEWSPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:3785:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:3892:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:4091:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/nntpd.c:960:36: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imapd-3.12.1/imap/nntpd.c:1677:25: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imapd-3.12.1/imap/nntpd.c:1677:40: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/imap/nntpd.c:2908:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/imap/nntpd.c:2908:41: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/imap/nntpd.c:1555:6: warning:inconclusive: Either the condition 'uid==0' is redundant or there is possible null pointer dereference: uid. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/imap/nntpd.c:1588:47: note: Assuming that condition 'uid==0' is not redundant cyrus-imapd-3.12.1/imap/nntpd.c:1555:6: note: Null pointer dereference cyrus-imapd-3.12.1/imap/nntpd.c:2868:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/nntpd.c:2866:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/nntpd.c:2866:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/nntpd.c:2868:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/nntpd.c:2869:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/nntpd.c:2866:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/nntpd.c:2866:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/nntpd.c:2869:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/nntpd.c:2870:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/nntpd.c:2866:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/nntpd.c:2866:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/nntpd.c:2870:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/nntpd.c:2871:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/nntpd.c:2866:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/nntpd.c:2866:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/nntpd.c:2871:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/nntpd.c:2872:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/nntpd.c:2866:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/nntpd.c:2866:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/nntpd.c:2872:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/nntpd.c:2873:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/nntpd.c:2866:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/nntpd.c:2866:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/nntpd.c:2873:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/nntpd.c:2875:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/nntpd.c:2866:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/nntpd.c:2866:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/nntpd.c:2875:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/nntpd.c:2877:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/nntpd.c:2866:53: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/nntpd.c:2866:27: note: Assignment 'ret=(struct message_data_t*)xmalloc(sizeof(struct message_data_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/nntpd.c:2877:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/nntpd.c:2075:11: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/nntpd.c:2073:11: note: r is assigned cyrus-imapd-3.12.1/imap/nntpd.c:2075:11: note: r is overwritten cyrus-imapd-3.12.1/imap/nntpd.c:2076:11: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/nntpd.c:2075:11: note: r is assigned cyrus-imapd-3.12.1/imap/nntpd.c:2076:11: note: r is overwritten cyrus-imapd-3.12.1/imap/nntpd.c:1479:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cyrus-imapd-3.12.1/imap/nntpd.c:1549:54: style:inconclusive: Function 'parserange' argument 5 names different: declaration 'be' definition 'ret'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/nntpd.c:214:54: note: Function 'parserange' argument 5 names different: declaration 'be' definition 'ret'. cyrus-imapd-3.12.1/imap/nntpd.c:1549:54: note: Function 'parserange' argument 5 names different: declaration 'be' definition 'ret'. cyrus-imapd-3.12.1/imap/nntpd.c:961:22: style: Local variable 'buf' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/nntpd.c:727:23: note: Shadowed declaration cyrus-imapd-3.12.1/imap/nntpd.c:961:22: note: Shadow variable cyrus-imapd-3.12.1/imap/nntpd.c:2473:27: style: Local variable 'lrock' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/nntpd.c:2452:23: note: Shadowed declaration cyrus-imapd-3.12.1/imap/nntpd.c:2473:27: note: Shadow variable cyrus-imapd-3.12.1/imap/nntpd.c:960:28: style: Variable 'my_tm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/nntpd.c:1632:36: style: Parameter 'datestr' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/nntpd.c:1632:51: style: Parameter 'timestr' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/nntpd.c:1632:66: style: Parameter 'gmt' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/nntpd.c:1674:20: style: Variable 'current' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/nntpd.c:2054:37: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/nntpd.c:2054:60: style: Parameter 'resp' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/nntpd.c:3562:46: style: Variable 'path' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/nntpd.c:725:14: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/notify.c:114:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/notify.c:168:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_NOTIFYSOCKET [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_caringo.c:99:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CARINGO_HOSTNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_caringo.c:131:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_caringo.c:173:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_caringo.c:223:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_caringo.c:201:20: warning: Either the condition 'fd==-1' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cyrus-imapd-3.12.1/imap/objectstore_caringo.c:190:20: note: Assuming that condition 'fd==-1' is not redundant cyrus-imapd-3.12.1/imap/objectstore_caringo.c:201:20: note: Invalid argument cyrus-imapd-3.12.1/imap/objectstore_caringo.c:116:9: style: Condition 'rc' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/objectstore_caringo.c:115:15: note: Calling function 'init' returns 0 cyrus-imapd-3.12.1/imap/objectstore_caringo.c:115:15: note: Assignment 'rc=init()', assigned value is 0 cyrus-imapd-3.12.1/imap/objectstore_caringo.c:116:9: note: Condition 'rc' is always false cyrus-imapd-3.12.1/imap/objectstore_caringo.c:167:9: style: Condition 'rc' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/objectstore_caringo.c:166:15: note: Calling function 'init' returns 0 cyrus-imapd-3.12.1/imap/objectstore_caringo.c:166:15: note: Assignment 'rc=init()', assigned value is 0 cyrus-imapd-3.12.1/imap/objectstore_caringo.c:167:9: note: Condition 'rc' is always false cyrus-imapd-3.12.1/imap/objectstore_caringo.c:213:9: style: Condition 'rc' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/objectstore_caringo.c:212:15: note: Calling function 'init' returns 0 cyrus-imapd-3.12.1/imap/objectstore_caringo.c:212:15: note: Assignment 'rc=init()', assigned value is 0 cyrus-imapd-3.12.1/imap/objectstore_caringo.c:213:9: note: Condition 'rc' is always false cyrus-imapd-3.12.1/imap/objectstore_db.c:276:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_db.c:304:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DELETEDPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_db.c:118:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/objectstore_db.c:117:23: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/objectstore_db.c:117:23: note: Assignment 'ret=malloc(size+1)', assigned value is 0 cyrus-imapd-3.12.1/imap/objectstore_db.c:118:14: note: Null pointer dereference cyrus-imapd-3.12.1/imap/objectstore_db.c:119:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/objectstore_db.c:117:23: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/objectstore_db.c:117:23: note: Assignment 'ret=malloc(size+1)', assigned value is 0 cyrus-imapd-3.12.1/imap/objectstore_db.c:119:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/objectstore_db.c:243:21: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: list_info [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/objectstore_db.c:241:30: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/objectstore_db.c:241:30: note: Assignment 'list_info=malloc(final_length)', assigned value is 0 cyrus-imapd-3.12.1/imap/objectstore_db.c:243:21: note: Null pointer dereference cyrus-imapd-3.12.1/imap/objectstore_db.c:246:21: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: list_info [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/objectstore_db.c:241:30: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/objectstore_db.c:241:30: note: Assignment 'list_info=malloc(final_length)', assigned value is 0 cyrus-imapd-3.12.1/imap/objectstore_db.c:246:21: note: Null pointer dereference cyrus-imapd-3.12.1/imap/objectstore_db.c:276:42: warning: Possible null pointer dereference: zErrMsg [nullPointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:348:29: note: Assignment 'zErrMsg=0', assigned value is 0 cyrus-imapd-3.12.1/imap/objectstore_db.c:351:28: note: Calling function 'sql_error', 2nd argument 'zErrMsg' value is 0 cyrus-imapd-3.12.1/imap/objectstore_db.c:276:42: note: Null pointer dereference cyrus-imapd-3.12.1/imap/objectstore_db.c:210:23: style: Local variable 'ret' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/objectstore_db.c:196:15: note: Shadowed declaration cyrus-imapd-3.12.1/imap/objectstore_db.c:210:23: note: Shadow variable cyrus-imapd-3.12.1/imap/objectstore_db.c:392:15: style: Local variable 'mailbox_name' shadows outer function [shadowFunction] cyrus-imapd-3.12.1/imap/mailbox.h:592:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/objectstore_db.c:392:15: note: Shadow variable cyrus-imapd-3.12.1/imap/objectstore_db.c:447:23: style: Local variable 'mailbox_name' shadows outer function [shadowFunction] cyrus-imapd-3.12.1/imap/mailbox.h:592:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/objectstore_db.c:447:23: note: Shadow variable cyrus-imapd-3.12.1/imap/objectstore_db.c:116:29: style: Parameter 'newData' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:123:68: style: Parameter 'newData' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:128:11: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:147:27: style: Parameter 'data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/objectstore_db.c:464:52: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/objectstore_db.c:147:27: note: Parameter 'data' can be declared as pointer to const cyrus-imapd-3.12.1/imap/objectstore_db.c:188:11: style: Variable 'mailboxname' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:229:11: style: Variable 'sql' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:230:11: style: Variable 'sql_where' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:252:63: style: Parameter 'mailbox_name' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:254:11: style: Variable 'sql' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:263:40: style: Parameter 'sql_cmd' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:334:65: style: Parameter 'mailbox' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:363:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/objectstore_db.c:424:12: error: Uninitialized variable: rc [legacyUninitvar] cyrus-imapd-3.12.1/imap/objectstore_db.c:481:13: error: Uninitialized variable: rc [legacyUninitvar] cyrus-imapd-3.12.1/imap/objectstore_db.c:506:9: error: Uninitialized variable: rc [legacyUninitvar] cyrus-imapd-3.12.1/imap/objectstore_dummy.c:80:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_OBJECT_STORAGE_DUMMY_SPOOL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_dummy.c:151:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_dummy.c:188:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COPYFILE_NOLINK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_dummy.c:169:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/objectstore_dummy.c:152:16: note: rc is assigned cyrus-imapd-3.12.1/imap/objectstore_dummy.c:169:8: note: rc is overwritten cyrus-imapd-3.12.1/imap/objectstore_dummy.c:169:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/objectstore_dummy.c:162:16: note: rc is assigned cyrus-imapd-3.12.1/imap/objectstore_dummy.c:169:8: note: rc is overwritten cyrus-imapd-3.12.1/imap/objectstore_dummy.c:93:24: style: Variable 'obj_def' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/objectstore_dummy.c:106:24: style: Variable 'obj_def' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/objectstore_dummy.c:120:20: style: Variable 'd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/objectstore_dummy.c:138:24: style: Variable 'obj_def' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/objectstore_openio.c:70:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_OPENIO_VERBOSITY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_openio.c:160:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OIOURL_NS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_openio.c:185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_openio.c:231:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_openio.c:263:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_openio.c:298:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/objectstore_openio.c:279:49: style:inconclusive: Function 'objectstore_is_filename_in_container' argument 3 names different: declaration 'isthere' definition 'phas'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/objectstore.h:57:49: note: Function 'objectstore_is_filename_in_container' argument 3 names different: declaration 'isthere' definition 'phas'. cyrus-imapd-3.12.1/imap/objectstore_openio.c:279:49: note: Function 'objectstore_is_filename_in_container' argument 3 names different: declaration 'isthere' definition 'phas'. cyrus-imapd-3.12.1/imap/objectstore_openio.c:108:23: style: Variable 'found' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/partlist.c:287:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/partlist.c:501:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/partlist.c:543:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_PARTITION_SELECT_EXCLUDE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/partlist.c:132:15: style: Variable 'item' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/pop3d.c:231:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_POPSUBFOLDERS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:290:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_POPSUBFOLDERS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:332:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:418:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:480:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_POP3_READY_LISTENERS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:600:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_POP3_SHUTDOWN_TOTAL_STATUS_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:635:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:702:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_POP3_ACTIVE_CONNECTIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:764:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:799:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_ident [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:1159:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_UIDL_FORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:1271:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:1302:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:1358:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ALLOWPLAINTEXT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:1399:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ALLOWANONYMOUSLOGIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:1479:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_POPMINPOLL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:1561:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:1697:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:1947:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:2001:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:2039:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_ident [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:2070:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_SETSEEN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/pop3d.c:1342:12: warning: If memory allocation fails, then there is a possible null pointer dereference: popd_userid [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/pop3d.c:1339:26: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/pop3d.c:1339:26: note: Assignment 'popd_userid=xstrdup((const char*)canon_user)', assigned value is 0 cyrus-imapd-3.12.1/imap/pop3d.c:1342:12: note: Null pointer dereference cyrus-imapd-3.12.1/imap/pop3d.c:1455:16: warning: If memory allocation fails, then there is a possible null pointer dereference: popd_userid [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/pop3d.c:1452:30: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/pop3d.c:1452:30: note: Assignment 'popd_userid=xstrdup((const char*)val)', assigned value is 0 cyrus-imapd-3.12.1/imap/pop3d.c:1455:16: note: Null pointer dereference cyrus-imapd-3.12.1/imap/pop3d.c:1619:41: warning: Either the condition 'authtype' is redundant or there is possible null pointer dereference: authtype. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/imap/pop3d.c:1609:17: note: Assuming that condition 'authtype' is not redundant cyrus-imapd-3.12.1/imap/pop3d.c:1619:41: note: Null pointer dereference cyrus-imapd-3.12.1/imap/pop3d.c:1676:12: warning: If memory allocation fails, then there is a possible null pointer dereference: popd_userid [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/pop3d.c:1671:30: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/pop3d.c:1671:30: note: Assignment 'popd_userid=xstrdup(userbuf)', assigned value is 0 cyrus-imapd-3.12.1/imap/pop3d.c:1676:12: note: Null pointer dereference cyrus-imapd-3.12.1/imap/pop3d.c:1619:41: error: Null pointer dereference [nullPointer] cyrus-imapd-3.12.1/imap/pop3d.c:1933:21: style:inconclusive: Function 'blat' argument 1 names different: declaration 'msg' definition 'msgno'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/pop3d.c:199:21: note: Function 'blat' argument 1 names different: declaration 'msg' definition 'msgno'. cyrus-imapd-3.12.1/imap/pop3d.c:1933:21: note: Function 'blat' argument 1 names different: declaration 'msg' definition 'msgno'. cyrus-imapd-3.12.1/imap/pop3d.c:1060:25: style: Local variable 'p' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/pop3d.c:789:11: note: Shadowed declaration cyrus-imapd-3.12.1/imap/pop3d.c:1060:25: note: Shadow variable cyrus-imapd-3.12.1/imap/pop3d.c:1063:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/pop3d.c:792:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/pop3d.c:1063:17: note: Shadow variable cyrus-imapd-3.12.1/imap/pop3d.c:1352:40: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/pop3d.c:1352:46: style: Variable 'domain' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/prometheus.c:119:65: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/promstatsd.c:111:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:145:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:187:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:240:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROM_NUM_METRICS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:261:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_updated [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:275:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:384:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MBNAME_SHARED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:420:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_MAILBOX_NAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:457:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:484:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmpstringp_raw [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:528:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:571:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUOTA_NUMRESOURCES [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:585:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:642:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_IOERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:682:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/promstatsd.c:450:28: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/promstatsd.c:297:27: style: Variable 'doneprocs_lock_fd' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/promstatsd.c:605:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/proxy.c:231:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/proxy.c:310:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/proxy.c:78:17: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/proxy.c:77:20: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/proxy.c:77:20: note: Assignment 'd=xmalloc(sizeof(struct dest))', assigned value is 0 cyrus-imapd-3.12.1/imap/proxy.c:78:17: note: Null pointer dereference cyrus-imapd-3.12.1/imap/proxy.c:79:17: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/proxy.c:77:20: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/proxy.c:77:20: note: Assignment 'd=xmalloc(sizeof(struct dest))', assigned value is 0 cyrus-imapd-3.12.1/imap/proxy.c:79:17: note: Null pointer dereference cyrus-imapd-3.12.1/imap/proxy.c:80:9: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/proxy.c:77:20: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/proxy.c:77:20: note: Assignment 'd=xmalloc(sizeof(struct dest))', assigned value is 0 cyrus-imapd-3.12.1/imap/proxy.c:80:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/proxy.c:81:9: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/proxy.c:77:20: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/proxy.c:77:20: note: Assignment 'd=xmalloc(sizeof(struct dest))', assigned value is 0 cyrus-imapd-3.12.1/imap/proxy.c:81:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/proxy.c:82:9: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/proxy.c:77:20: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/proxy.c:77:20: note: Assignment 'd=xmalloc(sizeof(struct dest))', assigned value is 0 cyrus-imapd-3.12.1/imap/proxy.c:82:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/proxy.c:89:17: warning: If memory allocation fails, then there is a possible null pointer dereference: new_rcpt [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/proxy.c:87:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/proxy.c:87:40: note: Assignment 'new_rcpt=xmalloc(sizeof(struct rcpt))', assigned value is 0 cyrus-imapd-3.12.1/imap/proxy.c:89:17: note: Null pointer dereference cyrus-imapd-3.12.1/imap/proxy.c:90:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_rcpt [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/proxy.c:87:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/proxy.c:87:40: note: Assignment 'new_rcpt=xmalloc(sizeof(struct rcpt))', assigned value is 0 cyrus-imapd-3.12.1/imap/proxy.c:90:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/proxy.c:94:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_rcpt [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/proxy.c:87:40: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/proxy.c:87:40: note: Assignment 'new_rcpt=xmalloc(sizeof(struct rcpt))', assigned value is 0 cyrus-imapd-3.12.1/imap/proxy.c:94:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/proxy.c:152:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/quota.c:154:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota.c:240:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota.c:261:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota.c:280:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota.c:320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota.c:409:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota.c:557:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota.c:579:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota.c:651:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota.c:487:9: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/quota.c:486:17: note: Calling function 'findroot' returns 0 cyrus-imapd-3.12.1/imap/quota.c:486:17: note: Assignment 'r=findroot(mbentry->name,&thisquota)', assigned value is 0 cyrus-imapd-3.12.1/imap/quota.c:487:9: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/quota.c:505:17: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/quota.c:504:33: note: Calling function 'fixquota_fixroot' returns 0 cyrus-imapd-3.12.1/imap/quota.c:504:33: note: Assignment 'r=fixquota_fixroot(mailbox,NULL)', assigned value is 0 cyrus-imapd-3.12.1/imap/quota.c:505:17: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/quota.c:518:17: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/quota.c:517:33: note: Calling function 'fixquota_fixroot' returns 0 cyrus-imapd-3.12.1/imap/quota.c:517:33: note: Assignment 'r=fixquota_fixroot(mailbox,root)', assigned value is 0 cyrus-imapd-3.12.1/imap/quota.c:518:17: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/quota.c:131:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/quota.c:331:52: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'fixquota_addroot' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/quota.c:428:36: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/quota.c:331:52: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/quota.c:392:26: style: Parameter 'domain' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/quota.c:471:60: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'fixquota_dombox' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/quota.c:687:48: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/quota.c:471:60: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/quota.c:633:27: style: Parameter 'domain' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/quota.c:262:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/quota_db.c:165:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:246:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_QUOTA_USE_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:278:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_QUOTAROOT_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:347:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_QUOTA_EXCEEDED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:359:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:431:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:444:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:458:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:532:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_QUOTAROOT_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:608:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_QUOTAROOT_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:634:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_QUOTAROOT_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:674:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_virtdomains [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:720:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_QUOTA_DB_PATH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:756:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/quota_db.c:137:40: style:inconclusive: Function 'quota_init' argument 1 names different: declaration 'quota' definition 'q'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/quota.h:104:38: note: Function 'quota_init' argument 1 names different: declaration 'quota' definition 'q'. cyrus-imapd-3.12.1/imap/quota_db.c:137:40: note: Function 'quota_init' argument 1 names different: declaration 'quota' definition 'q'. cyrus-imapd-3.12.1/imap/quota_db.c:149:40: style:inconclusive: Function 'quota_free' argument 1 names different: declaration 'quota' definition 'q'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/quota.h:105:38: note: Function 'quota_free' argument 1 names different: declaration 'quota' definition 'q'. cyrus-imapd-3.12.1/imap/quota_db.c:149:40: note: Function 'quota_free' argument 1 names different: declaration 'quota' definition 'q'. cyrus-imapd-3.12.1/imap/quota_db.c:316:46: style:inconclusive: Function 'quota_check' argument 1 names different: declaration 'quota' definition 'q'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/quota.h:110:44: note: Function 'quota_check' argument 1 names different: declaration 'quota' definition 'q'. cyrus-imapd-3.12.1/imap/quota_db.c:316:46: note: Function 'quota_check' argument 1 names different: declaration 'quota' definition 'q'. cyrus-imapd-3.12.1/imap/quota_db.c:352:39: style:inconclusive: Function 'quota_use' argument 1 names different: declaration 'quota' definition 'q'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/quota.h:112:37: note: Function 'quota_use' argument 1 names different: declaration 'quota' definition 'q'. cyrus-imapd-3.12.1/imap/quota_db.c:352:39: note: Function 'quota_use' argument 1 names different: declaration 'quota' definition 'q'. cyrus-imapd-3.12.1/imap/quota_db.c:690:26: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'done_cb' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/quota_db.c:711:23: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/quota_db.c:690:26: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/reconstruct.c:153:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/reconstruct.c:447:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/reconstruct.c:551:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/reconstruct.c:753:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/reconstruct.c:762:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/reconstruct.c:760:45: style:inconclusive: Function 'reconstruct_mbentry' argument 1 names different: declaration 'path' definition 'header_path'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/reconstruct.c:121:45: note: Function 'reconstruct_mbentry' argument 1 names different: declaration 'path' definition 'header_path'. cyrus-imapd-3.12.1/imap/reconstruct.c:760:45: note: Function 'reconstruct_mbentry' argument 1 names different: declaration 'path' definition 'header_path'. cyrus-imapd-3.12.1/imap/reconstruct.c:411:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/reconstruct.c:146:17: note: Shadowed declaration cyrus-imapd-3.12.1/imap/reconstruct.c:411:13: note: Shadow variable cyrus-imapd-3.12.1/imap/reconstruct.c:533:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/reconstruct.c:497:9: note: Shadowed declaration cyrus-imapd-3.12.1/imap/reconstruct.c:533:17: note: Shadow variable cyrus-imapd-3.12.1/imap/reconstruct.c:154:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/relocate_by_id.c:110:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/relocate_by_id.c:395:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/relocate_by_id.c:438:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/relocate_by_id.c:466:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/relocate_by_id.c:504:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/relocate_by_id.c:542:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAPPEDFILE_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/relocate_by_id.c:111:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/saslclient.c:248:35: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/saslserver.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_engines.c:515:45: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/search_expr.c:201:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SEARCH_NORMALISATION_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:351:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:360:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:849:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:883:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHU64_TABLE_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:1432:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:1468:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:1516:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:1587:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:1620:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:1658:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:1788:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:1812:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:1994:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:2116:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:2165:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:2201:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:2517:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_UNKNOWN_CHARSET [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:2548:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:2576:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:3399:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIT32_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_expr.c:835:9: style: Condition '!r' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/search_expr.c:833:13: note: Assignment 'r=0', assigned value is 0 cyrus-imapd-3.12.1/imap/search_expr.c:835:9: note: Condition '!r' is always true cyrus-imapd-3.12.1/imap/search_expr.c:3187:13: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/search_expr.c:214:72: style:inconclusive: Function 'search_expr_append' argument 2 names different: declaration 'child' definition 'e'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/search_expr.h:135:70: note: Function 'search_expr_append' argument 2 names different: declaration 'child' definition 'e'. cyrus-imapd-3.12.1/imap/search_expr.c:214:72: note: Function 'search_expr_append' argument 2 names different: declaration 'child' definition 'e'. cyrus-imapd-3.12.1/imap/search_expr.c:123:72: style: Parameter 'child' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/search_expr.c:1099:37: style: Parameter 'e' can be declared as pointer to const. However it seems that 'uses_attr' is a callback function, if 'e' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_expr.c:1114:50: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_expr.c:1099:37: note: Parameter 'e' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_expr.c:1125:47: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'is_mutable' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_expr.c:1144:50: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_expr.c:1125:47: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_expr.c:1239:48: style: Parameter 'e' can be declared as pointer to const. However it seems that 'is_folder_or_indexed' is a callback function, if 'e' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_expr.c:1307:31: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_expr.c:1239:48: note: Parameter 'e' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_expr.c:1655:38: style: Parameter 'data1' can be declared as pointer to const. However it seems that 'search_header_match' is a callback function, if 'data1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_expr.c:3370:9: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_expr.c:1655:38: note: Parameter 'data1' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_expr.c:1697:58: style: Parameter 'state' can be declared as pointer to const. However it seems that 'search_msgno_internalise' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_expr.c:2857:13: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_expr.c:1697:58: note: Parameter 'state' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_expr.c:1705:56: style: Parameter 'state' can be declared as pointer to const. However it seems that 'search_uid_internalise' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_expr.c:2873:13: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_expr.c:1705:56: note: Parameter 'state' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_expr.c:2001:59: style: Parameter 'state' can be declared as pointer to const. However it seems that 'search_folder_internalise' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_expr.c:3049:13: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_expr.c:2001:59: note: Parameter 'state' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_expr.c:2010:43: style: Parameter 'm' can be declared as pointer to const. However it seems that 'search_folder_match' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_expr.c:3051:13: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_expr.c:2010:43: note: Parameter 'm' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_expr.c:2013:38: style: Parameter 'data1' can be declared as pointer to const. However it seems that 'search_folder_match' is a callback function, if 'data1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_expr.c:3051:13: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_expr.c:2013:38: note: Parameter 'data1' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_expr.c:2382:43: style: Parameter 'mailbox' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/search_expr.c:2554:57: style: Parameter 'state' can be declared as pointer to const. However it seems that 'search_seen_internalise' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_expr.c:3305:13: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_expr.c:2554:57: note: Parameter 'state' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_query.c:164:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BV_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_query.c:187:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEQ_SPARSE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_query.c:311:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CALENDARPREFIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_query.c:375:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_PERMISSION_DENIED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_query.c:424:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_query.c:510:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_query.c:712:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SEARCH_ENGINE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_query.c:874:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_query.c:1204:74: style:inconclusive: Function 'search_is_mutable' argument 2 names different: declaration 'e' definition 'expr'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/search_query.h:216:72: note: Function 'search_is_mutable' argument 2 names different: declaration 'e' definition 'expr'. cyrus-imapd-3.12.1/imap/search_query.c:1204:74: note: Function 'search_is_mutable' argument 2 names different: declaration 'e' definition 'expr'. cyrus-imapd-3.12.1/imap/search_query.c:388:45: style: Parameter 'query' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/search_query.c:478:57: style: Parameter 'rock' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/search_query.c:493:59: style: Parameter 'qr' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/search_query.c:1009:24: style: Variable 'sub' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/search_query.c:1172:45: style: Parameter 'sortcrit' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/search_query.c:1204:74: style: Parameter 'expr' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/search_squat.c:352:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:386:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:436:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:465:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:571:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:586:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:645:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:680:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:713:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:777:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:812:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:954:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:1008:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_KEEPCASE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_squat.c:860:13: style: Condition 'incremental' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/search_squat.c:632:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/search_squat.c:326:21: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/search_squat.c:368:49: style: Parameter 'bx' can be declared as pointer to const. However it seems that 'get_internalised' is a callback function, if 'bx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_squat.c:409:34: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_squat.c:368:49: note: Parameter 'bx' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_squat.c:613:51: style: Parameter 'rx' can be declared as pointer to const. However it seems that 'begin_bodypart' is a callback function, if 'rx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_squat.c:1020:31: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_squat.c:613:51: note: Parameter 'rx' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_squat.c:725:50: style: Parameter 'rx' can be declared as pointer to const. However it seems that 'end_bodypart' is a callback function, if 'rx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_squat.c:1024:29: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_squat.c:725:50: note: Parameter 'rx' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_squat.c:742:45: style: Parameter 'params' can be declared as pointer to const. However it seems that 'stats_callback' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_squat.c:821:30: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_squat.c:742:45: note: Parameter 'params' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_squat.c:744:24: style: Variable 'd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/search_squat.c:925:61: style: Parameter 'rx' can be declared as pointer to const. However it seems that 'first_unindexed_uid' is a callback function, if 'rx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_squat.c:1017:36: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_squat.c:925:61: note: Parameter 'rx' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_squat.c:666:11: style: Variable 's' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/search_squat.c:708:11: style: Variable 's' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/search_test.c:97:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_test.c:183:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_test.c:255:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_test.c:327:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_test.c:333:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_test.c:88:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/imap/search_xapian.c:110:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONVERSATIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:171:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:247:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAPPEDFILE_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:294:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DEFAULTSEARCHTIER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:324:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:393:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:611:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:643:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:658:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SEARCH_INDEXED_DB [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:749:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:855:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1012:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1055:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1118:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1189:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1271:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSYNC_BIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1322:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1362:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1570:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1813:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1850:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:1915:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2009:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_SEARCH_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2024:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2031:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2044:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2058:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2115:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2219:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_DEFAULTPARTITION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2246:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_PARTITION_UNKNOWN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2276:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2320:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2349:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2441:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2487:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2538:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2624:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEQ_MERGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2657:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2823:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:2876:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:3071:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:3228:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:3380:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:3480:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:3693:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:3745:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:3774:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:3832:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:4248:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/search_xapian.c:696:25: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/search_xapian.c:695:21: note: Assuming that condition '!r' is not redundant cyrus-imapd-3.12.1/imap/search_xapian.c:696:25: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/search_xapian.c:1894:13: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/search_xapian.c:1893:32: note: Calling function 'normalise_dnfclause' returns 0 cyrus-imapd-3.12.1/imap/search_xapian.c:1893:32: note: Assignment 'r=normalise_dnfclause(bb->root,&norm)', assigned value is 0 cyrus-imapd-3.12.1/imap/search_xapian.c:1894:13: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/search_xapian.c:2363:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/search_xapian.c:2886:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/search_xapian.c:2743:11: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/search_xapian.c:2739:11: note: r is assigned cyrus-imapd-3.12.1/imap/search_xapian.c:2743:11: note: r is overwritten cyrus-imapd-3.12.1/imap/search_xapian.c:3129:19: style: Variable 'last_part' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/search_xapian.c:3124:23: note: last_part is assigned cyrus-imapd-3.12.1/imap/search_xapian.c:3129:19: note: last_part is overwritten cyrus-imapd-3.12.1/imap/search_xapian.c:2237:52: style:inconclusive: Function 'xapian_basedir' argument 5 names different: declaration 'basedir' definition 'basedirp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/search_engines.h:60:75: note: Function 'xapian_basedir' argument 5 names different: declaration 'basedir' definition 'basedirp'. cyrus-imapd-3.12.1/imap/search_xapian.c:2237:52: note: Function 'xapian_basedir' argument 5 names different: declaration 'basedir' definition 'basedirp'. cyrus-imapd-3.12.1/imap/search_xapian.c:1554:32: style: Local variable 'child' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/search_xapian.c:1534:20: note: Shadowed declaration cyrus-imapd-3.12.1/imap/search_xapian.c:1554:32: note: Shadow variable cyrus-imapd-3.12.1/imap/search_xapian.c:3596:24: style: Local variable 'msg' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/search_xapian.c:3541:22: note: Shadowed declaration cyrus-imapd-3.12.1/imap/search_xapian.c:3596:24: note: Shadow variable cyrus-imapd-3.12.1/imap/search_xapian.c:3617:24: style: Local variable 'msg' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/search_xapian.c:3541:22: note: Shadowed declaration cyrus-imapd-3.12.1/imap/search_xapian.c:3617:24: note: Shadow variable cyrus-imapd-3.12.1/imap/search_xapian.c:3678:20: style: Local variable 'msg' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/search_xapian.c:3541:22: note: Shadowed declaration cyrus-imapd-3.12.1/imap/search_xapian.c:3678:20: note: Shadow variable cyrus-imapd-3.12.1/imap/search_xapian.c:151:11: style: Variable 'num' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/search_xapian.c:1341:47: style: Parameter 'mailbox' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/search_xapian.c:1907:28: style: Variable 'expr' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/search_xapian.c:1943:33: style: Variable 'cstate' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/search_xapian.c:2073:42: style: Parameter 'internalised' can be declared as pointer to const. However it seems that 'describe_internalised' is a callback function, if 'internalised' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/search_xapian.c:4321:5: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/search_xapian.c:2073:42: note: Parameter 'internalised' can be declared as pointer to const cyrus-imapd-3.12.1/imap/search_xapian.c:2113:33: style: Variable 'cstate' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/search_xapian.c:2681:33: style: Variable 'cstate' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/search_xapian.c:4200:25: style: Variable 'drock' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/seen_db.c:284:30: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/sieve_db.c:616:35: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/sievedir.c:78:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sievedir.c:149:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sievedir.c:190:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sievedir.c:221:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sievedir.c:257:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sievedir.c:273:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sievedir.c:292:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sievedir.c:403:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smmapd.c:170:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smmapd.c:185:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smmapd.c:271:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_ident [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smmapd.c:387:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smmapd.c:321:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cyrus-imapd-3.12.1/imap/smmapd.c:303:25: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/smtpclient.c:150:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CLIENT_BIND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:268:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:312:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:354:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:374:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:384:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:476:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:564:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:596:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:633:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:683:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:710:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:745:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MESSAGE_TOO_LARGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:831:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:884:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:908:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SMTP_AUTH_AUTHNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:1020:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:1047:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/smtpclient.c:1084:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/smtpclient.c:1083:45: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/smtpclient.c:1083:45: note: Assignment 'ctx=xmalloc(sizeof(struct smtpclient_sendmail_ctx_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/smtpclient.c:1084:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/smtpclient.c:1085:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/smtpclient.c:1083:45: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/smtpclient.c:1083:45: note: Assignment 'ctx=xmalloc(sizeof(struct smtpclient_sendmail_ctx_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/smtpclient.c:1085:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/smtpclient.c:1086:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/smtpclient.c:1083:45: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/smtpclient.c:1083:45: note: Assignment 'ctx=xmalloc(sizeof(struct smtpclient_sendmail_ctx_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/smtpclient.c:1086:5: note: Null pointer dereference cyrus-imapd-3.12.1/imap/smtpclient.c:1091:31: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/smtpclient.c:1083:45: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/smtpclient.c:1083:45: note: Assignment 'ctx=xmalloc(sizeof(struct smtpclient_sendmail_ctx_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/smtpclient.c:1091:31: note: Null pointer dereference cyrus-imapd-3.12.1/imap/smtpclient.c:1091:42: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/smtpclient.c:1083:45: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/smtpclient.c:1083:45: note: Assignment 'ctx=xmalloc(sizeof(struct smtpclient_sendmail_ctx_t))', assigned value is 0 cyrus-imapd-3.12.1/imap/smtpclient.c:1091:42: note: Null pointer dereference cyrus-imapd-3.12.1/imap/smtpclient.c:590:61: style:inconclusive: Function 'smtpclient_rcpt_to' argument 2 names different: declaration 'rcpt' definition 'rcpts'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/smtpclient.c:143:61: note: Function 'smtpclient_rcpt_to' argument 2 names different: declaration 'rcpt' definition 'rcpts'. cyrus-imapd-3.12.1/imap/smtpclient.c:590:61: note: Function 'smtpclient_rcpt_to' argument 2 names different: declaration 'rcpt' definition 'rcpts'. cyrus-imapd-3.12.1/imap/smtpclient.c:802:65: style:inconclusive: Function 'smtpclient_set_auth' argument 2 names different: declaration 'userid' definition 'authid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/smtpclient.h:131:63: note: Function 'smtpclient_set_auth' argument 2 names different: declaration 'userid' definition 'authid'. cyrus-imapd-3.12.1/imap/smtpclient.c:802:65: note: Function 'smtpclient_set_auth' argument 2 names different: declaration 'userid' definition 'authid'. cyrus-imapd-3.12.1/imap/smtpclient.c:258:51: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'expect_code_cb' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/smtpclient.c:667:29: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/smtpclient.c:258:51: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/smtpclient.c:536:23: style: Variable 'param' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/smtpclient.c:855:58: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/smtpclient.c:896:9: style: struct member 'smtpclient_host_t::sockfd' is never used. [unusedStructMember] cyrus-imapd-3.12.1/imap/spool.c:121:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/spool.c:552:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MESSAGE_CONTAINSNULL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/spool.c:374:54: style:inconclusive: Function 'spool_replace_header' argument 2 names different: declaration 'newvalue' definition 'body'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/spool.h:57:45: note: Function 'spool_replace_header' argument 2 names different: declaration 'newvalue' definition 'body'. cyrus-imapd-3.12.1/imap/spool.c:374:54: note: Function 'spool_replace_header' argument 2 names different: declaration 'newvalue' definition 'body'. cyrus-imapd-3.12.1/imap/squat.c:103:3: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat.c:102:37: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat.c:102:11: note: Assignment 'index=(struct SquatSearchIndex*)xmalloc(sizeof(struct SquatSearchIndex))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat.c:103:3: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat.c:122:37: warning: If memory allocation fails, then there is a possible null pointer dereference: header [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat.c:115:21: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat.c:115:21: note: Assignment 'index->data=mmap(NULL,data_len+16,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 cyrus-imapd-3.12.1/imap/squat.c:121:10: note: header is assigned '(const struct SquatDiskHeader*)index->data' here. cyrus-imapd-3.12.1/imap/squat.c:122:37: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat.c:123:38: warning: If memory allocation fails, then there is a possible null pointer dereference: header [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat.c:115:21: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat.c:115:21: note: Assignment 'index->data=mmap(NULL,data_len+16,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 cyrus-imapd-3.12.1/imap/squat.c:121:10: note: header is assigned '(const struct SquatDiskHeader*)index->data' here. cyrus-imapd-3.12.1/imap/squat.c:123:38: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat.c:124:40: warning: If memory allocation fails, then there is a possible null pointer dereference: header [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat.c:115:21: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat.c:115:21: note: Assignment 'index->data=mmap(NULL,data_len+16,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 cyrus-imapd-3.12.1/imap/squat.c:121:10: note: header is assigned '(const struct SquatDiskHeader*)index->data' here. cyrus-imapd-3.12.1/imap/squat.c:124:40: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat.c:128:14: warning: If memory allocation fails, then there is a possible null pointer dereference: header [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat.c:115:21: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat.c:115:21: note: Assignment 'index->data=mmap(NULL,data_len+16,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 cyrus-imapd-3.12.1/imap/squat.c:121:10: note: header is assigned '(const struct SquatDiskHeader*)index->data' here. cyrus-imapd-3.12.1/imap/squat.c:128:14: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat.c:279:4: warning: If memory allocation fails, then there is a possible null pointer dereference: run_start [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat.c:503:37: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat.c:503:16: note: Assignment 'run_starts=(const char**)xmalloc(sizeof(const char*)*(data_len-4+1))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat.c:511:59: note: Calling function 'count_docs_containing_word', 3rd argument 'run_starts' value is 0 cyrus-imapd-3.12.1/imap/squat.c:275:20: note: Assuming condition is false cyrus-imapd-3.12.1/imap/squat.c:279:4: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat.c:132:32: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imapd-3.12.1/imap/squat.c:115:21: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat.c:115:21: note: Assignment 'index->data=mmap(NULL,data_len+16,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 cyrus-imapd-3.12.1/imap/squat.c:132:32: note: Null pointer addition cyrus-imapd-3.12.1/imap/squat.c:154:55: style: Parameter 'index' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat.c:180:55: style: Parameter 'index' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat.c:437:39: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat.c:855:43: style: Parameter 'index' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat.c:927:49: style: Parameter 'index' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat_build.c:560:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_path [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:559:29: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:559:29: note: Assignment 'tmp_path=xstrdup(index->tmp_path)', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:560:22: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:664:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:743:28: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:742:21: note: Assignment 'p=(struct SquatWordTableLeafPresence*)xmalloc(sizeof(struct SquatWordTableLeafPresence))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:750:34: note: Calling function 'set_presence_bit', 1st argument 'p' value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:664:17: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:666:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:743:28: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:742:21: note: Assignment 'p=(struct SquatWordTableLeafPresence*)xmalloc(sizeof(struct SquatWordTableLeafPresence))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:750:34: note: Calling function 'set_presence_bit', 1st argument 'p' value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:666:14: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:669:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:743:28: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:742:21: note: Assignment 'p=(struct SquatWordTableLeafPresence*)xmalloc(sizeof(struct SquatWordTableLeafPresence))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:750:34: note: Calling function 'set_presence_bit', 1st argument 'p' value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:669:14: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:744:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:743:28: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:742:21: note: Assignment 'p=(struct SquatWordTableLeafPresence*)xmalloc(sizeof(struct SquatWordTableLeafPresence))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:744:17: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:745:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:743:28: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:742:21: note: Assignment 'p=(struct SquatWordTableLeafPresence*)xmalloc(sizeof(struct SquatWordTableLeafPresence))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:745:17: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:746:24: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:743:28: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:742:21: note: Assignment 'p=(struct SquatWordTableLeafPresence*)xmalloc(sizeof(struct SquatWordTableLeafPresence))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:746:24: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:774:13: warning: If memory allocation fails, then there is a possible null pointer dereference: docs [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:773:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:772:20: note: Assignment 'docs=(struct SquatWordTableLeafDocs*)xmalloc(sizeof(struct SquatWordTableLeafDocs))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:774:13: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:775:13: warning: If memory allocation fails, then there is a possible null pointer dereference: docs [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:773:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:772:20: note: Assignment 'docs=(struct SquatWordTableLeafDocs*)xmalloc(sizeof(struct SquatWordTableLeafDocs))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:775:13: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:776:20: warning: If memory allocation fails, then there is a possible null pointer dereference: docs [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:773:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:772:20: note: Assignment 'docs=(struct SquatWordTableLeafDocs*)xmalloc(sizeof(struct SquatWordTableLeafDocs))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:776:20: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:780:21: warning: If memory allocation fails, then there is a possible null pointer dereference: docs [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:773:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:772:20: note: Assignment 'docs=(struct SquatWordTableLeafDocs*)xmalloc(sizeof(struct SquatWordTableLeafDocs))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:780:21: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_build.c:758:32: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/squat_build.c:438:36: style:inconclusive: Function 'squat_index_add_existing' argument 4 names different: declaration 'closure' definition 'select_doc_closure'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/squat.h:335:36: note: Function 'squat_index_add_existing' argument 4 names different: declaration 'closure' definition 'select_doc_closure'. cyrus-imapd-3.12.1/imap/squat_build.c:438:36: note: Function 'squat_index_add_existing' argument 4 names different: declaration 'closure' definition 'select_doc_closure'. cyrus-imapd-3.12.1/imap/squat_build.c:485:13: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/squat_build.c:466:14: note: Shadowed declaration cyrus-imapd-3.12.1/imap/squat_build.c:485:13: note: Shadow variable cyrus-imapd-3.12.1/imap/squat_build.c:968:21: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/squat_build.c:947:13: note: Shadowed declaration cyrus-imapd-3.12.1/imap/squat_build.c:968:21: note: Shadow variable cyrus-imapd-3.12.1/imap/squat_build.c:144:64: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat_build.c:421:51: style: Parameter 'name' can be declared as pointer to const. However it seems that 'add_word_callback' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/squat_build.c:1525:43: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/squat_build.c:421:51: note: Parameter 'name' can be declared as pointer to const cyrus-imapd-3.12.1/imap/squat_build.c:556:50: style: Parameter 'index' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat_build.c:1104:71: style: Parameter 't' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat_build.c:1105:41: style: Parameter 'offset_buf' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat_build.c:1189:63: style: Parameter 'docs' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat_build.c:1242:27: style: Variable 'first_doc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/squat_build.c:1425:23: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/squat_dump.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squat_dump.c:97:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squat_dump.c:126:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squat_dump.c:185:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squat_dump.c:109:5: portability: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'SquatInt64 {aka signed long long}'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/imap/squat_dump.c:149:15: warning: If memory allocation fails, then there is a possible null pointer dereference: fname [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_dump.c:145:20: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_dump.c:145:20: note: Assignment 'fname=xstrdup(mailbox_meta_fname(mailbox,META_SQUAT))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_dump.c:149:15: note: Null pointer dereference cyrus-imapd-3.12.1/imap/squat_dump.c:106:27: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'dump_doc' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/squat_dump.c:165:39: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/squat_dump.c:106:27: note: Parameter 'closure' can be declared as pointer to const cyrus-imapd-3.12.1/imap/squat_dump.c:114:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/squat_dump.c:182:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/squat_internal.c:161:51: style:inconclusive: Function 'squat_encode_I' argument 2 names different: declaration 'v' definition 'v64'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/squat_internal.h:192:42: note: Function 'squat_encode_I' argument 2 names different: declaration 'v' definition 'v64'. cyrus-imapd-3.12.1/imap/squat_internal.c:161:51: note: Function 'squat_encode_I' argument 2 names different: declaration 'v' definition 'v64'. cyrus-imapd-3.12.1/imap/squat_internal.c:64:20: style: Variable 'v' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/squat_internal.c:80:20: style: Variable 'v' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/squatter.c:124:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:187:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:227:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:337:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:454:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:483:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:572:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:593:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:658:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:691:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:743:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmpstringp_raw [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:805:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:903:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:956:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_NOTFOUND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/squatter.c:489:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cyrus-imapd-3.12.1/imap/squatter.c:621:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cyrus-imapd-3.12.1/imap/squatter.c:667:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cyrus-imapd-3.12.1/imap/squatter.c:781:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cyrus-imapd-3.12.1/imap/squatter.c:815:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cyrus-imapd-3.12.1/imap/squatter.c:855:21: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cyrus-imapd-3.12.1/imap/squatter.c:920:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cyrus-imapd-3.12.1/imap/squatter.c:955:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/squatter.c:966:17: style: Variable 'srctiers' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/squatter.c:967:17: style: Variable 'reindextiers' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/squatter.c:987:26: style: Variable 'long_options' can be declared as const array [constVariable] cyrus-imapd-3.12.1/imap/statuscache_db.c:297:61: error: There is an unknown macro here somewhere. Configuration is required. If MODSEQ_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/sync_client.c:130:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_client.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_client.c:221:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_AGAIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_client.c:274:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SYNC_RECONNECT_MAXWAIT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_client.c:341:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_client.c:397:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_LOCKED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_client.c:512:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_client.c:228:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cyrus-imapd-3.12.1/imap/sync_client.c:457:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/sync_client.c:338:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/sync_log.c:103:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SYNC_LOG_CHANNELS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_log.c:162:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_dir [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_log.c:172:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SYNC_LOG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_log.c:191:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_log.c:249:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_log.c:273:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_IOERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_log.c:443:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_log.c:538:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_log.c:623:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_log.c:648:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_log.c:606:12: style: Condition 'slr->input' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/sync_log.c:84:27: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'done_cb' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/sync_log.c:91:27: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/sync_log.c:84:27: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/sync_reset.c:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_reset.c:118:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_reset.c:164:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_NONEXISTENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_reset.c:211:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_reset.c:187:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/sync_server.c:248:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_server.c:306:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ARCHIVE_ENABLED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_server.c:354:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_server.c:406:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_server.c:469:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_server.c:486:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_server.c:515:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_server.c:752:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_NOUSER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_server.c:883:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_server.c:982:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ARCHIVE_ENABLED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/sync_server.c:709:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cyrus-imapd-3.12.1/imap/sync_server.c:957:71: style:inconclusive: Function 'cmd_restart' argument 2 names different: declaration 'realloc' definition 're_alloc'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/sync_server.c:149:28: note: Function 'cmd_restart' argument 2 names different: declaration 'realloc' definition 're_alloc'. cyrus-imapd-3.12.1/imap/sync_server.c:957:71: note: Function 'cmd_restart' argument 2 names different: declaration 'realloc' definition 're_alloc'. cyrus-imapd-3.12.1/imap/sync_server.c:999:37: style:inconclusive: Function 'cmd_apply' argument 1 names different: declaration 'kl' definition 'kin'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/sync_server.c:154:37: note: Function 'cmd_apply' argument 1 names different: declaration 'kl' definition 'kin'. cyrus-imapd-3.12.1/imap/sync_server.c:999:37: note: Function 'cmd_apply' argument 1 names different: declaration 'kl' definition 'kin'. cyrus-imapd-3.12.1/imap/sync_server.c:1030:35: style:inconclusive: Function 'cmd_get' argument 1 names different: declaration 'kl' definition 'kin'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/sync_server.c:153:35: note: Function 'cmd_get' argument 1 names different: declaration 'kl' definition 'kin'. cyrus-imapd-3.12.1/imap/sync_server.c:1030:35: note: Function 'cmd_get' argument 1 names different: declaration 'kl' definition 'kin'. cyrus-imapd-3.12.1/imap/sync_server.c:716:48: style: Parameter 'resp' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/sync_server.c:926:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/sync_support.c:2619:36: error: There is an unknown macro here somewhere. Configuration is required. If MODSEQ_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/telemetry.c:75:49: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imap/tls.c:1910:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ALLOWSTARTTLS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/tls.c:1910:66: style: Return value 'tls_enabled()' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/tls.c:1910:66: note: Calling function 'tls_enabled' returns 0 cyrus-imapd-3.12.1/imap/tls.c:1910:66: note: Return value 'tls_enabled()' is always false cyrus-imapd-3.12.1/imap/tls_prune.c:57:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/tls_prune.c:61:26: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/imap/tls_prune.c:65:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/unexpunge.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/unexpunge.c:383:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/unexpunge.c:411:13: warning: If memory allocation fails, then there is a possible null pointer dereference: uids [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/unexpunge.c:408:41: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/unexpunge.c:408:16: note: Assignment 'uids=(unsigned long*)xmalloc(nuids*sizeof(unsigned long))', assigned value is 0 cyrus-imapd-3.12.1/imap/unexpunge.c:411:13: note: Null pointer dereference cyrus-imapd-3.12.1/imap/unexpunge.c:414:15: warning: If memory allocation fails, then there is a possible null pointer dereference: uids [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/unexpunge.c:408:41: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/unexpunge.c:408:16: note: Assignment 'uids=(unsigned long*)xmalloc(nuids*sizeof(unsigned long))', assigned value is 0 cyrus-imapd-3.12.1/imap/unexpunge.c:414:15: note: Null pointer dereference cyrus-imapd-3.12.1/imap/unexpunge.c:103:42: style: Parameter 'uids' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/unexpunge.c:183:79: style: Parameter 'uids' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/unexpunge.c:289:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/user.c:146:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVEDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/user.c:171:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVEDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/user.c:271:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/user.c:392:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVEUSEHOMEDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/user.c:670:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNAME_USERDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/user.c:689:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNAME_USERDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/user.c:696:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/user.c:740:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_dir [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/user.c:177:50: style:inconclusive: Function 'user_sieve_path' argument 1 names different: declaration 'user' definition 'inuser'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/user.h:58:41: note: Function 'user_sieve_path' argument 1 names different: declaration 'user' definition 'inuser'. cyrus-imapd-3.12.1/imap/user.c:177:50: note: Function 'user_sieve_path' argument 1 names different: declaration 'user' definition 'inuser'. cyrus-imapd-3.12.1/imap/user.c:602:48: style:inconclusive: Function 'user_deletequotaroots' argument 1 names different: declaration 'user' definition 'userid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/user.h:80:39: note: Function 'user_deletequotaroots' argument 1 names different: declaration 'user' definition 'userid'. cyrus-imapd-3.12.1/imap/user.c:602:48: note: Function 'user_deletequotaroots' argument 1 names different: declaration 'user' definition 'userid'. cyrus-imapd-3.12.1/imap/user.c:623:43: style:inconclusive: Function 'user_hash_subs' argument 1 names different: declaration 'user' definition 'userid'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/user.h:83:34: note: Function 'user_hash_subs' argument 1 names different: declaration 'user' definition 'userid'. cyrus-imapd-3.12.1/imap/user.c:623:43: note: Function 'user_hash_subs' argument 1 names different: declaration 'user' definition 'userid'. cyrus-imapd-3.12.1/imap/user.c:363:25: style: Variable 'rrock' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/user.c:543:25: style: Variable 'rrock' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/user.c:580:11: style: Variable 'inboxname' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/userdeny_db.c:91:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_MAILBOX_BADFORMAT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/userdeny_db.c:120:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/userdeny_db.c:201:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/userdeny_db.c:270:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSDB_AGAIN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/userdeny_db.c:296:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/userdeny_db.c:376:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_USERDENY_DB_PATH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/userdeny_db.c:406:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/userdeny_db.c:340:26: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'done_cb' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/userdeny_db.c:352:27: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/userdeny_db.c:340:26: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/vcard_support.c:61:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vparse_state [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/vcard_support.c:121:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/vcard_support.c:178:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_BASE64 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/vcard_support.c:247:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/vcard_support.c:320:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/vcard_support.c:499:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/vcard_support.c:445:17: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] cyrus-imapd-3.12.1/imap/vcard_support.c:445:17: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] cyrus-imapd-3.12.1/imap/vcard_support.c:288:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pp [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/vcard_support.c:286:21: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/vcard_support.c:286:21: note: Assignment 'pp=xmalloc(sizeof(struct preferred_prop))', assigned value is 0 cyrus-imapd-3.12.1/imap/vcard_support.c:288:9: note: Null pointer dereference cyrus-imapd-3.12.1/imap/vcard_support.c:290:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pp [nullPointerOutOfMemory] cyrus-imapd-3.12.1/imap/vcard_support.c:286:21: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/vcard_support.c:286:21: note: Assignment 'pp=xmalloc(sizeof(struct preferred_prop))', assigned value is 0 cyrus-imapd-3.12.1/imap/vcard_support.c:290:17: note: Null pointer dereference cyrus-imapd-3.12.1/imap/vcard_support.c:472:49: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/imap/vcard_support.c:234:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/imap/vcard_support.c:297:45: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'add_type_pref' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/imap/vcard_support.c:472:34: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/imap/vcard_support.c:297:45: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/imap/vcard_support.c:316:47: style: Parameter 'vcard' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/version.c:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_VERSION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/version.c:115:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:165:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAP_IOERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:180:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:231:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:275:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SEARCH_STOPWORD_PATH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:518:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:610:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STEM_NONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:677:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_CJK_NGRAM [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:702:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_BACKEND_GLASS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:765:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_BACKEND_INMEMORY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:796:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:809:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:824:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:839:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:858:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:881:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:905:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:962:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1054:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1114:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STEM_NONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1215:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1230:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SEARCH_INDEX_LANGUAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1284:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1295:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1342:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_AND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1386:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1472:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1524:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_PHRASE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1577:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1589:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1607:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1637:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_PHRASE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1861:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchNothing [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1927:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_CJK_NGRAM [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2021:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEAF_MATCH_NOTHING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2088:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2170:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2183:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchAll [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2206:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchAll [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2215:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_FILTER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2237:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2266:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2328:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_BACKEND_INMEMORY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2365:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_CJK_NGRAM [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2425:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2446:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNIPPET_EXHAUSTIVE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2484:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SEARCH_INDEX_LANGUAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2551:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_CREATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2720:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_KEEPCASE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:769:9: style: Condition 'r' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:768:28: note: Calling function 'xapian_dbw_init' returns 0 cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:768:28: note: Assignment 'r=xapian_dbw_init(dbw)', assigned value is 0 cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:769:9: note: Condition 'r' is always false cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2043:19: style: Return value 'qa==nullptr' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:194:9: style: Exception should be caught by reference. [catchExceptionByValue] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:504:17: style: Exception should be caught by reference. [catchExceptionByValue] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:696:25: style: C-style pointer casting [cstyleCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:762:25: style: C-style pointer casting [cstyleCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1309:38: style: C-style pointer casting [cstyleCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1375:23: style: C-style pointer casting [cstyleCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1437:23: style: C-style pointer casting [cstyleCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1501:40: style: C-style pointer casting [cstyleCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1846:30: style: C-style pointer casting [cstyleCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2005:43: style: C-style pointer casting [cstyleCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2279:27: style: C-style pointer casting [cstyleCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2325:33: style: C-style pointer casting [cstyleCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2141:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2156:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2157:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2162:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2164:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2165:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2167:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2189:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2192:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2193:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2216:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2220:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2221:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2234:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2246:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:700:19: style: The scope of the variable 'db_versions' can be reduced. [variableScope] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2079:85: style:inconclusive: Function 'xapian_query_new_match' argument 3 names different: declaration 'term' definition 'str'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/xapian_wrap.h:88:98: note: Function 'xapian_query_new_match' argument 3 names different: declaration 'term' definition 'str'. cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2079:85: note: Function 'xapian_query_new_match' argument 3 names different: declaration 'term' definition 'str'. cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2243:76: style:inconclusive: Function 'xapian_query_run' argument 2 names different: declaration 'query' definition 'qq'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/xapian_wrap.h:94:72: note: Function 'xapian_query_run' argument 2 names different: declaration 'query' definition 'qq'. cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2243:76: note: Function 'xapian_query_run' argument 2 names different: declaration 'query' definition 'qq'. cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1026:26: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1010:25: note: Shadowed declaration cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1026:26: note: Shadow variable cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1785:26: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1740:21: note: Shadowed declaration cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1785:26: note: Shadow variable cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2633:31: style: Local variable 'md_versions' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2573:27: note: Shadowed declaration cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2633:31: note: Shadow variable cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:709:48: style: Variable 'e' can be declared as reference to const [constVariableReference] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:590:49: style: Variable 'stem_strategy' can be declared as const array [constVariable] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:1484:47: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:716:32: performance: Searching before insertion is not necessary. [stlFindInsert] cyrus-imapd-3.12.1/imap/xapian_wrap.cpp:2573:27: style: Variable 'md_versions' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/imap/xcal.c:68:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_NO_VALUE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:174:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOK_TRIMLEFT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:269:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:426:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOK_TRIMLEFT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:481:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ANY_PARAMETER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:535:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_ANY_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:574:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:635:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:887:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_NO_PROPERTY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:1010:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_NO_COMPONENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:1091:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:1125:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/xcal.c:124:5: warning: snprintf format string requires 3 parameters but 6 are given. [wrongPrintfScanfArgNum] cyrus-imapd-3.12.1/imap/xcal.c:693:17: style: Variable 'p.start' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/imap/xcal.c:678:17: note: p.start is assigned cyrus-imapd-3.12.1/imap/xcal.c:693:17: note: p.start is overwritten cyrus-imapd-3.12.1/imap/xcal.c:564:57: style:inconclusive: Function 'icalcomponent_as_xcal_string' argument 1 names different: declaration 'comp' definition 'ical'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/imap/xcal.h:70:64: note: Function 'icalcomponent_as_xcal_string' argument 1 names different: declaration 'comp' definition 'ical'. cyrus-imapd-3.12.1/imap/xcal.c:564:57: note: Function 'icalcomponent_as_xcal_string' argument 1 names different: declaration 'comp' definition 'ical'. cyrus-imapd-3.12.1/imap/xml_support.c:69:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/zoneinfo_db.c:194:35: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/imtest/imtest.c:1936:50: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/lib/acl.c:67:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/acl.c:95:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSOPT_DELETERIGHT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/acl.c:168:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSOPT_DELETERIGHT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/acl_afs.c:240:38: debug: Function::addArguments found argument 'rock' with varid 0. [varid0] cyrus-imapd-3.12.1/lib/acl_afs.c:68:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUSOPT_ACL_ADMIN_IMPLIES_WRITE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/acl_afs.c:242:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable canonproc [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/acl_afs.c:249:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ADMINS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/acl_afs.c:136:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newidentifier [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:135:36: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:135:36: note: Assignment 'newidentifier=xmalloc(strlen(canonid)+2)', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:136:13: note: Null pointer dereference cyrus-imapd-3.12.1/lib/acl_afs.c:149:16: warning: If memory allocation fails, then there is a possible null pointer dereference: identifier [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:135:36: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:135:36: note: Assignment 'newidentifier=xmalloc(strlen(canonid)+2)', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:138:26: note: Assignment 'identifier=newidentifier', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:149:16: note: Null pointer dereference cyrus-imapd-3.12.1/lib/acl_afs.c:210:17: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:207:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:207:25: note: Assignment 'newacl=xmalloc(strlen(*acl)+strlen(nextid)-strlen(thisid)+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:210:17: note: Null pointer dereference cyrus-imapd-3.12.1/lib/acl_afs.c:221:17: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:221:17: note: Null pointer dereference cyrus-imapd-3.12.1/lib/acl_afs.c:223:16: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:223:16: note: Null pointer dereference cyrus-imapd-3.12.1/lib/acl_afs.c:224:60: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:224:60: note: Null pointer dereference cyrus-imapd-3.12.1/lib/acl_afs.c:225:16: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:225:16: note: Null pointer dereference cyrus-imapd-3.12.1/lib/acl_afs.c:226:16: warning: If memory allocation fails, then there is a possible null pointer dereference: newacl [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:226:16: note: Null pointer dereference cyrus-imapd-3.12.1/lib/acl_afs.c:137:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:135:36: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:135:36: note: Assignment 'newidentifier=xmalloc(strlen(canonid)+2)', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:137:33: note: Null pointer addition cyrus-imapd-3.12.1/lib/acl_afs.c:212:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:207:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:207:25: note: Assignment 'newacl=xmalloc(strlen(*acl)+strlen(nextid)-strlen(thisid)+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:212:23: note: Null pointer addition cyrus-imapd-3.12.1/lib/acl_afs.c:222:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:222:23: note: Null pointer addition cyrus-imapd-3.12.1/lib/acl_afs.c:224:51: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/acl_afs.c:219:25: note: Assignment 'newacl=xmalloc((thisid-*acl)+strlen(identifier)+40+strlen(nextid))', assigned value is 0 cyrus-imapd-3.12.1/lib/acl_afs.c:224:51: note: Null pointer addition cyrus-imapd-3.12.1/lib/acl_afs.c:66:82: style:inconclusive: Function 'cyrus_acl_myrights' argument 2 names different: declaration 'acl' definition 'origacl'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/acl.h:117:80: note: Function 'cyrus_acl_myrights' argument 2 names different: declaration 'acl' definition 'origacl'. cyrus-imapd-3.12.1/lib/acl_afs.c:66:82: note: Function 'cyrus_acl_myrights' argument 2 names different: declaration 'acl' definition 'origacl'. cyrus-imapd-3.12.1/lib/acl_afs.c:240:38: style:inconclusive: Function 'cyrus_acl_remove' argument 4 names different: declaration 'canonrock' definition 'identifier'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/acl.h:136:63: note: Function 'cyrus_acl_remove' argument 4 names different: declaration 'canonrock' definition 'identifier'. cyrus-imapd-3.12.1/lib/acl_afs.c:240:38: note: Function 'cyrus_acl_remove' argument 4 names different: declaration 'canonrock' definition 'identifier'. cyrus-imapd-3.12.1/lib/acl_afs.c:247:24: style: Variable 'admins' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/arrayu64.c:288:72: style:inconclusive: Function 'arrayu64_find' argument 3 names different: declaration 'start' definition 'idx'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/arrayu64.h:94:63: note: Function 'arrayu64_find' argument 3 names different: declaration 'start' definition 'idx'. cyrus-imapd-3.12.1/lib/arrayu64.c:288:72: note: Function 'arrayu64_find' argument 3 names different: declaration 'start' definition 'idx'. cyrus-imapd-3.12.1/lib/assert.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/auth.c:78:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/auth_krb5.c:212:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/auth_krb5.c:220:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/auth_krb5.c:227:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/auth_krb5.c:234:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/auth_krb5.c:240:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/auth_krb5.c:232:24: style: Parameter 'auth_state' can be declared as pointer to const. However it seems that 'myfreestate' is a callback function, if 'auth_state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/lib/auth_krb5.c:252:6: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/lib/auth_krb5.c:232:24: note: Parameter 'auth_state' can be declared as pointer to const cyrus-imapd-3.12.1/lib/auth_pts.c:403:79: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/lib/auth_unix.c:167:15: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cyrus-imapd-3.12.1/lib/auth_unix.c:224:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cyrus-imapd-3.12.1/lib/auth_unix.c:258:19: portability: Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'. [prohibitedgetgrentCalled] cyrus-imapd-3.12.1/lib/auth_unix.c:218:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newstate [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/auth_unix.c:216:44: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/auth_unix.c:216:16: note: Assignment 'newstate=(struct auth_state*)xmalloc(sizeof(struct auth_state))', assigned value is 0 cyrus-imapd-3.12.1/lib/auth_unix.c:218:12: note: Null pointer dereference cyrus-imapd-3.12.1/lib/auth_unix.c:148:19: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/auth_unix.c:203:20: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/auth_unix.c:204:19: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/bitvector.c:92:56: style:inconclusive: Function 'bv_setsize' argument 2 names different: declaration 'i' definition 'len'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/bitvector.h:65:52: note: Function 'bv_setsize' argument 2 names different: declaration 'i' definition 'len'. cyrus-imapd-3.12.1/lib/bitvector.c:92:56: note: Function 'bv_setsize' argument 2 names different: declaration 'i' definition 'len'. cyrus-imapd-3.12.1/lib/bloom.c:135:33: style: Parameter 'bloom' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/bufarray.c:135:45: style:inconclusive: Function 'bufarray_truncate' argument 1 names different: declaration 'sa' definition 'ba'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/bufarray.h:69:36: note: Function 'bufarray_truncate' argument 1 names different: declaration 'sa' definition 'ba'. cyrus-imapd-3.12.1/lib/bufarray.c:135:45: note: Function 'bufarray_truncate' argument 1 names different: declaration 'sa' definition 'ba'. cyrus-imapd-3.12.1/lib/bufarray.c:154:59: style:inconclusive: Function 'bufarray_nth' argument 1 names different: declaration 'sa' definition 'ba'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/bufarray.h:68:50: note: Function 'bufarray_nth' argument 1 names different: declaration 'sa' definition 'ba'. cyrus-imapd-3.12.1/lib/bufarray.c:154:59: note: Function 'bufarray_nth' argument 1 names different: declaration 'sa' definition 'ba'. cyrus-imapd-3.12.1/lib/bufarray.c:159:49: style:inconclusive: Function 'bufarray_size' argument 1 names different: declaration 'sa' definition 'ba'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/bufarray.h:72:40: note: Function 'bufarray_size' argument 1 names different: declaration 'sa' definition 'ba'. cyrus-imapd-3.12.1/lib/bufarray.c:159:49: note: Function 'bufarray_size' argument 1 names different: declaration 'sa' definition 'ba'. cyrus-imapd-3.12.1/lib/charset.c:431:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:581:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:889:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UChar [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:921:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UChar [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:1203:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:1286:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:1294:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:1302:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:1403:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:2203:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UChar [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:2209:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U16_MAX_LENGTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:2887:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UChar [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:3651:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:4558:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UChar [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:4648:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDNA_DEFAULT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:4677:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uidna_nameToUnicodeUTF8 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:4682:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uidna_nameToASCII_UTF8 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/charset.c:2138:9: style: Condition 'rock' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/lib/charset.c:4667:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/charset.c:4663:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/charset.c:4663:25: note: Assignment 'result=xmalloc(len+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/charset.c:4667:9: note: Null pointer dereference cyrus-imapd-3.12.1/lib/charset.c:4669:13: style: Same expression on both sides of '=='. [duplicateExpression] cyrus-imapd-3.12.1/lib/charset.c:3288:21: style: Variable 'lastenc' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/lib/charset.c:3274:21: note: lastenc is assigned cyrus-imapd-3.12.1/lib/charset.c:3288:21: note: lastenc is overwritten cyrus-imapd-3.12.1/lib/charset.c:353:46: style:inconclusive: Function 'encoding_lookupname' argument 1 names different: declaration 'name' definition 's'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/charset.h:94:44: note: Function 'encoding_lookupname' argument 1 names different: declaration 'name' definition 's'. cyrus-imapd-3.12.1/lib/charset.c:353:46: note: Function 'encoding_lookupname' argument 1 names different: declaration 'name' definition 's'. cyrus-imapd-3.12.1/lib/charset.c:2687:39: style:inconclusive: Function 'charset_free' argument 1 names different: declaration 'charset' definition 'charsetp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/charset.h:123:37: note: Function 'charset_free' argument 1 names different: declaration 'charset' definition 'charsetp'. cyrus-imapd-3.12.1/lib/charset.c:2687:39: note: Function 'charset_free' argument 1 names different: declaration 'charset' definition 'charsetp'. cyrus-imapd-3.12.1/lib/charset.c:2720:53: style:inconclusive: Function 'charset_conv_new' argument 1 names different: declaration 'fromcharset' definition 'charset'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/charset.h:101:51: note: Function 'charset_conv_new' argument 1 names different: declaration 'fromcharset' definition 'charset'. cyrus-imapd-3.12.1/lib/charset.c:2720:53: note: Function 'charset_conv_new' argument 1 names different: declaration 'fromcharset' definition 'charset'. cyrus-imapd-3.12.1/lib/charset.c:2857:51: style:inconclusive: Function 'charset_utf8_normalize' argument 1 names different: declaration 's' definition 'src'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/charset.h:119:49: note: Function 'charset_utf8_normalize' argument 1 names different: declaration 's' definition 'src'. cyrus-imapd-3.12.1/lib/charset.c:2857:51: note: Function 'charset_utf8_normalize' argument 1 names different: declaration 's' definition 'src'. cyrus-imapd-3.12.1/lib/charset.c:3402:68: style:inconclusive: Function 'charset_parse_mimexvalue' argument 2 names different: declaration 'language' definition 'lang'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/charset.h:108:66: note: Function 'charset_parse_mimexvalue' argument 2 names different: declaration 'language' definition 'lang'. cyrus-imapd-3.12.1/lib/charset.c:3402:68: note: Function 'charset_parse_mimexvalue' argument 2 names different: declaration 'language' definition 'lang'. cyrus-imapd-3.12.1/lib/charset.c:3454:69: style:inconclusive: Function 'charset_encode_mimexvalue' argument 2 names different: declaration 'language' definition 'lang'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/charset.h:109:66: note: Function 'charset_encode_mimexvalue' argument 2 names different: declaration 'language' definition 'lang'. cyrus-imapd-3.12.1/lib/charset.c:3454:69: note: Function 'charset_encode_mimexvalue' argument 2 names different: declaration 'language' definition 'lang'. cyrus-imapd-3.12.1/lib/charset.c:3739:53: style:inconclusive: Function 'charset_decode_mimebody' argument 4 names different: declaration 'retval' definition 'decbuf'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/charset.h:140:65: note: Function 'charset_decode_mimebody' argument 4 names different: declaration 'retval' definition 'decbuf'. cyrus-imapd-3.12.1/lib/charset.c:3739:53: note: Function 'charset_decode_mimebody' argument 4 names different: declaration 'retval' definition 'decbuf'. cyrus-imapd-3.12.1/lib/charset.c:4267:54: style:inconclusive: Function 'charset_encode_mimephrase' argument 1 names different: declaration 'header' definition 'data'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/charset.h:155:52: note: Function 'charset_encode_mimephrase' argument 1 names different: declaration 'header' definition 'data'. cyrus-imapd-3.12.1/lib/charset.c:4267:54: note: Function 'charset_encode_mimephrase' argument 1 names different: declaration 'header' definition 'data'. cyrus-imapd-3.12.1/lib/charset.c:4541:55: style:inconclusive: Function 'unicode_casemap' argument 2 names different: declaration 'len' definition 'slen'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/charset.h:214:53: note: Function 'unicode_casemap' argument 2 names different: declaration 'len' definition 'slen'. cyrus-imapd-3.12.1/lib/charset.c:4541:55: note: Function 'unicode_casemap' argument 2 names different: declaration 'len' definition 'slen'. cyrus-imapd-3.12.1/lib/charset.c:699:13: style: Local variable 'c' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/lib/charset.c:634:64: note: Shadowed declaration cyrus-imapd-3.12.1/lib/charset.c:699:13: note: Shadow variable cyrus-imapd-3.12.1/lib/charset.c:2321:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imapd-3.12.1/lib/charset.c:576:23: style: Variable 's' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/charset.c:1091:21: style: Variable 'map' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/charset.c:1396:11: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/charset.c:1469:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/charset.c:1940:54: style: Parameter 'rock' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/charset.c:1980:26: style: Variable 's' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/charset.c:2085:29: style: Variable 's' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/charset.c:2415:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/charset.c:768:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/command.c:70:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/command.c:132:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/command.c:247:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/crc32.c:645:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGNOF_UINT32_T [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/crc32.c:780:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_len [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/crc32.c:775:45: style: Parameter 'iov' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/cyrusdb.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb.c:125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb.c:405:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNAME_DBDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb.c:557:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb.c:693:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb.c:718:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb.c:408:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cyrus-imapd-3.12.1/lib/cyrusdb.c:554:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cyrus-imapd-3.12.1/lib/cyrusdb.c:638:29: style: Variable 'db' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:177:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:325:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:627:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:808:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:431:17: style: Condition 'data' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:237:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:236:45: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:236:23: note: Assignment 'ret=(struct txn*)xmalloc(sizeof(struct txn))', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:237:5: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:238:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:236:45: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:236:23: note: Assignment 'ret=(struct txn*)xmalloc(sizeof(struct txn))', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:238:5: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:589:11: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:578:27: note: p is assigned cyrus-imapd-3.12.1/lib/cyrusdb_flat.c:589:11: note: p is overwritten cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:162:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:205:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:335:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:386:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:498:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNAME_DOMAINDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:561:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNAME_DOMAINDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:611:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNAME_DOMAINDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:698:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:312:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:310:51: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:310:26: note: Assignment 'ret=(struct subtxn*)xmalloc(sizeof(struct subtxn))', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:312:5: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:313:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:310:51: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:310:26: note: Assignment 'ret=(struct subtxn*)xmalloc(sizeof(struct subtxn))', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:313:5: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:314:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:310:51: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:310:26: note: Assignment 'ret=(struct subtxn*)xmalloc(sizeof(struct subtxn))', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:314:5: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:315:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:310:51: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:310:26: note: Assignment 'ret=(struct subtxn*)xmalloc(sizeof(struct subtxn))', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:315:5: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:481:16: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpkey [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:480:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:480:25: note: Assignment 'tmpkey=xmalloc(keylen+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:481:16: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:482:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpkey [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:480:25: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:480:25: note: Assignment 'tmpkey=xmalloc(keylen+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:482:9: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:591:16: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpprefix [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:590:28: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:590:28: note: Assignment 'tmpprefix=xmalloc(prefixlen+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:591:16: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:592:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpprefix [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:590:28: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:590:28: note: Assignment 'tmpprefix=xmalloc(prefixlen+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:592:9: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:679:12: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpkey [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:678:21: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:678:21: note: Assignment 'tmpkey=xmalloc(keylen+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:679:12: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:680:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpkey [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:678:21: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:678:21: note: Assignment 'tmpkey=xmalloc(keylen+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:680:5: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:779:16: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:778:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:778:22: note: Assignment 'buf=xmalloc(datalen+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:779:16: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:780:13: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:778:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:778:22: note: Assignment 'buf=xmalloc(datalen+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:780:13: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:786:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:778:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:778:22: note: Assignment 'buf=xmalloc(datalen+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:786:9: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:224:11: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:220:15: note: r is assigned cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:224:11: note: r is overwritten cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:283:11: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:280:15: note: r is assigned cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:283:11: note: r is overwritten cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:537:11: style: Redundant initialization for 'onlyc'. The initialized value is overwritten before it is read. [redundantInitialization] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:526:16: note: onlyc is initialized cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:537:11: note: onlyc is overwritten cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:417:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:374:9: note: Shadowed declaration cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:417:17: note: Shadow variable cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:606:16: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:583:9: note: Shadowed declaration cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:606:16: note: Shadow variable cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:154:70: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:608:24: style: Variable 'next' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/cyrusdb_quotalegacy.c:732:19: style: Variable 'newfd' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/cyrusdb_skiplist.c:421:13: error: There is an unknown macro here somewhere. Configuration is required. If OFF_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:452:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:475:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:502:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:692:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:737:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:835:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:880:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:677:9: style: Condition 'datalen' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:674:9: note: Assuming that condition 'datalen' is not redundant cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:677:9: note: Condition 'datalen' is always false cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:727:9: style: Condition 'prefixlen' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:719:9: note: Assuming that condition 'prefixlen' is not redundant cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:727:9: note: Condition 'prefixlen' is always false cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:553:22: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:550:20: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:550:20: note: Assignment 'table=xstrdup(p?++p:fname)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:553:22: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:557:61: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:550:20: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:550:20: note: Assignment 'table=xstrdup(p?++p:fname)', assigned value is 0 cyrus-imapd-3.12.1/lib/cyrusdb_sql.c:557:61: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:462:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:480:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:571:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:614:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:794:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:1366:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:1527:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:1783:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:1857:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:1969:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:2179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:2287:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:2433:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:2524:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:1548:9: style: Condition 'datalen' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:1545:9: note: Assuming that condition 'datalen' is not redundant cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:1548:9: note: Condition 'datalen' is always false cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:494:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:474:24: warning: Either the condition 'db' is redundant or there is possible null pointer dereference: db. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:477:5: note: Assuming that condition 'db' is not redundant cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:474:24: note: Null pointer dereference cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:2495:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:2413:15: note: r is assigned cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:2495:7: note: r is overwritten cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:864:40: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:889:38: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:1235:41: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:2147:58: style: Parameter 'tid' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:2229:44: style: Parameter 'commit' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:429:14: style: union member 'skipwritebuf::align' is never used. [unusedStructMember] cyrus-imapd-3.12.1/lib/cyrusdb_twoskip.c:932:7: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/cyrusdb_zeroskip.c:116:7: error: syntax error [syntaxError] cyrus-imapd-3.12.1/lib/dynarray.c:131:45: style: Parameter 'da' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/dynarray.c:156:58: style: Parameter 'memb' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/dynarray.c:163:64: style: Parameter 'memb' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/dynarray.c:143:31: portability: 'da->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/dynarray.c:159:21: portability: 'da->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/dynarray.c:167:21: portability: 'da->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/dynarray.c:176:21: portability: 'da->data' is of type 'void * const'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/dynarray.c:189:29: portability: 'da->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/ftruncate.c:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/getaddrinfo.c:78:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/getaddrinfo.c:137:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/getaddrinfo.c:175:23: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cyrus-imapd-3.12.1/lib/getaddrinfo.c:200:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cyrus-imapd-3.12.1/lib/getaddrinfo.c:133:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/getaddrinfo.c:161:29: style: Variable 'se' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/getaddrinfo.c:162:19: style: Variable 'pe_proto' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/getdtablesize.c:49:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_OPEN_MAX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/getnameinfo.c:77:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_MEMORY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/getnameinfo.c:92:18: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] cyrus-imapd-3.12.1/lib/getnameinfo.c:70:25: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/getnameinfo.c:71:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/glob.c:120:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/glob.c:155:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_eo [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/glob.c:148:30: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/gmtoff_gmtime.c:55:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imapd-3.12.1/lib/gmtoff_gmtime.c:74:5: style: Variable '*tm' is assigned an expression that holds the same value. [redundantAssignment] cyrus-imapd-3.12.1/lib/gmtoff_gmtime.c:54:11: note: local is assigned '*tm' here. cyrus-imapd-3.12.1/lib/gmtoff_gmtime.c:74:5: note: Variable '*tm' is assigned an expression that holds the same value. cyrus-imapd-3.12.1/lib/gmtoff_gmtime.c:51:16: style: Variable 'gtm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/gmtoff_tm.c:48:35: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/hash.c:119:11: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/lib/hashset.c:126:5: style: Same expression on both sides of '=='. [duplicateExpression] cyrus-imapd-3.12.1/lib/hashset.c:66:58: style:inconclusive: Function 'hashset_add' argument 2 names different: declaration 'data' definition 'value'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/hashset.h:19:49: note: Function 'hashset_add' argument 2 names different: declaration 'data' definition 'value'. cyrus-imapd-3.12.1/lib/hashset.c:66:58: note: Function 'hashset_add' argument 2 names different: declaration 'data' definition 'value'. cyrus-imapd-3.12.1/lib/hashset.c:70:15: style: Variable 'base' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/hashset.c:74:29: portability: 'hs->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashset.c:76:24: portability: 'hs->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashset.c:76:33: portability: 'hs->data+offset' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashset.c:91:32: portability: 'hs->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashset.c:91:41: portability: 'hs->data+offset' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashset.c:97:21: portability: 'hs->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashset.c:98:21: portability: 'hs->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashset.c:98:30: portability: 'hs->data+offset' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashset.c:115:29: portability: 'hs->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashset.c:117:39: portability: 'hs->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashset.c:117:48: portability: 'hs->data+offset' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/hashu64.c:126:19: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/hashu64.c:125:48: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/hashu64.c:125:28: note: Assignment 'newptr=(struct bucketu64*)xmalloc(sizeof(struct bucketu64))', assigned value is 0 cyrus-imapd-3.12.1/lib/hashu64.c:126:19: note: Null pointer dereference cyrus-imapd-3.12.1/lib/hashu64.c:128:15: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/hashu64.c:125:48: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/hashu64.c:125:28: note: Assignment 'newptr=(struct bucketu64*)xmalloc(sizeof(struct bucketu64))', assigned value is 0 cyrus-imapd-3.12.1/lib/hashu64.c:128:15: note: Null pointer dereference cyrus-imapd-3.12.1/lib/hashu64.c:129:15: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/hashu64.c:125:48: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/hashu64.c:125:28: note: Assignment 'newptr=(struct bucketu64*)xmalloc(sizeof(struct bucketu64))', assigned value is 0 cyrus-imapd-3.12.1/lib/hashu64.c:129:15: note: Null pointer dereference cyrus-imapd-3.12.1/lib/hashu64.c:144:11: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/hashu64.c:143:38: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/hashu64.c:143:18: note: Assignment 'newptr=(struct bucketu64*)xmalloc(sizeof(struct bucketu64))', assigned value is 0 cyrus-imapd-3.12.1/lib/hashu64.c:144:11: note: Null pointer dereference cyrus-imapd-3.12.1/lib/hashu64.c:146:7: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/hashu64.c:143:38: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/hashu64.c:143:18: note: Assignment 'newptr=(struct bucketu64*)xmalloc(sizeof(struct bucketu64))', assigned value is 0 cyrus-imapd-3.12.1/lib/hashu64.c:146:7: note: Null pointer dereference cyrus-imapd-3.12.1/lib/hashu64.c:147:7: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/hashu64.c:143:38: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/hashu64.c:143:18: note: Assignment 'newptr=(struct bucketu64*)xmalloc(sizeof(struct bucketu64))', assigned value is 0 cyrus-imapd-3.12.1/lib/hashu64.c:147:7: note: Null pointer dereference cyrus-imapd-3.12.1/lib/hashu64.c:158:60: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/hashu64.c:296:48: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/hashu64.c:318:46: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/imapurl.c:368:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imapurl.c:320:63: style:inconclusive: Function 'imapurl_fromURL' argument 2 names different: declaration 'src' definition 's'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/imapurl.h:76:61: note: Function 'imapurl_fromURL' argument 2 names different: declaration 'src' definition 's'. cyrus-imapd-3.12.1/lib/imapurl.c:320:63: note: Function 'imapurl_fromURL' argument 2 names different: declaration 'src' definition 's'. cyrus-imapd-3.12.1/lib/imapurl.c:343:15: style: Variable 'mbox' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/imclient.c:223:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imclient.c:509:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imclient.c:634:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imclient.c:957:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imclient.c:1094:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sasl_security_properties_t [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imclient.c:1111:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_CB_USER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imclient.c:1138:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_CB_LIST_END [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imclient.c:1182:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_SEC_PROPS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imclient.c:1357:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_MAXOUTBUF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imclient.c:446:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newcmdcallback [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/imclient.c:444:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/imclient.c:443:30: note: Assignment 'newcmdcallback=(struct imclient_cmdcallback*)xmalloc(sizeof(struct imclient_cmdcallback))', assigned value is 0 cyrus-imapd-3.12.1/lib/imclient.c:446:9: note: Null pointer dereference cyrus-imapd-3.12.1/lib/imclient.c:447:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newcmdcallback [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/imclient.c:444:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/imclient.c:443:30: note: Assignment 'newcmdcallback=(struct imclient_cmdcallback*)xmalloc(sizeof(struct imclient_cmdcallback))', assigned value is 0 cyrus-imapd-3.12.1/lib/imclient.c:447:9: note: Null pointer dereference cyrus-imapd-3.12.1/lib/imclient.c:448:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newcmdcallback [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/imclient.c:444:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/imclient.c:443:30: note: Assignment 'newcmdcallback=(struct imclient_cmdcallback*)xmalloc(sizeof(struct imclient_cmdcallback))', assigned value is 0 cyrus-imapd-3.12.1/lib/imclient.c:448:9: note: Null pointer dereference cyrus-imapd-3.12.1/lib/imclient.c:449:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newcmdcallback [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/imclient.c:444:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/imclient.c:443:30: note: Assignment 'newcmdcallback=(struct imclient_cmdcallback*)xmalloc(sizeof(struct imclient_cmdcallback))', assigned value is 0 cyrus-imapd-3.12.1/lib/imclient.c:449:9: note: Null pointer dereference cyrus-imapd-3.12.1/lib/imclient.c:1329:32: warning: If memory allocation fails, then there is a possible null pointer dereference: mtr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/imclient.c:1325:32: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/imclient.c:1325:32: note: Assignment 'mtr=xstrdup(mtried)', assigned value is 0 cyrus-imapd-3.12.1/lib/imclient.c:1329:32: note: Null pointer dereference cyrus-imapd-3.12.1/lib/imclient.c:431:26: style: Checking if unsigned expression 'imclient->gensym' is less than zero. [unsignedLessThanZero] cyrus-imapd-3.12.1/lib/imclient.c:417:21: style:inconclusive: Function 'imclient_send' argument 3 names different: declaration 'rock' definition 'finishrock'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/imclient.h:76:56: note: Function 'imclient_send' argument 3 names different: declaration 'rock' definition 'finishrock'. cyrus-imapd-3.12.1/lib/imclient.c:417:21: note: Function 'imclient_send' argument 3 names different: declaration 'rock' definition 'finishrock'. cyrus-imapd-3.12.1/lib/imclient.c:322:38: style: Parameter 'imclient' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/imclient.c:351:11: style: Variable 'keyword' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/imclient.c:422:21: style: Variable 'str' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/imclient.c:924:55: style: Parameter 'imclient' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/imclient.c:1053:47: style: Parameter 'reply' can be declared as pointer to const. However it seems that 'authresult' is a callback function, if 'reply' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/lib/imclient.c:1229:27: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/lib/imclient.c:1053:47: note: Parameter 'reply' can be declared as pointer to const cyrus-imapd-3.12.1/lib/imclient.c:1103:77: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/imclient.c:1117:19: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/imclient.c:1296:33: style: Parameter 'mechlist' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/imclient.c:1975:49: style: Parameter 'imclient' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/imclient.c:1976:36: style: Parameter 'cert_file' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/imclient.c:1977:36: style: Parameter 'key_file' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/imclient.c:1978:36: style: Parameter 'CAfile' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/imclient.c:1979:36: style: Parameter 'CApath' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/imclient.c:354:11: style: Unused variable: rock [unusedVariable] cyrus-imapd-3.12.1/lib/imparse.c:96:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/imparse.c:321:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/iostat.c:22:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/iptostring.c:55:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:106:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imapopts [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:127:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:154:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:170:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:180:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:299:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:318:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:366:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:453:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_LAST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:484:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:517:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:534:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:544:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ARCHIVE_ENABLED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:571:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imapopts [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:633:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SERVERNAME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:696:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ZERO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:898:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:918:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_ZERO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libconfig.c:761:20: warning: If memory allocation fails, then there is a possible null pointer dereference: newstring [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/libconfig.c:751:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/libconfig.c:751:24: note: Assignment 'newstring=xmalloc(strlen(config_dir)+strlen(str)-16)', assigned value is 0 cyrus-imapd-3.12.1/lib/libconfig.c:761:20: note: Null pointer dereference cyrus-imapd-3.12.1/lib/libconfig.c:762:20: warning: If memory allocation fails, then there is a possible null pointer dereference: newstring [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/libconfig.c:751:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/libconfig.c:751:24: note: Assignment 'newstring=xmalloc(strlen(config_dir)+strlen(str)-16)', assigned value is 0 cyrus-imapd-3.12.1/lib/libconfig.c:762:20: note: Null pointer dereference cyrus-imapd-3.12.1/lib/libconfig.c:702:11: style: Variable 'domain' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/libconfig.c:923:25: style: Variable 'fullkey' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/libcyr_cfg.c:183:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libcyr_cfg.c:196:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/libcyr_cfg.c:77:7: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/lib/libcyr_cfg.c:157:7: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/lib/lock_fcntl.c:89:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/lock_fcntl.c:147:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/lock_fcntl.c:183:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/lock_fcntl.c:142:39: style:inconclusive: Function 'lock_setlock' argument 2 names different: declaration 'ex' definition 'exclusive'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/cyr_lock.h:58:37: note: Function 'lock_setlock' argument 2 names different: declaration 'ex' definition 'exclusive'. cyrus-imapd-3.12.1/lib/lock_fcntl.c:142:39: note: Function 'lock_setlock' argument 2 names different: declaration 'ex' definition 'exclusive'. cyrus-imapd-3.12.1/lib/lock_fcntl.c:142:54: style:inconclusive: Function 'lock_setlock' argument 3 names different: declaration 'nb' definition 'nonblock'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/cyr_lock.h:58:45: note: Function 'lock_setlock' argument 3 names different: declaration 'nb' definition 'nonblock'. cyrus-imapd-3.12.1/lib/lock_fcntl.c:142:54: note: Function 'lock_setlock' argument 3 names different: declaration 'nb' definition 'nonblock'. cyrus-imapd-3.12.1/lib/lock_fcntl.c:104:15: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/lock_fcntl.c:125:15: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/lock_flock.c:83:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_EX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/lock_flock.c:126:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_SH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/lock_flock.c:145:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_UN [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/lock_flock.c:122:39: style:inconclusive: Function 'lock_setlock' argument 2 names different: declaration 'ex' definition 'exclusive'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/cyr_lock.h:58:37: note: Function 'lock_setlock' argument 2 names different: declaration 'ex' definition 'exclusive'. cyrus-imapd-3.12.1/lib/lock_flock.c:122:39: note: Function 'lock_setlock' argument 2 names different: declaration 'ex' definition 'exclusive'. cyrus-imapd-3.12.1/lib/lock_flock.c:122:54: style:inconclusive: Function 'lock_setlock' argument 3 names different: declaration 'nb' definition 'nonblock'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/cyr_lock.h:58:45: note: Function 'lock_setlock' argument 3 names different: declaration 'nb' definition 'nonblock'. cyrus-imapd-3.12.1/lib/lock_flock.c:122:54: note: Function 'lock_setlock' argument 3 names different: declaration 'nb' definition 'nonblock'. cyrus-imapd-3.12.1/lib/lsort.c:52:28: style:inconclusive: Function 'lsort' argument 1 names different: declaration 'list' definition 'p'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/lsort.h:17:26: note: Function 'lsort' argument 1 names different: declaration 'list' definition 'p'. cyrus-imapd-3.12.1/lib/lsort.c:52:28: note: Function 'lsort' argument 1 names different: declaration 'list' definition 'p'. cyrus-imapd-3.12.1/lib/map_nommap.c:74:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/map_shared.c:71:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/map_shared.c:125:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/map_stupidshared.c:76:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/mappedfile.c:347:9: error: There is an unknown macro here somewhere. Configuration is required. If OFF_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/lib/mkgmtime.c:156:24: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imapd-3.12.1/lib/mkgmtime.c:126:25: style: Parameter 'tmp' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/mkgmtime.c:132:50: style: Variable 'mytm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/mpool.c:101:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/mpool.c:133:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/mpool.c:89:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/mpool.c:87:32: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/mpool.c:87:32: note: Assignment 'ret=xmalloc(sizeof(struct mpool))', assigned value is 0 cyrus-imapd-3.12.1/lib/mpool.c:89:5: note: Null pointer dereference cyrus-imapd-3.12.1/lib/murmurhash.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/nonblock_fcntl.c:73:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/nonblock_ioctl.c:63:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/parseaddr.c:71:42: style:inconclusive: Function 'parseaddr_list' argument 1 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/parseaddr.h:62:40: note: Function 'parseaddr_list' argument 1 names different: declaration 's' definition 'str'. cyrus-imapd-3.12.1/lib/parseaddr.c:71:42: note: Function 'parseaddr_list' argument 1 names different: declaration 's' definition 'str'. cyrus-imapd-3.12.1/lib/parseaddr.c:311:42: style:inconclusive: Function 'parseaddr_domain' argument 3 names different: declaration 'commmentp' definition 'commentp'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/parseaddr.c:63:42: note: Function 'parseaddr_domain' argument 3 names different: declaration 'commmentp' definition 'commentp'. cyrus-imapd-3.12.1/lib/parseaddr.c:311:42: note: Function 'parseaddr_domain' argument 3 names different: declaration 'commmentp' definition 'commentp'. cyrus-imapd-3.12.1/lib/parseaddr.c:444:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/parseaddr.c:457:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/posix_fadvise.c:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/proc.c:94:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_PROC_PATH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/proc.c:166:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/proc.c:222:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/proc.c:234:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/proc.c:247:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/proc.c:328:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/proc.c:369:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_MAXLOGINS_PER_HOST [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/proc.c:309:20: style: Variable 'direct' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/proc.c:404:27: style: Variable 'dat' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/procinfo.c:421:38: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/lib/prot.c:813:48: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/lib/ptrarray.c:61:5: style: Same expression on both sides of '=='. [duplicateExpression] cyrus-imapd-3.12.1/lib/ptrarray.c:205:56: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/retry.c:73:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/retry.c:100:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/retry.c:141:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_len [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/retry.c:167:17: warning: If memory allocation fails, then there is a possible null pointer dereference: iov [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/retry.c:165:36: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/retry.c:165:27: note: Assignment 'iov=baseiov=xmalloc(iovcnt*sizeof(struct iovec))', assigned value is 0 cyrus-imapd-3.12.1/lib/retry.c:167:17: note: Null pointer dereference cyrus-imapd-3.12.1/lib/retry.c:168:17: warning: If memory allocation fails, then there is a possible null pointer dereference: iov [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/retry.c:165:36: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/retry.c:165:27: note: Assignment 'iov=baseiov=xmalloc(iovcnt*sizeof(struct iovec))', assigned value is 0 cyrus-imapd-3.12.1/lib/retry.c:168:17: note: Null pointer dereference cyrus-imapd-3.12.1/lib/retry.c:173:30: warning: If memory allocation fails, then there is a possible null pointer dereference: iov [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/retry.c:165:36: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/retry.c:165:27: note: Assignment 'iov=baseiov=xmalloc(iovcnt*sizeof(struct iovec))', assigned value is 0 cyrus-imapd-3.12.1/lib/retry.c:173:30: note: Null pointer dereference cyrus-imapd-3.12.1/lib/retry.c:60:43: style:inconclusive: Function 'retry_read' argument 2 names different: declaration 'buf' definition 'vbuf'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/retry.h:49:41: note: Function 'retry_read' argument 2 names different: declaration 'buf' definition 'vbuf'. cyrus-imapd-3.12.1/lib/retry.c:60:43: note: Function 'retry_read' argument 2 names different: declaration 'buf' definition 'vbuf'. cyrus-imapd-3.12.1/lib/retry.c:89:50: style:inconclusive: Function 'retry_write' argument 2 names different: declaration 'buf' definition 'vbuf'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/retry.h:50:48: note: Function 'retry_write' argument 2 names different: declaration 'buf' definition 'vbuf'. cyrus-imapd-3.12.1/lib/retry.c:89:50: note: Function 'retry_write' argument 2 names different: declaration 'buf' definition 'vbuf'. cyrus-imapd-3.12.1/lib/retry.c:118:59: style:inconclusive: Function 'retry_writev' argument 2 names different: declaration 'iov' definition 'srciov'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/retry.h:51:57: note: Function 'retry_writev' argument 2 names different: declaration 'iov' definition 'srciov'. cyrus-imapd-3.12.1/lib/retry.c:118:59: note: Function 'retry_writev' argument 2 names different: declaration 'iov' definition 'srciov'. cyrus-imapd-3.12.1/lib/rfc822tok.c:93:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/rfc822tok.c:68:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/seqset.c:95:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/seqset.c:177:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable low [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/seqset.c:292:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/seqset.c:338:46: style:inconclusive: Function 'seqset_ismember' argument 1 names different: declaration 'set' definition 'seq'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/seqset.h:66:44: note: Function 'seqset_ismember' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:338:46: note: Function 'seqset_ismember' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:385:48: style:inconclusive: Function 'seqset_first' argument 1 names different: declaration 'set' definition 'seq'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/seqset.h:69:46: note: Function 'seqset_first' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:385:48: note: Function 'seqset_first' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:395:47: style:inconclusive: Function 'seqset_last' argument 1 names different: declaration 'set' definition 'seq'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/seqset.h:71:45: note: Function 'seqset_last' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:395:47: note: Function 'seqset_last' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:403:57: style:inconclusive: Function 'seqset_firstnonmember' argument 1 names different: declaration 'set' definition 'seq'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/seqset.h:70:55: note: Function 'seqset_firstnonmember' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:403:57: note: Function 'seqset_firstnonmember' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:418:50: style:inconclusive: Function 'seqset_getnext' argument 1 names different: declaration 'set' definition 'seq'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/seqset.h:68:48: note: Function 'seqset_getnext' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:418:50: note: Function 'seqset_getnext' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:447:44: style:inconclusive: Function 'seqset_reset' argument 1 names different: declaration 'set' definition 'seq'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/seqset.h:67:42: note: Function 'seqset_reset' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:447:44: note: Function 'seqset_reset' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:488:47: style:inconclusive: Function 'seqset_cstring' argument 1 names different: declaration 'set' definition 'seq'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/seqset.h:72:45: note: Function 'seqset_cstring' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:488:47: note: Function 'seqset_cstring' argument 1 names different: declaration 'set' definition 'seq'. cyrus-imapd-3.12.1/lib/seqset.c:533:38: style:inconclusive: Function 'seqset_free' argument 1 names different: declaration 'setp' definition 'l'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/seqset.h:73:36: note: Function 'seqset_free' argument 1 names different: declaration 'setp' definition 'l'. cyrus-imapd-3.12.1/lib/seqset.c:533:38: note: Function 'seqset_free' argument 1 names different: declaration 'setp' definition 'l'. cyrus-imapd-3.12.1/lib/seqset.c:215:23: style: Variable 'r1' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/seqset.c:216:23: style: Variable 'r2' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/seqset.c:327:23: style: Variable 'r1' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/seqset.c:328:23: style: Variable 'r2' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/seqset.c:341:23: style: Variable 'found' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/setproctitle.c:117:9: style: Condition '!setproctitle_enable' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/lib/setproctitle.c:248:13: style: Condition '!setproctitle_enable' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/lib/setproctitle.c:124:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cyrus-imapd-3.12.1/lib/setproctitle.c:244:23: style: Local variable 'Argv' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/lib/setproctitle.c:103:27: note: Shadowed declaration cyrus-imapd-3.12.1/lib/setproctitle.c:244:23: note: Shadow variable cyrus-imapd-3.12.1/lib/setproctitle.c:245:22: style: Local variable 'LastArgv' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/lib/setproctitle.c:104:26: note: Shadowed declaration cyrus-imapd-3.12.1/lib/setproctitle.c:245:22: note: Shadow variable cyrus-imapd-3.12.1/lib/signals.c:75:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SI_USER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/signals.c:92:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/signals.c:133:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/signals.c:198:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/signals.c:246:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/signals.c:65:44: style: Parameter 'si' can be declared as pointer to const. However it seems that 'sighandler' is a callback function, if 'si' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/lib/signals.c:132:27: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/lib/signals.c:65:44: note: Parameter 'si' can be declared as pointer to const cyrus-imapd-3.12.1/lib/signals.c:187:40: style: Parameter 'oldmaskp' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/slowio.c:79:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/sqldb.c:385:34: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/lib/strarray.c:382:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/lib/strarray.c:382:41: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cyrus-imapd-3.12.1/lib/strarray.c:63:9: style: Same expression on both sides of '=='. [duplicateExpression] cyrus-imapd-3.12.1/lib/strarray.c:65:5: style: Same expression on both sides of '=='. [duplicateExpression] cyrus-imapd-3.12.1/lib/strarray.c:305:13: style: Same expression on both sides of '=='. [duplicateExpression] cyrus-imapd-3.12.1/lib/strarray.c:397:49: style:inconclusive: Function 'strarray_split' argument 1 names different: declaration 'buf' definition 'line'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/strarray.h:104:40: note: Function 'strarray_split' argument 1 names different: declaration 'buf' definition 'line'. cyrus-imapd-3.12.1/lib/strarray.c:397:49: note: Function 'strarray_split' argument 1 names different: declaration 'buf' definition 'line'. cyrus-imapd-3.12.1/lib/strarray.c:468:73: style:inconclusive: Function 'strarray_intersect' argument 2 names different: declaration 'b' definition 'sb'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/strarray.h:123:64: note: Function 'strarray_intersect' argument 2 names different: declaration 'b' definition 'sb'. cyrus-imapd-3.12.1/lib/strarray.c:468:73: note: Function 'strarray_intersect' argument 2 names different: declaration 'b' definition 'sb'. cyrus-imapd-3.12.1/lib/strarray.c:478:78: style:inconclusive: Function 'strarray_intersect_case' argument 2 names different: declaration 'b' definition 'sb'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/strarray.h:124:69: note: Function 'strarray_intersect_case' argument 2 names different: declaration 'b' definition 'sb'. cyrus-imapd-3.12.1/lib/strarray.c:478:78: note: Function 'strarray_intersect_case' argument 2 names different: declaration 'b' definition 'sb'. cyrus-imapd-3.12.1/lib/stristr.c:32:13: style: Variable 'pptr' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/stristr.c:32:20: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/times.c:556:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/times.c:150:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/lib/times.c:585:35: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imapd-3.12.1/lib/times.c:607:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/lib/times.c:614:21: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imapd-3.12.1/lib/times.c:629:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/lib/times.c:1429:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/lib/times.c:290:13: style: Condition '!s' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/lib/times.c:158:12: warning: %lu in format string (no. 9) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/lib/times.c:158:12: warning: %lu in format string (no. 10) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/lib/times.c:571:21: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/lib/times.c:571:21: warning: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/lib/times.c:641:12: warning: %lu in format string (no. 8) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/lib/times.c:641:12: warning: %lu in format string (no. 9) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/lib/times.c:1440:12: warning: %lu in format string (no. 9) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/lib/times.c:1440:12: warning: %lu in format string (no. 10) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/lib/times.c:1460:12: warning: %lu in format string (no. 9) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/lib/times.c:1460:12: warning: %lu in format string (no. 10) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/lib/times.c:279:9: warning: Either the condition 's' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/lib/times.c:288:9: note: Assuming that condition 's' is not redundant cyrus-imapd-3.12.1/lib/times.c:279:9: note: Null pointer dereference cyrus-imapd-3.12.1/lib/times.c:604:55: style:inconclusive: Function 'timeval_to_iso8601' argument 1 names different: declaration 't' definition 'tv'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/times.h:82:46: note: Function 'timeval_to_iso8601' argument 1 names different: declaration 't' definition 'tv'. cyrus-imapd-3.12.1/lib/times.c:604:55: note: Function 'timeval_to_iso8601' argument 1 names different: declaration 't' definition 'tv'. cyrus-imapd-3.12.1/lib/times.c:627:37: style:inconclusive: Function 'time_to_rfc3501' argument 1 names different: declaration 't' definition 'date'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/times.h:94:28: note: Function 'time_to_rfc3501' argument 1 names different: declaration 't' definition 'date'. cyrus-imapd-3.12.1/lib/times.c:627:37: note: Function 'time_to_rfc3501' argument 1 names different: declaration 't' definition 'date'. cyrus-imapd-3.12.1/lib/times.c:719:55: style:inconclusive: Function 'time_from_rfc3501' argument 2 names different: declaration 'tp' definition 'date'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/times.h:95:46: note: Function 'time_from_rfc3501' argument 2 names different: declaration 'tp' definition 'date'. cyrus-imapd-3.12.1/lib/times.c:719:55: note: Function 'time_from_rfc3501' argument 2 names different: declaration 'tp' definition 'date'. cyrus-imapd-3.12.1/lib/times.c:1179:13: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/lib/times.c:1158:12: note: Shadowed declaration cyrus-imapd-3.12.1/lib/times.c:1179:13: note: Shadow variable cyrus-imapd-3.12.1/lib/times.c:371:31: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/times.c:533:74: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/times.c:614:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/times.c:725:30: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/times.c:1044:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/times.c:1076:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/times.c:1102:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/times.c:1448:55: style: Parameter 't' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/times.c:1078:16: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/tok.c:49:46: style:inconclusive: Function 'tok_init' argument 2 names different: declaration 'buf' definition 'str'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/tok.h:70:36: note: Function 'tok_init' argument 2 names different: declaration 'buf' definition 'str'. cyrus-imapd-3.12.1/lib/tok.c:49:46: note: Function 'tok_init' argument 2 names different: declaration 'buf' definition 'str'. cyrus-imapd-3.12.1/lib/tok.c:54:41: style:inconclusive: Function 'tok_initm' argument 2 names different: declaration 'buf' definition 'str'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/tok.h:71:31: note: Function 'tok_initm' argument 2 names different: declaration 'buf' definition 'str'. cyrus-imapd-3.12.1/lib/tok.c:54:41: note: Function 'tok_initm' argument 2 names different: declaration 'buf' definition 'str'. cyrus-imapd-3.12.1/lib/util.c:441:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RD [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:447:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:483:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:521:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTW_DEPTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:539:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:573:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:681:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:767:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:817:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CYRUS_USER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:826:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CYRUS_GROUP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:860:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:874:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SEARCH_MAXTIME [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:939:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:1184:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:2018:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:2070:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:2094:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_TCP_KEEPALIVE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:2144:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:2158:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/util.c:645:15: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] cyrus-imapd-3.12.1/lib/util.c:765:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cyrus-imapd-3.12.1/lib/util.c:776:13: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cyrus-imapd-3.12.1/lib/util.c:2098:34: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] cyrus-imapd-3.12.1/lib/util.c:2142:30: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] cyrus-imapd-3.12.1/lib/util.c:1699:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/util.c:1696:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/util.c:1696:13: note: Assignment 'p=buf=xmalloc(sz)', assigned value is 0 cyrus-imapd-3.12.1/lib/util.c:1699:12: note: Null pointer dereference cyrus-imapd-3.12.1/lib/util.c:1700:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/util.c:1696:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/util.c:1696:13: note: Assignment 'p=buf=xmalloc(sz)', assigned value is 0 cyrus-imapd-3.12.1/lib/util.c:1700:17: note: Null pointer dereference cyrus-imapd-3.12.1/lib/util.c:386:31: style: Variable 'cmp' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/lib/util.c:383:9: note: cmp is assigned cyrus-imapd-3.12.1/lib/util.c:386:31: note: cmp is overwritten cyrus-imapd-3.12.1/lib/util.c:527:38: style:inconclusive: Function 'cyrus_mkdir' argument 1 names different: declaration 'path' definition 'pathname'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/util.h:232:36: note: Function 'cyrus_mkdir' argument 1 names different: declaration 'path' definition 'pathname'. cyrus-imapd-3.12.1/lib/util.c:527:38: note: Function 'cyrus_mkdir' argument 1 names different: declaration 'path' definition 'pathname'. cyrus-imapd-3.12.1/lib/util.c:889:40: style:inconclusive: Function 'cmdtime_endtimer' argument 1 names different: declaration 'cmdtime' definition 'pcmdtime'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/util.h:270:39: note: Function 'cmdtime_endtimer' argument 1 names different: declaration 'cmdtime' definition 'pcmdtime'. cyrus-imapd-3.12.1/lib/util.c:889:40: note: Function 'cmdtime_endtimer' argument 1 names different: declaration 'cmdtime' definition 'pcmdtime'. cyrus-imapd-3.12.1/lib/util.c:889:58: style:inconclusive: Function 'cmdtime_endtimer' argument 2 names different: declaration 'nettime' definition 'pnettime'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/util.h:270:57: note: Function 'cmdtime_endtimer' argument 2 names different: declaration 'nettime' definition 'pnettime'. cyrus-imapd-3.12.1/lib/util.c:889:58: note: Function 'cmdtime_endtimer' argument 2 names different: declaration 'nettime' definition 'pnettime'. cyrus-imapd-3.12.1/lib/util.c:1079:51: style:inconclusive: Function '_buf_ensure' argument 2 names different: declaration 'len' definition 'n'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/util.h:297:42: note: Function '_buf_ensure' argument 2 names different: declaration 'len' definition 'n'. cyrus-imapd-3.12.1/lib/util.c:1079:51: note: Function '_buf_ensure' argument 2 names different: declaration 'len' definition 'n'. cyrus-imapd-3.12.1/lib/util.c:1510:42: style:inconclusive: Function 'buf_insertcstr' argument 1 names different: declaration 'buf' definition 'dst'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/util.h:323:33: note: Function 'buf_insertcstr' argument 1 names different: declaration 'buf' definition 'dst'. cyrus-imapd-3.12.1/lib/util.c:1510:42: note: Function 'buf_insertcstr' argument 1 names different: declaration 'buf' definition 'dst'. cyrus-imapd-3.12.1/lib/util.c:1518:41: style:inconclusive: Function 'buf_insertmap' argument 1 names different: declaration 'buf' definition 'dst'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/util.h:324:32: note: Function 'buf_insertmap' argument 1 names different: declaration 'buf' definition 'dst'. cyrus-imapd-3.12.1/lib/util.c:1518:41: note: Function 'buf_insertmap' argument 1 names different: declaration 'buf' definition 'dst'. cyrus-imapd-3.12.1/lib/util.c:1527:38: style:inconclusive: Function 'buf_remove' argument 1 names different: declaration 'buf' definition 'dst'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/lib/util.h:340:29: note: Function 'buf_remove' argument 1 names different: declaration 'buf' definition 'dst'. cyrus-imapd-3.12.1/lib/util.c:1527:38: note: Function 'buf_remove' argument 1 names different: declaration 'buf' definition 'dst'. cyrus-imapd-3.12.1/lib/util.c:1776:16: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imapd-3.12.1/lib/util.c:1791:21: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cyrus-imapd-3.12.1/lib/util.c:406:24: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/util.c:514:37: style: Parameter 'ftwbuf' can be declared as pointer to const. However it seems that 'removedir_cb' is a callback function, if 'ftwbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/lib/util.c:521:23: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/lib/util.c:514:37: note: Parameter 'ftwbuf' can be declared as pointer to const cyrus-imapd-3.12.1/lib/util.c:641:24: style: Variable 'tv' can be declared as const array [constVariable] cyrus-imapd-3.12.1/lib/util.c:753:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/util.c:754:19: style: Variable 'g' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/util.c:1166:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/util.c:1411:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/util.c:2098:26: style: Variable 'proto' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/util.c:2142:22: style: Variable 'proto' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/lib/util.c:2098:32: style: Variable 'proto' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/util.c:2098:26: style: Variable 'proto' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/vparse.c:114:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/vparse.c:301:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/vparse.c:692:51: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/lib/wildmat.c:129:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cyrus-imapd-3.12.1/lib/xmalloc.c:58:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/xmalloc.c:81:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/xmalloc.c:65:12: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/xmalloc.c:64:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/xmalloc.c:64:24: note: Assignment 'ret=xmalloc(size)', assigned value is 0 cyrus-imapd-3.12.1/lib/xmalloc.c:65:12: note: Null pointer dereference cyrus-imapd-3.12.1/lib/xmalloc.c:98:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/xmalloc.c:97:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/xmalloc.c:97:22: note: Assignment 'p=xmalloc(strlen(str)+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/xmalloc.c:98:12: note: Null pointer dereference cyrus-imapd-3.12.1/lib/xmalloc.c:117:22: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/xmalloc.c:116:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/xmalloc.c:116:22: note: Assignment 'p=xmalloc(len+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/xmalloc.c:117:22: note: Null pointer dereference cyrus-imapd-3.12.1/lib/xmalloc.c:118:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/xmalloc.c:116:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/xmalloc.c:116:22: note: Assignment 'p=xmalloc(len+1)', assigned value is 0 cyrus-imapd-3.12.1/lib/xmalloc.c:118:5: note: Null pointer dereference cyrus-imapd-3.12.1/lib/xmalloc.c:125:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/lib/xmalloc.c:124:22: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/xmalloc.c:124:22: note: Assignment 'p=xmalloc(size)', assigned value is 0 cyrus-imapd-3.12.1/lib/xmalloc.c:125:12: note: Null pointer dereference cyrus-imapd-3.12.1/lib/xmalloc.c:90:20: portability: 'ret' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/lib/xsha1.c:206:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xSHA1_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/xsha1.c:151:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/xsha1.c:151:11: style: Variable 'b' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/xsha1.c:151:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/xsha1.c:151:19: style: Variable 'd' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/xsha1.c:151:23: style: Variable 'e' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/xsha1.c:211:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/xsha1.c:211:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/lib/xstrlcpy.c:54:13: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] cyrus-imapd-3.12.1/lib/xunlink.c:58:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/lib/xunlink.c:82:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:213:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:236:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBEXEC_DIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:247:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBIN_DIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:272:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:289:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BEFORE_BIND [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:322:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:439:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:459:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_UNAVAILABLE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:483:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_UNAVAILABLE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:521:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:742:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:791:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AFTER_FORK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:815:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:853:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:884:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:1069:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:1229:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:1276:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:1370:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:1617:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:1657:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:1697:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:1792:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:1821:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2031:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2060:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2166:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2271:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2415:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2498:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2552:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2757:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2826:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2850:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2898:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2927:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_CONFIGDIRECTORY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:2965:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/master.c:1336:22: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/master/master.c:2427:25: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/master/master.c:1620:32: style: Condition 'wd' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/master/master.c:1621:32: style: Condition 'wd' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/master/master.c:1503:21: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/master/master.c:3035:17: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] cyrus-imapd-3.12.1/master/master.c:2054:17: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] cyrus-imapd-3.12.1/master/master.c:2042:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/master/master.c:2042:24: note: Assignment 'cmd=xstrdup(masterconf_getstring(e,"cmd",""))', assigned value is 0 cyrus-imapd-3.12.1/master/master.c:2054:17: note: Null pointer dereference cyrus-imapd-3.12.1/master/master.c:2265:17: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] cyrus-imapd-3.12.1/master/master.c:2251:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/master/master.c:2251:24: note: Assignment 'cmd=xstrdup(masterconf_getstring(e,"cmd",""))', assigned value is 0 cyrus-imapd-3.12.1/master/master.c:2265:17: note: Null pointer dereference cyrus-imapd-3.12.1/master/master.c:2409:17: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] cyrus-imapd-3.12.1/master/master.c:2401:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/master/master.c:2401:24: note: Assignment 'cmd=xstrdup(masterconf_getstring(e,"cmd",""))', assigned value is 0 cyrus-imapd-3.12.1/master/master.c:2409:17: note: Null pointer dereference cyrus-imapd-3.12.1/master/master.c:2798:53: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/master/master.c:2799:50: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/master/master.c:2817:49: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] cyrus-imapd-3.12.1/master/master.c:548:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/master/master.c:511:9: note: Shadowed declaration cyrus-imapd-3.12.1/master/master.c:548:13: note: Shadow variable cyrus-imapd-3.12.1/master/master.c:3256:13: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/master/master.c:2950:9: note: Shadowed declaration cyrus-imapd-3.12.1/master/master.c:3256:13: note: Shadow variable cyrus-imapd-3.12.1/master/master.c:3429:13: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/master/master.c:2959:9: note: Shadowed declaration cyrus-imapd-3.12.1/master/master.c:3429:13: note: Shadow variable cyrus-imapd-3.12.1/master/master.c:285:56: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/master/master.c:735:46: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/master/master.c:2039:69: style: Parameter 'rock' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/master/master.c:2248:66: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'add_service' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/master/master.c:3215:40: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/master/master.c:2248:66: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/master/master.c:2396:64: style: Parameter 'rock' can be declared as pointer to const. However it seems that 'add_event' is a callback function, if 'rock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/master/master.c:3216:38: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/master/master.c:2396:64: note: Parameter 'rock' can be declared as pointer to const cyrus-imapd-3.12.1/master/master.c:2954:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/master/master.c:2958:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/master/master.c:1215:19: style: Variable 'r' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/master/masterconf.c:101:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_ident [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/masterconf.c:159:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/masterconf.c:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/masterconf.c:205:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/masterconf.c:267:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/masterconf.c:310:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/masterconf.c:89:11: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/master/masterconf.c:68:11: style: struct member 'configlist::key' is never used. [unusedStructMember] cyrus-imapd-3.12.1/master/masterconf.c:69:11: style: struct member 'configlist::value' is never used. [unusedStructMember] cyrus-imapd-3.12.1/master/service-thread.c:82:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/service-thread.c:176:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/service-thread.c:309:13: style: Condition '!libwrap_ask(&request,fd)' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/master/service-thread.c:309:25: note: Calling function 'libwrap_ask' returns 1 cyrus-imapd-3.12.1/master/service-thread.c:309:13: note: Condition '!libwrap_ask(&request,fd)' is always false cyrus-imapd-3.12.1/master/service-thread.c:135:47: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/master/service-thread.c:136:32: style: Parameter 'service' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/master/service-thread.c:141:45: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/master/service-thread.c:155:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/master/service-thread.c:155:22: style: Variable 'service' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/master/service-thread.c:158:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/master/service-thread.c:133:27: style: struct member 'request_info::x' is never used. [unusedStructMember] cyrus-imapd-3.12.1/master/service.c:92:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/service.c:167:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_dir [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/service.c:192:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/service.c:228:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/service.c:299:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/master/service.c:609:17: style: Condition '!libwrap_ask(&request,fd)' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/master/service.c:609:29: note: Calling function 'libwrap_ask' returns 1 cyrus-imapd-3.12.1/master/service.c:609:17: note: Condition '!libwrap_ask(&request,fd)' is always false cyrus-imapd-3.12.1/master/service.c:567:21: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/master/service.c:509:17: note: Shadowed declaration cyrus-imapd-3.12.1/master/service.c:567:21: note: Shadow variable cyrus-imapd-3.12.1/master/service.c:145:47: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/master/service.c:146:32: style: Parameter 'service' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/master/service.c:151:45: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/master/service.c:161:28: style: Parameter 'service' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/master/service.c:288:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/master/service.c:291:11: style: Variable 'alt_config' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/master/service.c:143:27: style: struct member 'request_info::x' is never used. [unusedStructMember] cyrus-imapd-3.12.1/netnews/readconfig.c:197:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/readconfig.c:255:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/readconfig.c:312:53: warning: Either the condition 'j>100' is redundant or the array 'EXPclasses[100]' is accessed at index 101, which is out of bounds. [arrayIndexOutOfBoundsCond] cyrus-imapd-3.12.1/netnews/readconfig.c:308:31: note: Assuming that condition 'j>100' is not redundant cyrus-imapd-3.12.1/netnews/readconfig.c:312:53: note: Array index out of bounds cyrus-imapd-3.12.1/netnews/readconfig.c:312:53: warning: Either the condition 'j<0' is redundant or the array 'EXPclasses[100]' is accessed at index -1, which is out of bounds. [negativeIndex] cyrus-imapd-3.12.1/netnews/readconfig.c:308:20: note: Assuming that condition 'j<0' is not redundant cyrus-imapd-3.12.1/netnews/readconfig.c:312:53: note: Negative array index cyrus-imapd-3.12.1/netnews/readconfig.c:136:13: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/netnews/readconfig.c:142:9: note: Assuming that condition '!p' is not redundant cyrus-imapd-3.12.1/netnews/readconfig.c:136:13: note: Null pointer dereference cyrus-imapd-3.12.1/netnews/readconfig.c:139:11: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] cyrus-imapd-3.12.1/netnews/readconfig.c:142:9: note: Assuming that condition '!p' is not redundant cyrus-imapd-3.12.1/netnews/readconfig.c:139:11: note: Null pointer dereference cyrus-imapd-3.12.1/netnews/readconfig.c:185:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cyrus-imapd-3.12.1/netnews/readconfig.c:172:62: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/netnews/readconfig.c:213:42: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/netnews/readconfig.c:458:38: style: Parameter 'reply' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/netnews/remotepurge.c:137:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/remotepurge.c:144:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/remotepurge.c:255:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/remotepurge.c:334:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/remotepurge.c:414:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monthname [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/remotepurge.c:534:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_TEMPFAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/remotepurge.c:568:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/remotepurge.c:616:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/remotepurge.c:636:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/netnews/remotepurge.c:409:13: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cyrus-imapd-3.12.1/netnews/remotepurge.c:180:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/netnews/remotepurge.c:179:51: note: Assuming allocation function fails cyrus-imapd-3.12.1/netnews/remotepurge.c:179:25: note: Assignment 'ret=(struct capabilities_t*)xmalloc(sizeof(struct capabilities_t))', assigned value is 0 cyrus-imapd-3.12.1/netnews/remotepurge.c:180:5: note: Null pointer dereference cyrus-imapd-3.12.1/netnews/remotepurge.c:181:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/netnews/remotepurge.c:179:51: note: Assuming allocation function fails cyrus-imapd-3.12.1/netnews/remotepurge.c:179:25: note: Assignment 'ret=(struct capabilities_t*)xmalloc(sizeof(struct capabilities_t))', assigned value is 0 cyrus-imapd-3.12.1/netnews/remotepurge.c:181:5: note: Null pointer dereference cyrus-imapd-3.12.1/netnews/remotepurge.c:182:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/netnews/remotepurge.c:179:51: note: Assuming allocation function fails cyrus-imapd-3.12.1/netnews/remotepurge.c:179:25: note: Assignment 'ret=(struct capabilities_t*)xmalloc(sizeof(struct capabilities_t))', assigned value is 0 cyrus-imapd-3.12.1/netnews/remotepurge.c:182:5: note: Null pointer dereference cyrus-imapd-3.12.1/netnews/remotepurge.c:194:12: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/netnews/remotepurge.c:179:51: note: Assuming allocation function fails cyrus-imapd-3.12.1/netnews/remotepurge.c:179:25: note: Assignment 'ret=(struct capabilities_t*)xmalloc(sizeof(struct capabilities_t))', assigned value is 0 cyrus-imapd-3.12.1/netnews/remotepurge.c:194:12: note: Null pointer dereference cyrus-imapd-3.12.1/netnews/remotepurge.c:550:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/netnews/remotepurge.c:549:31: note: Assuming allocation function fails cyrus-imapd-3.12.1/netnews/remotepurge.c:549:15: note: Assignment 'ret=(char*)xmalloc(strlen(str)+strlen("expire.ctl")+1)', assigned value is 0 cyrus-imapd-3.12.1/netnews/remotepurge.c:550:16: note: Null pointer dereference cyrus-imapd-3.12.1/netnews/remotepurge.c:551:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/netnews/remotepurge.c:549:31: note: Assuming allocation function fails cyrus-imapd-3.12.1/netnews/remotepurge.c:549:15: note: Assignment 'ret=(char*)xmalloc(strlen(str)+strlen("expire.ctl")+1)', assigned value is 0 cyrus-imapd-3.12.1/netnews/remotepurge.c:551:16: note: Null pointer dereference cyrus-imapd-3.12.1/netnews/remotepurge.c:223:56: style: Parameter 'reply' can be declared as pointer to const. However it seems that 'callback_capability' is a callback function, if 'reply' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/netnews/remotepurge.c:701:26: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/netnews/remotepurge.c:223:56: note: Parameter 'reply' can be declared as pointer to const cyrus-imapd-3.12.1/netnews/remotepurge.c:241:40: style: Parameter 'reply' can be declared as pointer to const. However it seems that 'callback_finish' is a callback function, if 'reply' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/netnews/remotepurge.c:704:34: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/netnews/remotepurge.c:241:40: note: Parameter 'reply' can be declared as pointer to const cyrus-imapd-3.12.1/netnews/remotepurge.c:286:39: style: Parameter 'reply' can be declared as pointer to const. However it seems that 'callback_exists' is a callback function, if 'reply' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/netnews/remotepurge.c:428:55: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/netnews/remotepurge.c:286:39: note: Parameter 'reply' can be declared as pointer to const cyrus-imapd-3.12.1/netnews/remotepurge.c:295:39: style: Parameter 'reply' can be declared as pointer to const. However it seems that 'callback_search' is a callback function, if 'reply' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/netnews/remotepurge.c:460:43: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/netnews/remotepurge.c:295:39: note: Parameter 'reply' can be declared as pointer to const cyrus-imapd-3.12.1/netnews/remotepurge.c:348:20: style: Variable 'A' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/netnews/remotepurge.c:405:16: style: Variable 'my_tm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/netnews/remotepurge.c:561:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/notifyd/notify_external.c:71:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_NOTIFY_EXTERNAL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/notifyd/notify_log.c:59:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/notifyd/notify_log.c:60:21: style: Variable 'sep' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/notifyd/notify_mailto.c:113:59: error: There is an unknown macro here somewhere. Configuration is required. If TIME_T_FMT is a macro then please configure it. [unknownMacro] cyrus-imapd-3.12.1/notifyd/notify_zephyr.c:78:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/notifyd/notifyd.c:127:16: error: syntax error [syntaxError] cyrus-imapd-3.12.1/notifyd/notifytest.c:75:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/notifyd/notifytest.c:112:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/notifyd/notifytest.c:160:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/notifyd/notifytest.c:206:22: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cyrus-imapd-3.12.1/perl/imap/xsutil.c:68:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/imap/xsutil.c:114:30: error: Uninitialized variable: av [uninitvar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:113:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:152:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sasl_security_properties_t [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:174:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:234:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEW_VERSION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:294:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:326:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:374:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_INTERACT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:505:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_BADPARAM [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:541:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STAT_NO [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:693:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STAT_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:706:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STAT_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:723:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STAT_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:740:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STAT_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:755:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STAT_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:769:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STAT_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:789:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STAT_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:292:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:608:16: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:154:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:152:12: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:151:35: note: Assignment 'ret=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:154:3: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:155:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:152:12: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:151:35: note: Assignment 'ret=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:155:3: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:156:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:152:12: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:151:35: note: Assignment 'ret=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:156:3: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:159:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:152:12: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:151:35: note: Assignment 'ret=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:159:3: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:160:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:152:12: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:151:35: note: Assignment 'ret=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:160:3: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:161:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:152:12: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:151:35: note: Assignment 'ret=(sasl_security_properties_t*)xmalloc(sizeof(sasl_security_properties_t))', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:161:3: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:554:31: warning: If memory allocation fails, then there is a possible null pointer dereference: authid [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:551:47: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:551:38: note: Assignment 'authid=obj->refer_authinfo=xstrdup(refer_to+strlen(scheme))', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:554:31: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:564:13: warning: If memory allocation fails, then there is a possible null pointer dereference: callbacks [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:561:51: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:561:42: note: Assignment 'callbacks=obj->refer_callbacks=xmalloc(n*sizeof(sasl_callback_t))', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:564:13: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:566:21: warning: If memory allocation fails, then there is a possible null pointer dereference: callbacks [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:561:51: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:561:42: note: Assignment 'callbacks=obj->refer_callbacks=xmalloc(n*sizeof(sasl_callback_t))', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:566:21: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:641:35: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mtr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:637:32: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:637:32: note: Assignment 'mtr=xstrdup(mtried)', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:641:35: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:192:11: style: Redundant initialization for 'addrsize'. The initialized value is overwritten before it is read. [redundantInitialization] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:176:21: note: addrsize is initialized cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:192:11: note: addrsize is overwritten cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:104:20: style: Parameter 'serverFQDN' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:238:13: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:286:38: style: Parameter 'mechlist' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:528:21: style: Variable 'serv' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/perl/sieve/lib/isieve.c:638:19: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/perl/sieve/lib/lex.c:76:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOKEN_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/lex.c:105:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/lex.c:191:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/lex.c:187:35: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/lex.c:187:20: note: Assignment 'lvalp->str=(char*)xmalloc(count+1)', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/lex.c:190:28: note: it is assigned 'lvalp->str' here. cyrus-imapd-3.12.1/perl/sieve/lib/lex.c:191:34: note: Null pointer addition cyrus-imapd-3.12.1/perl/sieve/lib/lex.c:101:9: style: Variable 'buff_end' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/perl/sieve/lib/request.c:85:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOKEN_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/request.c:307:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/request.c:390:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/request.c:474:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRING [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/perl/sieve/lib/request.c:281:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cyrus-imapd-3.12.1/perl/sieve/lib/request.c:271:23: note: Assuming allocation function fails cyrus-imapd-3.12.1/perl/sieve/lib/request.c:271:7: note: Assignment 'ret=(char*)xmalloc(strlen(filename)+2)', assigned value is 0 cyrus-imapd-3.12.1/perl/sieve/lib/request.c:281:10: note: Null pointer dereference cyrus-imapd-3.12.1/perl/sieve/lib/request.c:162:11: style: Local variable 'res' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/perl/sieve/lib/request.c:74:25: note: Shadowed declaration cyrus-imapd-3.12.1/perl/sieve/lib/request.c:162:11: note: Shadow variable cyrus-imapd-3.12.1/perl/sieve/lib/request.c:269:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/ptclient/afskrb.c:346:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/afskrb.c:355:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/http.c:101:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_VERSION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/http.c:147:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_HTTPPTS_URI [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/http.c:217:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/http.c:120:35: style: Parameter 'be' can be declared as pointer to const. However it seems that 'logout' is a callback function, if 'be' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/ptclient/http.c:133:31: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/ptclient/http.c:120:35: note: Parameter 'be' can be declared as pointer to const cyrus-imapd-3.12.1/ptclient/http.c:222:10: style: Variable 'size' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/ptclient/ldap.c:1498:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ldap.c:1507:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_CONFIG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ptdump.c:62:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ptdump.c:94:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ptdump.c:63:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/ptclient/ptdump.c:63:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/ptclient/ptdump.c:58:24: style: Variable 'authstate' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/ptclient/ptdump.c:72:26: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/ptclient/ptexpire.c:96:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ptexpire.c:128:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ptexpire.c:167:17: style: Local variable 'r' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/ptclient/ptexpire.c:107:9: note: Shadowed declaration cyrus-imapd-3.12.1/ptclient/ptexpire.c:167:17: note: Shadow variable cyrus-imapd-3.12.1/ptclient/ptexpire.c:77:27: style: Parameter 'rockp' can be declared as pointer to const. However it seems that 'expire_p' is a callback function, if 'rockp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/ptclient/ptexpire.c:178:38: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/ptclient/ptexpire.c:77:27: note: Parameter 'rockp' can be declared as pointer to const cyrus-imapd-3.12.1/ptclient/ptexpire.c:83:24: style: Variable 'authstate' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/ptclient/ptloader.c:83:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_PTS_MODULE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ptloader.c:204:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_USERNAME_TOLOWER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ptloader.c:242:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ptloader.c:292:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ptloader.c:308:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTS_DB_KEYSIZE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/ptloader.c:375:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/test.c:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/test.c:57:5: warning:inconclusive: The buffer 'cache' may not be null-terminated after the call to strncpy(). [terminateStrncpy] cyrus-imapd-3.12.1/ptclient/test.c:72:17: style: Parameter 'foo' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/ptclient/test2.c:60:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/ptclient/test2.c:59:17: style: Parameter 'foo' can be declared as pointer to const [constParameterPointer] sieve/addr-lex.c:1015:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sieve/addr-lex.c:1421:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sieve/addr-lex.c:1718:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sieve/addr-lex.c:1956:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sieve/addr-lex.c:1722:2: warning: Possible null pointer dereference: b [nullPointer] sieve/addr-lex.c:1615:18: note: Calling function 'addr_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 sieve/addr-lex.c:1722:2: note: Null pointer dereference sieve/addr-lex.c:1723:2: warning: Possible null pointer dereference: b [nullPointer] sieve/addr-lex.c:1615:18: note: Calling function 'addr_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 sieve/addr-lex.c:1723:2: note: Null pointer dereference sieve/addr-lex.c:1421:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] sieve/addr-lex.c:1421:3: note: c is initialized sieve/addr-lex.c:1421:3: note: c is overwritten sieve/addr-lex.l:65:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/addr-lex.l:70:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/addr-lex.l:83:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/addr-lex.l:109:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/addr-lex.l:115:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/addr-lex.l:125:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/addr-lex.l:131:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/addr-lex.l:154:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/addr-lex.c:1500:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] sieve/addr-lex.c:604:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. sieve/addr-lex.c:1500:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. sieve/addr-lex.c:1907:46: style:inconclusive: Function 'addr_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] sieve/addr-lex.c:556:46: note: Function 'addr_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. sieve/addr-lex.c:1907:46: note: Function 'addr_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. sieve/addr-lex.c:1920:46: style:inconclusive: Function 'addr_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] sieve/addr-lex.c:557:45: note: Function 'addr_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. sieve/addr-lex.c:1920:46: note: Function 'addr_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. sieve/addr-lex.c:1920:60: style:inconclusive: Function 'addr_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] sieve/addr-lex.c:557:56: note: Function 'addr_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. sieve/addr-lex.c:1920:60: note: Function 'addr_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. sieve/addr-lex.c:2052:24: style:inconclusive: Function 'addrset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] sieve/addr-lex.c:840:24: note: Function 'addrset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. sieve/addr-lex.c:2052:24: note: Function 'addrset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. sieve/addr-lex.c:1333:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] sieve/addr.c:942:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sieve/addr.c:1033:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] sieve/addr.c:975:31: note: 'yystate' is assigned value '0' here. sieve/addr.c:1033:3: note: The comparison '0 <= yystate' is always true. sieve/addr.c:942:11: style: Variable 'yymsg' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/sieve/bc_emit.c:385:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/bc_emit.c:79:31: style: Condition 'needed<=4' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/sieve/bc_emit.c:78:30: note: Assignment 'needed=sizeof(int)-(string_len%sizeof(int))', assigned value is less than 5 cyrus-imapd-3.12.1/sieve/bc_emit.c:79:31: note: Condition 'needed<=4' is always true cyrus-imapd-3.12.1/sieve/bc_eval.c:184:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_DONE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/bc_eval.c:323:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/bc_eval.c:416:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_NOMEM [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/bc_eval.c:623:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_RUN_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/bc_eval.c:1709:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_RUN_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/bc_eval.c:747:13: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/sieve/bc_eval.c:849:13: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/sieve/bc_eval.c:932:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/sieve/bc_eval.c:1081:13: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/sieve/bc_eval.c:2471:25: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/sieve/bc_eval.c:142:29: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] cyrus-imapd-3.12.1/sieve/bc_eval.c:140:38: note: Assuming allocation function fails cyrus-imapd-3.12.1/sieve/bc_eval.c:140:38: note: Assignment 'addr=xstrdup("")', assigned value is 0 cyrus-imapd-3.12.1/sieve/bc_eval.c:142:29: note: Null pointer dereference cyrus-imapd-3.12.1/sieve/bc_eval.c:1601:30: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/sieve/bc_eval.c:1593:13: note: res is assigned cyrus-imapd-3.12.1/sieve/bc_eval.c:1601:30: note: res is overwritten cyrus-imapd-3.12.1/sieve/bc_eval.c:1983:17: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/sieve/bc_eval.c:1954:29: note: res is assigned cyrus-imapd-3.12.1/sieve/bc_eval.c:1983:17: note: res is overwritten cyrus-imapd-3.12.1/sieve/bc_eval.c:2371:25: style: Variable 'actionflags' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/sieve/bc_eval.c:2358:29: note: actionflags is assigned cyrus-imapd-3.12.1/sieve/bc_eval.c:2371:25: note: actionflags is overwritten cyrus-imapd-3.12.1/sieve/bc_eval.c:2371:25: style: Variable 'actionflags' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/sieve/bc_eval.c:2360:29: note: actionflags is assigned cyrus-imapd-3.12.1/sieve/bc_eval.c:2371:25: note: actionflags is overwritten cyrus-imapd-3.12.1/sieve/bc_eval.c:546:13: style: Local variable 'x' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/sieve/bc_eval.c:490:9: note: Shadowed declaration cyrus-imapd-3.12.1/sieve/bc_eval.c:546:13: note: Shadow variable cyrus-imapd-3.12.1/sieve/bc_eval.c:2173:22: style: Local variable 'errmsg' shadows outer argument [shadowArgument] cyrus-imapd-3.12.1/sieve/bc_eval.c:1694:64: note: Shadowed declaration cyrus-imapd-3.12.1/sieve/bc_eval.c:2173:22: note: Shadow variable cyrus-imapd-3.12.1/sieve/bc_eval.c:122:32: style: Parameter 'myaddr' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/bc_eval.c:1204:23: style: Variable 'origzone' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:614:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/bc_parse.c:743:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/bc_parse.c:461:48: style: Parameter 'bc' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:525:47: style: Parameter 'bc' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:541:50: style: Parameter 'bc' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:562:29: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:567:49: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:572:53: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:577:50: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:594:33: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:602:53: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:607:41: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:638:30: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:655:30: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cyrus-imapd-3.12.1/sieve/bc_parse.c:55:14: style: struct member 'args_t::type' is never used. [unusedStructMember] cyrus-imapd-3.12.1/sieve/comparator.c:219:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/comparator.c:321:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/comparator.c:255:29: style: Variable 'var_num' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/sieve/comparator.c:252:33: note: var_num is assigned cyrus-imapd-3.12.1/sieve/comparator.c:255:29: note: var_num is overwritten cyrus-imapd-3.12.1/sieve/comparator.c:530:57: style:inconclusive: Function 'lookup_comp' argument 5 names different: declaration 'rock' definition 'comprock'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/comparator.h:76:48: note: Function 'lookup_comp' argument 5 names different: declaration 'rock' definition 'comprock'. cyrus-imapd-3.12.1/sieve/comparator.c:530:57: note: Function 'lookup_comp' argument 5 names different: declaration 'rock' definition 'comprock'. cyrus-imapd-3.12.1/sieve/comparator.c:268:29: style: Variable 'var_num' is assigned a value that is never used. [unreadVariable] cyrus-imapd-3.12.1/sieve/flags.c:45:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_TRIM [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/grammar.c:57:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/grammar.c:163:11: style: Condition '0&&fail' is always false [knownConditionTrueFalse] cyrus-imapd-3.12.1/sieve/grammar.c:16:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/grammar.c:33:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/interp.c:85:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVE_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/interp.c:268:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/interp.c:320:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_NOT_FINALIZED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/interp.c:330:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_NOT_FINALIZED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/interp.c:371:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_NOT_FINALIZED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/interp.c:399:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_NOT_FINALIZED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/interp.c:432:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_NOT_FINALIZED [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/interp.c:597:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVE_EXTENSIONS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/interp.c:427:35: style:inconclusive: Function 'interp_verify' argument 1 names different: declaration 'interp' definition 'i'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/interp.h:295:35: note: Function 'interp_verify' argument 1 names different: declaration 'interp' definition 'i'. cyrus-imapd-3.12.1/sieve/interp.c:427:35: note: Function 'interp_verify' argument 1 names different: declaration 'interp' definition 'i'. cyrus-imapd-3.12.1/sieve/interp.c:573:66: style:inconclusive: Function 'lookup_capability_string' argument 1 names different: declaration 'capa' definition 'flag'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/interp.h:292:64: note: Function 'lookup_capability_string' argument 1 names different: declaration 'capa' definition 'flag'. cyrus-imapd-3.12.1/sieve/interp.c:573:66: note: Function 'lookup_capability_string' argument 1 names different: declaration 'capa' definition 'flag'. cyrus-imapd-3.12.1/sieve/interp.c:427:35: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/interp.c:595:55: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/message.c:85:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_RUN_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/message.c:122:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_RUN_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/message.c:180:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_INTERNAL_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/message.c:259:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_RUN_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/message.c:304:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_RUN_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/message.c:402:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_RUN_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/message.c:445:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_RUN_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/message.c:475:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_RUN_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/message.c:96:5: warning: Possible null pointer dereference: b [nullPointer] cyrus-imapd-3.12.1/sieve/message.c:65:24: note: Assignment 'b=NULL', assigned value is 0 cyrus-imapd-3.12.1/sieve/message.c:70:14: note: Assuming condition is false cyrus-imapd-3.12.1/sieve/message.c:96:5: note: Null pointer dereference cyrus-imapd-3.12.1/sieve/message.c:276:5: warning: Possible null pointer dereference: b [nullPointer] cyrus-imapd-3.12.1/sieve/message.c:250:24: note: Assignment 'b=NULL', assigned value is 0 cyrus-imapd-3.12.1/sieve/message.c:257:14: note: Assuming condition is false cyrus-imapd-3.12.1/sieve/message.c:276:5: note: Null pointer dereference cyrus-imapd-3.12.1/sieve/message.c:370:5: warning: Possible null pointer dereference: b [nullPointer] cyrus-imapd-3.12.1/sieve/message.c:352:24: note: Assignment 'b=NULL', assigned value is 0 cyrus-imapd-3.12.1/sieve/message.c:357:14: note: Assuming condition is false cyrus-imapd-3.12.1/sieve/message.c:370:5: note: Null pointer dereference cyrus-imapd-3.12.1/sieve/message.c:455:5: warning: Possible null pointer dereference: b [nullPointer] cyrus-imapd-3.12.1/sieve/message.c:438:24: note: Assignment 'b=NULL', assigned value is 0 cyrus-imapd-3.12.1/sieve/message.c:443:14: note: Assuming condition is false cyrus-imapd-3.12.1/sieve/message.c:455:5: note: Null pointer dereference cyrus-imapd-3.12.1/sieve/message.c:485:5: warning: Possible null pointer dereference: b [nullPointer] cyrus-imapd-3.12.1/sieve/message.c:468:24: note: Assignment 'b=NULL', assigned value is 0 cyrus-imapd-3.12.1/sieve/message.c:473:14: note: Assuming condition is false cyrus-imapd-3.12.1/sieve/message.c:485:5: note: Null pointer dereference cyrus-imapd-3.12.1/sieve/message.c:518:5: warning: Possible null pointer dereference: b [nullPointer] cyrus-imapd-3.12.1/sieve/message.c:498:24: note: Assignment 'b=NULL', assigned value is 0 cyrus-imapd-3.12.1/sieve/message.c:503:14: note: Assuming condition is false cyrus-imapd-3.12.1/sieve/message.c:518:5: note: Null pointer dereference cyrus-imapd-3.12.1/sieve/message.c:560:5: warning: Possible null pointer dereference: b [nullPointer] cyrus-imapd-3.12.1/sieve/message.c:545:26: note: Assignment 'b=NULL', assigned value is 0 cyrus-imapd-3.12.1/sieve/message.c:550:14: note: Assuming condition is false cyrus-imapd-3.12.1/sieve/message.c:560:5: note: Null pointer dereference cyrus-imapd-3.12.1/sieve/message.c:63:30: style:inconclusive: Function 'do_reject' argument 1 names different: declaration 'm' definition 'a'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/message.h:136:30: note: Function 'do_reject' argument 1 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:63:30: note: Function 'do_reject' argument 1 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:286:28: style:inconclusive: Function 'do_keep' argument 4 names different: declaration 'm' definition 'a'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/message.h:145:28: note: Function 'do_keep' argument 4 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:286:28: note: Function 'do_keep' argument 4 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:350:31: style:inconclusive: Function 'do_discard' argument 1 names different: declaration 'm' definition 'a'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/message.h:146:31: note: Function 'do_discard' argument 1 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:350:31: note: Function 'do_discard' argument 1 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:389:32: style:inconclusive: Function 'do_vacation' argument 1 names different: declaration 'm' definition 'a'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/message.h:147:32: note: Function 'do_vacation' argument 1 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:389:32: note: Function 'do_vacation' argument 1 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:436:28: style:inconclusive: Function 'do_mark' argument 1 names different: declaration 'm' definition 'a'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/message.h:153:28: note: Function 'do_mark' argument 1 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:436:28: note: Function 'do_mark' argument 1 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:465:30: style:inconclusive: Function 'do_unmark' argument 1 names different: declaration 'm' definition 'a'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/message.h:154:30: note: Function 'do_unmark' argument 1 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:465:30: note: Function 'do_unmark' argument 1 names different: declaration 'm' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:588:38: style:inconclusive: Function 'free_action_list' argument 1 names different: declaration 'actions' definition 'a'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/message.h:75:38: note: Function 'free_action_list' argument 1 names different: declaration 'actions' definition 'a'. cyrus-imapd-3.12.1/sieve/message.c:588:38: note: Function 'free_action_list' argument 1 names different: declaration 'actions' definition 'a'. cyrus-imapd-3.12.1/sieve/script.c:114:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_PARSE_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/script.c:154:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/script.c:227:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/script.c:267:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/script.c:307:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/script.c:437:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/script.c:538:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/script.c:630:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/script.c:780:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_INTERNAL_ERROR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/script.c:954:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/script.c:449:24: style: Condition 'notify->options' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/sieve/script.c:686:13: style: Condition 'notify_list' is always true [knownConditionTrueFalse] cyrus-imapd-3.12.1/sieve/script.c:992:42: style: Variable 'variables.name' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/sieve/script.c:990:24: note: variables.name is assigned cyrus-imapd-3.12.1/sieve/script.c:992:42: note: variables.name is overwritten cyrus-imapd-3.12.1/sieve/script.c:993:42: style: Variable 'variables.name' is reassigned a value before the old one has been used. [redundantAssignment] cyrus-imapd-3.12.1/sieve/script.c:992:42: note: variables.name is assigned cyrus-imapd-3.12.1/sieve/script.c:993:42: note: variables.name is overwritten cyrus-imapd-3.12.1/sieve/script.c:297:55: style:inconclusive: Function 'sieve_script_parse_only' argument 3 names different: declaration 'ret' definition 'out_script'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/sieve_interface.h:282:46: note: Function 'sieve_script_parse_only' argument 3 names different: declaration 'ret' definition 'out_script'. cyrus-imapd-3.12.1/sieve/script.c:297:55: note: Function 'sieve_script_parse_only' argument 3 names different: declaration 'ret' definition 'out_script'. cyrus-imapd-3.12.1/sieve/script.c:531:44: style:inconclusive: Function 'sieve_script_load' argument 1 names different: declaration 'fpath' definition 'fname'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/sieve_interface.h:290:35: note: Function 'sieve_script_load' argument 1 names different: declaration 'fpath' definition 'fname'. cyrus-imapd-3.12.1/sieve/script.c:531:44: note: Function 'sieve_script_load' argument 1 names different: declaration 'fpath' definition 'fname'. cyrus-imapd-3.12.1/sieve/script.c:943:54: style:inconclusive: Function 'sieve_execute_bytecode' argument 1 names different: declaration 'script' definition 'exe'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/sieve_interface.h:299:45: note: Function 'sieve_execute_bytecode' argument 1 names different: declaration 'script' definition 'exe'. cyrus-imapd-3.12.1/sieve/script.c:943:54: note: Function 'sieve_execute_bytecode' argument 1 names different: declaration 'script' definition 'exe'. cyrus-imapd-3.12.1/sieve/script.c:147:30: style: Parameter 'ac' can be declared as pointer to const. However it seems that 'stub_notify' is a callback function, if 'ac' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/script.c:203:41: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/script.c:147:30: note: Parameter 'ac' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/script.c:148:30: style: Parameter 'interp_context' can be declared as pointer to const. However it seems that 'stub_notify' is a callback function, if 'interp_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/script.c:203:41: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/script.c:148:30: note: Parameter 'interp_context' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/script.c:149:30: style: Parameter 'script_context' can be declared as pointer to const. However it seems that 'stub_notify' is a callback function, if 'script_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/script.c:203:41: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/script.c:149:30: note: Parameter 'script_context' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/script.c:150:30: style: Parameter 'message_context' can be declared as pointer to const. However it seems that 'stub_notify' is a callback function, if 'message_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/script.c:203:41: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/script.c:150:30: note: Parameter 'message_context' can be declared as pointer to const sieve/sieve-lex.c:1554:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sieve/sieve-lex.c:2816:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sieve/sieve-lex.c:3120:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sieve/sieve-lex.c:3358:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sieve/sieve-lex.l:433:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sieve/sieve-lex.l:495:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] sieve/sieve-lex.c:3124:2: warning: Possible null pointer dereference: b [nullPointer] sieve/sieve-lex.c:3017:18: note: Calling function 'sieve_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 sieve/sieve-lex.c:3124:2: note: Null pointer dereference sieve/sieve-lex.c:3125:2: warning: Possible null pointer dereference: b [nullPointer] sieve/sieve-lex.c:3017:18: note: Calling function 'sieve_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 sieve/sieve-lex.c:3125:2: note: Null pointer dereference sieve/sieve-lex.c:2816:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] sieve/sieve-lex.c:2816:3: note: c is initialized sieve/sieve-lex.c:2816:3: note: c is overwritten sieve/sieve-lex.l:105:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:130:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:164:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:284:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:298:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:306:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:314:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:323:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:515:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:520:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:531:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:536:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:541:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:546:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:551:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:556:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:685:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:696:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:701:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:706:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.l:1017:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sieve/sieve-lex.c:2896:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] sieve/sieve-lex.c:623:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. sieve/sieve-lex.c:2896:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. sieve/sieve-lex.c:3309:46: style:inconclusive: Function 'sieve_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] sieve/sieve-lex.c:575:46: note: Function 'sieve_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. sieve/sieve-lex.c:3309:46: note: Function 'sieve_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. sieve/sieve-lex.c:3322:46: style:inconclusive: Function 'sieve_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] sieve/sieve-lex.c:576:45: note: Function 'sieve_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. sieve/sieve-lex.c:3322:46: note: Function 'sieve_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. sieve/sieve-lex.c:3322:60: style:inconclusive: Function 'sieve_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] sieve/sieve-lex.c:576:56: note: Function 'sieve_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. sieve/sieve-lex.c:3322:60: note: Function 'sieve_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. sieve/sieve-lex.c:3454:24: style:inconclusive: Function 'sieveset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] sieve/sieve-lex.c:1376:24: note: Function 'sieveset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. sieve/sieve-lex.c:3454:24: note: Function 'sieveset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. sieve/sieve-lex.c:3325:8: style: Local variable 'buf' shadows outer variable [shadowVariable] sieve/sieve-lex.l:60:19: note: Shadowed declaration sieve/sieve-lex.c:3325:8: note: Shadow variable sieve/sieve-lex.c:2728:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] sieve/sieve.y:387:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] sieve/sieve.y:2081:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_CAPA_VARIABLES [valueFlowBailoutIncompleteVar] sieve/sieve.y:2298:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_REGEX [valueFlowBailoutIncompleteVar] sieve/sieve.y:2366:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_RFC3028_STRICT [valueFlowBailoutIncompleteVar] sieve/sieve.y:2383:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_RFC3028_STRICT [valueFlowBailoutIncompleteVar] sieve/sieve.y:2397:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_OK [valueFlowBailoutIncompleteVar] sieve/sieve.y:2423:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_CAPA_IHAVE [valueFlowBailoutIncompleteVar] sieve/sieve.y:2442:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sieve/sieve.y:2498:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_KEEP [valueFlowBailoutIncompleteVar] sieve/sieve.y:2512:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_FILEINTO [valueFlowBailoutIncompleteVar] sieve/sieve.y:2534:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_REDIRECT [valueFlowBailoutIncompleteVar] sieve/sieve.y:2628:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_SET [valueFlowBailoutIncompleteVar] sieve/sieve.y:2650:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_VACATION [valueFlowBailoutIncompleteVar] sieve/sieve.y:2699:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_SETFLAG [valueFlowBailoutIncompleteVar] sieve/sieve.y:2723:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_ADDHEADER [valueFlowBailoutIncompleteVar] sieve/sieve.y:2744:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_DELETEHEADER [valueFlowBailoutIncompleteVar] sieve/sieve.y:2802:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_SNOOZE [valueFlowBailoutIncompleteVar] sieve/sieve.y:2836:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_REJECT [valueFlowBailoutIncompleteVar] sieve/sieve.y:2851:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_ENOTIFY [valueFlowBailoutIncompleteVar] sieve/sieve.y:2882:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_INCLUDE [valueFlowBailoutIncompleteVar] sieve/sieve.y:2907:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_LOG [valueFlowBailoutIncompleteVar] sieve/sieve.y:2919:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_PROCESSCAL [valueFlowBailoutIncompleteVar] sieve/sieve.y:2946:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_IKEEP_TARGET [valueFlowBailoutIncompleteVar] sieve/sieve.y:2974:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_ANYOF [valueFlowBailoutIncompleteVar] sieve/sieve.y:3015:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_ALLOF [valueFlowBailoutIncompleteVar] sieve/sieve.y:3043:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_NOT [valueFlowBailoutIncompleteVar] sieve/sieve.y:3072:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_HEADER [valueFlowBailoutIncompleteVar] sieve/sieve.y:3088:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_STRING [valueFlowBailoutIncompleteVar] sieve/sieve.y:3098:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_HASFLAG [valueFlowBailoutIncompleteVar] sieve/sieve.y:3118:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_ALL [valueFlowBailoutIncompleteVar] sieve/sieve.y:3134:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_ADDRESS [valueFlowBailoutIncompleteVar] sieve/sieve.y:3150:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_ENVELOPE [valueFlowBailoutIncompleteVar] sieve/sieve.y:3160:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_BODY [valueFlowBailoutIncompleteVar] sieve/sieve.y:3219:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_DATE [valueFlowBailoutIncompleteVar] sieve/sieve.y:3265:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_IHAVE [valueFlowBailoutIncompleteVar] sieve/sieve.y:3343:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_DUPLICATE [valueFlowBailoutIncompleteVar] sieve/sieve.y:3464:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_UNSUPP_EXT [valueFlowBailoutIncompleteVar] sieve/sieve.c:1949:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sieve/sieve.y:2980:21: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] sieve/sieve.y:2978:23: note: outer condition: !fail sieve/sieve.y:2980:21: note: identical inner condition: !fail sieve/sieve.c:2236:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] sieve/sieve.c:2178:31: note: 'yystate' is assigned value '0' here. sieve/sieve.c:2236:3: note: The comparison '0 <= yystate' is always true. sieve/sieve.y:2405:60: style:inconclusive: Function 'check_reqs' argument 2 names different: declaration 'sl' definition 'sa'. [funcArgNamesDifferent] sieve/sieve.y:95:52: note: Function 'check_reqs' argument 2 names different: declaration 'sl' definition 'sa'. sieve/sieve.y:2405:60: note: Function 'check_reqs' argument 2 names different: declaration 'sl' definition 'sa'. sieve/sieve.y:2532:62: style:inconclusive: Function 'build_redirect' argument 3 names different: declaration 'addr' definition 'address'. [funcArgNamesDifferent] sieve/sieve.y:105:62: note: Function 'build_redirect' argument 3 names different: declaration 'addr' definition 'address'. sieve/sieve.y:2532:62: note: Function 'build_redirect' argument 3 names different: declaration 'addr' definition 'address'. sieve/sieve.y:2645:53: style:inconclusive: Function 'build_vacation' argument 2 names different: declaration 't' definition 'c'. [funcArgNamesDifferent] sieve/sieve.y:107:70: note: Function 'build_vacation' argument 2 names different: declaration 't' definition 'c'. sieve/sieve.y:2645:53: note: Function 'build_vacation' argument 2 names different: declaration 't' definition 'c'. sieve/sieve.y:2645:62: style:inconclusive: Function 'build_vacation' argument 3 names different: declaration 's' definition 'message'. [funcArgNamesDifferent] sieve/sieve.y:107:79: note: Function 'build_vacation' argument 3 names different: declaration 's' definition 'message'. sieve/sieve.y:2645:62: note: Function 'build_vacation' argument 3 names different: declaration 's' definition 'message'. sieve/sieve.y:2915:73: style:inconclusive: Function 'build_cal' argument 2 names different: declaration 't' definition 'c'. [funcArgNamesDifferent] sieve/sieve.y:122:73: note: Function 'build_cal' argument 2 names different: declaration 't' definition 'c'. sieve/sieve.y:2915:73: note: Function 'build_cal' argument 2 names different: declaration 't' definition 'c'. sieve/sieve.y:2917:14: style: Local variable 'flags' shadows outer variable [shadowVariable] sieve/sieve.y:79:21: note: Shadowed declaration sieve/sieve.y:2917:14: note: Shadow variable sieve/sieve.y:2282:45: style: Parameter 'sscript' can be declared as pointer to const [constParameterPointer] sieve/sieve.y:2284:35: style: Parameter 'comp' can be declared as pointer to const [constParameterPointer] sieve/sieve.y:2496:50: style: Parameter 'sscript' can be declared as pointer to const [constParameterPointer] sieve/sieve.y:2785:11: style: Variable 'r' can be declared as pointer to const [constVariablePointer] sieve/sieve.y:2971:31: style: Variable 'maybe' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/sievec.c:93:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sievec.c:162:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:130:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:202:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:217:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:591:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:998:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:1021:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:1743:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:1757:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/sieved.c:1779:23: style: Redundant condition: The condition 'n' is redundant since 'n > 60' is sufficient. [redundantCondition] cyrus-imapd-3.12.1/sieve/sieved.c:180:5: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:788:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:788:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:791:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:791:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:794:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:794:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:797:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:797:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:856:21: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cyrus-imapd-3.12.1/sieve/sieved.c:899:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:1743:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cyrus-imapd-3.12.1/sieve/sieved.c:539:44: style:inconclusive: Function 'dump2' argument 2 names different: declaration 'len' definition 'bc_len'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/sieved.c:71:44: note: Function 'dump2' argument 2 names different: declaration 'len' definition 'bc_len'. cyrus-imapd-3.12.1/sieve/sieved.c:539:44: note: Function 'dump2' argument 2 names different: declaration 'len' definition 'bc_len'. cyrus-imapd-3.12.1/sieve/sieved.c:1753:54: style:inconclusive: Function 'generate_script' argument 2 names different: declaration 'len' definition 'bc_len'. [funcArgNamesDifferent] cyrus-imapd-3.12.1/sieve/sieved.c:72:54: note: Function 'generate_script' argument 2 names different: declaration 'len' definition 'bc_len'. cyrus-imapd-3.12.1/sieve/sieved.c:1753:54: note: Function 'generate_script' argument 2 names different: declaration 'len' definition 'bc_len'. cyrus-imapd-3.12.1/sieve/sieved.c:834:17: style: Local variable 'i' shadows outer variable [shadowVariable] cyrus-imapd-3.12.1/sieve/sieved.c:541:9: note: Shadowed declaration cyrus-imapd-3.12.1/sieve/sieved.c:834:17: note: Shadow variable cyrus-imapd-3.12.1/sieve/sieved.c:106:27: style: Parameter 'argv' can be declared as const array [constParameter] cyrus-imapd-3.12.1/sieve/sieved.c:224:38: style: Parameter 'comp' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/sieved.c:303:37: style: Parameter 'zone' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/sieved.c:947:15: style: Variable 'has_lf' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/sieved.c:1090:48: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/sieved.c:1116:40: style: Parameter 'zone' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/sieve/test.c:139:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:157:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:186:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:205:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:262:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_VERSION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:316:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:507:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:517:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:540:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAY2SEC [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:633:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:657:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRARRAY_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:881:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test.c:402:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cyrus-imapd-3.12.1/sieve/test.c:438:57: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] cyrus-imapd-3.12.1/sieve/test.c:737:52: style: Checking if unsigned expression 'fread(magic,12,1,f)' is less than zero. [unsignedLessThanZero] cyrus-imapd-3.12.1/sieve/test.c:221:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:295:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:330:47: style: Parameter 'sc' can be declared as pointer to const. However it seems that 'redirect' is a callback function, if 'sc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test.c:790:32: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test.c:330:47: note: Parameter 'sc' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test.c:333:31: style: Variable 'rc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:334:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:342:26: style: Parameter 'ac' can be declared as pointer to const. However it seems that 'discard' is a callback function, if 'ac' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test.c:791:31: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test.c:342:26: note: Parameter 'ac' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test.c:343:36: style: Parameter 'sc' can be declared as pointer to const. However it seems that 'discard' is a callback function, if 'sc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test.c:791:31: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test.c:343:36: note: Parameter 'sc' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test.c:346:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:354:45: style: Parameter 'sc' can be declared as pointer to const. However it seems that 'reject' is a callback function, if 'sc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test.c:792:30: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test.c:354:45: note: Parameter 'sc' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test.c:357:29: style: Variable 'rc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:358:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:373:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:398:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:454:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:498:22: style: Parameter 'sc' can be declared as pointer to const. However it seems that 'sieve_log' is a callback function, if 'sc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test.c:805:30: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test.c:498:22: note: Parameter 'sc' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test.c:498:56: style: Parameter 'mc' can be declared as pointer to const. However it seems that 'sieve_log' is a callback function, if 'mc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test.c:805:30: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test.c:498:56: note: Parameter 'mc' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test.c:528:34: style: Variable 'arc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:560:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test.c:652:46: style: Variable 'message' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:132:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:150:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:179:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:198:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:255:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CYRUS_VERSION [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:305:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:430:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:440:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:463:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAY2SEC [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:508:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:532:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:577:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:786:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/test_mailbox.c:648:52: style: Checking if unsigned expression 'fread(magic,12,1,f)' is less than zero. [unsignedLessThanZero] cyrus-imapd-3.12.1/sieve/test_mailbox.c:214:20: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:284:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:319:47: style: Parameter 'sc' can be declared as pointer to const. However it seems that 'redirect' is a callback function, if 'sc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test_mailbox.c:701:32: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test_mailbox.c:319:47: note: Parameter 'sc' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test_mailbox.c:322:31: style: Variable 'rc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:323:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:331:26: style: Parameter 'ac' can be declared as pointer to const. However it seems that 'discard' is a callback function, if 'ac' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test_mailbox.c:702:31: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test_mailbox.c:331:26: note: Parameter 'ac' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test_mailbox.c:332:36: style: Parameter 'sc' can be declared as pointer to const. However it seems that 'discard' is a callback function, if 'sc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test_mailbox.c:702:31: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test_mailbox.c:332:36: note: Parameter 'sc' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test_mailbox.c:335:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:343:45: style: Parameter 'sc' can be declared as pointer to const. However it seems that 'reject' is a callback function, if 'sc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test_mailbox.c:703:30: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test_mailbox.c:343:45: note: Parameter 'sc' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test_mailbox.c:346:29: style: Variable 'rc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:347:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:362:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:382:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:421:22: style: Parameter 'sc' can be declared as pointer to const. However it seems that 'sieve_log' is a callback function, if 'sc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test_mailbox.c:715:30: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test_mailbox.c:421:22: note: Parameter 'sc' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test_mailbox.c:421:56: style: Parameter 'mc' can be declared as pointer to const. However it seems that 'sieve_log' is a callback function, if 'mc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cyrus-imapd-3.12.1/sieve/test_mailbox.c:715:30: note: You might need to cast the function pointer here cyrus-imapd-3.12.1/sieve/test_mailbox.c:421:56: note: Parameter 'mc' can be declared as pointer to const cyrus-imapd-3.12.1/sieve/test_mailbox.c:451:34: style: Variable 'arc' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/test_mailbox.c:483:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/sieve/tree.c:65:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_IS [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/tree.c:129:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/tree.c:292:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCC_FALLTHROUGH [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/tree.c:344:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_IF [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/tree.c:235:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/sieve/tree.c:234:43: note: Assuming allocation function fails cyrus-imapd-3.12.1/sieve/tree.c:234:21: note: Assignment 'p=(struct testlist_t*)xmalloc(sizeof(struct testlist_t))', assigned value is 0 cyrus-imapd-3.12.1/sieve/tree.c:235:5: note: Null pointer dereference cyrus-imapd-3.12.1/sieve/tree.c:236:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cyrus-imapd-3.12.1/sieve/tree.c:234:43: note: Assuming allocation function fails cyrus-imapd-3.12.1/sieve/tree.c:234:21: note: Assignment 'p=(struct testlist_t*)xmalloc(sizeof(struct testlist_t))', assigned value is 0 cyrus-imapd-3.12.1/sieve/tree.c:236:5: note: Null pointer dereference cyrus-imapd-3.12.1/sieve/variables.c:24:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/sieve/varlist.c:49:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/actions.c:90:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVEUSEHOMEDIR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/actions.c:111:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/actions.c:176:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_serverinfo [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/actions.c:223:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUF_INITIALIZER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/actions.c:267:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMSIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/actions.c:324:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMSIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/actions.c:366:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMSIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/actions.c:383:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMSIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/actions.c:413:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMSIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/actions.c:458:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMSIEVE_FAIL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/lex.c:65:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHENTICATE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/lex.c:134:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEXER_STATE_RECOVER [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/lex.c:139:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_SIEVE_MAXSCRIPTSIZE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/lex.c:158:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMSIEVE_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/lex.c:154:9: style: Variable 'buff_end' can be declared as pointer to const [constVariablePointer] cyrus-imapd-3.12.1/timsieved/parser.c:152:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/parser.c:649:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/parser.c:672:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/parser.c:992:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/parser.c:792:25: warning: If memory allocation fails, then there is a possible null pointer dereference: username [nullPointerOutOfMemory] cyrus-imapd-3.12.1/timsieved/parser.c:790:21: note: Assuming allocation function fails cyrus-imapd-3.12.1/timsieved/parser.c:790:21: note: Assignment 'username=xstrdup((const char*)canon_user)', assigned value is 0 cyrus-imapd-3.12.1/timsieved/parser.c:792:25: note: Null pointer dereference cyrus-imapd-3.12.1/timsieved/parser.c:830:35: warning: If memory allocation fails, then there is a possible null pointer dereference: authname [nullPointerOutOfMemory] cyrus-imapd-3.12.1/timsieved/parser.c:828:37: note: Assuming allocation function fails cyrus-imapd-3.12.1/timsieved/parser.c:828:37: note: Assignment 'authname=xstrdup((const char*)canon_user)', assigned value is 0 cyrus-imapd-3.12.1/timsieved/parser.c:830:35: note: Null pointer dereference cyrus-imapd-3.12.1/timsieved/parser.c:834:46: warning: If memory allocation fails, then there is a possible null pointer dereference: authname [nullPointerOutOfMemory] cyrus-imapd-3.12.1/timsieved/parser.c:828:37: note: Assuming allocation function fails cyrus-imapd-3.12.1/timsieved/parser.c:828:37: note: Assignment 'authname=xstrdup((const char*)canon_user)', assigned value is 0 cyrus-imapd-3.12.1/timsieved/parser.c:834:46: note: Null pointer dereference cyrus-imapd-3.12.1/timsieved/parser.c:837:27: warning: If memory allocation fails, then there is a possible null pointer dereference: authname [nullPointerOutOfMemory] cyrus-imapd-3.12.1/timsieved/parser.c:828:37: note: Assuming allocation function fails cyrus-imapd-3.12.1/timsieved/parser.c:828:37: note: Assignment 'authname=xstrdup((const char*)canon_user)', assigned value is 0 cyrus-imapd-3.12.1/timsieved/parser.c:837:27: note: Null pointer dereference cyrus-imapd-3.12.1/timsieved/parser.c:988:44: style: Parameter 'sieved_out' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/timsieved/parser.c:989:44: style: Parameter 'sieved_in' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/timsieved/parser.c:990:45: style: Parameter 'saslprops' can be declared as pointer to const [constParameterPointer] cyrus-imapd-3.12.1/timsieved/timsieved.c:158:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/timsieved.c:202:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_PROTOCOL [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/timsieved.c:223:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_SOFTWARE [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/timsieved.c:258:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAPOPT_TIMEOUT [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/timsieved/timsieved.c:311:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SASL_OK [valueFlowBailoutIncompleteVar] cyrus-imapd-3.12.1/imap/backend.c:570:43: warning: If memory allocation fails, then there is a possible null pointer dereference: config [ctunullpointerOutOfMemory] cyrus-imapd-3.12.1/imap/backend.c:731:33: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/backend.c:731:33: note: Assignment 'conf=xstrdup(mech_conf)', assigned value is 0 cyrus-imapd-3.12.1/imap/backend.c:732:52: note: Calling function intersect_mechlists, 1st argument is null cyrus-imapd-3.12.1/imap/backend.c:570:43: note: Dereferencing argument config that is null cyrus-imapd-3.12.1/imap/jmap_mail.c:410:5: warning: If memory allocation fails, then there is a possible null pointer dereference: headers [ctunullpointerOutOfMemory] cyrus-imapd-3.12.1/imap/jmap_mail.c:7022:38: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/jmap_mail.c:7022:38: note: Assignment 'headers=xmalloc(sizeof(struct headers))', assigned value is 0 cyrus-imapd-3.12.1/imap/jmap_mail.c:7023:18: note: Calling function _headers_init, 1st argument is null cyrus-imapd-3.12.1/imap/jmap_mail.c:410:5: note: Dereferencing argument headers that is null cyrus-imapd-3.12.1/imap/jmap_util.c:1311:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [ctunullpointerOutOfMemory] cyrus-imapd-3.12.1/imap/mboxevent.c:1068:32: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/mboxevent.c:1068:32: note: Assignment 'emailid=xmalloc(26)', assigned value is 0 cyrus-imapd-3.12.1/imap/mboxevent.c:1069:25: note: Calling function jmap_set_emailid, 2nd argument is null cyrus-imapd-3.12.1/imap/jmap_util.c:1311:5: note: Dereferencing argument buf that is null cyrus-imapd-3.12.1/imap/mboxname.c:2292:10: warning: If memory allocation fails, then there is a possible null pointer dereference: name [ctunullpointerOutOfMemory] cyrus-imapd-3.12.1/imap/cyr_expire.c:255:24: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/cyr_expire.c:255:24: note: Assignment 'buf=xstrdup(mboxname)', assigned value is 0 cyrus-imapd-3.12.1/imap/cyr_expire.c:267:34: note: Calling function mboxname_make_parent, 1st argument is null cyrus-imapd-3.12.1/imap/mboxname.c:2292:10: note: Dereferencing argument name that is null cyrus-imapd-3.12.1/imap/message.c:1138:9: warning: Null pointer dereference: body [ctunullpointer] cyrus-imapd-3.12.1/imap/message.c:2678:9: note: Assuming that condition 'body' is not redundant cyrus-imapd-3.12.1/imap/message.c:2645:26: note: Calling function message_parse_charset, 1st argument is null cyrus-imapd-3.12.1/imap/message.c:1138:9: note: Dereferencing argument body that is null cyrus-imapd-3.12.1/imap/message.c:1579:23: warning: Null pointer dereference: params [ctunullpointer] cyrus-imapd-3.12.1/imap/message.c:1324:23: note: Assuming that condition 'paramp' is not redundant cyrus-imapd-3.12.1/imap/message.c:1323:28: note: Calling function message_fold_params, 1st argument is null cyrus-imapd-3.12.1/imap/message.c:1579:23: note: Dereferencing argument params that is null cyrus-imapd-3.12.1/imap/squat_build.c:664:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p [ctunullpointerOutOfMemory] cyrus-imapd-3.12.1/imap/squat_build.c:743:28: note: Assuming allocation function fails cyrus-imapd-3.12.1/imap/squat_build.c:742:21: note: Assignment 'p=(struct SquatWordTableLeafPresence*)xmalloc(sizeof(struct SquatWordTableLeafPresence))', assigned value is 0 cyrus-imapd-3.12.1/imap/squat_build.c:750:33: note: Calling function set_presence_bit, 1st argument is null cyrus-imapd-3.12.1/imap/squat_build.c:664:17: note: Dereferencing argument p that is null cyrus-imapd-3.12.1/lib/dynarray.c:54:12: warning: If memory allocation fails, then there is a possible null pointer dereference: da [ctunullpointerOutOfMemory] cyrus-imapd-3.12.1/lib/dynarray.c:66:34: note: Assuming allocation function fails cyrus-imapd-3.12.1/lib/dynarray.c:66:34: note: Assignment 'da=xmalloc(sizeof(struct dynarray))', assigned value is 0 cyrus-imapd-3.12.1/lib/dynarray.c:67:18: note: Calling function dynarray_init, 1st argument is null cyrus-imapd-3.12.1/lib/dynarray.c:54:12: note: Dereferencing argument da that is null diff: DONE