2025-06-26 11:09 ftp://ftp.de.debian.org/debian/pool/main/c/citadel/citadel_917.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=bsd --library=zlib --library=libcurl --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-62-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.17.0 head-info: 542da04 (2025-06-26 12:44:29 +0200) count: 1040 1043 elapsed-time: 12.1 11.1 head-timing-info: old-timing-info: head results: citadel/auth.c:112:7: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] citadel/auth.c:150:14: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] citadel/auth.c:104:8: style: Variable 'crypted_pwd' can be declared as pointer to const [constVariablePointer] citadel/auth.c:109:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] citadel/typesize.h:40:0: error: #error Unable to find an 8-bit integer datatype [preprocessorErrorDirective] citadel/typesize.h:40:3: error: #error Unable to find an 8-bit integer datatype [preprocessorErrorDirective] citadel/clientsocket.c:41:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_NUMERICSERV [valueFlowBailoutIncompleteVar] citadel/clientsocket.c:112:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Buf [valueFlowBailoutIncompleteVar] citadel/clientsocket.c:132:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] citadel/clientsocket.c:181:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] citadel/clientsocket.c:266:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/clientsocket.c:290:32: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] citadel/clientsocket.c:33:11: style: Variable 'sock' is assigned a value that is never used. [unreadVariable] citadel/database.c:41:0: error: #error Neither nor was found by configure. Install db5-devel. [preprocessorErrorDirective] citadel/database.c:41:2: error: #error Neither nor was found by configure. Install db5-devel. [preprocessorErrorDirective] citadel/sysdep_decls.h:17:0: error: #error Neither nor was found by configure. Install db4-devel. [preprocessorErrorDirective] citadel/sysdep_decls.h:17:2: error: #error Neither nor was found by configure. Install db4-devel. [preprocessorErrorDirective] citadel/genstamp.c:38:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timezone [valueFlowBailoutIncompleteVar] citadel/modules/autocompletion/serv_autocompletion.c:65:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eMesageText [valueFlowBailoutIncompleteVar] citadel/modules/autocompletion/serv_autocompletion.c:131:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/autocompletion/serv_autocompletion.c:221:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/autocompletion/serv_autocompletion.c:162:5: error: Common realloc mistake: 'msglist' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/autocompletion/serv_autocompletion.c:30:9: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:30:9: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:31:28: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:31:28: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:32:9: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:32:9: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:33:28: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:33:28: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:34:9: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:34:9: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:35:28: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:35:28: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:36:9: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:36:9: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:37:28: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:37:28: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:38:9: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:38:9: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:39:28: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:39:28: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:40:9: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:40:9: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:41:21: warning: If memory allocation fails, then there is a possible null pointer dereference: nnn [nullPointerOutOfMemory] citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assuming allocation function fails citadel/modules/autocompletion/serv_autocompletion.c:29:14: note: Assignment 'nnn=malloc(strlen(value)+10)', assigned value is 0 citadel/modules/autocompletion/serv_autocompletion.c:41:21: note: Null pointer dereference citadel/modules/autocompletion/serv_autocompletion.c:139:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] citadel/modules/autocompletion/serv_autocompletion.c:140:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] citadel/modules/autocompletion/serv_autocompletion.c:141:19: style: Variable 'search_match' is assigned a value that is never used. [unreadVariable] citadel/modules/bio/serv_bio.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/bio/serv_bio.c:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/bio/serv_bio.c:99:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/bio/serv_bio.c:154:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/modules/bio/serv_bio.c:221:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/bio/serv_bio.c:148:17: style: Variable 'filedir_entry' can be declared as pointer to const [constVariablePointer] citadel/modules/bio/serv_bio.c:152:13: style: Variable 'd_type' is assigned a value that is never used. [unreadVariable] citadel/modules/blog/serv_blog.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QRdefaultview [valueFlowBailoutIncompleteVar] citadel/modules/blog/serv_blog.c:94:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:71:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VCALENDAR_COMPONENT [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:106:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VCALENDAR_COMPONENT [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:176:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:367:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:438:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VEVENT_COMPONENT [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:506:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VEVENT_COMPONENT [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:589:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:708:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:792:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VEVENT_COMPONENT [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:817:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icaltimetype [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:935:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1051:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1155:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eMesageText [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1179:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1215:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1267:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VEVENT_COMPONENT [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1403:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eMesageText [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1424:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1603:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eMesageText [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1666:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QRdefaultview [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1739:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QRdefaultview [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1854:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CIT_OK [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1921:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERCALENDARROOM [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:1990:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:2223:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:2307:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_VCALENDAR_COMPONENT [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:2386:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QRdefaultview [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:2452:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:2483:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CIT_ICAL [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:2488:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CIT_ICAL [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:2503:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICAL_SUMMARY_PROPERTY [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:2579:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/calendar/serv_calendar.c:956:8: style: Condition 'p!=NULL' is always true [knownConditionTrueFalse] citadel/modules/calendar/serv_calendar.c:140:10: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/calendar/serv_calendar.c:139:15: note: Assuming allocation function fails citadel/modules/calendar/serv_calendar.c:139:15: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/calendar/serv_calendar.c:140:10: note: Null pointer dereference citadel/modules/calendar/serv_calendar.c:141:3: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/calendar/serv_calendar.c:139:15: note: Assuming allocation function fails citadel/modules/calendar/serv_calendar.c:139:15: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/calendar/serv_calendar.c:141:3: note: Null pointer dereference citadel/modules/calendar/serv_calendar.c:142:3: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/calendar/serv_calendar.c:139:15: note: Assuming allocation function fails citadel/modules/calendar/serv_calendar.c:139:15: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/calendar/serv_calendar.c:142:3: note: Null pointer dereference citadel/modules/calendar/serv_calendar.c:143:3: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/calendar/serv_calendar.c:139:15: note: Assuming allocation function fails citadel/modules/calendar/serv_calendar.c:139:15: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/calendar/serv_calendar.c:143:3: note: Null pointer dereference citadel/modules/calendar/serv_calendar.c:172:54: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] citadel/modules/calendar/serv_calendar.c:323:57: style: Parameter 'partnum' can be declared as pointer to const. However it seems that 'ical_locate_part' is a callback function, if 'partnum' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/calendar/serv_calendar.c:1604:8: note: You might need to cast the function pointer here citadel/modules/calendar/serv_calendar.c:323:57: note: Parameter 'partnum' can be declared as pointer to const citadel/modules/calendar/serv_calendar.c:324:24: style: Parameter 'cbtype' can be declared as pointer to const. However it seems that 'ical_locate_part' is a callback function, if 'cbtype' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/calendar/serv_calendar.c:1604:8: note: You might need to cast the function pointer here citadel/modules/calendar/serv_calendar.c:324:24: note: Parameter 'cbtype' can be declared as pointer to const citadel/modules/calendar/serv_calendar.c:358:38: style: Parameter 'partnum' can be declared as pointer to const [constParameterPointer] citadel/modules/calendar/serv_calendar.c:479:24: style: Parameter 'cbtype' can be declared as pointer to const. However it seems that 'ical_locate_original_event' is a callback function, if 'cbtype' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/calendar/serv_calendar.c:639:8: note: You might need to cast the function pointer here citadel/modules/calendar/serv_calendar.c:479:24: note: Parameter 'cbtype' can be declared as pointer to const citadel/modules/calendar/serv_calendar.c:698:42: style: Parameter 'partnum' can be declared as pointer to const [constParameterPointer] citadel/modules/calendar/serv_calendar.c:698:57: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] citadel/modules/calendar/serv_calendar.c:1208:40: style: Parameter 'partnum' can be declared as pointer to const [constParameterPointer] citadel/modules/calendar/serv_calendar.c:2282:36: style: Parameter 'cbtype' can be declared as pointer to const. However it seems that 'ical_obj_beforesave_backend' is a callback function, if 'cbtype' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/calendar/serv_calendar.c:2404:8: note: You might need to cast the function pointer here citadel/modules/calendar/serv_calendar.c:2282:36: note: Parameter 'cbtype' can be declared as pointer to const citadel/modules/calendar/serv_calendar.c:2418:36: style: Parameter 'cbtype' can be declared as pointer to const. However it seems that 'ical_obj_aftersave_backend' is a callback function, if 'cbtype' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/calendar/serv_calendar.c:2472:8: note: You might need to cast the function pointer here citadel/modules/calendar/serv_calendar.c:2418:36: note: Parameter 'cbtype' can be declared as pointer to const citadel/modules/calendar/serv_calendar.c:1435:19: style: Variable 'config_lines' is assigned a value that is never used. [unreadVariable] citadel/modules/checkpoint/serv_checkpoint.c:38:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/clamav/serv_virus.c:76:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/clamav/serv_virus.c:196:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_ctdlproto.c:25:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:38:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_room_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:75:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:144:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable download_fp [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:159:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:209:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:253:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable upl_file [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:309:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:361:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable download_fp [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:387:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable upl_path [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:397:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:467:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:516:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:554:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:609:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable net_node [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:675:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:693:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fullname [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:718:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs_clienttyp [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:769:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:801:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_file.c:541:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] citadel/modules/ctdlproto/serv_file.c:539:14: note: Assuming allocation function fails citadel/modules/ctdlproto/serv_file.c:539:14: note: Assignment 'buf=malloc(bytes+1)', assigned value is 0 citadel/modules/ctdlproto/serv_file.c:541:14: note: Null pointer dereference citadel/modules/ctdlproto/serv_file.c:473:32: style: Checking if unsigned expression 'bytes' is less than zero. [unsignedLessThanZero] citadel/modules/ctdlproto/serv_file.c:395:21: style: Parameter 'cmd' can be declared as pointer to const. However it seems that 'cmd_ucls' is a callback function, if 'cmd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/ctdlproto/serv_file.c:808:25: note: You might need to cast the function pointer here citadel/modules/ctdlproto/serv_file.c:395:21: note: Parameter 'cmd' can be declared as pointer to const citadel/modules/ctdlproto/serv_file.c:673:51: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] citadel/modules/ctdlproto/serv_file.c:226:26: error: Uninitialized variable: pathname [uninitvar] citadel/modules/ctdlproto/serv_messages.c:52:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eMsgSubject [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:152:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eExclusiveID [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:177:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:307:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEADERS_ALL [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:323:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEADERS_ALL [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:342:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable internal_pgm [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:382:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MT_MIME [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:393:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg4_dont_decode [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:413:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable download_desired_section [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:429:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable download_desired_section [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:439:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:767:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:812:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:923:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_messages.c:233:10: warning: If memory allocation fails, then there is a possible null pointer dereference: template [nullPointerOutOfMemory] citadel/modules/ctdlproto/serv_messages.c:232:10: note: Assuming allocation function fails citadel/modules/ctdlproto/serv_messages.c:231:14: note: Assignment 'template=(struct CtdlMessage*)malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/ctdlproto/serv_messages.c:233:10: note: Null pointer dereference citadel/modules/ctdlproto/serv_messages.c:234:3: warning: If memory allocation fails, then there is a possible null pointer dereference: template [nullPointerOutOfMemory] citadel/modules/ctdlproto/serv_messages.c:232:10: note: Assuming allocation function fails citadel/modules/ctdlproto/serv_messages.c:231:14: note: Assignment 'template=(struct CtdlMessage*)malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/ctdlproto/serv_messages.c:234:3: note: Null pointer dereference citadel/modules/ctdlproto/serv_messages.c:235:3: warning: If memory allocation fails, then there is a possible null pointer dereference: template [nullPointerOutOfMemory] citadel/modules/ctdlproto/serv_messages.c:232:10: note: Assuming allocation function fails citadel/modules/ctdlproto/serv_messages.c:231:14: note: Assignment 'template=(struct CtdlMessage*)malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/ctdlproto/serv_messages.c:235:3: note: Null pointer dereference citadel/modules/ctdlproto/serv_messages.c:699:9: warning: If memory allocation fails, then there is a possible null pointer dereference: all_recps [nullPointerOutOfMemory] citadel/modules/ctdlproto/serv_messages.c:698:26: note: Assuming allocation function fails citadel/modules/ctdlproto/serv_messages.c:698:26: note: Assignment 'all_recps=malloc(SIZ*3)', assigned value is 0 citadel/modules/ctdlproto/serv_messages.c:699:9: note: Null pointer dereference citadel/modules/ctdlproto/serv_messages.c:791:3: warning: If memory allocation fails, then there is a possible null pointer dereference: msgs [nullPointerOutOfMemory] citadel/modules/ctdlproto/serv_messages.c:788:15: note: Assuming allocation function fails citadel/modules/ctdlproto/serv_messages.c:788:15: note: Assignment 'msgs=malloc(num_msgs*sizeof(long))', assigned value is 0 citadel/modules/ctdlproto/serv_messages.c:791:3: note: Null pointer dereference citadel/modules/ctdlproto/serv_messages.c:892:3: warning: If memory allocation fails, then there is a possible null pointer dereference: msgs [nullPointerOutOfMemory] citadel/modules/ctdlproto/serv_messages.c:889:15: note: Assuming allocation function fails citadel/modules/ctdlproto/serv_messages.c:889:15: note: Assignment 'msgs=malloc(num_msgs*sizeof(long))', assigned value is 0 citadel/modules/ctdlproto/serv_messages.c:892:3: note: Null pointer dereference citadel/modules/ctdlproto/serv_messages.c:31:40: style: Parameter 'userdata' can be declared as pointer to const. However it seems that 'simple_listing' is a callback function, if 'userdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/ctdlproto/serv_messages.c:187:15: note: You might need to cast the function pointer here citadel/modules/ctdlproto/serv_messages.c:31:40: note: Parameter 'userdata' can be declared as pointer to const citadel/modules/ctdlproto/serv_rooms.c:33:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:71:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:85:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:106:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:120:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:138:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:153:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LISTING_FOLLOWS [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:171:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:186:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:207:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:222:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:243:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:258:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:273:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:368:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LISTING_FOLLOWS [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:398:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:484:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_room_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:518:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:660:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:677:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:719:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msgnum_info [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:737:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:780:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:899:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:940:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:972:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:1030:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:1072:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:1100:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:1114:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_rooms.c:372:17: warning:inconclusive: Either the condition 'cdbus!=NULL' is redundant or there is possible null pointer dereference: cdbus. [nullPointerRedundantCheck] citadel/modules/ctdlproto/serv_rooms.c:370:49: note: Assuming that condition 'cdbus!=NULL' is not redundant citadel/modules/ctdlproto/serv_rooms.c:372:17: note: Null pointer dereference citadel/modules/ctdlproto/serv_rooms.c:876:11: warning: If memory allocation fails, then there is a possible null pointer dereference: notification_message [nullPointerOutOfMemory] citadel/modules/ctdlproto/serv_rooms.c:875:31: note: Assuming allocation function fails citadel/modules/ctdlproto/serv_rooms.c:875:31: note: Assignment 'notification_message=malloc(1024)', assigned value is 0 citadel/modules/ctdlproto/serv_rooms.c:876:11: note: Null pointer dereference citadel/modules/ctdlproto/serv_rooms.c:787:16: style: Variable 'fl' can be declared as pointer to const [constVariablePointer] citadel/modules/ctdlproto/serv_rooms.c:897:21: style: Parameter 'ok' can be declared as pointer to const. However it seems that 'cmd_einf' is a callback function, if 'ok' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/ctdlproto/serv_rooms.c:1132:25: note: You might need to cast the function pointer here citadel/modules/ctdlproto/serv_rooms.c:897:21: note: Parameter 'ok' can be declared as pointer to const citadel/modules/ctdlproto/serv_session.c:44:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_async [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_session.c:54:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LISTING_FOLLOWS [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_session.c:111:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CIT_OK [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_session.c:136:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_session.c:183:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_session.c:213:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CIT_OK [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_session.c:224:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_session.c:29:21: style: Parameter 'argbuf' can be declared as pointer to const. However it seems that 'cmd_qnop' is a callback function, if 'argbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/ctdlproto/serv_session.c:226:25: note: You might need to cast the function pointer here citadel/modules/ctdlproto/serv_session.c:29:21: note: Parameter 'argbuf' can be declared as pointer to const citadel/modules/ctdlproto/serv_syscmds.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_syscmds.c:62:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_syscmds.c:76:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CIT_OK [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_syscmds.c:105:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_internal [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_syscmds.c:118:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:35:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:96:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:158:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:195:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:240:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:253:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:277:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:309:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:330:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:354:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QRname [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:397:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:418:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:468:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:500:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LISTING_FOLLOWS [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:515:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:544:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CIT_OK [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:559:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:589:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:652:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:675:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:701:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:743:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:763:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERNAME_SIZE [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:797:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CIT_OK [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:804:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logged_in [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:817:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/ctdlproto/serv_user.c:271:21: style: Parameter 'new_ptr' can be declared as pointer to const. However it seems that 'cmd_slrp' is a callback function, if 'new_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/ctdlproto/serv_user.c:826:25: note: You might need to cast the function pointer here citadel/modules/ctdlproto/serv_user.c:271:21: note: Parameter 'new_ptr' can be declared as pointer to const citadel/modules/expire/expire_policy.c:54:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExpirePolicy [valueFlowBailoutIncompleteVar] citadel/modules/expire/expire_policy.c:94:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExpirePolicy [valueFlowBailoutIncompleteVar] citadel/modules/expire/expire_policy.c:128:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExpirePolicy [valueFlowBailoutIncompleteVar] citadel/modules/expire/expire_policy.c:50:16: style: Variable 'fl' can be declared as pointer to const [constVariablePointer] citadel/modules/expire/expire_policy.c:91:16: style: Variable 'fl' can be declared as pointer to const [constVariablePointer] citadel/modules/expire/serv_expire.c:156:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXPIRE_NEXTLEVEL [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:218:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:242:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:286:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QR_MAILBOX [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:335:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:382:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTDLUID [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:428:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable US_PERM [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:515:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:612:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDB_VISIT [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:693:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:747:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:807:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDB_EXTAUTH [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:853:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:928:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:936:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/expire/serv_expire.c:383:7: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] citadel/modules/expire/serv_expire.c:356:4: error: Common realloc mistake: 'transcript' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/expire/serv_expire.c:492:4: error: Common realloc mistake: 'users_corrupt_msg' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/expire/serv_expire.c:548:4: error: Common realloc mistake: 'transcript' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/expire/serv_expire.c:167:10: warning: If memory allocation fails, then there is a possible null pointer dereference: msglist [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:166:19: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:166:19: note: Assignment 'msglist=malloc(cdbfr->len)', assigned value is 0 citadel/modules/expire/serv_expire.c:167:10: note: Null pointer dereference citadel/modules/expire/serv_expire.c:261:2: warning: If memory allocation fails, then there is a possible null pointer dereference: vuptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:260:36: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:260:10: note: Assignment 'vuptr=(struct ValidUser*)malloc(sizeof(struct ValidUser))', assigned value is 0 citadel/modules/expire/serv_expire.c:261:2: note: Null pointer dereference citadel/modules/expire/serv_expire.c:262:2: warning: If memory allocation fails, then there is a possible null pointer dereference: vuptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:260:36: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:260:10: note: Assignment 'vuptr=(struct ValidUser*)malloc(sizeof(struct ValidUser))', assigned value is 0 citadel/modules/expire/serv_expire.c:262:2: note: Null pointer dereference citadel/modules/expire/serv_expire.c:270:2: warning: If memory allocation fails, then there is a possible null pointer dereference: vrptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:269:36: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:269:10: note: Assignment 'vrptr=(struct ValidRoom*)malloc(sizeof(struct ValidRoom))', assigned value is 0 citadel/modules/expire/serv_expire.c:270:2: note: Null pointer dereference citadel/modules/expire/serv_expire.c:271:2: warning: If memory allocation fails, then there is a possible null pointer dereference: vrptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:269:36: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:269:10: note: Assignment 'vrptr=(struct ValidRoom*)malloc(sizeof(struct ValidRoom))', assigned value is 0 citadel/modules/expire/serv_expire.c:271:2: note: Null pointer dereference citadel/modules/expire/serv_expire.c:272:2: warning: If memory allocation fails, then there is a possible null pointer dereference: vrptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:269:36: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:269:10: note: Assignment 'vrptr=(struct ValidRoom*)malloc(sizeof(struct ValidRoom))', assigned value is 0 citadel/modules/expire/serv_expire.c:272:2: note: Null pointer dereference citadel/modules/expire/serv_expire.c:320:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:319:37: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:319:10: note: Assignment 'pptr=(struct PurgeList*)malloc(sizeof(struct PurgeList))', assigned value is 0 citadel/modules/expire/serv_expire.c:320:3: note: Null pointer dereference citadel/modules/expire/serv_expire.c:321:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:319:37: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:319:10: note: Assignment 'pptr=(struct PurgeList*)malloc(sizeof(struct PurgeList))', assigned value is 0 citadel/modules/expire/serv_expire.c:321:10: note: Null pointer dereference citadel/modules/expire/serv_expire.c:352:9: warning: If memory allocation fails, then there is a possible null pointer dereference: transcript [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:351:21: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:351:21: note: Assignment 'transcript=malloc(SIZ)', assigned value is 0 citadel/modules/expire/serv_expire.c:352:9: note: Null pointer dereference citadel/modules/expire/serv_expire.c:386:4: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:385:11: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:384:11: note: Assignment 'pptr=(struct PurgeList*)malloc(sizeof(struct PurgeList))', assigned value is 0 citadel/modules/expire/serv_expire.c:386:4: note: Null pointer dereference citadel/modules/expire/serv_expire.c:387:11: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:385:11: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:384:11: note: Assignment 'pptr=(struct PurgeList*)malloc(sizeof(struct PurgeList))', assigned value is 0 citadel/modules/expire/serv_expire.c:387:11: note: Null pointer dereference citadel/modules/expire/serv_expire.c:483:12: warning: If memory allocation fails, then there is a possible null pointer dereference: users_corrupt_msg [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:482:31: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:482:31: note: Assignment 'users_corrupt_msg=malloc(SIZ)', assigned value is 0 citadel/modules/expire/serv_expire.c:483:12: note: Null pointer dereference citadel/modules/expire/serv_expire.c:492:56: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: users_corrupt_msg [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:482:31: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:482:31: note: Assignment 'users_corrupt_msg=malloc(SIZ)', assigned value is 0 citadel/modules/expire/serv_expire.c:492:56: note: Null pointer dereference citadel/modules/expire/serv_expire.c:499:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:498:37: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:498:10: note: Assignment 'pptr=(struct PurgeList*)malloc(sizeof(struct PurgeList))', assigned value is 0 citadel/modules/expire/serv_expire.c:499:3: note: Null pointer dereference citadel/modules/expire/serv_expire.c:500:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:498:37: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:498:10: note: Assignment 'pptr=(struct PurgeList*)malloc(sizeof(struct PurgeList))', assigned value is 0 citadel/modules/expire/serv_expire.c:500:10: note: Null pointer dereference citadel/modules/expire/serv_expire.c:615:17: warning:inconclusive: Either the condition 'cdbvisit!=NULL' is redundant or there is possible null pointer dereference: cdbvisit. [nullPointerRedundantCheck] citadel/modules/expire/serv_expire.c:613:54: note: Assuming that condition 'cdbvisit!=NULL' is not redundant citadel/modules/expire/serv_expire.c:615:17: note: Null pointer dereference citadel/modules/expire/serv_expire.c:616:7: warning:inconclusive: Either the condition 'cdbvisit!=NULL' is redundant or there is possible null pointer dereference: cdbvisit. [nullPointerRedundantCheck] citadel/modules/expire/serv_expire.c:613:54: note: Assuming that condition 'cdbvisit!=NULL' is not redundant citadel/modules/expire/serv_expire.c:616:7: note: Null pointer dereference citadel/modules/expire/serv_expire.c:617:22: warning:inconclusive: Either the condition 'cdbvisit!=NULL' is redundant or there is possible null pointer dereference: cdbvisit. [nullPointerRedundantCheck] citadel/modules/expire/serv_expire.c:613:54: note: Assuming that condition 'cdbvisit!=NULL' is not redundant citadel/modules/expire/serv_expire.c:617:22: note: Null pointer dereference citadel/modules/expire/serv_expire.c:640:4: warning: If memory allocation fails, then there is a possible null pointer dereference: vptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:639:11: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:638:11: note: Assignment 'vptr=(struct VPurgeList*)malloc(sizeof(struct VPurgeList))', assigned value is 0 citadel/modules/expire/serv_expire.c:640:4: note: Null pointer dereference citadel/modules/expire/serv_expire.c:641:4: warning: If memory allocation fails, then there is a possible null pointer dereference: vptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:639:11: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:638:11: note: Assignment 'vptr=(struct VPurgeList*)malloc(sizeof(struct VPurgeList))', assigned value is 0 citadel/modules/expire/serv_expire.c:641:4: note: Null pointer dereference citadel/modules/expire/serv_expire.c:642:4: warning: If memory allocation fails, then there is a possible null pointer dereference: vptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:639:11: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:638:11: note: Assignment 'vptr=(struct VPurgeList*)malloc(sizeof(struct VPurgeList))', assigned value is 0 citadel/modules/expire/serv_expire.c:642:4: note: Null pointer dereference citadel/modules/expire/serv_expire.c:643:4: warning: If memory allocation fails, then there is a possible null pointer dereference: vptr [nullPointerOutOfMemory] citadel/modules/expire/serv_expire.c:639:11: note: Assuming allocation function fails citadel/modules/expire/serv_expire.c:638:11: note: Assignment 'vptr=(struct VPurgeList*)malloc(sizeof(struct VPurgeList))', assigned value is 0 citadel/modules/expire/serv_expire.c:643:4: note: Null pointer dereference citadel/modules/expire/serv_expire.c:257:36: style: Parameter 'usbuf' can be declared as pointer to const. However it seems that 'AddValidUser' is a callback function, if 'usbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/expire/serv_expire.c:609:14: note: You might need to cast the function pointer here citadel/modules/expire/serv_expire.c:257:36: note: Parameter 'usbuf' can be declared as pointer to const citadel/modules/expire/serv_expire.c:266:36: style: Parameter 'qrbuf' can be declared as pointer to const. However it seems that 'AddValidRoom' is a callback function, if 'qrbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/expire/serv_expire.c:606:18: note: You might need to cast the function pointer here citadel/modules/expire/serv_expire.c:266:36: note: Parameter 'qrbuf' can be declared as pointer to const citadel/modules/expire/serv_expire.c:379:41: style: Parameter 'us' can be declared as pointer to const. However it seems that 'do_uid_user_purge' is a callback function, if 'us' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/expire/serv_expire.c:523:16: note: You might need to cast the function pointer here citadel/modules/expire/serv_expire.c:379:41: note: Parameter 'us' can be declared as pointer to const citadel/modules/expire/serv_expire.c:106:22: style: struct member 'ctdlroomref::next' is never used. [unusedStructMember] citadel/modules/expire/serv_expire.c:107:7: style: struct member 'ctdlroomref::msgnum' is never used. [unusedStructMember] citadel/modules/fulltext/crc16.c:110:49: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] citadel/modules/fulltext/crc16.c:138:48: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] citadel/modules/fulltext/ft_wordbreaker.c:155:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] citadel/modules/fulltext/ft_wordbreaker.c:231:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/fulltext/ft_wordbreaker.c:270:6: error: Common realloc mistake: 'wb_tokens' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/fulltext/ft_wordbreaker.c:142:3: warning: If memory allocation fails, then there is a possible null pointer dereference: next [nullPointerOutOfMemory] citadel/modules/fulltext/ft_wordbreaker.c:141:16: note: Assuming allocation function fails citadel/modules/fulltext/ft_wordbreaker.c:141:16: note: Assignment 'next=malloc(sizeof(struct noise_word))', assigned value is 0 citadel/modules/fulltext/ft_wordbreaker.c:142:3: note: Null pointer dereference citadel/modules/fulltext/ft_wordbreaker.c:143:3: warning: If memory allocation fails, then there is a possible null pointer dereference: next [nullPointerOutOfMemory] citadel/modules/fulltext/ft_wordbreaker.c:141:16: note: Assuming allocation function fails citadel/modules/fulltext/ft_wordbreaker.c:141:16: note: Assignment 'next=malloc(sizeof(struct noise_word))', assigned value is 0 citadel/modules/fulltext/ft_wordbreaker.c:143:3: note: Null pointer dereference citadel/modules/fulltext/ft_wordbreaker.c:144:3: warning: If memory allocation fails, then there is a possible null pointer dereference: next [nullPointerOutOfMemory] citadel/modules/fulltext/ft_wordbreaker.c:141:16: note: Assuming allocation function fails citadel/modules/fulltext/ft_wordbreaker.c:141:16: note: Assignment 'next=malloc(sizeof(struct noise_word))', assigned value is 0 citadel/modules/fulltext/ft_wordbreaker.c:144:3: note: Null pointer dereference citadel/modules/fulltext/serv_fulltext.c:92:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] citadel/modules/fulltext/serv_fulltext.c:125:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] citadel/modules/fulltext/serv_fulltext.c:230:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable server_shutting_down [valueFlowBailoutIncompleteVar] citadel/modules/fulltext/serv_fulltext.c:262:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/fulltext/serv_fulltext.c:393:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDB_FULLTEXT [valueFlowBailoutIncompleteVar] citadel/modules/fulltext/serv_fulltext.c:454:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/fulltext/serv_fulltext.c:499:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/fulltext/serv_fulltext.c:217:4: error: Common realloc mistake: 'ft_newmsgs' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/fulltext/serv_fulltext.c:408:5: error: Common realloc mistake: 'all_msgs' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/fulltext/serv_fulltext.c:429:8: error: Common realloc mistake: 'ret_msgs' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/fulltext/serv_fulltext.c:485:29: style: Parameter 'room' can be declared as pointer to const. However it seems that 'ft_delete_remove' is a callback function, if 'room' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/fulltext/serv_fulltext.c:504:26: note: You might need to cast the function pointer here citadel/modules/fulltext/serv_fulltext.c:485:29: note: Parameter 'room' can be declared as pointer to const citadel/modules/image/serv_image.c:28:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/image/serv_image.c:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/image/serv_image.c:113:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/image/serv_image.c:148:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/image/serv_image.c:230:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/image/serv_image.c:285:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/modules/image/serv_image.c:352:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/image/serv_image.c:279:17: style: Variable 'filedir_entry' can be declared as pointer to const [constVariablePointer] citadel/modules/image/serv_image.c:283:13: style: Variable 'd_type' is assigned a value that is never used. [unreadVariable] citadel/modules/imap/imap_acl.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UA_KNOWN [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_acl.c:143:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_acl.c:219:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_acl.c:293:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_acl.c:186:17: warning:inconclusive: Either the condition 'cdbus!=NULL' is redundant or there is possible null pointer dereference: cdbus. [nullPointerRedundantCheck] citadel/modules/imap/imap_acl.c:183:49: note: Assuming that condition 'cdbus!=NULL' is not redundant citadel/modules/imap/imap_acl.c:186:17: note: Null pointer dereference citadel/modules/imap/imap_fetch.c:237:44: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] citadel/modules/imap/imap_list.c:89:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXFLOORS [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_list.c:120:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_list.c:193:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_list.c:320:27: style: Variable 'ImapFilter.num_patterns' is reassigned a value before the old one has been used. [redundantAssignment] citadel/modules/imap/imap_list.c:210:26: note: ImapFilter.num_patterns is assigned citadel/modules/imap/imap_list.c:320:27: note: ImapFilter.num_patterns is overwritten citadel/modules/imap/imap_list.c:86:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] citadel/modules/imap/imap_list.c:87:12: style: Variable 'match' is assigned a value that is never used. [unreadVariable] citadel/modules/imap/imap_list.c:125:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] citadel/modules/imap/imap_list.c:126:12: style: Variable 'match' is assigned a value that is never used. [unreadVariable] citadel/modules/imap/imap_list.c:199:18: style: Variable 'return_left' is assigned a value that is never used. [unreadVariable] citadel/modules/imap/imap_metadata.c:77:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_metadata.c:203:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_metadata.c:295:6: style: The if condition is the same as the previous if condition [duplicateCondition] citadel/modules/imap/imap_metadata.c:275:6: note: First condition citadel/modules/imap/imap_metadata.c:295:6: note: Second condition citadel/modules/imap/imap_misc.c:69:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_misc.c:195:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_misc.c:224:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_misc.c:278:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_misc.c:340:11: style: The comparison 'ret < 0' is always false. [knownConditionTrueFalse] citadel/modules/imap/imap_misc.c:282:12: note: 'ret' is assigned value '0' here. citadel/modules/imap/imap_misc.c:340:11: note: The comparison 'ret < 0' is always false. citadel/modules/imap/imap_misc.c:277:43: style: Parameter 'Params' can be declared as pointer to const [constParameterPointer] citadel/modules/imap/imap_search.c:73:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_search.c:539:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_search.c:632:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_search.c:651:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_store.c:73:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_store.c:103:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_store.c:216:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_store.c:254:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_store.c:207:42: style: Parameter 'Params' can be declared as pointer to const [constParameterPointer] citadel/modules/imap/imap_store.c:245:45: style: Parameter 'Params' can be declared as pointer to const [constParameterPointer] citadel/modules/imap/imap_tools.c:390:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:438:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConstStr [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:493:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:566:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QR_MAILBOX [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:610:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:739:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:913:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:919:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:924:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:940:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:968:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:997:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/imap_tools.c:747:22: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] citadel/modules/imap/imap_tools.c:754:19: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] citadel/modules/imap/imap_tools.c:632:13: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] citadel/modules/imap/imap_tools.c:640:13: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] citadel/modules/imap/imap_tools.c:682:11: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] citadel/modules/imap/imap_tools.c:440:11: warning: If memory allocation fails, then there is a possible null pointer dereference: Params [nullPointerOutOfMemory] citadel/modules/imap/imap_tools.c:438:30: note: Assuming allocation function fails citadel/modules/imap/imap_tools.c:438:12: note: Assignment 'Params=(ConstStr*)malloc(sizeof(ConstStr)*nArgs)', assigned value is 0 citadel/modules/imap/imap_tools.c:440:11: note: Null pointer dereference citadel/modules/imap/imap_tools.c:453:11: warning: If memory allocation fails, then there is a possible null pointer dereference: Params [nullPointerOutOfMemory] citadel/modules/imap/imap_tools.c:438:30: note: Assuming allocation function fails citadel/modules/imap/imap_tools.c:438:12: note: Assignment 'Params=(ConstStr*)malloc(sizeof(ConstStr)*nArgs)', assigned value is 0 citadel/modules/imap/imap_tools.c:453:11: note: Null pointer dereference citadel/modules/imap/imap_tools.c:779:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] citadel/modules/imap/imap_tools.c:802:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] citadel/modules/imap/imap_tools.c:607:25: style:inconclusive: Function 'imap_roomname' argument 1 names different: declaration 'buf' definition 'rbuf'. [funcArgNamesDifferent] citadel/modules/imap/imap_tools.h:29:25: note: Function 'imap_roomname' argument 1 names different: declaration 'buf' definition 'rbuf'. citadel/modules/imap/imap_tools.c:607:25: note: Function 'imap_roomname' argument 1 names different: declaration 'buf' definition 'rbuf'. citadel/modules/imap/imap_tools.c:56:40: style: Parameter 's' can be declared as pointer to const [constParameterPointer] citadel/modules/imap/imap_tools.c:63:54: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] citadel/modules/imap/imap_tools.c:215:40: style: Parameter 'destend' can be declared as pointer to const [constParameterPointer] citadel/modules/imap/imap_tools.c:297:42: style: Parameter 'destend' can be declared as pointer to const [constParameterPointer] citadel/modules/imap/imap_tools.c:613:16: style: Variable 'fl' can be declared as pointer to const [constVariablePointer] citadel/modules/imap/imap_tools.c:840:61: style: Parameter 'mailboxname' can be declared as pointer to const [constParameterPointer] citadel/modules/imap/imap_tools.c:864:8: style: Variable 'imap_datecmp_ascmonths' can be declared as const array [constVariable] citadel/modules/imap/serv_imap.c:85:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:100:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:163:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:183:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:199:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:283:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:302:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:338:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:470:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:574:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:620:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:661:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:706:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:765:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:793:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:827:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:843:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:993:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1013:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1051:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1127:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1184:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1241:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1283:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1327:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1372:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1412:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1506:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1667:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1732:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/imap/serv_imap.c:1086:12: style: The if condition is the same as the previous if condition [duplicateCondition] citadel/modules/imap/serv_imap.c:1078:12: note: First condition citadel/modules/imap/serv_imap.c:1086:12: note: Second condition citadel/modules/imap/serv_imap.c:445:21: style: Condition 'Imap->num_msgs>original_num_msgs' is always false [knownConditionTrueFalse] citadel/modules/imap/serv_imap.c:421:20: note: original_num_msgs is assigned 'Imap->num_msgs' here. citadel/modules/imap/serv_imap.c:445:21: note: Condition 'Imap->num_msgs>original_num_msgs' is always false citadel/modules/imap/serv_imap.c:77:9: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:76:33: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:76:6: note: Assignment 'h=(struct imap_handler_hook*)malloc(sizeof(struct imap_handler_hook))', assigned value is 0 citadel/modules/imap/serv_imap.c:77:9: note: Null pointer dereference citadel/modules/imap/serv_imap.c:79:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:76:33: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:76:6: note: Assignment 'h=(struct imap_handler_hook*)malloc(sizeof(struct imap_handler_hook))', assigned value is 0 citadel/modules/imap/serv_imap.c:79:2: note: Null pointer dereference citadel/modules/imap/serv_imap.c:80:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:76:33: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:76:6: note: Assignment 'h=(struct imap_handler_hook*)malloc(sizeof(struct imap_handler_hook))', assigned value is 0 citadel/modules/imap/serv_imap.c:80:2: note: Null pointer dereference citadel/modules/imap/serv_imap.c:579:9: warning: If memory allocation fails, then there is a possible null pointer dereference: Imap [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:577:37: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:577:37: note: Assignment 'CCC->session_specific_data=malloc(sizeof(struct citimap))', assigned value is 0 citadel/modules/imap/serv_imap.c:578:7: note: Imap is assigned '(struct citimap*)CCC->session_specific_data' here. citadel/modules/imap/serv_imap.c:579:9: note: Null pointer dereference citadel/modules/imap/serv_imap.c:580:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Imap [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:577:37: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:577:37: note: Assignment 'CCC->session_specific_data=malloc(sizeof(struct citimap))', assigned value is 0 citadel/modules/imap/serv_imap.c:578:7: note: Imap is assigned '(struct citimap*)CCC->session_specific_data' here. citadel/modules/imap/serv_imap.c:580:2: note: Null pointer dereference citadel/modules/imap/serv_imap.c:581:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Imap [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:577:37: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:577:37: note: Assignment 'CCC->session_specific_data=malloc(sizeof(struct citimap))', assigned value is 0 citadel/modules/imap/serv_imap.c:578:7: note: Imap is assigned '(struct citimap*)CCC->session_specific_data' here. citadel/modules/imap/serv_imap.c:581:2: note: Null pointer dereference citadel/modules/imap/serv_imap.c:582:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Imap [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:577:37: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:577:37: note: Assignment 'CCC->session_specific_data=malloc(sizeof(struct citimap))', assigned value is 0 citadel/modules/imap/serv_imap.c:578:7: note: Imap is assigned '(struct citimap*)CCC->session_specific_data' here. citadel/modules/imap/serv_imap.c:582:2: note: Null pointer dereference citadel/modules/imap/serv_imap.c:583:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Imap [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:577:37: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:577:37: note: Assignment 'CCC->session_specific_data=malloc(sizeof(struct citimap))', assigned value is 0 citadel/modules/imap/serv_imap.c:578:7: note: Imap is assigned '(struct citimap*)CCC->session_specific_data' here. citadel/modules/imap/serv_imap.c:583:2: note: Null pointer dereference citadel/modules/imap/serv_imap.c:1105:12: warning: If memory allocation fails, then there is a possible null pointer dereference: notification_message [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:1104:32: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:1104:32: note: Assignment 'notification_message=malloc(1024)', assigned value is 0 citadel/modules/imap/serv_imap.c:1105:12: note: Null pointer dereference citadel/modules/imap/serv_imap.c:1397:10: warning: If memory allocation fails, then there is a possible null pointer dereference: irlp [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:1396:31: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:1396:10: note: Assignment 'irlp=(struct irl*)malloc(sizeof(struct irl))', assigned value is 0 citadel/modules/imap/serv_imap.c:1397:10: note: Null pointer dereference citadel/modules/imap/serv_imap.c:1398:10: warning: If memory allocation fails, then there is a possible null pointer dereference: irlp [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:1396:31: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:1396:10: note: Assignment 'irlp=(struct irl*)malloc(sizeof(struct irl))', assigned value is 0 citadel/modules/imap/serv_imap.c:1398:10: note: Null pointer dereference citadel/modules/imap/serv_imap.c:1399:3: warning: If memory allocation fails, then there is a possible null pointer dereference: irlp [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:1396:31: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:1396:10: note: Assignment 'irlp=(struct irl*)malloc(sizeof(struct irl))', assigned value is 0 citadel/modules/imap/serv_imap.c:1399:3: note: Null pointer dereference citadel/modules/imap/serv_imap.c:1400:3: warning: If memory allocation fails, then there is a possible null pointer dereference: irlp [nullPointerOutOfMemory] citadel/modules/imap/serv_imap.c:1396:31: note: Assuming allocation function fails citadel/modules/imap/serv_imap.c:1396:10: note: Assignment 'irlp=(struct irl*)malloc(sizeof(struct irl))', assigned value is 0 citadel/modules/imap/serv_imap.c:1400:3: note: Null pointer dereference citadel/modules/imap/serv_imap.c:825:45: style: Parameter 'Params' can be declared as pointer to const [constParameterPointer] citadel/modules/imap/serv_imap.c:977:44: style: Parameter 'Params' can be declared as pointer to const. However it seems that 'imap_expunge' is a callback function, if 'Params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/imap/serv_imap.c:1729:2: note: You might need to cast the function pointer here citadel/modules/imap/serv_imap.c:977:44: note: Parameter 'Params' can be declared as pointer to const citadel/modules/imap/serv_imap.c:1011:16: style: Variable 'fl' can be declared as pointer to const [constVariablePointer] citadel/modules/imap/serv_imap.c:1048:43: style: Parameter 'Params' can be declared as pointer to const. However it seems that 'imap_create' is a callback function, if 'Params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/imap/serv_imap.c:1703:2: note: You might need to cast the function pointer here citadel/modules/imap/serv_imap.c:1048:43: note: Parameter 'Params' can be declared as pointer to const citadel/modules/imap/serv_imap.c:1180:43: style: Parameter 'Params' can be declared as pointer to const. However it seems that 'imap_status' is a callback function, if 'Params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/imap/serv_imap.c:1706:2: note: You might need to cast the function pointer here citadel/modules/imap/serv_imap.c:1180:43: note: Parameter 'Params' can be declared as pointer to const citadel/modules/imap/serv_imap.c:1238:46: style: Parameter 'Params' can be declared as pointer to const. However it seems that 'imap_subscribe' is a callback function, if 'Params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/imap/serv_imap.c:1707:2: note: You might need to cast the function pointer here citadel/modules/imap/serv_imap.c:1238:46: note: Parameter 'Params' can be declared as pointer to const citadel/modules/imap/serv_imap.c:1280:48: style: Parameter 'Params' can be declared as pointer to const. However it seems that 'imap_unsubscribe' is a callback function, if 'Params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/imap/serv_imap.c:1708:2: note: You might need to cast the function pointer here citadel/modules/imap/serv_imap.c:1280:48: note: Parameter 'Params' can be declared as pointer to const citadel/modules/imap/serv_imap.c:1324:43: style: Parameter 'Params' can be declared as pointer to const. However it seems that 'imap_delete' is a callback function, if 'Params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/imap/serv_imap.c:1704:2: note: You might need to cast the function pointer here citadel/modules/imap/serv_imap.c:1324:43: note: Parameter 'Params' can be declared as pointer to const citadel/modules/imap/serv_imap.c:713:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] citadel/modules/imap/serv_imap.c:1375:15: style: Variable 'newfloor' is assigned a value that is never used. [unreadVariable] citadel/modules/inetcfg/serv_inetcfg.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/inetcfg/serv_inetcfg.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eOriginalRoom [valueFlowBailoutIncompleteVar] citadel/modules/inetcfg/serv_inetcfg.c:128:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/inetcfg/serv_inetcfg.c:142:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inetcfg [valueFlowBailoutIncompleteVar] citadel/modules/inetcfg/serv_inetcfg.c:152:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/inetcfg/serv_inetcfg.c:81:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] citadel/modules/instmsg/serv_instmsg.c:84:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IM_LOGS [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:143:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_SESSION_TABLE [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:162:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstExpressMessage [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:197:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_async [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:251:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_SESSION_TABLE [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:298:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERNAME_SIZE [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:391:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:411:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:446:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:529:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IM_LOGS [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:596:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/instmsg/serv_instmsg.c:346:4: error: Common realloc mistake: 'x_big_msgbuf' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/instmsg/serv_instmsg.c:72:16: warning: Either the condition 'me' is redundant or there is possible null pointer dereference: me. [nullPointerRedundantCheck] citadel/modules/instmsg/serv_instmsg.c:104:7: note: Assuming that condition 'me' is not redundant citadel/modules/instmsg/serv_instmsg.c:72:16: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:73:16: warning: Either the condition 'them' is redundant or there is possible null pointer dereference: them. [nullPointerRedundantCheck] citadel/modules/instmsg/serv_instmsg.c:107:7: note: Assuming that condition 'them' is not redundant citadel/modules/instmsg/serv_instmsg.c:73:16: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:100:10: warning: If memory allocation fails, then there is a possible null pointer dereference: this_im [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assignment 'this_im=malloc(sizeof(struct imlog))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:100:10: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:101:3: warning: If memory allocation fails, then there is a possible null pointer dereference: this_im [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assignment 'this_im=malloc(sizeof(struct imlog))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:101:3: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:102:3: warning: If memory allocation fails, then there is a possible null pointer dereference: this_im [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assignment 'this_im=malloc(sizeof(struct imlog))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:102:3: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:105:16: warning: If memory allocation fails, then there is a possible null pointer dereference: this_im [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assignment 'this_im=malloc(sizeof(struct imlog))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:105:16: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:108:16: warning: If memory allocation fails, then there is a possible null pointer dereference: this_im [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assignment 'this_im=malloc(sizeof(struct imlog))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:108:16: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:110:3: warning: If memory allocation fails, then there is a possible null pointer dereference: this_im [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assignment 'this_im=malloc(sizeof(struct imlog))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:110:3: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:111:3: warning: If memory allocation fails, then there is a possible null pointer dereference: this_im [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assignment 'this_im=malloc(sizeof(struct imlog))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:111:3: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:113:24: warning: If memory allocation fails, then there is a possible null pointer dereference: this_im [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assignment 'this_im=malloc(sizeof(struct imlog))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:113:24: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:123:6: warning: If memory allocation fails, then there is a possible null pointer dereference: this_im [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:99:19: note: Assignment 'this_im=malloc(sizeof(struct imlog))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:123:6: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:269:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newmsg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:268:46: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:268:14: note: Assignment 'newmsg=(struct ExpressMessage*)malloc(sizeof(struct ExpressMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:269:12: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:271:17: warning: If memory allocation fails, then there is a possible null pointer dereference: newmsg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:268:46: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:268:14: note: Assignment 'newmsg=(struct ExpressMessage*)malloc(sizeof(struct ExpressMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:271:17: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:272:17: warning: If memory allocation fails, then there is a possible null pointer dereference: newmsg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:268:46: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:268:14: note: Assignment 'newmsg=(struct ExpressMessage*)malloc(sizeof(struct ExpressMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:272:17: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:344:10: warning: If memory allocation fails, then there is a possible null pointer dereference: x_big_msgbuf [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:343:24: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:343:24: note: Assignment 'x_big_msgbuf=malloc(SIZ)', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:344:10: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:420:11: warning: If memory allocation fails, then there is a possible null pointer dereference: newmsg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:419:11: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:418:13: note: Assignment 'newmsg=(struct ExpressMessage*)malloc(sizeof(struct ExpressMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:420:11: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:423:16: warning: If memory allocation fails, then there is a possible null pointer dereference: newmsg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:419:11: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:418:13: note: Assignment 'newmsg=(struct ExpressMessage*)malloc(sizeof(struct ExpressMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:423:16: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:425:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newmsg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:419:11: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:418:13: note: Assignment 'newmsg=(struct ExpressMessage*)malloc(sizeof(struct ExpressMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:425:4: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:426:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newmsg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:419:11: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:418:13: note: Assignment 'newmsg=(struct ExpressMessage*)malloc(sizeof(struct ExpressMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:426:4: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:468:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:467:14: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:467:14: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:468:9: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:469:2: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:467:14: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:467:14: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:469:2: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:470:2: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:467:14: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:467:14: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:470:2: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:471:2: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/instmsg/serv_instmsg.c:467:14: note: Assuming allocation function fails citadel/modules/instmsg/serv_instmsg.c:467:14: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/instmsg/serv_instmsg.c:471:2: note: Null pointer dereference citadel/modules/instmsg/serv_instmsg.c:237:54: style: Parameter 'x_user' can be declared as pointer to const. However it seems that 'send_instant_message' is a callback function, if 'x_user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/instmsg/serv_instmsg.c:604:24: note: You might need to cast the function pointer here citadel/modules/instmsg/serv_instmsg.c:237:54: note: Parameter 'x_user' can be declared as pointer to const citadel/modules/instmsg/serv_instmsg.c:242:8: style: Variable 'un' can be declared as pointer to const [constVariablePointer] citadel/modules/listsub/serv_listsub.c:58:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/listsub/serv_listsub.c:118:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/listsub/serv_listsub.c:312:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/listsub/serv_listsub.c:503:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/listsub/serv_listsub.c:671:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StrBufNOTNULL [valueFlowBailoutIncompleteVar] citadel/modules/listsub/serv_listsub.c:710:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/listsub/serv_listsub.c:615:21: style: Condition 'RemoveLine!=NULL' is always true [knownConditionTrueFalse] citadel/modules/listsub/serv_listsub.c:161:9: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:161:9: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:163:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:163:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:165:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:165:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:166:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:166:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:167:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:167:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:168:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:168:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:169:15: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:169:15: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:170:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:170:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:171:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:171:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:192:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:192:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:203:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:203:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:209:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:209:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:230:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:230:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:241:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:241:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:247:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:247:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:250:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:250:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:256:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:160:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:160:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:256:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:350:9: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:350:9: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:352:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:352:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:354:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:354:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:355:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:355:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:356:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:356:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:357:15: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:357:15: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:358:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:358:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:359:2: warning: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:359:2: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:381:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:381:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:394:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:394:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:398:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:398:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:420:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:420:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:430:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:430:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:436:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:436:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:439:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:439:26: note: Null pointer dereference citadel/modules/listsub/serv_listsub.c:445:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: Line [nullPointerOutOfMemory] citadel/modules/listsub/serv_listsub.c:349:32: note: Assuming allocation function fails citadel/modules/listsub/serv_listsub.c:349:9: note: Assignment 'Line=(RoomNetCfgLine*)malloc(sizeof(RoomNetCfgLine))', assigned value is 0 citadel/modules/listsub/serv_listsub.c:445:26: note: Null pointer dereference citadel/modules/managesieve/serv_managesieve.c:182:48: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_VERSION is a macro then please configure it. [unknownMacro] citadel/modules/migrate/serv_migrate.c:155:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QR_DIRECTORY [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:187:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:224:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXFLOORS [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:264:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDB_VISIT [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:369:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDB_EXTAUTH [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:392:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDB_CONFIG [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:412:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:451:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:532:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCDB [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:672:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ALERT [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:856:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:905:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LISTING_FOLLOWS [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:946:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:1000:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QRname [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:1008:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable room [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:1017:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:1028:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:1110:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_internal [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:1153:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/migrate/serv_migrate.c:343:3: error: Common realloc mistake: 'encoded_msg' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/migrate/serv_migrate.c:751:8: error: Common realloc mistake: 'msglist' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/migrate/serv_migrate.c:268:17: warning:inconclusive: Either the condition 'cdbv!=NULL' is redundant or there is possible null pointer dereference: cdbv. [nullPointerRedundantCheck] citadel/modules/migrate/serv_migrate.c:266:47: note: Assuming that condition 'cdbv!=NULL' is not redundant citadel/modules/migrate/serv_migrate.c:268:17: note: Null pointer dereference citadel/modules/migrate/serv_migrate.c:269:12: warning:inconclusive: Either the condition 'cdbv!=NULL' is redundant or there is possible null pointer dereference: cdbv. [nullPointerRedundantCheck] citadel/modules/migrate/serv_migrate.c:266:47: note: Assuming that condition 'cdbv!=NULL' is not redundant citadel/modules/migrate/serv_migrate.c:269:12: note: Null pointer dereference citadel/modules/migrate/serv_migrate.c:270:20: warning:inconclusive: Either the condition 'cdbv!=NULL' is redundant or there is possible null pointer dereference: cdbv. [nullPointerRedundantCheck] citadel/modules/migrate/serv_migrate.c:266:47: note: Assuming that condition 'cdbv!=NULL' is not redundant citadel/modules/migrate/serv_migrate.c:270:20: note: Null pointer dereference citadel/modules/migrate/serv_migrate.c:395:19: warning:inconclusive: Either the condition 'cdbcfg!=NULL' is redundant or there is possible null pointer dereference: cdbcfg. [nullPointerRedundantCheck] citadel/modules/migrate/serv_migrate.c:393:52: note: Assuming that condition 'cdbcfg!=NULL' is not redundant citadel/modules/migrate/serv_migrate.c:395:19: note: Null pointer dereference citadel/modules/migrate/serv_migrate.c:396:9: warning:inconclusive: Either the condition 'cdbcfg!=NULL' is redundant or there is possible null pointer dereference: cdbcfg. [nullPointerRedundantCheck] citadel/modules/migrate/serv_migrate.c:393:52: note: Assuming that condition 'cdbcfg!=NULL' is not redundant citadel/modules/migrate/serv_migrate.c:396:9: note: Null pointer dereference citadel/modules/migrate/serv_migrate.c:397:11: warning:inconclusive: Either the condition 'cdbcfg!=NULL' is redundant or there is possible null pointer dereference: cdbcfg. [nullPointerRedundantCheck] citadel/modules/migrate/serv_migrate.c:393:52: note: Assuming that condition 'cdbcfg!=NULL' is not redundant citadel/modules/migrate/serv_migrate.c:397:11: note: Null pointer dereference citadel/modules/migrate/serv_migrate.c:682:47: warning:inconclusive: Either the condition 'ikey!=NULL' is redundant or there is possible null pointer dereference: ikey. [nullPointerRedundantCheck] citadel/modules/migrate/serv_migrate.c:684:12: note: Assuming that condition 'ikey!=NULL' is not redundant citadel/modules/migrate/serv_migrate.c:682:47: note: Null pointer dereference citadel/modules/migrate/serv_migrate.c:713:10: warning: If memory allocation fails, then there is a possible null pointer dereference: oid_data [nullPointerOutOfMemory] citadel/modules/migrate/serv_migrate.c:712:20: note: Assuming allocation function fails citadel/modules/migrate/serv_migrate.c:712:20: note: Assignment 'oid_data=malloc(oid_data_len)', assigned value is 0 citadel/modules/migrate/serv_migrate.c:713:10: note: Null pointer dereference citadel/modules/migrate/serv_migrate.c:1087:12: style: Variable 'lastnum' is reassigned a value before the old one has been used. [redundantAssignment] citadel/modules/migrate/serv_migrate.c:1073:13: note: lastnum is assigned citadel/modules/migrate/serv_migrate.c:1087:12: note: lastnum is overwritten citadel/modules/migrate/serv_migrate.c:261:8: style: Local variable 'vbuf' shadows outer variable [shadowVariable] citadel/modules/migrate/serv_migrate.c:503:7: note: Shadowed declaration citadel/modules/migrate/serv_migrate.c:261:8: note: Shadow variable citadel/modules/migrate/serv_migrate.c:301:18: style: Local variable 'smi' shadows outer variable [shadowVariable] citadel/modules/migrate/serv_migrate.c:504:17: note: Shadowed declaration citadel/modules/migrate/serv_migrate.c:301:18: note: Shadow variable citadel/modules/migrate/serv_migrate.c:923:18: style: Local variable 'smi' shadows outer variable [shadowVariable] citadel/modules/migrate/serv_migrate.c:504:17: note: Shadowed declaration citadel/modules/migrate/serv_migrate.c:923:18: note: Shadow variable citadel/modules/migrate/serv_migrate.c:1013:18: style: Local variable 'smi' shadows outer variable [shadowVariable] citadel/modules/migrate/serv_migrate.c:504:17: note: Shadowed declaration citadel/modules/migrate/serv_migrate.c:1013:18: note: Shadow variable citadel/modules/migrate/serv_migrate.c:245:8: style: Variable 'c' can be declared as pointer to const [constVariablePointer] citadel/modules/migrate/serv_migrate.c:417:14: style: Variable 'Ctx' can be declared as pointer to const [constVariablePointer] citadel/modules/migrate/serv_migrate.c:388:13: style: Variable 'keylen' is assigned a value that is never used. [unreadVariable] citadel/modules/migrate/serv_migrate.c:415:15: style: Variable 'progress' is assigned a value that is never used. [unreadVariable] citadel/modules/migrate/serv_migrate.c:661:14: style: Variable 'msgnum' is assigned a value that is never used. [unreadVariable] citadel/modules/migrate/serv_migrate.c:663:20: style: Variable 'msglist_alloc' is assigned a value that is never used. [unreadVariable] citadel/modules/migrate/serv_migrate.c:766:18: style: Variable 'msglist_alloc' is assigned a value that is never used. [unreadVariable] citadel/modules/mrtg/serv_mrtg.c:65:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable server_startup_time [valueFlowBailoutIncompleteVar] citadel/modules/mrtg/serv_mrtg.c:91:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_SESSION_TABLE [valueFlowBailoutIncompleteVar] citadel/modules/mrtg/serv_mrtg.c:166:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/mrtg/serv_mrtg.c:173:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/mrtg/serv_mrtg.c:89:21: style: Variable 'cptr' can be declared as pointer to const [constVariablePointer] citadel/modules/mrtg/serv_mrtg.c:125:37: style: Parameter 'EachUser' can be declared as pointer to const. However it seems that 'tally_account' is a callback function, if 'EachUser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/mrtg/serv_mrtg.c:143:14: note: You might need to cast the function pointer here citadel/modules/mrtg/serv_mrtg.c:125:37: note: Parameter 'EachUser' can be declared as pointer to const citadel/modules/network/serv_netfilter.c:70:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netfilter.c:146:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eAuthor [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netfilter.c:184:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netfilter.c:81:17: warning: If memory allocation fails, then there is a possible null pointer dereference: nptr [nullPointerOutOfMemory] citadel/modules/network/serv_netfilter.c:80:31: note: Assuming allocation function fails citadel/modules/network/serv_netfilter.c:80:10: note: Assignment 'nptr=(struct FilterList*)malloc(sizeof(struct FilterList))', assigned value is 0 citadel/modules/network/serv_netfilter.c:81:17: note: Null pointer dereference citadel/modules/network/serv_netfilter.c:82:11: warning: If memory allocation fails, then there is a possible null pointer dereference: nptr [nullPointerOutOfMemory] citadel/modules/network/serv_netfilter.c:80:31: note: Assuming allocation function fails citadel/modules/network/serv_netfilter.c:80:10: note: Assignment 'nptr=(struct FilterList*)malloc(sizeof(struct FilterList))', assigned value is 0 citadel/modules/network/serv_netfilter.c:82:11: note: Null pointer dereference citadel/modules/network/serv_netfilter.c:83:17: warning: If memory allocation fails, then there is a possible null pointer dereference: nptr [nullPointerOutOfMemory] citadel/modules/network/serv_netfilter.c:80:31: note: Assuming allocation function fails citadel/modules/network/serv_netfilter.c:80:10: note: Assignment 'nptr=(struct FilterList*)malloc(sizeof(struct FilterList))', assigned value is 0 citadel/modules/network/serv_netfilter.c:83:17: note: Null pointer dereference citadel/modules/network/serv_netfilter.c:84:11: warning: If memory allocation fails, then there is a possible null pointer dereference: nptr [nullPointerOutOfMemory] citadel/modules/network/serv_netfilter.c:80:31: note: Assuming allocation function fails citadel/modules/network/serv_netfilter.c:80:10: note: Assignment 'nptr=(struct FilterList*)malloc(sizeof(struct FilterList))', assigned value is 0 citadel/modules/network/serv_netfilter.c:84:11: note: Null pointer dereference citadel/modules/network/serv_netfilter.c:85:17: warning: If memory allocation fails, then there is a possible null pointer dereference: nptr [nullPointerOutOfMemory] citadel/modules/network/serv_netfilter.c:80:31: note: Assuming allocation function fails citadel/modules/network/serv_netfilter.c:80:10: note: Assignment 'nptr=(struct FilterList*)malloc(sizeof(struct FilterList))', assigned value is 0 citadel/modules/network/serv_netfilter.c:85:17: note: Null pointer dereference citadel/modules/network/serv_netfilter.c:86:11: warning: If memory allocation fails, then there is a possible null pointer dereference: nptr [nullPointerOutOfMemory] citadel/modules/network/serv_netfilter.c:80:31: note: Assuming allocation function fails citadel/modules/network/serv_netfilter.c:80:10: note: Assignment 'nptr=(struct FilterList*)malloc(sizeof(struct FilterList))', assigned value is 0 citadel/modules/network/serv_netfilter.c:86:11: note: Null pointer dereference citadel/modules/network/serv_netfilter.c:91:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nptr [nullPointerOutOfMemory] citadel/modules/network/serv_netfilter.c:80:31: note: Assuming allocation function fails citadel/modules/network/serv_netfilter.c:80:10: note: Assignment 'nptr=(struct FilterList*)malloc(sizeof(struct FilterList))', assigned value is 0 citadel/modules/network/serv_netfilter.c:91:18: note: Null pointer dereference citadel/modules/network/serv_netfilter.c:92:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nptr [nullPointerOutOfMemory] citadel/modules/network/serv_netfilter.c:80:31: note: Assuming allocation function fails citadel/modules/network/serv_netfilter.c:80:10: note: Assignment 'nptr=(struct FilterList*)malloc(sizeof(struct FilterList))', assigned value is 0 citadel/modules/network/serv_netfilter.c:92:18: note: Null pointer dereference citadel/modules/network/serv_netfilter.c:93:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nptr [nullPointerOutOfMemory] citadel/modules/network/serv_netfilter.c:80:31: note: Assuming allocation function fails citadel/modules/network/serv_netfilter.c:80:10: note: Assignment 'nptr=(struct FilterList*)malloc(sizeof(struct FilterList))', assigned value is 0 citadel/modules/network/serv_netfilter.c:93:18: note: Null pointer dereference citadel/modules/network/serv_netfilter.c:132:15: style: Variable 'zap_user' is assigned a value that is never used. [unreadVariable] citadel/modules/network/serv_netfilter.c:133:15: style: Variable 'zap_room' is assigned a value that is never used. [unreadVariable] citadel/modules/network/serv_netfilter.c:134:15: style: Variable 'zap_node' is assigned a value that is never used. [unreadVariable] citadel/modules/network/serv_netmail.c:105:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netmail.c:127:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netmail.c:173:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netmail.c:237:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable digestrecp [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netmail.c:316:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable listrecp [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netmail.c:359:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable listrecp [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netmail.c:391:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable participate [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netmail.c:443:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netmail.c:583:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_netmail.c:186:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/network/serv_netmail.c:185:14: note: Assuming allocation function fails citadel/modules/network/serv_netmail.c:185:14: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/network/serv_netmail.c:186:9: note: Null pointer dereference citadel/modules/network/serv_netmail.c:187:2: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/network/serv_netmail.c:185:14: note: Assuming allocation function fails citadel/modules/network/serv_netmail.c:185:14: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/network/serv_netmail.c:187:2: note: Null pointer dereference citadel/modules/network/serv_netmail.c:188:2: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/network/serv_netmail.c:185:14: note: Assuming allocation function fails citadel/modules/network/serv_netmail.c:185:14: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/network/serv_netmail.c:188:2: note: Null pointer dereference citadel/modules/network/serv_netmail.c:189:2: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] citadel/modules/network/serv_netmail.c:185:14: note: Assuming allocation function fails citadel/modules/network/serv_netmail.c:185:14: note: Assignment 'msg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/network/serv_netmail.c:189:2: note: Null pointer dereference citadel/modules/network/serv_netmail.c:210:8: warning: If memory allocation fails, then there is a possible null pointer dereference: pbuf [nullPointerOutOfMemory] citadel/modules/network/serv_netmail.c:208:15: note: Assuming allocation function fails citadel/modules/network/serv_netmail.c:208:15: note: Assignment 'pbuf=malloc(msglen+1)', assigned value is 0 citadel/modules/network/serv_netmail.c:210:8: note: Null pointer dereference citadel/modules/network/serv_netmail.c:211:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pbuf [nullPointerOutOfMemory] citadel/modules/network/serv_netmail.c:208:15: note: Assuming allocation function fails citadel/modules/network/serv_netmail.c:208:15: note: Assignment 'pbuf=malloc(msglen+1)', assigned value is 0 citadel/modules/network/serv_netmail.c:211:2: note: Null pointer dereference citadel/modules/network/serv_netmail.c:130:8: style: Variable 'pCh' can be declared as pointer to const [constVariablePointer] citadel/modules/network/serv_netmail.c:450:11: style: Variable 'bang' is assigned a value that is never used. [unreadVariable] citadel/modules/network/serv_netmail.c:451:11: style: Variable 'send' is assigned a value that is never used. [unreadVariable] citadel/modules/network/serv_netspool.c:1026:52: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] citadel/modules/network/serv_network.c:106:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_network.c:178:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_aide [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_network.c:195:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RoomProcList [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_network.c:248:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIEW_QUEUE [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_network.c:291:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_RPLIST [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_network.c:320:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_network.c:431:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NTT_REMOVE [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_network.c:439:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_network.c:471:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eRecipient [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_network.c:527:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/network/serv_network.c:190:56: style: Parameter 'qrbuf' can be declared as pointer to const [constParameterPointer] citadel/modules/network/serv_network.c:469:15: style: Variable 'CCC' can be declared as pointer to const [constVariablePointer] citadel/modules/network/serv_network.c:461:10: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] citadel/modules/networkclient/serv_networkclient.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/networkclient/serv_networkclient.c:276:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/networkclient/serv_networkclient.c:343:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/networkclient/serv_networkclient.c:364:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/networkclient/serv_networkclient.c:273:11: style: Variable 'poll' is assigned a value that is never used. [unreadVariable] citadel/modules/newuser/serv_newuser.c:76:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/newuser/serv_newuser.c:111:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/newuser/serv_newuser.c:95:10: warning: If memory allocation fails, then there is a possible null pointer dereference: msglist [nullPointerOutOfMemory] citadel/modules/newuser/serv_newuser.c:94:19: note: Assuming allocation function fails citadel/modules/newuser/serv_newuser.c:94:19: note: Assignment 'msglist=malloc(cdbfr->len)', assigned value is 0 citadel/modules/newuser/serv_newuser.c:95:10: note: Null pointer dereference citadel/modules/nntp/serv_nntp.c:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs_clientname [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:224:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:241:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REV_LEVEL [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:263:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kill_me [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:290:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curr_user [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:353:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDB_MSGLISTS [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:417:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:438:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:485:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:496:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:597:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:703:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:845:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable redirect_buffer [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:869:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:995:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eTimestamp [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:1019:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in_or_guest [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:1062:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastcmd [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:1164:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h_command_function [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:1179:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/nntp/serv_nntp.c:997:2: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] citadel/modules/nntp/serv_nntp.c:75:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] citadel/modules/nntp/serv_nntp.c:122:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] citadel/modules/nntp/serv_nntp.c:160:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] citadel/modules/nntp/serv_nntp.c:583:26: style: Variable 'lr' can be declared as pointer to const [constVariablePointer] citadel/modules/nntp/serv_nntp.c:710:8: style: Variable 'lb' can be declared as pointer to const [constVariablePointer] citadel/modules/nntp/serv_nntp.c:710:13: style: Variable 'rb' can be declared as pointer to const [constVariablePointer] citadel/modules/nntp/serv_nntp.c:974:26: style: Variable 'lr' can be declared as pointer to const [constVariablePointer] citadel/modules/nntp/serv_nntp.c:1021:11: style: Variable 'nntpstate' can be declared as pointer to const [constVariablePointer] citadel/modules/nntp/serv_nntp.c:1032:9: style: Variable 'dash' can be declared as pointer to const [constVariablePointer] citadel/modules/nntp/serv_nntp.c:773:42: style: Variable 'must_change_currently_selected_article' is assigned a value that is never used. [unreadVariable] citadel/modules/nntp/serv_nntp.c:780:42: style: Variable 'must_change_currently_selected_article' is assigned a value that is never used. [unreadVariable] citadel/modules/nntp/serv_nntp.c:897:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] citadel/modules/nntp/wildmat.c:127:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] citadel/modules/notes/serv_notes.c:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/notes/serv_notes.c:92:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QRdefaultview [valueFlowBailoutIncompleteVar] citadel/modules/notes/serv_notes.c:168:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/notes/serv_notes.c:62:27: style: Parameter 'cbtype' can be declared as pointer to const. However it seems that 'notes_extract_vnote' is a callback function, if 'cbtype' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/notes/serv_notes.c:134:8: note: You might need to cast the function pointer here citadel/modules/notes/serv_notes.c:62:27: note: Parameter 'cbtype' can be declared as pointer to const citadel/modules/openid/serv_openid_rp.c:82:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:136:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDB_EXTAUTH [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:214:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:246:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:276:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable openid_data [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:314:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:358:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHMODE_NATIVE [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:437:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:538:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_SSL_VERIFYPEER [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:660:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable openid_data [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:727:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable openid_data [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:823:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:961:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable openid_data [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:1164:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/openid/serv_openid_rp.c:392:6: error: Using pointer to local variable 'fullname' that is out of scope. [invalidLifetime] citadel/modules/openid/serv_openid_rp.c:388:15: note: Array decayed to pointer here. citadel/modules/openid/serv_openid_rp.c:384:9: note: Variable created here. citadel/modules/openid/serv_openid_rp.c:392:6: note: Using pointer to local variable 'fullname' that is out of scope. citadel/modules/openid/serv_openid_rp.c:510:29: style:inconclusive: Boolean expression 'href_start==NULL' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] citadel/modules/openid/serv_openid_rp.c:150:9: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] citadel/modules/openid/serv_openid_rp.c:148:15: note: Assuming allocation function fails citadel/modules/openid/serv_openid_rp.c:148:15: note: Assignment 'data=malloc(data_len)', assigned value is 0 citadel/modules/openid/serv_openid_rp.c:150:9: note: Null pointer dereference citadel/modules/openid/serv_openid_rp.c:117:37: style: Parameter 'who' can be declared as pointer to const [constParameterPointer] citadel/modules/openid/serv_openid_rp.c:166:37: style: Parameter 'usbuf' can be declared as pointer to const. However it seems that 'extauth_purge' is a callback function, if 'usbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/openid/serv_openid_rp.c:1176:24: note: You might need to cast the function pointer here citadel/modules/openid/serv_openid_rp.c:166:37: note: Parameter 'usbuf' can be declared as pointer to const citadel/modules/openid/serv_openid_rp.c:351:8: style: Variable 'firstname' can be declared as pointer to const [constVariablePointer] citadel/modules/openid/serv_openid_rp.c:352:8: style: Variable 'lastname' can be declared as pointer to const [constVariablePointer] citadel/modules/openid/serv_openid_rp.c:530:40: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] citadel/modules/openid/serv_openid_rp.c:703:35: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'yadis_headerfunction' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/openid/serv_openid_rp.c:756:49: note: You might need to cast the function pointer here citadel/modules/openid/serv_openid_rp.c:703:35: note: Parameter 'ptr' can be declared as pointer to const citadel/modules/pop3/serv_pop3.c:70:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:90:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:106:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:125:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:150:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:184:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:208:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:228:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:253:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:288:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:306:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:330:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:397:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:418:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:457:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:470:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:485:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CITADEL [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:502:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:534:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:550:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:650:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/pop3/serv_pop3.c:123:22: style: Parameter 'argbuf' can be declared as pointer to const [constParameterPointer] citadel/modules/pop3/serv_pop3.c:125:21: style: Variable 'CCC' can be declared as pointer to const [constVariablePointer] citadel/modules/pop3/serv_pop3.c:245:22: style: Parameter 'argbuf' can be declared as pointer to const [constParameterPointer] citadel/modules/pop3/serv_pop3.c:283:22: style: Parameter 'argbuf' can be declared as pointer to const [constParameterPointer] citadel/modules/pop3/serv_pop3.c:302:22: style: Parameter 'argbuf' can be declared as pointer to const [constParameterPointer] citadel/modules/pop3/serv_pop3.c:328:21: style: Parameter 'argbuf' can be declared as pointer to const [constParameterPointer] citadel/modules/pop3/serv_pop3.c:393:22: style: Parameter 'argbuf' can be declared as pointer to const [constParameterPointer] citadel/modules/pop3/serv_pop3.c:494:22: style: Parameter 'argbuf' can be declared as pointer to const [constParameterPointer] citadel/modules/pop3client/serv_pop3client.c:71:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/pop3client/serv_pop3client.c:181:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable server_shutting_down [valueFlowBailoutIncompleteVar] citadel/modules/pop3client/serv_pop3client.c:232:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/pop3client/serv_pop3client.c:260:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/pop3client/serv_pop3client.c:188:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assuming allocation function fails citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assignment 'pptr=malloc(sizeof(struct p3cq))', assigned value is 0 citadel/modules/pop3client/serv_pop3client.c:188:3: note: Null pointer dereference citadel/modules/pop3client/serv_pop3client.c:190:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assuming allocation function fails citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assignment 'pptr=malloc(sizeof(struct p3cq))', assigned value is 0 citadel/modules/pop3client/serv_pop3client.c:190:3: note: Null pointer dereference citadel/modules/pop3client/serv_pop3client.c:191:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assuming allocation function fails citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assignment 'pptr=malloc(sizeof(struct p3cq))', assigned value is 0 citadel/modules/pop3client/serv_pop3client.c:191:3: note: Null pointer dereference citadel/modules/pop3client/serv_pop3client.c:192:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assuming allocation function fails citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assignment 'pptr=malloc(sizeof(struct p3cq))', assigned value is 0 citadel/modules/pop3client/serv_pop3client.c:192:3: note: Null pointer dereference citadel/modules/pop3client/serv_pop3client.c:193:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assuming allocation function fails citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assignment 'pptr=malloc(sizeof(struct p3cq))', assigned value is 0 citadel/modules/pop3client/serv_pop3client.c:193:3: note: Null pointer dereference citadel/modules/pop3client/serv_pop3client.c:194:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assuming allocation function fails citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assignment 'pptr=malloc(sizeof(struct p3cq))', assigned value is 0 citadel/modules/pop3client/serv_pop3client.c:194:3: note: Null pointer dereference citadel/modules/pop3client/serv_pop3client.c:195:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pptr [nullPointerOutOfMemory] citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assuming allocation function fails citadel/modules/pop3client/serv_pop3client.c:187:16: note: Assignment 'pptr=malloc(sizeof(struct p3cq))', assigned value is 0 citadel/modules/pop3client/serv_pop3client.c:195:3: note: Null pointer dereference citadel/modules/pop3client/serv_pop3client.c:129:10: style: Variable 'c' can be declared as pointer to const [constVariablePointer] citadel/modules/pop3client/serv_pop3client.c:176:44: style: Parameter 'qrbuf' can be declared as pointer to const. However it seems that 'pop3client_scan_room' is a callback function, if 'qrbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/pop3client/serv_pop3client.c:233:24: note: You might need to cast the function pointer here citadel/modules/pop3client/serv_pop3client.c:176:44: note: Parameter 'qrbuf' can be declared as pointer to const citadel/modules/pop3client/serv_pop3client.c:158:10: style: Variable 'res' is assigned a value that is never used. [unreadVariable] citadel/modules/roomchat/serv_roomchat.c:68:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_CHATQUEUE [valueFlowBailoutIncompleteVar] citadel/modules/roomchat/serv_roomchat.c:104:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QRnumber [valueFlowBailoutIncompleteVar] citadel/modules/roomchat/serv_roomchat.c:140:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs_flags [valueFlowBailoutIncompleteVar] citadel/modules/roomchat/serv_roomchat.c:162:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs_flags [valueFlowBailoutIncompleteVar] citadel/modules/roomchat/serv_roomchat.c:194:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs_flags [valueFlowBailoutIncompleteVar] citadel/modules/roomchat/serv_roomchat.c:225:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/roomchat/serv_roomchat.c:254:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/roomchat/serv_roomchat.c:96:30: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] citadel/modules/rssclient/serv_rssclient.c:94:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CtdlMessage [valueFlowBailoutIncompleteVar] citadel/modules/rssclient/serv_rssclient.c:166:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eAuthor [valueFlowBailoutIncompleteVar] citadel/modules/rssclient/serv_rssclient.c:300:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TRUE [valueFlowBailoutIncompleteVar] citadel/modules/rssclient/serv_rssclient.c:313:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/rssclient/serv_rssclient.c:343:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/rssclient/serv_rssclient.c:399:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/rssclient/serv_rssclient.c:432:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/rssclient/serv_rssclient.c:452:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/rssclient/serv_rssclient.c:322:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thisone [nullPointerOutOfMemory] citadel/modules/rssclient/serv_rssclient.c:321:19: note: Assuming allocation function fails citadel/modules/rssclient/serv_rssclient.c:321:19: note: Assignment 'thisone=malloc(sizeof(struct rssurl))', assigned value is 0 citadel/modules/rssclient/serv_rssclient.c:322:3: note: Null pointer dereference citadel/modules/rssclient/serv_rssclient.c:323:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thisone [nullPointerOutOfMemory] citadel/modules/rssclient/serv_rssclient.c:321:19: note: Assuming allocation function fails citadel/modules/rssclient/serv_rssclient.c:321:19: note: Assignment 'thisone=malloc(sizeof(struct rssurl))', assigned value is 0 citadel/modules/rssclient/serv_rssclient.c:323:3: note: Null pointer dereference citadel/modules/rssclient/serv_rssclient.c:324:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thisone [nullPointerOutOfMemory] citadel/modules/rssclient/serv_rssclient.c:321:19: note: Assuming allocation function fails citadel/modules/rssclient/serv_rssclient.c:321:19: note: Assignment 'thisone=malloc(sizeof(struct rssurl))', assigned value is 0 citadel/modules/rssclient/serv_rssclient.c:324:3: note: Null pointer dereference citadel/modules/rssclient/serv_rssclient.c:329:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] citadel/modules/rssclient/serv_rssclient.c:328:18: note: Assuming allocation function fails citadel/modules/rssclient/serv_rssclient.c:328:18: note: Assignment 'newroom=malloc(sizeof(struct rssroom))', assigned value is 0 citadel/modules/rssclient/serv_rssclient.c:329:2: note: Null pointer dereference citadel/modules/rssclient/serv_rssclient.c:330:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] citadel/modules/rssclient/serv_rssclient.c:328:18: note: Assuming allocation function fails citadel/modules/rssclient/serv_rssclient.c:328:18: note: Assignment 'newroom=malloc(sizeof(struct rssroom))', assigned value is 0 citadel/modules/rssclient/serv_rssclient.c:330:2: note: Null pointer dereference citadel/modules/rssclient/serv_rssclient.c:330:18: warning: If memory allocation fails, then there is a possible null pointer dereference: thisone [nullPointerOutOfMemory] citadel/modules/rssclient/serv_rssclient.c:321:19: note: Assuming allocation function fails citadel/modules/rssclient/serv_rssclient.c:321:19: note: Assignment 'thisone=malloc(sizeof(struct rssurl))', assigned value is 0 citadel/modules/rssclient/serv_rssclient.c:330:18: note: Null pointer dereference citadel/modules/rssclient/serv_rssclient.c:331:2: warning: If memory allocation fails, then there is a possible null pointer dereference: thisone [nullPointerOutOfMemory] citadel/modules/rssclient/serv_rssclient.c:321:19: note: Assuming allocation function fails citadel/modules/rssclient/serv_rssclient.c:321:19: note: Assignment 'thisone=malloc(sizeof(struct rssurl))', assigned value is 0 citadel/modules/rssclient/serv_rssclient.c:331:2: note: Null pointer dereference citadel/modules/rwho/serv_rwho.c:65:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QR_MAILBOX [valueFlowBailoutIncompleteVar] citadel/modules/rwho/serv_rwho.c:98:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/rwho/serv_rwho.c:288:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/modules/rwho/serv_rwho.c:311:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fake_hostname [valueFlowBailoutIncompleteVar] citadel/modules/rwho/serv_rwho.c:327:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERNAME_SIZE [valueFlowBailoutIncompleteVar] citadel/modules/rwho/serv_rwho.c:360:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/rwho/serv_rwho.c:378:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/rwho/serv_rwho.c:92:14: style: Variable 'spoofed' is assigned a value that is never used. [unreadVariable] citadel/modules/rwho/serv_rwho.c:93:19: style: Variable 'user_spoofed' is assigned a value that is never used. [unreadVariable] citadel/modules/rwho/serv_rwho.c:94:19: style: Variable 'room_spoofed' is assigned a value that is never used. [unreadVariable] citadel/modules/rwho/serv_rwho.c:95:19: style: Variable 'host_spoofed' is assigned a value that is never used. [unreadVariable] citadel/modules/sieve/serv_sieve.c:774:8: error: There is an unknown macro here somewhere. Configuration is required. If CTDLSIEVECONFIGSEPARATOR is a macro then please configure it. [unknownMacro] citadel/modules/smtp/serv_smtp.c:143:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs_clientname [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:215:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:234:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:244:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:259:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:332:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eMsgSubject [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:348:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:403:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:429:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:450:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:515:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:577:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:622:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:636:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:708:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:803:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:1000:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:1018:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:1096:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kill_me [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:1108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:1136:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/smtp/serv_smtp.c:560:17: style: Condition 'strncasecmp(method,"login",5)' is always true [knownConditionTrueFalse] citadel/modules/smtp/serv_smtp.c:122:9: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] citadel/modules/smtp/serv_smtp.c:121:33: note: Assuming allocation function fails citadel/modules/smtp/serv_smtp.c:121:6: note: Assignment 'h=(struct smtp_handler_hook*)malloc(sizeof(struct smtp_handler_hook))', assigned value is 0 citadel/modules/smtp/serv_smtp.c:122:9: note: Null pointer dereference citadel/modules/smtp/serv_smtp.c:124:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] citadel/modules/smtp/serv_smtp.c:121:33: note: Assuming allocation function fails citadel/modules/smtp/serv_smtp.c:121:6: note: Assignment 'h=(struct smtp_handler_hook*)malloc(sizeof(struct smtp_handler_hook))', assigned value is 0 citadel/modules/smtp/serv_smtp.c:124:2: note: Null pointer dereference citadel/modules/smtp/serv_smtp.c:125:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] citadel/modules/smtp/serv_smtp.c:121:33: note: Assuming allocation function fails citadel/modules/smtp/serv_smtp.c:121:6: note: Assignment 'h=(struct smtp_handler_hook*)malloc(sizeof(struct smtp_handler_hook))', assigned value is 0 citadel/modules/smtp/serv_smtp.c:125:2: note: Null pointer dereference citadel/modules/smtp/serv_smtp.c:885:9: style: Local variable 'i' shadows outer variable [shadowVariable] citadel/modules/smtp/serv_smtp.c:811:6: note: Shadowed declaration citadel/modules/smtp/serv_smtp.c:885:9: note: Shadow variable citadel/modules/smtp/serv_smtp.c:515:21: style: Variable 'CCC' can be declared as pointer to const [constVariablePointer] citadel/modules/smtp/serv_smtp.c:1109:21: style: Variable 'CCC' can be declared as pointer to const [constVariablePointer] citadel/modules/smtp/serv_smtp.c:458:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] citadel/modules/smtp/serv_smtpclient.c:108:25: error: There is an unknown macro here somewhere. Configuration is required. If SPOOLMIME is a macro then please configure it. [unknownMacro] citadel/modules/smtp/smtp_util.c:129:51: error: There is an unknown macro here somewhere. Configuration is required. If CITADEL is a macro then please configure it. [unknownMacro] citadel/modules/spam/serv_spam.c:69:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/spam/serv_spam.c:187:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/test/serv_test.c:44:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/test/serv_test.c:48:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/test/serv_test.c:52:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/test/serv_test.c:56:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/test/serv_test.c:60:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:71:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERNAME_SIZE [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:123:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserProcList [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:164:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:196:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:211:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:238:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:341:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctdl_info_dir [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:388:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctdl_info_dir [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:523:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:590:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:615:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/upgrade/serv_upgrade.c:220:3: error: Mismatching allocation and deallocation: fp [mismatchAllocDealloc] citadel/modules/upgrade/serv_upgrade.c:213:7: note: Mismatching allocation and deallocation: fp citadel/modules/upgrade/serv_upgrade.c:220:3: note: Mismatching allocation and deallocation: fp citadel/modules/upgrade/serv_upgrade.c:478:5: error: Common realloc mistake: 'm' nulled but not freed upon failure [memleakOnRealloc] citadel/modules/upgrade/serv_upgrade.c:335:2: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assignment 'i=malloc(sizeof(struct iorarf_list))', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:335:2: note: Null pointer dereference citadel/modules/upgrade/serv_upgrade.c:336:9: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assignment 'i=malloc(sizeof(struct iorarf_list))', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:336:9: note: Null pointer dereference citadel/modules/upgrade/serv_upgrade.c:337:9: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assignment 'i=malloc(sizeof(struct iorarf_list))', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:337:9: note: Null pointer dereference citadel/modules/upgrade/serv_upgrade.c:338:9: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assignment 'i=malloc(sizeof(struct iorarf_list))', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:338:9: note: Null pointer dereference citadel/modules/upgrade/serv_upgrade.c:341:18: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assignment 'i=malloc(sizeof(struct iorarf_list))', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:341:18: note: Null pointer dereference citadel/modules/upgrade/serv_upgrade.c:342:13: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assignment 'i=malloc(sizeof(struct iorarf_list))', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:342:13: note: Null pointer dereference citadel/modules/upgrade/serv_upgrade.c:351:18: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assignment 'i=malloc(sizeof(struct iorarf_list))', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:351:18: note: Null pointer dereference citadel/modules/upgrade/serv_upgrade.c:352:13: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assignment 'i=malloc(sizeof(struct iorarf_list))', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:352:13: note: Null pointer dereference citadel/modules/upgrade/serv_upgrade.c:360:20: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:334:32: note: Assignment 'i=malloc(sizeof(struct iorarf_list))', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:360:20: note: Null pointer dereference citadel/modules/upgrade/serv_upgrade.c:482:10: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:474:15: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:474:15: note: Assignment 'm=malloc(sizeof(struct miafvtur)*alloc_m)', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:482:10: note: Null pointer dereference citadel/modules/upgrade/serv_upgrade.c:483:12: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] citadel/modules/upgrade/serv_upgrade.c:474:15: note: Assuming allocation function fails citadel/modules/upgrade/serv_upgrade.c:474:15: note: Assignment 'm=malloc(sizeof(struct miafvtur)*alloc_m)', assigned value is 0 citadel/modules/upgrade/serv_upgrade.c:483:12: note: Null pointer dereference citadel/modules/vcard/serv_vcard.c:78:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_CONTROL [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:96:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:146:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:228:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:244:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:425:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:542:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:595:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERCONFIGROOM [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:615:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:682:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:763:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:837:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:871:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDRESS_BOOK_ROOM [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:916:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDRESS_BOOK_ROOM [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:951:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:970:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:1048:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eMesageText [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:1063:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:1078:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ac_logged_in [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:1098:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:1157:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USERCONTACTSROOM [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:1184:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:1269:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eMesageText [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:1305:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSGS_ALL [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:1364:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable atbf [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:1412:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/vcard/serv_vcard.c:347:6: style: The if condition is the same as the previous if condition [duplicateCondition] citadel/modules/vcard/serv_vcard.c:331:6: note: First condition citadel/modules/vcard/serv_vcard.c:347:6: note: Second condition citadel/modules/vcard/serv_vcard.c:817:24: style: Condition 'need_default_vcard!=0' is always true [knownConditionTrueFalse] citadel/modules/vcard/serv_vcard.c:761:22: note: Assignment 'need_default_vcard=1', assigned value is 1 citadel/modules/vcard/serv_vcard.c:767:8: note: Assuming condition is false citadel/modules/vcard/serv_vcard.c:817:24: note: Condition 'need_default_vcard!=0' is always true citadel/modules/vcard/serv_vcard.c:1318:11: warning: If memory allocation fails, then there is a possible null pointer dereference: vmsg [nullPointerOutOfMemory] citadel/modules/vcard/serv_vcard.c:1317:17: note: Assuming allocation function fails citadel/modules/vcard/serv_vcard.c:1317:17: note: Assignment 'vmsg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/vcard/serv_vcard.c:1318:11: note: Null pointer dereference citadel/modules/vcard/serv_vcard.c:1319:4: warning: If memory allocation fails, then there is a possible null pointer dereference: vmsg [nullPointerOutOfMemory] citadel/modules/vcard/serv_vcard.c:1317:17: note: Assuming allocation function fails citadel/modules/vcard/serv_vcard.c:1317:17: note: Assignment 'vmsg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/vcard/serv_vcard.c:1319:4: note: Null pointer dereference citadel/modules/vcard/serv_vcard.c:1320:4: warning: If memory allocation fails, then there is a possible null pointer dereference: vmsg [nullPointerOutOfMemory] citadel/modules/vcard/serv_vcard.c:1317:17: note: Assuming allocation function fails citadel/modules/vcard/serv_vcard.c:1317:17: note: Assignment 'vmsg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/vcard/serv_vcard.c:1320:4: note: Null pointer dereference citadel/modules/vcard/serv_vcard.c:1321:4: warning: If memory allocation fails, then there is a possible null pointer dereference: vmsg [nullPointerOutOfMemory] citadel/modules/vcard/serv_vcard.c:1317:17: note: Assuming allocation function fails citadel/modules/vcard/serv_vcard.c:1317:17: note: Assignment 'vmsg=malloc(sizeof(struct CtdlMessage))', assigned value is 0 citadel/modules/vcard/serv_vcard.c:1321:4: note: Null pointer dereference citadel/modules/vcard/serv_vcard.c:398:11: style: Local variable 'buf' shadows outer variable [shadowVariable] citadel/modules/vcard/serv_vcard.c:246:7: note: Shadowed declaration citadel/modules/vcard/serv_vcard.c:398:11: note: Shadow variable citadel/modules/vcard/serv_vcard.c:93:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] citadel/modules/vcard/serv_vcard.c:147:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] citadel/modules/vcard/serv_vcard.c:220:27: style: Parameter 'cbtype' can be declared as pointer to const. However it seems that 'vcard_extract_vcard' is a callback function, if 'cbtype' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/vcard/serv_vcard.c:289:8: note: You might need to cast the function pointer here citadel/modules/vcard/serv_vcard.c:220:27: note: Parameter 'cbtype' can be declared as pointer to const citadel/modules/vcard/serv_vcard.c:426:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] citadel/modules/vcard/serv_vcard.c:865:63: style: Parameter 'target_room' can be declared as pointer to const. However it seems that 'vcard_extract_from_network' is a callback function, if 'target_room' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/vcard/serv_vcard.c:1427:27: note: You might need to cast the function pointer here citadel/modules/vcard/serv_vcard.c:865:63: note: Parameter 'target_room' can be declared as pointer to const citadel/modules/vcard/serv_vcard.c:866:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] citadel/modules/vcard/serv_vcard.c:907:32: style: Parameter 'room' can be declared as pointer to const. However it seems that 'vcard_delete_remove' is a callback function, if 'room' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/vcard/serv_vcard.c:1426:26: note: You might need to cast the function pointer here citadel/modules/vcard/serv_vcard.c:907:32: note: Parameter 'room' can be declared as pointer to const citadel/modules/vcard/serv_vcard.c:909:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] citadel/modules/vcard/serv_vcard.c:997:24: style: Parameter 'cbtype' can be declared as pointer to const. However it seems that 'dvca_mime_callback' is a callback function, if 'cbtype' is declared with const you might also need to cast function pointer(s). [constParameterCallback] citadel/modules/vcard/serv_vcard.c:1049:8: note: You might need to cast the function pointer here citadel/modules/vcard/serv_vcard.c:997:24: note: Parameter 'cbtype' can be declared as pointer to const citadel/modules/vcard/serv_vcard.c:1261:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] citadel/modules/vcard/serv_vcard.c:1385:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] citadel/modules/vcard/serv_vcard.c:251:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] citadel/modules/vcard/serv_vcard.c:971:27: style: Variable 'num_secondary_emails' is assigned a value that is never used. [unreadVariable] citadel/modules/wiki/serv_wiki.c:204:37: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_T_FMT is a macro then please configure it. [unknownMacro] citadel/modules/xmpp/serv_xmpp.c:186:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/serv_xmpp.c:253:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/serv_xmpp.c:321:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/serv_xmpp.c:536:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/serv_xmpp.c:558:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h_command_function [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/serv_xmpp.c:580:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs_clientname [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/serv_xmpp.c:620:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastcmd [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/serv_xmpp.c:646:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs_inet_email [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/serv_xmpp.c:654:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs_inet_email [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/serv_xmpp.c:662:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable threading [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/serv_xmpp.c:112:14: style: Variable 'pche' can be declared as pointer to const [constVariablePointer] citadel/modules/xmpp/xmpp_messages.c:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstExpressMessage [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/xmpp_messages.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logged_in [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/xmpp_presence.c:300:40: error: There is an unknown macro here somewhere. Configuration is required. If XMPPMORTUARY is a macro then please configure it. [unknownMacro] citadel/modules/xmpp/xmpp_query_namespace.c:81:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/xmpp_query_namespace.c:121:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/xmpp_query_namespace.c:144:9: style: Variable 'at' can be declared as pointer to const [constVariablePointer] citadel/modules/xmpp/xmpp_queue.c:62:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/xmpp_queue.c:122:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_specific_data [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/xmpp_queue.c:147:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_XMPP_QUEUE [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/xmpp_queue.c:81:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_event [nullPointerOutOfMemory] citadel/modules/xmpp/xmpp_queue.c:80:42: note: Assuming allocation function fails citadel/modules/xmpp/xmpp_queue.c:80:14: note: Assignment 'new_event=(struct xmpp_event*)malloc(sizeof(struct xmpp_event))', assigned value is 0 citadel/modules/xmpp/xmpp_queue.c:81:2: note: Null pointer dereference citadel/modules/xmpp/xmpp_queue.c:82:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_event [nullPointerOutOfMemory] citadel/modules/xmpp/xmpp_queue.c:80:42: note: Assuming allocation function fails citadel/modules/xmpp/xmpp_queue.c:80:14: note: Assignment 'new_event=(struct xmpp_event*)malloc(sizeof(struct xmpp_event))', assigned value is 0 citadel/modules/xmpp/xmpp_queue.c:82:2: note: Null pointer dereference citadel/modules/xmpp/xmpp_queue.c:83:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_event [nullPointerOutOfMemory] citadel/modules/xmpp/xmpp_queue.c:80:42: note: Assuming allocation function fails citadel/modules/xmpp/xmpp_queue.c:80:14: note: Assignment 'new_event=(struct xmpp_event*)malloc(sizeof(struct xmpp_event))', assigned value is 0 citadel/modules/xmpp/xmpp_queue.c:83:2: note: Null pointer dereference citadel/modules/xmpp/xmpp_queue.c:84:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_event [nullPointerOutOfMemory] citadel/modules/xmpp/xmpp_queue.c:80:42: note: Assuming allocation function fails citadel/modules/xmpp/xmpp_queue.c:80:14: note: Assignment 'new_event=(struct xmpp_event*)malloc(sizeof(struct xmpp_event))', assigned value is 0 citadel/modules/xmpp/xmpp_queue.c:84:2: note: Null pointer dereference citadel/modules/xmpp/xmpp_queue.c:85:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_event [nullPointerOutOfMemory] citadel/modules/xmpp/xmpp_queue.c:80:42: note: Assuming allocation function fails citadel/modules/xmpp/xmpp_queue.c:80:14: note: Assignment 'new_event=(struct xmpp_event*)malloc(sizeof(struct xmpp_event))', assigned value is 0 citadel/modules/xmpp/xmpp_queue.c:85:2: note: Null pointer dereference citadel/modules/xmpp/xmpp_queue.c:86:14: warning: If memory allocation fails, then there is a possible null pointer dereference: new_event [nullPointerOutOfMemory] citadel/modules/xmpp/xmpp_queue.c:80:42: note: Assuming allocation function fails citadel/modules/xmpp/xmpp_queue.c:80:14: note: Assignment 'new_event=(struct xmpp_event*)malloc(sizeof(struct xmpp_event))', assigned value is 0 citadel/modules/xmpp/xmpp_queue.c:86:14: note: Null pointer dereference citadel/modules/xmpp/xmpp_queue.c:99:3: warning: Possible null pointer dereference: last [nullPointer] citadel/modules/xmpp/xmpp_queue.c:58:28: note: Assignment 'last=NULL', assigned value is 0 citadel/modules/xmpp/xmpp_queue.c:94:32: note: Assuming condition is false citadel/modules/xmpp/xmpp_queue.c:99:3: note: Null pointer dereference citadel/modules/xmpp/xmpp_sasl_service.c:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable login_ok [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/xmpp_sasl_service.c:126:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logged_in [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/xmpp_sasl_service.c:154:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logged_in [valueFlowBailoutIncompleteVar] citadel/modules/xmpp/xmpp_sasl_service.c:117:27: style: Parameter 'sasl_auth_mech' can be declared as pointer to const [constParameterPointer] y.tab.c:1093:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] parsedate.y:557:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] parsedate.y:455:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] parsedate.y:498:19: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] parsedate.y:553:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] y.tab.c:1093:11: style: Variable 'yymsg' is assigned a value that is never used. [unreadVariable] citadel/snprintf.c:55:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] citadel/utillib/citadel_dirs.c:92:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/utillib/citadel_dirs.c:336:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/utillib/citadel_dirs.c:348:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/utillib/citadel_dirs.c:376:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] citadel/utillib/citadel_dirs.c:405:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] citadel/utillib/citadel_dirs.c:114:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:114:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:122:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:122:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:123:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:123:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:132:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:132:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:140:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:140:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:148:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:148:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:156:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:156:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:157:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:157:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:158:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:158:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:159:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:159:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:160:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:160:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:161:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:161:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:162:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:162:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:177:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:177:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:178:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:178:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:179:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:179:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:180:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:180:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:181:2: style:inconclusive: Boolean expression '!relh' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:181:2: style:inconclusive: Boolean expression 'basedir!=ctdldir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] citadel/utillib/citadel_dirs.c:114:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:122:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:123:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:132:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:140:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:148:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:156:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:157:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:158:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:159:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:160:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:161:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:162:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:177:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:178:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:179:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:180:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:181:2: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] citadel/utillib/citadel_dirs.c:118:2: style: Variable 'basedir' is assigned an expression that holds the same value. [redundantAssignment] citadel/utillib/citadel_dirs.c:110:9: note: basedir is assigned 'ctdldir' here. citadel/utillib/citadel_dirs.c:118:2: note: Variable 'basedir' is assigned an expression that holds the same value. citadel/utillib/citadel_dirs.c:128:2: style: Variable 'basedir' is assigned an expression that holds the same value. [redundantAssignment] citadel/utillib/citadel_dirs.c:118:9: note: basedir is assigned 'ctdldir' here. citadel/utillib/citadel_dirs.c:128:2: note: Variable 'basedir' is assigned an expression that holds the same value. citadel/utillib/citadel_dirs.c:136:2: style: Variable 'basedir' is assigned an expression that holds the same value. [redundantAssignment] citadel/utillib/citadel_dirs.c:128:9: note: basedir is assigned 'ctdldir' here. citadel/utillib/citadel_dirs.c:136:2: note: Variable 'basedir' is assigned an expression that holds the same value. citadel/utillib/citadel_dirs.c:144:2: style: Variable 'basedir' is assigned an expression that holds the same value. [redundantAssignment] citadel/utillib/citadel_dirs.c:136:9: note: basedir is assigned 'ctdldir' here. citadel/utillib/citadel_dirs.c:144:2: note: Variable 'basedir' is assigned an expression that holds the same value. citadel/utillib/citadel_dirs.c:152:2: style: Variable 'basedir' is assigned an expression that holds the same value. [redundantAssignment] citadel/utillib/citadel_dirs.c:144:9: note: basedir is assigned 'ctdldir' here. citadel/utillib/citadel_dirs.c:152:2: note: Variable 'basedir' is assigned an expression that holds the same value. citadel/utillib/citadel_dirs.c:173:2: style: Variable 'basedir' is assigned an expression that holds the same value. [redundantAssignment] citadel/utillib/citadel_dirs.c:152:9: note: basedir is assigned 'ctdldir' here. citadel/utillib/citadel_dirs.c:173:2: note: Variable 'basedir' is assigned an expression that holds the same value. citadel/utillib/citadel_dirs.c:329:25: style: Parameter 'qrbuf' can be declared as pointer to const [constParameterPointer] citadel/utillib/citadel_dirs.c:334:42: style: Parameter 'room' can be declared as pointer to const [constParameterPointer] citadel/utillib/citadel_dirs.c:345:43: style: Parameter 'room' can be declared as pointer to const [constParameterPointer] citadel/utils/aidepost.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MES_NORMAL [valueFlowBailoutIncompleteVar] citadel/utils/aidepost.c:68:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOMNAMELEN [valueFlowBailoutIncompleteVar] citadel/utils/aidepost.c:28:45: style: Parameter 'target_room' can be declared as pointer to const [constParameterPointer] citadel/utils/aidepost.c:28:64: style: Parameter 'author' can be declared as pointer to const [constParameterPointer] citadel/utils/aidepost.c:28:78: style: Parameter 'subject' can be declared as pointer to const [constParameterPointer] citadel/utils/base64.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] citadel/utils/base64.c:80:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] citadel/utils/base64.c:116:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] citadel/utils/base64.c:157:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] citadel/utils/base64.c:193:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] citadel/utils/base64.c:229:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] citadel/utils/base64.c:250:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] citadel/utils/base64.c:227:25: style: Parameter 'pname' can be declared as pointer to const [constParameterPointer] citadel/utils/base64.c:248:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] citadel/utils/chkpw.c:47:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] citadel/utils/chkpw.c:80:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_chkpwd [valueFlowBailoutIncompleteVar] citadel/utils/chkpw.c:116:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/utils/chkpw.c:131:7: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] citadel/utils/chkpw.c:106:3: style: Statements following noreturn function 'abort()' will never be executed. [unreachableCode] citadel/utils/chkpw.c:114:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] citadel/utils/chkpwd.c:35:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/citmail.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] citadel/utils/citmail.c:127:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/citmail.c:150:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] citadel/utils/citmail.c:161:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] citadel/utils/citmail.c:181:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/utils/citmail.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] citadel/utils/citmail.c:234:2: warning:inconclusive: The buffer 'hostname' may not be null-terminated after the call to strncpy(). [terminateStrncpy] citadel/utils/citmail.c:208:7: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] citadel/utils/citmail.c:200:4: error: Common realloc mistake: 'recipients' nulled but not freed upon failure [memleakOnRealloc] citadel/utils/citmail.c:277:7: error: Common realloc mistake: 'recipients' nulled but not freed upon failure [memleakOnRealloc] citadel/utils/citmail.c:52:27: style: Parameter 'sockpath' can be declared as pointer to const [constParameterPointer] citadel/utils/citmail.c:100:23: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] citadel/utils/citmail.c:176:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] citadel/utils/ctdlmigrate.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/utils/ctdlmigrate.c:127:10: style: Variable 'cmdexit' is reassigned a value before the old one has been used. [redundantAssignment] citadel/utils/ctdlmigrate.c:96:10: note: cmdexit is assigned citadel/utils/ctdlmigrate.c:127:10: note: cmdexit is overwritten citadel/utils/ctdlmigrate.c:90:7: style: Variable 'spinning' can be declared as const array [constVariable] citadel/utils/msgform.c:42:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] citadel/utils/msgform.c:98:17: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] citadel/utils/msgform.c:139:11: style: Variable 'old' is reassigned a value before the old one has been used. [redundantAssignment] citadel/utils/msgform.c:137:6: note: old is assigned citadel/utils/msgform.c:139:11: note: old is overwritten citadel/utils/sendcommand.c:43:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] citadel/utils/sendcommand.c:109:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/sendcommand.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/sendcommand.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] citadel/utils/sendcommand.c:37:27: style: Parameter 'sockpath' can be declared as pointer to const [constParameterPointer] citadel/utils/sendcommand.c:83:23: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] citadel/utils/sendcommand.c:210:19: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] citadel/utils/sendcommand.c:244:12: style: Variable 'State' is assigned a value that is never used. [unreadVariable] citadel/utils/setup.c:256:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:306:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:358:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:424:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:488:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:521:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:537:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:544:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:554:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:573:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:639:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:735:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:818:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZ [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:1044:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:1080:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] citadel/utils/setup.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] citadel/utils/setup.c:858:9: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] citadel/utils/setup.c:865:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] citadel/utils/setup.c:1223:12: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] citadel/utils/setup.c:125:6: style: Condition 'have_run_dir' is always true [knownConditionTrueFalse] citadel/utils/setup.c:111:17: note: Assignment 'have_run_dir=1', assigned value is 1 citadel/utils/setup.c:125:6: note: Condition 'have_run_dir' is always true citadel/utils/setup.c:607:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] citadel/utils/setup.c:606:12: note: Assuming allocation function fails citadel/utils/setup.c:606:12: note: Assignment 'fp=fopen(filename,"w")', assigned value is 0 citadel/utils/setup.c:607:10: note: Null pointer dereference citadel/utils/setup.c:622:9: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] citadel/utils/setup.c:606:12: note: Assuming allocation function fails citadel/utils/setup.c:606:12: note: Assignment 'fp=fopen(filename,"w")', assigned value is 0 citadel/utils/setup.c:622:9: note: Null pointer dereference citadel/utils/setup.c:353:21: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] citadel/utils/setup.c:418:27: style: Parameter 'sockpath' can be declared as pointer to const [constParameterPointer] citadel/utils/setup.c:462:23: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] citadel/utils/setup.c:519:35: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] citadel/utils/setup.c:542:24: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] citadel/utils/setup.c:542:35: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] citadel/utils/setup.c:552:24: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] citadel/utils/setup.c:571:8: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] citadel/utils/setup.c:733:87: style: Parameter 'DefValue' can be declared as pointer to const [constParameterPointer] citadel/utils/setup.c:816:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] citadel/utils/setup.c:1082:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] citadel/utils/stress.c:75:0: error: #error This program requires threads [preprocessorErrorDirective] citadel/utils/stress.c:75:2: error: #error This program requires threads [preprocessorErrorDirective] diff: head citadel/database.c:41:2: error: #error Neither nor was found by configure. Install db5-devel. [preprocessorErrorDirective] 2.17.0 citadel/modules/bio/serv_bio.c:162:27: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 citadel/modules/ctdlproto/serv_file.c:725:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 citadel/modules/ctdlproto/serv_rooms.c:431:26: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 citadel/modules/image/serv_image.c:293:27: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head citadel/sysdep_decls.h:17:2: error: #error Neither nor was found by configure. Install db4-devel. [preprocessorErrorDirective] head citadel/typesize.h:40:3: error: #error Unable to find an 8-bit integer datatype [preprocessorErrorDirective] head citadel/utils/stress.c:75:2: error: #error This program requires threads [preprocessorErrorDirective] 2.17.0 parsedate.y:532:45: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.17.0 parsedate.y:544:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.17.0 parsedate.y:545:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] DONE