2025-05-06 00:09 ftp://ftp.de.debian.org/debian/pool/main/libs/libsylph/libsylph_1.1.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 581f101 (2025-05-05 21:13:30 +0200) count: 541 603 elapsed-time: 5.2 5.4 head-timing-info: old-timing-info: head results: libsylph-1.1.0/examples/libsylph-createmailbox.c:12:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_MH [valueFlowBailoutIncompleteVar] libsylph-1.1.0/examples/libsylph-compose.c:15:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPOSE_NEW [valueFlowBailoutIncompleteVar] libsylph-1.1.0/examples/libsylph-listfolder.c:38:26: style: Parameter 'argv' can be declared as const array [constParameter] libsylph-1.1.0/examples/libsylph-compose.c:28:9: style: Variable 'alist' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/examples/libsylph-compose.c:29:9: style: Variable 'to' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/examples/libsylph-compose.c:29:14: style: Variable 'subject' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/examples/libsylph-compose.c:29:24: style: Variable 'body' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/examples/libsylph-listprefs.c:14:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libsylph-1.1.0/examples/libsylph-listprefs.c:11:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/examples/libsylph-listprefs.c:40:26: style: Parameter 'argv' can be declared as const array [constParameter] libsylph-1.1.0/examples/libsylph-pop.c:16:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DROP_ERROR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/examples/libsylph-pop.c:57:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_ERROR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/examples/libsylph-listsummary.c:25:12: style: Variable 'msginfo' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/examples/libsylph-listsummary.c:35:9: style: Variable 'folder_id' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/examples/libsylph-pop.c:72:26: style: Parameter 'argv' can be declared as const array [constParameter] libsylph-1.1.0/examples/libsylph-send.c:51:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_ERROR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/examples/libsylph-template.c:7:26: style: Parameter 'argv' can be declared as const array [constParameter] libsylph-1.1.0/examples/libsylph-send.c:71:9: style: Variable 'to' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/examples/libsylph-send.c:71:14: style: Variable 'file' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/base64.c:82:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/account.c:58:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/account.c:226:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/account.c:50:33: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/account.c:219:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/codeconv.c:773:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/codeconv.c:802:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/codeconv.c:853:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/codeconv.c:884:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/codeconv.c:1472:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/codeconv.c:1523:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EILSEQ [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/codeconv.c:2246:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_utf8_skip [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/codeconv.c:2459:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/codeconv.c:2523:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/codeconv.c:2553:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/compose.c:338:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/compose.c:507:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/compose.c:615:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/compose.c:727:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/compose.c:910:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/customheader.c:47:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/customheader.c:91:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/customheader.c:181:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:306:3: style: Obsolete function 'g_string_sprintfa' called. It is recommended to use 'g_string_append_printf' instead. [prohibitedg_string_sprintfaCalled] libsylph-1.1.0/libsylph/compose.c:1021:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1032:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1041:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1056:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1060:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1071:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1098:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1111:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1232:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1235:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1238:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1247:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1266:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1285:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1298:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/compose.c:1363:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libsylph-1.1.0/libsylph/compose.c:597:72: style:inconclusive: Function 'compose_redirect_write_to_file' argument 2 names different: declaration 'out_file' definition 'file'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/compose.h:152:20: note: Function 'compose_redirect_write_to_file' argument 2 names different: declaration 'out_file' definition 'file'. libsylph-1.1.0/libsylph/compose.c:597:72: note: Function 'compose_redirect_write_to_file' argument 2 names different: declaration 'out_file' definition 'file'. libsylph-1.1.0/libsylph/compose.c:820:19: style:inconclusive: Function 'compose_write_attach' argument 3 names different: declaration 'charset' definition 'header_encoding'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/compose.c:57:21: note: Function 'compose_write_attach' argument 3 names different: declaration 'charset' definition 'header_encoding'. libsylph-1.1.0/libsylph/compose.c:820:19: note: Function 'compose_write_attach' argument 3 names different: declaration 'charset' definition 'header_encoding'. libsylph-1.1.0/libsylph/compose.c:997:20: style:inconclusive: Function 'compose_write_headers' argument 3 names different: declaration 'charset' definition 'header_encoding'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/compose.c:60:21: note: Function 'compose_write_headers' argument 3 names different: declaration 'charset' definition 'header_encoding'. libsylph-1.1.0/libsylph/compose.c:997:20: note: Function 'compose_write_headers' argument 3 names different: declaration 'charset' definition 'header_encoding'. libsylph-1.1.0/libsylph/compose.c:998:20: style:inconclusive: Function 'compose_write_headers' argument 4 names different: declaration 'body_charset' definition 'body_encoding'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/compose.c:61:21: note: Function 'compose_write_headers' argument 4 names different: declaration 'body_charset' definition 'body_encoding'. libsylph-1.1.0/libsylph/compose.c:998:20: note: Function 'compose_write_headers' argument 4 names different: declaration 'body_charset' definition 'body_encoding'. libsylph-1.1.0/libsylph/compose.c:270:24: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/compose.c:715:10: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/compose.c:822:21: style: Variable 'ainfo' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/compose.c:1003:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/compose.c:1316:49: style: Parameter 'compose' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/compose.c:1340:53: style: Parameter 'compose' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/compose.c:1358:13: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/compose.c:808:11: style: Variable 'num' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/filter.c:757:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/filter.c:998:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/filter.c:1280:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/filter.c:1315:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/folder.c:876:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/folder.c:925:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/folder.c:1202:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/folder.c:1220:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/folder.c:1480:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/filter.c:1098:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/filter.c:1164:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/filter.c:1363:54: style:inconclusive: Function 'filter_rule_match_type_str_to_enum' argument 1 names different: declaration 'type_str' definition 'match_type'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/filter.h:211:56: note: Function 'filter_rule_match_type_str_to_enum' argument 1 names different: declaration 'type_str' definition 'match_type'. libsylph-1.1.0/libsylph/filter.c:1363:54: note: Function 'filter_rule_match_type_str_to_enum' argument 1 names different: declaration 'type_str' definition 'match_type'. libsylph-1.1.0/libsylph/filter.c:1546:35: style:inconclusive: Function 'filter_info_free' argument 1 names different: declaration 'info' definition 'fltinfo'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/filter.h:224:39: note: Function 'filter_info_free' argument 1 names different: declaration 'info' definition 'fltinfo'. libsylph-1.1.0/libsylph/filter.c:1546:35: note: Function 'filter_info_free' argument 1 names different: declaration 'info' definition 'fltinfo'. libsylph-1.1.0/libsylph/filter.c:559:16: style: Local variable 'name' shadows outer variable [shadowVariable] libsylph-1.1.0/libsylph/filter.c:497:15: note: Shadowed declaration libsylph-1.1.0/libsylph/filter.c:559:16: note: Shadow variable libsylph-1.1.0/libsylph/filter.c:352:34: style: Parameter 'fltinfo' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/filter.c:357:16: style: Variable 'cond_ac' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/filter.c:462:15: style: Variable 'cond' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/filter.c:506:17: style: Variable 'cond_child' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/filter.c:516:12: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/filter.c:545:12: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/filter.c:571:13: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/filter.c:803:16: style: Variable 'cond' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/filter.c:923:18: style: Variable 'action' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/filter.c:1010:22: style: Variable 'cond2' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/filter.c:1011:16: style: Variable 'action' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/filter.c:1262:9: style: Variable 'base' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:459:3: style: Obsolete function 'g_string_sprintfa' called. It is recommended to use 'g_string_append_printf' instead. [prohibitedg_string_sprintfaCalled] libsylph-1.1.0/libsylph/folder.c:518:5: style: Obsolete function 'g_string_sprintfa' called. It is recommended to use 'g_string_append_printf' instead. [prohibitedg_string_sprintfaCalled] libsylph-1.1.0/libsylph/folder.c:530:3: style: Obsolete function 'g_string_sprintfa' called. It is recommended to use 'g_string_append_printf' instead. [prohibitedg_string_sprintfaCalled] libsylph-1.1.0/libsylph/folder.c:532:3: style: Obsolete function 'g_string_sprintfa' called. It is recommended to use 'g_string_append_printf' instead. [prohibitedg_string_sprintfaCalled] libsylph-1.1.0/libsylph/folder.c:606:15: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] libsylph-1.1.0/libsylph/folder.c:699:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/folder.c:530:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libsylph-1.1.0/libsylph/folder.c:530:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libsylph-1.1.0/libsylph/folder.c:530:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libsylph-1.1.0/libsylph/folder.c:532:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libsylph-1.1.0/libsylph/folder.c:532:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libsylph-1.1.0/libsylph/folder.c:532:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libsylph-1.1.0/libsylph/folder.c:1015:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libsylph-1.1.0/libsylph/folder.c:383:11: style: Variable 'xmlnode' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:384:9: style: Variable 'path' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:412:9: style: Variable 'path' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:570:46: style: Parameter 'node' can be declared as pointer to const. However it seems that 'folder_item_find_func' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/folder.c:729:4: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/folder.c:570:46: note: Parameter 'node' can be declared as pointer to const libsylph-1.1.0/libsylph/folder.c:599:56: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/folder.c:652:9: style: Variable 'type_str' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:690:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:740:10: style: Variable 'folder' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:750:10: style: Variable 'folder' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:760:10: style: Variable 'folder' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:770:10: style: Variable 'folder' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:780:10: style: Variable 'folder' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:803:9: style: Variable 'list' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:830:50: style: Parameter 'node' can be declared as pointer to const. However it seems that 'folder_unref_account_func' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/folder.c:853:5: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/folder.c:830:50: note: Parameter 'node' can be declared as pointer to const libsylph-1.1.0/libsylph/folder.c:833:16: style: Variable 'account' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:1231:9: style: Variable 'list' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:1402:9: style: Variable 'list' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/folder.c:1498:16: style: Variable 'folder_type_str' can be declared as const array [constVariable] libsylph-1.1.0/libsylph/folder.c:1500:16: style: Variable 'folder_item_stype_str' can be declared as const array [constVariable] libsylph-1.1.0/libsylph/folder.c:1503:16: style: Variable 'sort_key_str' can be declared as const array [constVariable] libsylph-1.1.0/libsylph/folder.c:1354:20: warning: Conversion of char literal '1' to bool always evaluates to true. [incorrectCharBooleanError] libsylph-1.1.0/libsylph/codeconv.c:2248:5: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/codeconv.c:2285:5: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/codeconv.c:2304:5: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/codeconv.c:1460:18: style:inconclusive: Function 'conv_iconv_strdup' argument 2 names different: declaration 'src_encoding' definition 'src_code'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/codeconv.h:207:20: note: Function 'conv_iconv_strdup' argument 2 names different: declaration 'src_encoding' definition 'src_code'. libsylph-1.1.0/libsylph/codeconv.c:1460:18: note: Function 'conv_iconv_strdup' argument 2 names different: declaration 'src_encoding' definition 'src_code'. libsylph-1.1.0/libsylph/codeconv.c:1460:41: style:inconclusive: Function 'conv_iconv_strdup' argument 3 names different: declaration 'dest_encoding' definition 'dest_code'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/codeconv.h:208:20: note: Function 'conv_iconv_strdup' argument 3 names different: declaration 'dest_encoding' definition 'dest_code'. libsylph-1.1.0/libsylph/codeconv.c:1460:41: note: Function 'conv_iconv_strdup' argument 3 names different: declaration 'dest_encoding' definition 'dest_code'. libsylph-1.1.0/libsylph/codeconv.c:2451:71: style:inconclusive: Function 'conv_copy_file' argument 3 names different: declaration 'src_encoding' definition 'encoding'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/codeconv.h:241:20: note: Function 'conv_copy_file' argument 3 names different: declaration 'src_encoding' definition 'encoding'. libsylph-1.1.0/libsylph/codeconv.c:2451:71: note: Function 'conv_copy_file' argument 3 names different: declaration 'src_encoding' definition 'encoding'. libsylph-1.1.0/libsylph/codeconv.c:2505:70: style:inconclusive: Function 'conv_copy_dir' argument 3 names different: declaration 'src_encoding' definition 'encoding'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/codeconv.h:244:20: note: Function 'conv_copy_dir' argument 3 names different: declaration 'src_encoding' definition 'encoding'. libsylph-1.1.0/libsylph/codeconv.c:2505:70: note: Function 'conv_copy_dir' argument 3 names different: declaration 'src_encoding' definition 'encoding'. libsylph-1.1.0/libsylph/codeconv.c:1917:16: style: Local variable 'p' shadows outer variable [shadowVariable] libsylph-1.1.0/libsylph/codeconv.c:1887:15: note: Shadowed declaration libsylph-1.1.0/libsylph/codeconv.c:1917:16: note: Shadow variable libsylph-1.1.0/libsylph/codeconv.c:1991:16: style: Local variable 'p' shadows outer variable [shadowVariable] libsylph-1.1.0/libsylph/codeconv.c:1973:15: note: Shadowed declaration libsylph-1.1.0/libsylph/codeconv.c:1991:16: note: Shadow variable libsylph-1.1.0/libsylph/codeconv.c:388:17: style: Variable 'h2z_tbl' can be declared as const array [constVariable] libsylph-1.1.0/libsylph/codeconv.c:403:17: style: Variable 'dakuten_tbl' can be declared as const array [constVariable] libsylph-1.1.0/libsylph/codeconv.c:412:17: style: Variable 'handakuten_tbl' can be declared as const array [constVariable] libsylph-1.1.0/libsylph/codeconv.c:1093:16: style: Variable 'char_tbl' can be declared as const array [constVariable] libsylph-1.1.0/libsylph/codeconv.c:2155:9: style: Variable 'mimesep_enc' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/codeconv.c:2219:16: style: Variable 'mb_len' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/html.c:371:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:1277:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/imap.c:1331:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/imap.c:2169:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/imap.c:2418:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/imap.c:3673:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/imap.c:4025:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/imap.c:4101:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/imap.c:4351:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mbox.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mbox.c:340:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mbox.c:393:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mbox.c:422:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mbox.c:365:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] libsylph-1.1.0/libsylph/mbox.c:103:19: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/mbox.c:412:16: style: Variable 'cur_ac' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/md5.c:83:28: style:inconclusive: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/md5.c:45:40: note: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. libsylph-1.1.0/libsylph/md5.c:83:28: note: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. libsylph-1.1.0/libsylph/md5.c:105:30: style:inconclusive: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/md5.c:46:42: note: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. libsylph-1.1.0/libsylph/md5.c:105:30: note: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. libsylph-1.1.0/libsylph/md5.c:159:48: style:inconclusive: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/md5.c:48:60: note: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. libsylph-1.1.0/libsylph/md5.c:159:48: note: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. libsylph-1.1.0/libsylph/md5.c:522:9: style: Variable 'md5a' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/md5.c:523:9: style: Variable 'md5b' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/md5.c:203:10: warning: Size of pointer 'ctx' used instead of size of its data. [pointerSize] libsylph-1.1.0/libsylph/mh.c:341:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:475:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:513:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:635:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:682:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:859:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:1023:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:1090:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:1211:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:1240:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:1439:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/mh.c:1609:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/news.c:533:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/news.c:631:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/news.c:651:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/news.c:945:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/news.c:164:64: style:inconclusive: Function 'news_folder_new' argument 2 names different: declaration 'folder' definition 'path'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/news.c:61:20: note: Function 'news_folder_new' argument 2 names different: declaration 'folder' definition 'path'. libsylph-1.1.0/libsylph/news.c:164:64: note: Function 'news_folder_new' argument 2 names different: declaration 'folder' definition 'path'. libsylph-1.1.0/libsylph/news.c:432:32: style: Parameter 'folder' can be declared as pointer to const. However it seems that 'news_close' is a callback function, if 'folder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/news.c:149:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/news.c:432:32: note: Parameter 'folder' can be declared as pointer to const libsylph-1.1.0/libsylph/news.c:432:52: style: Parameter 'item' can be declared as pointer to const. However it seems that 'news_close' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/news.c:149:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/news.c:432:52: note: Parameter 'item' can be declared as pointer to const libsylph-1.1.0/libsylph/news.c:513:52: style: Parameter 'ginfo1' can be declared as pointer to const. However it seems that 'news_group_info_compare' is a callback function, if 'ginfo1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/news.c:607:42: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/news.c:513:52: note: Parameter 'ginfo1' can be declared as pointer to const libsylph-1.1.0/libsylph/news.c:514:24: style: Parameter 'ginfo2' can be declared as pointer to const. However it seems that 'news_group_info_compare' is a callback function, if 'ginfo2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/news.c:607:42: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/news.c:514:24: note: Parameter 'ginfo2' can be declared as pointer to const libsylph-1.1.0/libsylph/news.c:688:23: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/news.c:993:63: style: Parameter 'msginfo' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/news.c:996:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/news.c:962:11: style: Variable 'line_int' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/mh.c:888:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] libsylph-1.1.0/libsylph/mh.c:1095:13: style: Obsolete function 'g_dirname' called. It is recommended to use 'g_path_get_dirname' instead. [prohibitedg_dirnameCalled] libsylph-1.1.0/libsylph/mh.c:1146:14: style: Obsolete function 'g_dirname' called. It is recommended to use 'g_path_get_dirname' instead. [prohibitedg_dirnameCalled] libsylph-1.1.0/libsylph/mh.c:1463:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] libsylph-1.1.0/libsylph/mh.c:725:16: style: Parameter 'msginfo' can be declared as pointer to const. However it seems that 'mh_is_msg_changed' is a callback function, if 'msginfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/mh.c:157:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/mh.c:725:16: note: Parameter 'msginfo' can be declared as pointer to const libsylph-1.1.0/libsylph/mh.c:737:30: style: Parameter 'folder' can be declared as pointer to const. However it seems that 'mh_close' is a callback function, if 'folder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/mh.c:158:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/mh.c:737:30: note: Parameter 'folder' can be declared as pointer to const libsylph-1.1.0/libsylph/mh.c:737:50: style: Parameter 'item' can be declared as pointer to const. However it seems that 'mh_close' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/mh.c:158:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/mh.c:737:50: note: Parameter 'item' can be declared as pointer to const libsylph-1.1.0/libsylph/mh.c:989:9: style: Variable 'rootpath' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/mh.c:1009:45: style: Parameter 'folder' can be declared as pointer to const. However it seems that 'mh_create_folder' is a callback function, if 'folder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/mh.c:161:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/mh.c:1009:45: note: Parameter 'folder' can be declared as pointer to const libsylph-1.1.0/libsylph/mh.c:1183:38: style: Parameter 'folder' can be declared as pointer to const. However it seems that 'mh_remove_folder' is a callback function, if 'folder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/mh.c:164:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/mh.c:1183:38: note: Parameter 'folder' can be declared as pointer to const libsylph-1.1.0/libsylph/mh.c:1592:46: style: Parameter 'node' can be declared as pointer to const. However it seems that 'mh_rename_folder_func' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/mh.c:1163:4: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/mh.c:1592:46: note: Parameter 'node' can be declared as pointer to const libsylph-1.1.0/libsylph/mh.c:1598:9: style: Variable 'base' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/nntp.c:298:34: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/nntp.c:303:32: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/prefs.c:82:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/prefs.c:218:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/prefs.c:308:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/prefs.c:328:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/prefs.c:359:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/prefs.c:403:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/pop.c:479:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/pop.c:522:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/pop.c:558:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/pop.c:705:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/prefs.c:275:57: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/pop.c:197:6: warning: %lld in format string (no. 2) requires 'long long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] libsylph-1.1.0/libsylph/pop.c:495:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] libsylph-1.1.0/libsylph/pop.c:496:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] libsylph-1.1.0/libsylph/pop.c:748:8: style: Variable 'val' is reassigned a value before the old one has been used. [redundantAssignment] libsylph-1.1.0/libsylph/pop.c:741:7: note: val is assigned libsylph-1.1.0/libsylph/pop.c:748:8: note: val is overwritten libsylph-1.1.0/libsylph/pop.c:465:47: style:inconclusive: Function 'pop3_get_uidl_table' argument 1 names different: declaration 'account' definition 'ac_prefs'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/pop.h:152:48: note: Function 'pop3_get_uidl_table' argument 1 names different: declaration 'account' definition 'ac_prefs'. libsylph-1.1.0/libsylph/pop.c:465:47: note: Function 'pop3_get_uidl_table' argument 1 names different: declaration 'account' definition 'ac_prefs'. libsylph-1.1.0/libsylph/pop.c:567:8: style: Local variable 'len' shadows outer argument [shadowArgument] libsylph-1.1.0/libsylph/pop.c:549:75: note: Shadowed declaration libsylph-1.1.0/libsylph/pop.c:567:8: note: Shadow variable libsylph-1.1.0/libsylph/pop.c:465:47: style: Parameter 'ac_prefs' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/pop.c:515:15: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/pop.c:612:15: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/pop.c:613:16: style: Variable 'ac' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/pop.c:553:16: style: Variable 'last_ch' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/prefs_account.c:82:25: error: There is an unknown macro here somewhere. Configuration is required. If G_DIR_SEPARATOR_S is a macro then please configure it. [unknownMacro] libsylph-1.1.0/libsylph/prefs_common.c:410:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/prefs_common.c:457:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/prefs_common.c:451:9: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procheader.c:86:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procheader.c:172:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procheader.c:217:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procheader.c:498:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procheader.c:808:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DATE_BAD_MONTH [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/imap.c:1686:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:1762:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:1764:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:1837:11: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] libsylph-1.1.0/libsylph/imap.c:1936:10: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] libsylph-1.1.0/libsylph/imap.c:2055:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:2065:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:2183:4: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:2190:14: style: Obsolete function 'g_dirname' called. It is recommended to use 'g_path_get_dirname' instead. [prohibitedg_dirnameCalled] libsylph-1.1.0/libsylph/imap.c:2631:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:2632:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3139:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3347:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3348:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3413:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3414:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3442:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3510:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3521:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3522:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3532:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3681:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:3752:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:4122:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:4125:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/imap.c:4236:5: style: Obsolete function 'g_string_sprintfa' called. It is recommended to use 'g_string_append_printf' instead. [prohibitedg_string_sprintfaCalled] libsylph-1.1.0/libsylph/imap.c:4238:5: style: Obsolete function 'g_string_sprintfa' called. It is recommended to use 'g_string_append_printf' instead. [prohibitedg_string_sprintfaCalled] libsylph-1.1.0/libsylph/imap.c:4253:5: style: Obsolete function 'g_string_sprintfa' called. It is recommended to use 'g_string_append_printf' instead. [prohibitedg_string_sprintfaCalled] libsylph-1.1.0/libsylph/imap.c:4255:5: style: Obsolete function 'g_string_sprintfa' called. It is recommended to use 'g_string_append_printf' instead. [prohibitedg_string_sprintfaCalled] libsylph-1.1.0/libsylph/imap.c:1897:8: warning:inconclusive: Width 16 given in format string (no. 1) is smaller than destination buffer 'buf[8192]'. [invalidScanfFormatWidth_smaller] libsylph-1.1.0/libsylph/imap.c:3897:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libsylph-1.1.0/libsylph/imap.c:3442:2: error: Memory leak: argbuf [memleak] libsylph-1.1.0/libsylph/imap.c:3516:64: style:inconclusive: Function 'imap_cmd_rename' argument 2 names different: declaration 'oldfolder' definition 'old_folder'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/imap.c:311:19: note: Function 'imap_cmd_rename' argument 2 names different: declaration 'oldfolder' definition 'old_folder'. libsylph-1.1.0/libsylph/imap.c:3516:64: note: Function 'imap_cmd_rename' argument 2 names different: declaration 'oldfolder' definition 'old_folder'. libsylph-1.1.0/libsylph/imap.c:3517:21: style:inconclusive: Function 'imap_cmd_rename' argument 3 names different: declaration 'newfolder' definition 'new_folder'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/imap.c:312:19: note: Function 'imap_cmd_rename' argument 3 names different: declaration 'newfolder' definition 'new_folder'. libsylph-1.1.0/libsylph/imap.c:3517:21: note: Function 'imap_cmd_rename' argument 3 names different: declaration 'newfolder' definition 'new_folder'. libsylph-1.1.0/libsylph/procmime.c:851:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmime.c:981:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmime.c:1000:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmime.c:1043:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmime.c:1145:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmime.c:1204:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmime.c:1292:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmime.c:1391:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmime.c:1561:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmime.c:1636:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/imap.c:1180:15: style: Variable 'fileinfo' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:1597:45: style: Parameter 'folder' can be declared as pointer to const. However it seems that 'imap_is_msg_changed' is a callback function, if 'folder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/imap.c:395:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/imap.c:1597:45: note: Parameter 'folder' can be declared as pointer to const libsylph-1.1.0/libsylph/imap.c:1597:65: style: Parameter 'item' can be declared as pointer to const. However it seems that 'imap_is_msg_changed' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/imap.c:395:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/imap.c:1597:65: note: Parameter 'item' can be declared as pointer to const libsylph-1.1.0/libsylph/imap.c:1598:18: style: Parameter 'msginfo' can be declared as pointer to const. However it seems that 'imap_is_msg_changed' is a callback function, if 'msginfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/imap.c:395:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/imap.c:1598:18: note: Parameter 'msginfo' can be declared as pointer to const libsylph-1.1.0/libsylph/imap.c:1604:52: style: Parameter 'item' can be declared as pointer to const. However it seems that 'imap_close' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/imap.c:396:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/imap.c:1604:52: note: Parameter 'item' can be declared as pointer to const libsylph-1.1.0/libsylph/imap.c:2087:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:2620:60: style: Parameter 'ns_list' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/imap.c:2663:17: style: Variable 'namespace' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:2869:71: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/imap.c:2993:10: style: Variable 'seq_set' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:3428:9: style: Variable 'resp_str' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:3547:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:3591:9: style: Variable 'cur_pos' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:3668:9: style: Variable 'resp_str' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:3820:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:3973:65: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/imap.c:3988:57: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/imap.c:4204:54: style: Parameter 'msglist' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/imap.c:4282:19: style: Variable 'q' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:4334:48: style: Parameter 'node' can be declared as pointer to const. However it seems that 'imap_rename_folder_func' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/imap.c:2225:4: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/imap.c:4334:48: note: Parameter 'node' can be declared as pointer to const libsylph-1.1.0/libsylph/imap.c:4340:9: style: Variable 'base' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/imap.c:2904:9: style: Variable 'msgnum' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/imap.c:4194:13: style: Variable 'in_escape' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/procheader.c:723:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/procheader.c:870:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/procheader.c:872:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libsylph-1.1.0/libsylph/procheader.c:255:58: style: Parameter 'msginfo' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/procheader.c:312:10: style: Variable 'header' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procheader.c:400:22: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procheader.c:866:13: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procheader.c:867:9: style: Variable 'default_format' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/quoted-printable.c:122:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmsg.c:124:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmsg.c:294:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable perm_flags [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmsg.c:386:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable perm_flags [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmsg.c:807:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmsg.c:1172:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmsg.c:1343:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmsg.c:306:12: style: Variable 'flags' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procmsg.c:460:11: style: Variable 'msginfo' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procmsg.c:577:55: style: Parameter 'mlist' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/procmsg.c:580:14: style: Variable 'prev_item' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procmsg.c:975:11: style: Variable 'msginfo' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procmsg.c:1228:14: style: Variable 'trash' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procmsg.c:1533:41: style: Parameter 'msginfo_a' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/procmsg.c:1533:61: style: Parameter 'msginfo_b' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/procmsg.c:1634:1: warning: Expression 'cmp_func_sort_type==SORT_ASCENDING?1:-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] libsylph-1.1.0/libsylph/procmsg.c:1315:11: style: Variable 'num' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/quoted-printable.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] libsylph-1.1.0/libsylph/recv.c:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/recv.c:106:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/recv.c:181:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/recv.c:212:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:398:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_OUT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:429:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:453:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_OUT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:489:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:512:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:531:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:551:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:639:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:754:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:933:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:980:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:1018:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_OUT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:1048:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_OUT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/procmime.c:356:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/procmime.c:1268:10: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] libsylph-1.1.0/libsylph/procmime.c:1354:13: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] libsylph-1.1.0/libsylph/procmime.c:1358:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/procmime.c:207:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procmime.c:208:9: style: Variable 'boundary' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procmime.c:758:15: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procmime.c:801:9: style: Variable 'boundary' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/procmime.c:1338:12: style: Variable 'mime_type' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/smtp.c:388:9: style: Variable 'to' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/socket.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:255:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:389:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:430:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:509:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:571:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:649:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:690:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:792:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:1281:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:1334:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_OUT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:1423:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:1450:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/socket.c:1611:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/session.c:218:40: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/session.c:547:9: style: Variable 'newline' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/session.c:821:18: style: Variable 'data_begin_p' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/session.c:1085:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/stringtable.c:125:56: style: Parameter 'key' can be declared as pointer to const. However it seems that 'string_table_remove_for_each_fn' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/stringtable.c:142:18: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/stringtable.c:125:56: note: Parameter 'key' can be declared as pointer to const libsylph-1.1.0/libsylph/stringtable.c:148:51: style: Parameter 'key' can be declared as pointer to const. However it seems that 'string_table_stats_for_each_fn' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/stringtable.c:161:17: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/stringtable.c:148:51: note: Parameter 'key' can be declared as pointer to const libsylph-1.1.0/libsylph/stringtable.c:148:69: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'string_table_stats_for_each_fn' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/stringtable.c:161:17: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/stringtable.c:148:69: note: Parameter 'entry' can be declared as pointer to const libsylph-1.1.0/libsylph/socket.c:644:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] libsylph-1.1.0/libsylph/socket.c:693:6: style: Condition '!my_inet_aton(hostname,&ad.sin_addr)' is always true [knownConditionTrueFalse] libsylph-1.1.0/libsylph/socket.c:693:19: note: Calling function 'my_inet_aton' returns 0 libsylph-1.1.0/libsylph/socket.c:693:6: note: Condition '!my_inet_aton(hostname,&ad.sin_addr)' is always true libsylph-1.1.0/libsylph/socket.c:214:3: error: Resource leak: sock [resourceLeak] libsylph-1.1.0/libsylph/socket.c:244:3: error: Resource leak: sock [resourceLeak] libsylph-1.1.0/libsylph/socket.c:788:3: error: Resource leak: sock [resourceLeak] libsylph-1.1.0/libsylph/socket.c:1276:19: style:inconclusive: Function 'fd_read' argument 1 names different: declaration 'sock' definition 'fd'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/socket.h:114:21: note: Function 'fd_read' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1276:19: note: Function 'fd_read' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1329:20: style:inconclusive: Function 'fd_write' argument 1 names different: declaration 'sock' definition 'fd'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/socket.h:115:22: note: Function 'fd_write' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1329:20: note: Function 'fd_write' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1384:24: style:inconclusive: Function 'fd_write_all' argument 1 names different: declaration 'sock' definition 'fd'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/socket.h:116:25: note: Function 'fd_write_all' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1384:24: note: Function 'fd_write_all' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1442:19: style:inconclusive: Function 'fd_gets' argument 1 names different: declaration 'sock' definition 'fd'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/socket.h:117:21: note: Function 'fd_gets' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1442:19: note: Function 'fd_gets' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1499:22: style:inconclusive: Function 'fd_getline' argument 1 names different: declaration 'sock' definition 'fd'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/socket.h:118:24: note: Function 'fd_getline' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1499:22: note: Function 'fd_getline' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1644:20: style:inconclusive: Function 'fd_close' argument 1 names different: declaration 'sock' definition 'fd'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/socket.h:119:22: note: Function 'fd_close' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:1644:20: note: Function 'fd_close' argument 1 names different: declaration 'sock' definition 'fd'. libsylph-1.1.0/libsylph/socket.c:440:45: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/socket.c:451:39: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/socket.c:663:65: style: Parameter 'inp' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/socket.c:686:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/socket.c:1265:26: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/socket.c:1318:27: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/socket.c:1373:31: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/socket.c:1444:9: style: Variable 'newline' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/socket.c:1488:26: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/socket.c:1551:29: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/socket.c:1603:26: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/socket.c:79:7: style: struct member '_SockConnectData::id' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:80:9: style: struct member '_SockConnectData::hostname' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:81:10: style: struct member '_SockConnectData::port' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:82:9: style: struct member '_SockConnectData::addr_list' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:83:9: style: struct member '_SockConnectData::cur_addr' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:84:18: style: struct member '_SockConnectData::lookup_data' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:85:14: style: struct member '_SockConnectData::channel' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:86:8: style: struct member '_SockConnectData::io_tag' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:87:18: style: struct member '_SockConnectData::func' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:92:9: style: struct member '_SockLookupData::hostname' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:93:8: style: struct member '_SockLookupData::child_pid' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:94:14: style: struct member '_SockLookupData::channel' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:95:8: style: struct member '_SockLookupData::io_tag' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:96:15: style: struct member '_SockLookupData::func' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:101:7: style: struct member '_SockAddrData::family' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:102:7: style: struct member '_SockAddrData::socktype' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:103:7: style: struct member '_SockAddrData::protocol' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:104:7: style: struct member '_SockAddrData::addr_len' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/socket.c:105:19: style: struct member '_SockAddrData::addr' is never used. [unusedStructMember] libsylph-1.1.0/libsylph/unmime.c:109:8: style: Variable 'len' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/sylmain.c:75:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/virtual.c:226:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/virtual.c:466:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/xml.c:499:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:320:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:1372:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:1429:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:1487:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:1590:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_utf8_skip [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:1617:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_utf8_skip [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:1961:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2046:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2059:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2085:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2096:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2107:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2118:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2129:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2141:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2183:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2197:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2252:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2269:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2277:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2289:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2301:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2312:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2330:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2345:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/xml.c:336:10: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:2375:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/xml.c:407:10: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:2414:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/xml.c:473:33: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/utils.c:2465:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/xml.c:482:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:2517:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/xml.c:483:9: style: Variable 'esc_str' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:2595:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/xml.c:564:43: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/utils.c:2645:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/xml.c:574:12: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:2739:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/xml.c:600:38: style: Parameter 'node' can be declared as pointer to const. However it seems that 'xml_free_func' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/xml.c:612:57: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/xml.c:600:38: note: Parameter 'node' can be declared as pointer to const libsylph-1.1.0/libsylph/utils.c:2762:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXDEV [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2779:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2877:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:2998:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:3050:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:3181:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:3255:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:3372:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:3497:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:3524:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:3555:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:3589:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:3603:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/utils.c:4091:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsylph-1.1.0/libsylph/xml.c:172:12: style: Variable 'bufp' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/virtual.c:523:12: style: Variable 'msginfo' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/virtual.c:542:41: style: Parameter 'folder' can be declared as pointer to const. However it seems that 'virtual_fetch_msg' is a callback function, if 'folder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/virtual.c:125:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/virtual.c:542:41: note: Parameter 'folder' can be declared as pointer to const libsylph-1.1.0/libsylph/virtual.c:542:61: style: Parameter 'item' can be declared as pointer to const. However it seems that 'virtual_fetch_msg' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/virtual.c:125:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/virtual.c:542:61: note: Parameter 'item' can be declared as pointer to const libsylph-1.1.0/libsylph/virtual.c:547:45: style: Parameter 'folder' can be declared as pointer to const. However it seems that 'virtual_get_msginfo' is a callback function, if 'folder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/virtual.c:126:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/virtual.c:547:45: note: Parameter 'folder' can be declared as pointer to const libsylph-1.1.0/libsylph/virtual.c:547:65: style: Parameter 'item' can be declared as pointer to const. However it seems that 'virtual_get_msginfo' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/virtual.c:126:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/virtual.c:547:65: note: Parameter 'item' can be declared as pointer to const libsylph-1.1.0/libsylph/virtual.c:552:35: style: Parameter 'folder' can be declared as pointer to const. However it seems that 'virtual_close' is a callback function, if 'folder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/virtual.c:137:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/virtual.c:552:35: note: Parameter 'folder' can be declared as pointer to const libsylph-1.1.0/libsylph/virtual.c:552:55: style: Parameter 'item' can be declared as pointer to const. However it seems that 'virtual_close' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/virtual.c:137:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/virtual.c:552:55: note: Parameter 'item' can be declared as pointer to const libsylph-1.1.0/libsylph/virtual.c:557:41: style: Parameter 'folder' can be declared as pointer to const. However it seems that 'virtual_scan_folder' is a callback function, if 'folder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/virtual.c:138:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/virtual.c:557:41: note: Parameter 'folder' can be declared as pointer to const libsylph-1.1.0/libsylph/virtual.c:557:61: style: Parameter 'item' can be declared as pointer to const. However it seems that 'virtual_scan_folder' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsylph-1.1.0/libsylph/virtual.c:138:2: note: You might need to cast the function pointer here libsylph-1.1.0/libsylph/virtual.c:557:61: note: Parameter 'item' can be declared as pointer to const libsylph-1.1.0/libsylph/utils.c:516:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:517:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:533:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:534:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:916:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:917:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:958:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:1034:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:1600:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:1875:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:3493:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] libsylph-1.1.0/libsylph/utils.c:3951:8: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] libsylph-1.1.0/libsylph/utils.c:3954:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libsylph-1.1.0/libsylph/utils.c:3984:8: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] libsylph-1.1.0/libsylph/utils.c:3987:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libsylph-1.1.0/libsylph/utils.c:4022:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libsylph-1.1.0/libsylph/utils.c:4024:9: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] libsylph-1.1.0/libsylph/utils.c:4182:46: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libsylph-1.1.0/libsylph/utils.c:4199:45: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libsylph-1.1.0/libsylph/utils.c:4222:45: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libsylph-1.1.0/libsylph/utils.c:4246:45: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libsylph-1.1.0/libsylph/utils.c:4269:45: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libsylph-1.1.0/libsylph/utils.c:2902:38: style: Condition 'buf[len-1]=='\n'' is always true [knownConditionTrueFalse] libsylph-1.1.0/libsylph/utils.c:2899:20: note: Assuming that condition 'buf[len-1]!='\n'' is not redundant libsylph-1.1.0/libsylph/utils.c:2902:38: note: Condition 'buf[len-1]=='\n'' is always true libsylph-1.1.0/libsylph/utils.c:2991:38: style: Condition 'buf[len-1]=='\n'' is always true [knownConditionTrueFalse] libsylph-1.1.0/libsylph/utils.c:2987:20: note: Assuming that condition 'buf[len-1]!='\n'' is not redundant libsylph-1.1.0/libsylph/utils.c:2991:38: note: Condition 'buf[len-1]=='\n'' is always true libsylph-1.1.0/libsylph/utils.c:3509:3: error: Resource handle 'fd' freed twice. [doubleFree] libsylph-1.1.0/libsylph/utils.c:3507:7: note: Resource handle 'fd' freed twice. libsylph-1.1.0/libsylph/utils.c:3509:3: note: Resource handle 'fd' freed twice. libsylph-1.1.0/libsylph/utils.c:637:15: style: Variable 'srcp' is reassigned a value before the old one has been used. [redundantAssignment] libsylph-1.1.0/libsylph/utils.c:635:7: note: srcp is assigned libsylph-1.1.0/libsylph/utils.c:637:15: note: srcp is overwritten libsylph-1.1.0/libsylph/utils.c:696:15: style: Variable 'srcp' is reassigned a value before the old one has been used. [redundantAssignment] libsylph-1.1.0/libsylph/utils.c:694:7: note: srcp is assigned libsylph-1.1.0/libsylph/utils.c:696:15: note: srcp is overwritten libsylph-1.1.0/libsylph/utils.c:789:7: style: Variable 'srcp' is reassigned a value before the old one has been used. [redundantAssignment] libsylph-1.1.0/libsylph/utils.c:772:7: note: srcp is assigned libsylph-1.1.0/libsylph/utils.c:789:7: note: srcp is overwritten libsylph-1.1.0/libsylph/utils.c:1836:9: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] libsylph-1.1.0/libsylph/utils.c:1831:17: note: p is initialized libsylph-1.1.0/libsylph/utils.c:1836:9: note: p is overwritten libsylph-1.1.0/libsylph/utils.c:1856:9: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] libsylph-1.1.0/libsylph/utils.c:1851:17: note: p is initialized libsylph-1.1.0/libsylph/utils.c:1856:9: note: p is overwritten libsylph-1.1.0/libsylph/utils.c:3122:9: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] libsylph-1.1.0/libsylph/utils.c:3118:17: note: p is initialized libsylph-1.1.0/libsylph/utils.c:3122:9: note: p is overwritten libsylph-1.1.0/libsylph/utils.c:2968:38: style:inconclusive: Function 'canonicalize_file_stream' argument 1 names different: declaration 'fp' definition 'src_fp'. [funcArgNamesDifferent] libsylph-1.1.0/libsylph/utils.h:437:40: note: Function 'canonicalize_file_stream' argument 1 names different: declaration 'fp' definition 'src_fp'. libsylph-1.1.0/libsylph/utils.c:2968:38: note: Function 'canonicalize_file_stream' argument 1 names different: declaration 'fp' definition 'src_fp'. libsylph-1.1.0/libsylph/utils.c:659:18: style: Variable 'srcp' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:748:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/utils.c:859:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:1140:37: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/utils.c:1481:15: style: Variable 'tmpp' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:1580:9: style: Variable 'new_str' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:1890:10: style: Variable 'field' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:2280:48: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/utils.c:2292:45: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/utils.c:3946:29: style: Parameter 'now' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/utils.c:3948:18: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:3948:24: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:3977:25: style: Parameter 'now' can be declared as pointer to const [constParameterPointer] libsylph-1.1.0/libsylph/utils.c:3980:18: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:3980:24: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:4016:13: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] libsylph-1.1.0/libsylph/utils.c:611:7: style: Variable 'srcp' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/utils.c:722:7: style: Variable 'srcp' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/utils.c:867:12: style: Variable 'addr' is assigned a value that is never used. [unreadVariable] libsylph-1.1.0/libsylph/utils.c:1401:10: style: Variable 's_op' is assigned a value that is never used. [unreadVariable] diff: 2.17.0 libsylph-1.1.0/libsylph/account.c:59:20: warning: If memory allocation fails, then there is a possible null pointer dereference: rcpath [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/account.c:58:22: note: Assuming allocation function fails libsylph-1.1.0/libsylph/account.c:58:22: note: Assignment 'rcpath=g_strconcat(get_rc_dir(),G_DIR_SEPARATOR_S,"accountrc",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/account.c:59:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/codeconv.c:1064:10: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/codeconv.c:1259:19: note: Assuming allocation function fails libsylph-1.1.0/libsylph/codeconv.c:1259:19: note: Assignment 'outbuf=g_strdup(inbuf)', assigned value is 0 libsylph-1.1.0/libsylph/codeconv.c:1260:23: note: Calling function 'conv_unreadable_8bit', 1st argument 'outbuf' value is 0 libsylph-1.1.0/libsylph/codeconv.c:1062:22: note: Assignment 'p=str', assigned value is 0 libsylph-1.1.0/libsylph/codeconv.c:1064:10: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/codeconv.c:2257:26: warning: If memory allocation fails, then there is a possible null pointer dereference: out_str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/codeconv.c:2254:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/codeconv.c:2254:24: note: Assignment 'out_str=g_strdup(part_str)', assigned value is 0 libsylph-1.1.0/libsylph/codeconv.c:2257:26: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/codeconv.c:2295:26: warning: If memory allocation fails, then there is a possible null pointer dereference: out_str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/codeconv.c:2292:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/codeconv.c:2292:24: note: Assignment 'out_str=g_strdup(part_str)', assigned value is 0 libsylph-1.1.0/libsylph/codeconv.c:2295:26: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/codeconv.c:2418:31: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/codeconv.c:2416:23: note: Assuming allocation function fails libsylph-1.1.0/libsylph/codeconv.c:2416:23: note: Assignment 'string=g_string_new(NULL)', assigned value is 0 libsylph-1.1.0/libsylph/codeconv.c:2418:31: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/compose.c:1380:22: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/compose.c:1368:19: note: Assuming allocation function fails libsylph-1.1.0/libsylph/compose.c:1368:19: note: Assignment 'addr=g_strdup(compose->account->address)', assigned value is 0 libsylph-1.1.0/libsylph/compose.c:1380:22: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/compose.c:304:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new_ref [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/compose.c:302:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/compose.c:302:24: note: Assignment 'new_ref=g_string_new("")', assigned value is 0 libsylph-1.1.0/libsylph/compose.c:304:7: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/compose.c:306:21: warning: If memory allocation fails, then there is a possible null pointer dereference: new_ref [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/compose.c:302:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/compose.c:302:24: note: Assignment 'new_ref=g_string_new("")', assigned value is 0 libsylph-1.1.0/libsylph/compose.c:306:21: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/compose.c:312:16: warning: If memory allocation fails, then there is a possible null pointer dereference: new_ref [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/compose.c:302:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/compose.c:302:24: note: Assignment 'new_ref=g_string_new("")', assigned value is 0 libsylph-1.1.0/libsylph/compose.c:312:16: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/compose.c:728:20: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/compose.c:726:23: note: Assuming allocation function fails libsylph-1.1.0/libsylph/compose.c:726:23: note: Assignment 'tmp=g_strdup_printf("%s%cqueue.%p",get_tmp_dir(),G_DIR_SEPARATOR,compose)', assigned value is 0 libsylph-1.1.0/libsylph/compose.c:728:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/customheader.c:49:20: warning: If memory allocation fails, then there is a possible null pointer dereference: rcpath [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/customheader.c:47:22: note: Assuming allocation function fails libsylph-1.1.0/libsylph/customheader.c:47:22: note: Assignment 'rcpath=g_strconcat(get_rc_dir(),G_DIR_SEPARATOR_S,"customheaderrc",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/customheader.c:49:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/customheader.c:94:20: warning: If memory allocation fails, then there is a possible null pointer dereference: rcpath [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/customheader.c:91:22: note: Assuming allocation function fails libsylph-1.1.0/libsylph/customheader.c:91:22: note: Assignment 'rcpath=g_strconcat(get_rc_dir(),G_DIR_SEPARATOR_S,"customheaderrc",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/customheader.c:94:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/folder.c:530:21: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/folder.c:503:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/folder.c:503:20: note: Assignment 'str=g_string_new(NULL)', assigned value is 0 libsylph-1.1.0/libsylph/folder.c:530:21: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/folder.c:532:21: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/folder.c:503:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/folder.c:503:20: note: Assignment 'str=g_string_new(NULL)', assigned value is 0 libsylph-1.1.0/libsylph/folder.c:532:21: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/folder.c:534:8: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/folder.c:503:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/folder.c:503:20: note: Assignment 'str=g_string_new(NULL)', assigned value is 0 libsylph-1.1.0/libsylph/folder.c:534:8: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/folder.c:872:27: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/folder.c:870:19: note: Assuming allocation function fails libsylph-1.1.0/libsylph/folder.c:870:19: note: Assignment 'path=g_strdup(((struct LocalFolder*)folder)->rootpath)', assigned value is 0 libsylph-1.1.0/libsylph/folder.c:872:27: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/html.c:198:23: warning: If memory allocation fails, then there is a possible null pointer dereference: parser->buf [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/html.c:197:28: note: Assuming allocation function fails libsylph-1.1.0/libsylph/html.c:197:28: note: Assignment 'parser->buf=g_string_new(NULL)', assigned value is 0 libsylph-1.1.0/libsylph/html.c:198:23: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:1762:2: warning: If memory allocation fails, then there is a possible null pointer dereference: real_path [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:1759:23: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:1759:23: note: Assignment 'real_path=g_strdup("")', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:1762:2: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:2183:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: name_ [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:2176:31: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:2176:31: note: Assignment 'name_=g_path_get_basename(item->path)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:2183:4: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:2422:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:2418:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:2418:24: note: Assignment 'file=g_strdup_printf("%s%c%u",dir,G_DIR_SEPARATOR,uid)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:2422:11: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:3050:43: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:3048:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:3048:20: note: Assignment 'str=g_string_new(NULL)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:3050:43: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:3051:47: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:3048:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:3048:20: note: Assignment 'str=g_string_new(NULL)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:3051:47: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:3052:46: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:3048:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:3048:20: note: Assignment 'str=g_string_new(NULL)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:3052:46: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:3053:46: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:3048:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:3048:20: note: Assignment 'str=g_string_new(NULL)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:3053:46: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:3296:32: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: response [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:3294:28: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:3294:28: note: Assignment 'response=g_strdup_printf("%s %s",user,hexdigest)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:3296:32: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:3297:55: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: response [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:3294:28: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:3294:28: note: Assignment 'response=g_strdup_printf("%s %s",user,hexdigest)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:3297:55: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:3828:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:3825:26: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:3825:26: note: Assignment 'str=g_string_sized_new(256)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:3828:19: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:3860:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:3825:26: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:3825:26: note: Assignment 'str=g_string_sized_new(256)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:3830:10: note: Assuming condition is false libsylph-1.1.0/libsylph/imap.c:3860:7: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/imap.c:4286:10: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/imap.c:4284:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/imap.c:4284:8: note: Assignment 'p=q=tmp=g_strdup(seq_set)', assigned value is 0 libsylph-1.1.0/libsylph/imap.c:4286:10: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/mbox.c:127:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rpath [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/mbox.c:122:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/mbox.c:122:20: note: Assignment 'rpath=g_strdup(startp)', assigned value is 0 libsylph-1.1.0/libsylph/mbox.c:127:28: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/mbox.c:339:16: warning: If memory allocation fails, then there is a possible null pointer dereference: lockfile [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/mbox.c:338:25: note: Assuming allocation function fails libsylph-1.1.0/libsylph/mbox.c:338:25: note: Assignment 'lockfile=g_strconcat(base,".lock",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/mbox.c:339:16: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/mh.c:1437:15: warning: If memory allocation fails, then there is a possible null pointer dereference: fs_path [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/mh.c:1428:21: note: Assuming allocation function fails libsylph-1.1.0/libsylph/mh.c:1428:21: note: Assignment 'fs_path=g_strdup(item->path)', assigned value is 0 libsylph-1.1.0/libsylph/mh.c:1437:15: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/news.c:536:20: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/news.c:533:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/news.c:533:24: note: Assignment 'filename=g_strconcat(path,G_DIR_SEPARATOR_S,".newsgroup_list",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/news.c:536:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/pop.c:176:50: warning: If memory allocation fails, then there is a possible null pointer dereference: apop_str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/pop.c:175:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/pop.c:175:24: note: Assignment 'apop_str=g_strconcat(start,session->pass,NULL)', assigned value is 0 libsylph-1.1.0/libsylph/pop.c:176:50: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/pop.c:483:20: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/pop.c:479:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/pop.c:479:20: note: Assignment 'path=g_strconcat(get_rc_dir(),G_DIR_SEPARATOR_S,"uidl",G_DIR_SEPARATOR_S,ac_prefs->recv_server,"-",uid,NULL)', assigned value is 0 libsylph-1.1.0/libsylph/pop.c:483:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/prefs.c:100:6: warning: If memory allocation fails, then there is a possible null pointer dereference: conv_str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/prefs.c:98:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/prefs.c:98:24: note: Assignment 'conv_str=g_strdup(buf)', assigned value is 0 libsylph-1.1.0/libsylph/prefs.c:100:6: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/prefs.c:103:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: block_label [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/prefs.c:86:31: note: Assuming allocation function fails libsylph-1.1.0/libsylph/prefs.c:86:31: note: Assignment 'block_label=g_strdup_printf("[%s]",label)', assigned value is 0 libsylph-1.1.0/libsylph/prefs.c:103:23: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/prefs.c:146:10: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/prefs.c:125:24: note: Assuming allocation function fails libsylph-1.1.0/libsylph/prefs.c:125:24: note: Assignment 'conv_str=g_strdup(buf)', assigned value is 0 libsylph-1.1.0/libsylph/prefs.c:126:45: note: Calling function 'prefs_config_parse_one_line', 2nd argument 'conv_str' value is 0 libsylph-1.1.0/libsylph/prefs.c:142:19: note: Assignment 'p=buf', assigned value is 0 libsylph-1.1.0/libsylph/prefs.c:146:10: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/prefs.c:219:25: warning: If memory allocation fails, then there is a possible null pointer dereference: rcpath [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/prefs.c:218:22: note: Assuming allocation function fails libsylph-1.1.0/libsylph/prefs.c:218:22: note: Assignment 'rcpath=g_strconcat(get_rc_dir(),G_DIR_SEPARATOR_S,rcfile,NULL)', assigned value is 0 libsylph-1.1.0/libsylph/prefs.c:219:25: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/prefs.c:247:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: block_label [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/prefs.c:230:31: note: Assuming allocation function fails libsylph-1.1.0/libsylph/prefs.c:230:31: note: Assignment 'block_label=g_strdup_printf("[%s]",label)', assigned value is 0 libsylph-1.1.0/libsylph/prefs.c:247:2: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/prefs.c:327:20: warning: If memory allocation fails, then there is a possible null pointer dereference: tmppath [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/prefs.c:326:23: note: Assuming allocation function fails libsylph-1.1.0/libsylph/prefs.c:326:23: note: Assignment 'tmppath=g_strconcat(path,".tmp",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/prefs.c:327:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/prefs.c:402:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmppath [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/prefs.c:400:23: note: Assuming allocation function fails libsylph-1.1.0/libsylph/prefs.c:400:23: note: Assignment 'tmppath=g_strconcat(pfile->path,".tmp",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/prefs.c:402:15: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/prefs_common.c:431:20: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/prefs_common.c:429:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/prefs_common.c:429:20: note: Assignment 'path=g_strconcat(get_rc_dir(),G_DIR_SEPARATOR_S,"command_history",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/prefs_common.c:431:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/prefs_common.c:459:20: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/prefs_common.c:457:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/prefs_common.c:457:20: note: Assignment 'path=g_strconcat(get_rc_dir(),G_DIR_SEPARATOR_S,"command_history",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/prefs_common.c:459:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/procmime.c:1419:15: warning: If memory allocation fails, then there is a possible null pointer dereference: exts [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/procmime.c:1418:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/procmime.c:1418:20: note: Assignment 'exts=g_strsplit(mime_type->extension," ",16)', assigned value is 0 libsylph-1.1.0/libsylph/procmime.c:1419:15: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/procmime.c:1421:14: warning: If memory allocation fails, then there is a possible null pointer dereference: exts [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/procmime.c:1418:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/procmime.c:1418:20: note: Assignment 'exts=g_strsplit(mime_type->extension," ",16)', assigned value is 0 libsylph-1.1.0/libsylph/procmime.c:1421:14: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/procmime.c:1423:35: warning: If memory allocation fails, then there is a possible null pointer dereference: exts [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/procmime.c:1418:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/procmime.c:1418:20: note: Assignment 'exts=g_strsplit(mime_type->extension," ",16)', assigned value is 0 libsylph-1.1.0/libsylph/procmime.c:1423:35: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/procmime.c:1444:20: warning: If memory allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/procmime.c:1396:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/procmime.c:1396:20: note: Assignment 'dir=g_strconcat(get_rc_dir(),G_DIR_SEPARATOR_S,"mime.types",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/procmime.c:1398:38: note: Calling function 'procmime_get_mime_type_list', 1st argument 'dir' value is 0 libsylph-1.1.0/libsylph/procmime.c:1444:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/procmime.c:1493:20: warning: If memory allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/procmime.c:1561:21: note: Assuming allocation function fails libsylph-1.1.0/libsylph/procmime.c:1561:21: note: Assignment 'path=g_strconcat(get_rc_dir(),G_DIR_SEPARATOR_S,"mailcap",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/procmime.c:1563:41: note: Calling function 'procmime_parse_mailcap', 1st argument 'path' value is 0 libsylph-1.1.0/libsylph/procmime.c:1493:20: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/procmime.c:517:8: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/procmime.c:515:19: note: Assuming allocation function fails libsylph-1.1.0/libsylph/procmime.c:515:19: note: Assignment 'name=g_strndup(p,eq-p)', assigned value is 0 libsylph-1.1.0/libsylph/procmime.c:517:8: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/procmime.c:546:8: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/procmime.c:544:19: note: Assuming allocation function fails libsylph-1.1.0/libsylph/procmime.c:544:19: note: Assignment 'value=g_strdup(param+(eq-p)+1)', assigned value is 0 libsylph-1.1.0/libsylph/procmime.c:546:8: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/procmsg.c:1345:22: warning: If memory allocation fails, then there is a possible null pointer dereference: prtmp [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/procmsg.c:1342:25: note: Assuming allocation function fails libsylph-1.1.0/libsylph/procmsg.c:1342:25: note: Assignment 'prtmp=g_strdup_printf("%s%cprinttmp-%08x.txt",get_mime_tmp_dir(),G_DIR_SEPARATOR,id++)', assigned value is 0 libsylph-1.1.0/libsylph/procmsg.c:1345:22: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/smtp.c:210:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: response [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/smtp.c:207:5: note: Assuming allocation function fails libsylph-1.1.0/libsylph/smtp.c:207:5: note: Assignment 'response=g_strdup_printf("%s %s",session->user,hexdigest)', assigned value is 0 libsylph-1.1.0/libsylph/smtp.c:210:34: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/smtp.c:212:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: response [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/smtp.c:207:5: note: Assuming allocation function fails libsylph-1.1.0/libsylph/smtp.c:207:5: note: Assignment 'response=g_strdup_printf("%s %s",session->user,hexdigest)', assigned value is 0 libsylph-1.1.0/libsylph/smtp.c:212:18: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/utils.c:1005:8: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: msgid [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/utils.c:1003:20: note: Assuming allocation function fails libsylph-1.1.0/libsylph/utils.c:1003:20: note: Assignment 'msgid=g_strndup(start+1,end-start-1)', assigned value is 0 libsylph-1.1.0/libsylph/utils.c:1005:8: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/utils.c:1189:45: warning: If memory allocation fails, then there is a possible null pointer dereference: base [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/utils.c:1188:19: note: Assuming allocation function fails libsylph-1.1.0/libsylph/utils.c:1188:19: note: Assignment 'base=g_strndup(filename,ext-filename)', assigned value is 0 libsylph-1.1.0/libsylph/utils.c:1189:45: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/utils.c:1439:8: warning: If memory allocation fails, then there is a possible null pointer dereference: new_str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/utils.c:1437:23: note: Assuming allocation function fails libsylph-1.1.0/libsylph/utils.c:1437:23: note: Assignment 'new_str=g_strndup(str,len)', assigned value is 0 libsylph-1.1.0/libsylph/utils.c:1439:8: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/utils.c:1454:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new_str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/utils.c:1453:21: note: Assuming allocation function fails libsylph-1.1.0/libsylph/utils.c:1453:21: note: Assignment 'new_str=g_strdup(str)', assigned value is 0 libsylph-1.1.0/libsylph/utils.c:1454:7: note: Null pointer dereference head libsylph-1.1.0/libsylph/utils.c:2280:48: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] head libsylph-1.1.0/libsylph/utils.c:2292:45: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] 2.17.0 libsylph-1.1.0/libsylph/utils.c:2319:23: warning: If memory allocation fails, then there is a possible null pointer dereference: cwd [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/utils.c:2318:26: note: Assuming allocation function fails libsylph-1.1.0/libsylph/utils.c:2318:26: note: Assignment 'cwd=g_get_current_dir()', assigned value is 0 libsylph-1.1.0/libsylph/utils.c:2319:23: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/utils.c:2347:8: warning: If memory allocation fails, then there is a possible null pointer dereference: parent_dir [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/utils.c:2346:25: note: Assuming allocation function fails libsylph-1.1.0/libsylph/utils.c:2346:25: note: Assignment 'parent_dir=g_strndup(dir,p-dir)', assigned value is 0 libsylph-1.1.0/libsylph/utils.c:2347:8: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/utils.c:2631:27: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/utils.c:2651:25: note: Assuming allocation function fails libsylph-1.1.0/libsylph/utils.c:2651:25: note: Assignment 'dest_bak=g_strconcat(dest,".bak",NULL)', assigned value is 0 libsylph-1.1.0/libsylph/utils.c:2652:26: note: Calling function 'rename_force', 2nd argument 'dest_bak' value is 0 libsylph-1.1.0/libsylph/utils.c:2631:27: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/xml.c:364:6: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/xml.c:356:17: note: Assuming allocation function fails libsylph-1.1.0/libsylph/xml.c:356:17: note: Assignment 'str=g_strndup(file->bufp,end-file->bufp)', assigned value is 0 libsylph-1.1.0/libsylph/xml.c:364:6: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/xml.c:487:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/xml.c:356:17: note: Assuming allocation function fails libsylph-1.1.0/libsylph/xml.c:356:17: note: Assignment 'str=g_strndup(file->bufp,end-file->bufp)', assigned value is 0 libsylph-1.1.0/libsylph/xml.c:359:19: note: Calling function 'xml_unescape_str', 1st argument 'str' value is 0 libsylph-1.1.0/libsylph/xml.c:482:13: note: Assignment 'p=str', assigned value is 0 libsylph-1.1.0/libsylph/xml.c:487:25: note: Null pointer dereference 2.17.0 libsylph-1.1.0/libsylph/xml.c:83:25: warning: If memory allocation fails, then there is a possible null pointer dereference: newfile->buf [nullPointerOutOfMemory] libsylph-1.1.0/libsylph/xml.c:82:29: note: Assuming allocation function fails libsylph-1.1.0/libsylph/xml.c:82:29: note: Assignment 'newfile->buf=g_string_new(NULL)', assigned value is 0 libsylph-1.1.0/libsylph/xml.c:83:25: note: Null pointer dereference DONE