2025-05-06 11:00 ftp://ftp.de.debian.org/debian/pool/main/m/msmtp/msmtp_1.8.28.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -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: ca3f092 (2025-05-06 12:26:46 +0200) count: 268 268 elapsed-time: 2.7 2.8 head-timing-info: old-timing-info: head results: msmtp-1.8.28/src/aliases.c:255:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/conf.c:271:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/conf.c:312:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable from [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/conf.c:380:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/conf.c:901:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/conf.c:2194:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/aliases.c:159:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] msmtp-1.8.28/src/aliases.c:158:28: note: Assuming allocation function fails msmtp-1.8.28/src/aliases.c:158:28: note: Assignment 'entry=xmalloc(sizeof(struct alias_t))', assigned value is 0 msmtp-1.8.28/src/aliases.c:159:13: note: Null pointer dereference msmtp-1.8.28/src/aliases.c:160:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] msmtp-1.8.28/src/aliases.c:158:28: note: Assuming allocation function fails msmtp-1.8.28/src/aliases.c:158:28: note: Assignment 'entry=xmalloc(sizeof(struct alias_t))', assigned value is 0 msmtp-1.8.28/src/aliases.c:160:13: note: Null pointer dereference msmtp-1.8.28/src/aliases.c:161:25: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] msmtp-1.8.28/src/aliases.c:158:28: note: Assuming allocation function fails msmtp-1.8.28/src/aliases.c:158:28: note: Assignment 'entry=xmalloc(sizeof(struct alias_t))', assigned value is 0 msmtp-1.8.28/src/aliases.c:161:25: note: Null pointer dereference msmtp-1.8.28/src/aliases.c:130:14: style: Variable 'tokc' is reassigned a value before the old one has been used. [redundantAssignment] msmtp-1.8.28/src/aliases.c:127:14: note: tokc is assigned msmtp-1.8.28/src/aliases.c:130:14: note: tokc is overwritten msmtp-1.8.28/src/aliases.c:197:31: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] msmtp-1.8.28/src/eval.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/list.c:43:5: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] msmtp-1.8.28/src/list.c:41:19: note: Assuming allocation function fails msmtp-1.8.28/src/list.c:41:19: note: Assignment 'head=xmalloc(sizeof(struct list_t))', assigned value is 0 msmtp-1.8.28/src/list.c:43:5: note: Null pointer dereference msmtp-1.8.28/src/list.c:44:5: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] msmtp-1.8.28/src/list.c:41:19: note: Assuming allocation function fails msmtp-1.8.28/src/list.c:41:19: note: Assignment 'head=xmalloc(sizeof(struct list_t))', assigned value is 0 msmtp-1.8.28/src/list.c:44:5: note: Null pointer dereference msmtp-1.8.28/src/list.c:45:5: warning: If memory allocation fails, then there is a possible null pointer dereference: foot [nullPointerOutOfMemory] msmtp-1.8.28/src/list.c:42:19: note: Assuming allocation function fails msmtp-1.8.28/src/list.c:42:19: note: Assignment 'foot=xmalloc(sizeof(struct list_t))', assigned value is 0 msmtp-1.8.28/src/list.c:45:5: note: Null pointer dereference msmtp-1.8.28/src/list.c:46:5: warning: If memory allocation fails, then there is a possible null pointer dereference: foot [nullPointerOutOfMemory] msmtp-1.8.28/src/list.c:42:19: note: Assuming allocation function fails msmtp-1.8.28/src/list.c:42:19: note: Assignment 'foot=xmalloc(sizeof(struct list_t))', assigned value is 0 msmtp-1.8.28/src/list.c:46:5: note: Null pointer dereference msmtp-1.8.28/src/list.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] msmtp-1.8.28/src/list.c:96:16: note: Assuming allocation function fails msmtp-1.8.28/src/list.c:96:16: note: Assignment 't=xmalloc(sizeof(struct list_t))', assigned value is 0 msmtp-1.8.28/src/list.c:97:5: note: Null pointer dereference msmtp-1.8.28/src/list.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] msmtp-1.8.28/src/list.c:96:16: note: Assuming allocation function fails msmtp-1.8.28/src/list.c:96:16: note: Assignment 't=xmalloc(sizeof(struct list_t))', assigned value is 0 msmtp-1.8.28/src/list.c:98:5: note: Null pointer dereference msmtp-1.8.28/src/list.c:55:24: style:inconclusive: Function 'list_free' argument 1 names different: declaration 'head' definition 'l'. [funcArgNamesDifferent] msmtp-1.8.28/src/list.h:53:24: note: Function 'list_free' argument 1 names different: declaration 'head' definition 'l'. msmtp-1.8.28/src/list.c:55:24: note: Function 'list_free' argument 1 names different: declaration 'head' definition 'l'. msmtp-1.8.28/src/list.c:73:25: style:inconclusive: Function 'list_xfree' argument 1 names different: declaration 'head' definition 'l'. [funcArgNamesDifferent] msmtp-1.8.28/src/list.h:60:25: note: Function 'list_xfree' argument 1 names different: declaration 'head' definition 'l'. msmtp-1.8.28/src/list.c:73:25: note: Function 'list_xfree' argument 1 names different: declaration 'head' definition 'l'. msmtp-1.8.28/src/list.c:92:26: style:inconclusive: Function 'list_insert' argument 1 names different: declaration 'e' definition 'l'. [funcArgNamesDifferent] msmtp-1.8.28/src/list.h:65:26: note: Function 'list_insert' argument 1 names different: declaration 'e' definition 'l'. msmtp-1.8.28/src/list.c:92:26: note: Function 'list_insert' argument 1 names different: declaration 'e' definition 'l'. msmtp-1.8.28/src/list.c:107:26: style:inconclusive: Function 'list_remove' argument 1 names different: declaration 'e' definition 'l'. [funcArgNamesDifferent] msmtp-1.8.28/src/list.h:71:26: note: Function 'list_remove' argument 1 names different: declaration 'e' definition 'l'. msmtp-1.8.28/src/list.c:107:26: note: Function 'list_remove' argument 1 names different: declaration 'e' definition 'l'. msmtp-1.8.28/src/list.c:121:27: style:inconclusive: Function 'list_xremove' argument 1 names different: declaration 'e' definition 'l'. [funcArgNamesDifferent] msmtp-1.8.28/src/list.h:77:27: note: Function 'list_xremove' argument 1 names different: declaration 'e' definition 'l'. msmtp-1.8.28/src/list.c:121:27: note: Function 'list_xremove' argument 1 names different: declaration 'e' definition 'l'. msmtp-1.8.28/src/list.c:136:27: style:inconclusive: Function 'list_is_empty' argument 1 names different: declaration 'head' definition 'l'. [funcArgNamesDifferent] msmtp-1.8.28/src/list.h:83:27: note: Function 'list_is_empty' argument 1 names different: declaration 'head' definition 'l'. msmtp-1.8.28/src/list.c:136:27: note: Function 'list_is_empty' argument 1 names different: declaration 'head' definition 'l'. msmtp-1.8.28/src/md5-apps.c:76:32: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] msmtp-1.8.28/src/md5-apps.c:80:10: style: Variable 'hex' can be declared as const array [constVariable] msmtp-1.8.28/src/msgid.c:54:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msgid.c:68:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:68:17: note: Null pointer addition msmtp-1.8.28/src/msgid.c:70:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:70:17: note: Null pointer addition msmtp-1.8.28/src/msgid.c:72:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:72:17: note: Null pointer addition msmtp-1.8.28/src/msgid.c:74:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:74:17: note: Null pointer addition msmtp-1.8.28/src/conf.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:67:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:68:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:69:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:70:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:70:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:71:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:71:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:72:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:72:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:73:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:73:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:74:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:74:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:75:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:75:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:76:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:76:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:77:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:77:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:78:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:78:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:79:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:79:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:80:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:80:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:81:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:81:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:82:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:82:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:83:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:83:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:84:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:85:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:85:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:86:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:86:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:87:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:87:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:88:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:88:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:89:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:89:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:90:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:90:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:91:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:91:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:92:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:92:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:93:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:93:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:94:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:94:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:95:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:96:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:96:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:97:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:98:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:99:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:99:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:100:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:100:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:101:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:102:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:102:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:103:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:103:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:104:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:104:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:105:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:105:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:106:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:106:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:107:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:107:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:108:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:108:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:109:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:109:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:110:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:110:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:111:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:111:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:112:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:66:16: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:66:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:112:5: note: Null pointer dereference msmtp-1.8.28/src/conf.c:130:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:130:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:131:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:131:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:132:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:132:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:133:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:133:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:134:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:134:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:135:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:135:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:136:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:136:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:137:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:137:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:138:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:138:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:139:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:139:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:140:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:140:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:141:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:141:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:142:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:142:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:143:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:143:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:144:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:144:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:145:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:145:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:146:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:146:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:147:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:147:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:148:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:148:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:149:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:149:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:150:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:150:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:151:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:151:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:152:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:152:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:153:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:153:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:155:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:155:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:157:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:157:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:186:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:186:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:187:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:187:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:188:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:188:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:190:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:190:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:192:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:192:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:193:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:193:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:195:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:195:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:196:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:196:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:197:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:197:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:198:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:198:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:199:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:199:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:200:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:200:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:201:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:201:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:202:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:202:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:203:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:203:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:204:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:204:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:205:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:129:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:129:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 msmtp-1.8.28/src/conf.c:205:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:292:23: warning: If memory allocation fails, then there is a possible null pointer dereference: from [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:330:46: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:330:46: note: Assignment 'from_without_detail=xstrdup(from)', assigned value is 0 msmtp-1.8.28/src/conf.c:334:43: note: Calling function 'from_matches_account_from', 1st argument 'from_without_detail' value is 0 msmtp-1.8.28/src/conf.c:292:23: note: Null pointer dereference msmtp-1.8.28/src/conf.c:1052:17: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:1051:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:1051:20: note: Assignment 't=xmalloc(l*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/conf.c:1052:17: note: Null pointer dereference msmtp-1.8.28/src/conf.c:1053:9: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:1051:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:1051:20: note: Assignment 't=xmalloc(l*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/conf.c:1053:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:1058:17: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:1057:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:1057:20: note: Assignment 't=xmalloc((l+2)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/conf.c:1058:17: note: Null pointer dereference msmtp-1.8.28/src/conf.c:1059:9: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] msmtp-1.8.28/src/conf.c:1057:20: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:1057:20: note: Assignment 't=xmalloc((l+2)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/conf.c:1059:9: note: Null pointer dereference msmtp-1.8.28/src/conf.c:332:44: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/conf.c:330:46: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:330:46: note: Assignment 'from_without_detail=xstrdup(from)', assigned value is 0 msmtp-1.8.28/src/conf.c:332:44: note: Null pointer addition msmtp-1.8.28/src/conf.c:375:29: style:inconclusive: Function 'get_pos_int' argument 1 names different: declaration 'arg' definition 's'. [funcArgNamesDifferent] msmtp-1.8.28/src/conf.h:213:29: note: Function 'get_pos_int' argument 1 names different: declaration 'arg' definition 's'. msmtp-1.8.28/src/conf.c:375:29: note: Function 'get_pos_int' argument 1 names different: declaration 'arg' definition 's'. msmtp-1.8.28/src/conf.c:402:44: style:inconclusive: Function 'get_fingerprint' argument 1 names different: declaration 'arg' definition 's'. [funcArgNamesDifferent] msmtp-1.8.28/src/conf.h:221:44: note: Function 'get_fingerprint' argument 1 names different: declaration 'arg' definition 's'. msmtp-1.8.28/src/conf.c:402:44: note: Function 'get_fingerprint' argument 1 names different: declaration 'arg' definition 's'. msmtp-1.8.28/src/conf.c:266:11: style: Variable 'acc_id' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/conf.c:826:30: style: Parameter 'acc' can be declared as pointer to const [constParameterPointer] msmtp-1.8.28/src/conf.c:1115:57: style: Parameter 's' can be declared as pointer to const [constParameterPointer] msmtp-1.8.28/src/msmtp.c:90:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtp.c:743:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtp.c:1669:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtp.c:2027:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtp.c:2186:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLATFORM [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtp.c:2368:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtp.c:2451:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtp.c:3886:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtpd.c:93:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtpd.c:133:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtpd.c:253:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtpd.c:278:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtpd.c:446:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtpd.c:608:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtpd.c:637:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtpd.c:762:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtpd.c:930:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtpd.c:122:29: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] msmtp-1.8.28/src/msmtpd.c:329:16: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] msmtp-1.8.28/src/msmtpd.c:897:36: note: Assuming allocation function fails msmtp-1.8.28/src/msmtpd.c:897:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 msmtp-1.8.28/src/msmtpd.c:898:54: note: Calling function 'msmtpd_session', 3rd argument 'conn' value is 0 msmtp-1.8.28/src/msmtpd.c:329:16: note: Null pointer dereference msmtp-1.8.28/src/msmtpd.c:330:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] msmtp-1.8.28/src/msmtpd.c:897:36: note: Assuming allocation function fails msmtp-1.8.28/src/msmtpd.c:897:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 msmtp-1.8.28/src/msmtpd.c:898:54: note: Calling function 'msmtpd_session', 3rd argument 'conn' value is 0 msmtp-1.8.28/src/msmtpd.c:330:13: note: Null pointer dereference msmtp-1.8.28/src/msmtpd.c:900:24: warning: If resource allocation fails, then there is a possible null pointer dereference: conn [nullPointerOutOfResources] msmtp-1.8.28/src/msmtpd.c:897:36: note: Assuming allocation function fails msmtp-1.8.28/src/msmtpd.c:897:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 msmtp-1.8.28/src/msmtpd.c:900:24: note: Null pointer dereference msmtp-1.8.28/src/msmtpd.c:898:21: style: Local variable 'ret' shadows outer variable [shadowVariable] msmtp-1.8.28/src/msmtpd.c:789:9: note: Shadowed declaration msmtp-1.8.28/src/msmtpd.c:898:21: note: Shadow variable msmtp-1.8.28/src/msmtpd.c:122:24: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/msmtpd.c:211:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/msmtpd.c:597:44: style: Parameter 'si' can be declared as pointer to const. However it seems that 'sigchld_action' is a callback function, if 'si' is declared with const you might also need to cast function pointer(s). [constParameterCallback] msmtp-1.8.28/src/msmtpd.c:863:27: note: You might need to cast the function pointer here msmtp-1.8.28/src/msmtpd.c:597:44: note: Parameter 'si' can be declared as pointer to const msmtp-1.8.28/src/msmtpd.c:617:40: style: Parameter 'argv' can be declared as const array [constParameter] msmtp-1.8.28/src/msmtpd.c:636:19: style: Variable 'options' can be declared as const array [constVariable] msmtp-1.8.28/src/msmtpd.c:691:23: style: Variable 'comma' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/mtls-gnutls.c:89:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_DIG_SHA256 [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-gnutls.c:135:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_DER [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-gnutls.c:252:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_DER [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-gnutls.c:386:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CLIENT [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-gnutls.c:558:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_NAME_DNS [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-gnutls.c:643:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_AGAIN [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-gnutls.c:690:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_AGAIN [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-gnutls.c:730:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_SHUT_WR [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-gnutls.c:343:36: style: Parameter 'userdata' can be declared as pointer to const. However it seems that 'mtls_pin_callback' is a callback function, if 'userdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] msmtp-1.8.28/src/mtls-gnutls.c:448:40: note: You might need to cast the function pointer here msmtp-1.8.28/src/mtls-gnutls.c:343:36: note: Parameter 'userdata' can be declared as pointer to const msmtp-1.8.28/src/mtls-gnutls.c:353:26: style: Variable 'len' is assigned a value that is never used. [unreadVariable] msmtp-1.8.28/src/mtls-libtls.c:238:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-libtls.c:491:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLS_WANT_POLLIN [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-libtls.c:523:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLS_WANT_POLLIN [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-openssl.c:319:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V_ASN1_GENERALIZEDTIME [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-openssl.c:524:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509_V_OK [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-openssl.c:687:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_OP_NO_SSLv2 [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-openssl.c:805:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-openssl.c:861:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-openssl.c:922:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_ERROR_NONE [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-openssl.c:970:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/mtls-libtls.c:252:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] msmtp-1.8.28/src/mtls-libtls.c:267:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] msmtp-1.8.28/src/mtls-libtls.c:282:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] msmtp-1.8.28/src/mtls-libtls.c:326:36: style: Condition '!no_certcheck' is always true [knownConditionTrueFalse] msmtp-1.8.28/src/mtls-libtls.c:320:9: note: Assuming that condition 'no_certcheck' is not redundant msmtp-1.8.28/src/mtls-libtls.c:326:36: note: Condition '!no_certcheck' is always true msmtp-1.8.28/src/mtls-libtls.c:334:28: style: Condition '!no_certcheck' is always true [knownConditionTrueFalse] msmtp-1.8.28/src/mtls-libtls.c:320:9: note: Assuming that condition 'no_certcheck' is not redundant msmtp-1.8.28/src/mtls-libtls.c:334:28: note: Condition '!no_certcheck' is always true msmtp-1.8.28/src/mtls-libtls.c:363:14: warning: If memory allocation fails, then there is a possible null pointer dereference: mtls->internals [nullPointerOutOfMemory] msmtp-1.8.28/src/mtls-libtls.c:361:30: note: Assuming allocation function fails msmtp-1.8.28/src/mtls-libtls.c:361:30: note: Assignment 'mtls->internals=xmalloc(sizeof(struct mtls_internals_t))', assigned value is 0 msmtp-1.8.28/src/mtls-libtls.c:363:14: note: Null pointer dereference msmtp-1.8.28/src/mtls-libtls.c:439:14: warning: If memory allocation fails, then there is a possible null pointer dereference: *mtls_parameter_description [nullPointerOutOfMemory] msmtp-1.8.28/src/mtls-libtls.c:438:50: note: Assuming allocation function fails msmtp-1.8.28/src/mtls-libtls.c:438:50: note: Assignment '*mtls_parameter_description=xmalloc(pdl+1)', assigned value is 0 msmtp-1.8.28/src/mtls-libtls.c:439:14: note: Null pointer dereference msmtp-1.8.28/src/mtls-libtls.c:103:56: style:inconclusive: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. [funcArgNamesDifferent] msmtp-1.8.28/src/mtls.h:191:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. msmtp-1.8.28/src/mtls-libtls.c:103:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. msmtp-1.8.28/src/mtls-libtls.c:396:27: style:inconclusive: Function 'mtls_start' argument 3 names different: declaration 'tci' definition 'mtci'. [funcArgNamesDifferent] msmtp-1.8.28/src/mtls.h:163:27: note: Function 'mtls_start' argument 3 names different: declaration 'tci' definition 'mtci'. msmtp-1.8.28/src/mtls-libtls.c:396:27: note: Function 'mtls_start' argument 3 names different: declaration 'tci' definition 'mtci'. msmtp-1.8.28/src/mtls-openssl.c:678:15: warning: If memory allocation fails, then there is a possible null pointer dereference: mtls->internals [nullPointerOutOfMemory] msmtp-1.8.28/src/mtls-openssl.c:676:30: note: Assuming allocation function fails msmtp-1.8.28/src/mtls-openssl.c:676:30: note: Assignment 'mtls->internals=xmalloc(sizeof(struct mtls_internals_t))', assigned value is 0 msmtp-1.8.28/src/mtls-openssl.c:678:15: note: Null pointer dereference msmtp-1.8.28/src/mtls-openssl.c:276:56: style:inconclusive: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. [funcArgNamesDifferent] msmtp-1.8.28/src/mtls.h:191:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. msmtp-1.8.28/src/mtls-openssl.c:276:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. msmtp-1.8.28/src/mtls-openssl.c:436:19: style: Variable 'subj_alt_name' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/mtls.c:73:28: style: Parameter 'mtls' can be declared as pointer to const [constParameterPointer] msmtp-1.8.28/src/net.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/net.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/net.c:334:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/net.c:397:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/net.c:670:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/net.c:1037:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/netrc.c:122:6: style: Condition '!*p' is always false [knownConditionTrueFalse] msmtp-1.8.28/src/netrc.c:69:13: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] msmtp-1.8.28/src/netrc.c:65:30: note: Assuming allocation function fails msmtp-1.8.28/src/netrc.c:65:6: note: Assignment 'a=(struct netrc_entry*)xmalloc(sizeof(struct netrc_entry))', assigned value is 0 msmtp-1.8.28/src/netrc.c:69:13: note: Null pointer dereference msmtp-1.8.28/src/netrc.c:85:34: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/net.c:1084:5: warning: If memory allocation fails, then there is a possible null pointer dereference: query [nullPointerOutOfMemory] msmtp-1.8.28/src/net.c:1083:26: note: Assuming allocation function fails msmtp-1.8.28/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 msmtp-1.8.28/src/net.c:1084:5: note: Null pointer dereference msmtp-1.8.28/src/net.c:1085:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/net.c:1083:26: note: Assuming allocation function fails msmtp-1.8.28/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 msmtp-1.8.28/src/net.c:1085:19: note: Null pointer addition msmtp-1.8.28/src/net.c:1086:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/net.c:1083:26: note: Assuming allocation function fails msmtp-1.8.28/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 msmtp-1.8.28/src/net.c:1086:19: note: Null pointer addition msmtp-1.8.28/src/net.c:1087:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/net.c:1083:26: note: Assuming allocation function fails msmtp-1.8.28/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 msmtp-1.8.28/src/net.c:1087:18: note: Null pointer addition msmtp-1.8.28/src/net.c:659:14: style:inconclusive: Function 'net_open_socket' argument 8 names different: declaration 'fd' definition 'ret_fd'. [funcArgNamesDifferent] msmtp-1.8.28/src/net.h:89:14: note: Function 'net_open_socket' argument 8 names different: declaration 'fd' definition 'ret_fd'. msmtp-1.8.28/src/net.c:659:14: note: Function 'net_open_socket' argument 8 names different: declaration 'fd' definition 'ret_fd'. msmtp-1.8.28/src/net.c:1072:37: style:inconclusive: Function 'net_get_srv_query' argument 1 names different: declaration 'domain' definition 'domain0'. [funcArgNamesDifferent] msmtp-1.8.28/src/net.h:140:37: note: Function 'net_get_srv_query' argument 1 names different: declaration 'domain' definition 'domain0'. msmtp-1.8.28/src/net.c:1072:37: note: Function 'net_get_srv_query' argument 1 names different: declaration 'domain' definition 'domain0'. msmtp-1.8.28/src/net.c:1074:11: style: Variable 'domain' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/net.c:1100:65: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] msmtp-1.8.28/src/password.c:150:9: style: Condition '!password' is always true [knownConditionTrueFalse] msmtp-1.8.28/src/password.c:93:22: note: Assignment 'password=NULL', assigned value is 0 msmtp-1.8.28/src/password.c:150:9: note: Condition '!password' is always true msmtp-1.8.28/src/password.c:155:22: style: Variable 'netrc_host' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/password.c:215:19: style: Variable 'gpw' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/smtp.c:477:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/tools.c:487:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/tools.c:656:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/tools.c:696:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] msmtp-1.8.28/src/msmtp.c:2012:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] msmtp-1.8.28/src/tools.c:404:24: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] msmtp-1.8.28/src/tools.c:411:22: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] msmtp-1.8.28/src/tools.c:563:14: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] msmtp-1.8.28/src/tools.c:835:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] msmtp-1.8.28/src/tools.c:591:21: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:483:31: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:483:31: note: Assignment 'xdg_home=xstrdup(xdg_home)', assigned value is 0 msmtp-1.8.28/src/tools.c:487:32: note: Calling function 'get_filename', 1st argument 'xdg_home' value is 0 msmtp-1.8.28/src/tools.c:591:21: note: Null pointer dereference msmtp-1.8.28/src/tools.c:593:12: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:592:19: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:592:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:593:12: note: Null pointer dereference msmtp-1.8.28/src/tools.c:593:18: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:483:31: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:483:31: note: Assignment 'xdg_home=xstrdup(xdg_home)', assigned value is 0 msmtp-1.8.28/src/tools.c:487:32: note: Calling function 'get_filename', 1st argument 'xdg_home' value is 0 msmtp-1.8.28/src/tools.c:593:18: note: Null pointer dereference msmtp-1.8.28/src/tools.c:594:24: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:592:19: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:592:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:594:24: note: Null pointer dereference msmtp-1.8.28/src/tools.c:740:35: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:747:15: note: Assignment 'str=new_str', assigned value is 0 msmtp-1.8.28/src/tools.c:740:35: note: Null pointer dereference msmtp-1.8.28/src/tools.c:741:17: warning: If memory allocation fails, then there is a possible null pointer dereference: new_str [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:741:17: note: Null pointer dereference msmtp-1.8.28/src/tools.c:741:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:747:15: note: Assignment 'str=new_str', assigned value is 0 msmtp-1.8.28/src/tools.c:741:26: note: Null pointer dereference msmtp-1.8.28/src/tools.c:962:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:960:28: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 msmtp-1.8.28/src/tools.c:962:9: note: Null pointer dereference msmtp-1.8.28/src/tools.c:963:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:960:28: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 msmtp-1.8.28/src/tools.c:963:9: note: Null pointer dereference msmtp-1.8.28/src/tools.c:966:13: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:960:28: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 msmtp-1.8.28/src/tools.c:966:13: note: Null pointer dereference msmtp-1.8.28/src/tools.c:968:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:960:28: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 msmtp-1.8.28/src/tools.c:968:9: note: Null pointer dereference msmtp-1.8.28/src/tools.c:969:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:960:28: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 msmtp-1.8.28/src/tools.c:969:9: note: Null pointer dereference msmtp-1.8.28/src/tools.c:970:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:960:28: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 msmtp-1.8.28/src/tools.c:970:9: note: Null pointer dereference msmtp-1.8.28/src/tools.c:972:16: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] msmtp-1.8.28/src/tools.c:960:28: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 msmtp-1.8.28/src/tools.c:972:16: note: Null pointer dereference msmtp-1.8.28/src/tools.c:598:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:592:19: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:592:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:598:17: note: Null pointer addition msmtp-1.8.28/src/tools.c:742:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:742:24: note: Null pointer addition msmtp-1.8.28/src/tools.c:743:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:743:24: note: Null pointer addition msmtp-1.8.28/src/tools.c:744:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:747:15: note: Assignment 'str=new_str', assigned value is 0 msmtp-1.8.28/src/tools.c:744:21: note: Null pointer addition msmtp-1.8.28/src/tools.c:971:37: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:960:28: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 msmtp-1.8.28/src/tools.c:971:37: note: Null pointer addition msmtp-1.8.28/src/tools.c:376:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/tools.c:555:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/tools.c:733:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/tools.c:835:16: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/tools.c:948:15: style: Variable 'encoding' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/msmtp.c:1847:9: warning: If memory allocation fails, then there is a possible null pointer dereference: smtperrmsg_str [nullPointerOutOfMemory] msmtp-1.8.28/src/msmtp.c:1846:33: note: Assuming allocation function fails msmtp-1.8.28/src/msmtp.c:1846:33: note: Assignment 'smtperrmsg_str=xmalloc(s*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/msmtp.c:1847:9: note: Null pointer dereference msmtp-1.8.28/src/msmtp.c:1921:18: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] msmtp-1.8.28/src/msmtp.c:1916:19: note: Assuming allocation function fails msmtp-1.8.28/src/msmtp.c:1916:19: note: Assignment 'line=xmalloc(s*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/msmtp.c:1920:7: note: p is assigned 'line' here. msmtp-1.8.28/src/msmtp.c:1921:18: note: Null pointer dereference msmtp-1.8.28/src/xalloc.c:118:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] msmtp-1.8.28/src/xalloc.c:117:15: note: Assuming allocation function fails msmtp-1.8.28/src/xalloc.c:117:15: note: Assignment 'p=malloc(l+1)', assigned value is 0 msmtp-1.8.28/src/xalloc.c:118:12: note: Null pointer dereference msmtp-1.8.28/src/xalloc.c:119:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] msmtp-1.8.28/src/xalloc.c:117:15: note: Assuming allocation function fails msmtp-1.8.28/src/xalloc.c:117:15: note: Assignment 'p=malloc(l+1)', assigned value is 0 msmtp-1.8.28/src/xalloc.c:119:5: note: Null pointer dereference msmtp-1.8.28/src/msmtp.c:1998:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/msmtp.c:2449:19: style: Variable 'options' can be declared as const array [constVariable] msmtp-1.8.28/src/smtp.c:1584:31: style: The if condition is the same as the previous if condition [duplicateCondition] msmtp-1.8.28/src/smtp.c:1563:31: note: First condition msmtp-1.8.28/src/smtp.c:1584:31: note: Second condition msmtp-1.8.28/src/smtp.c:1858:17: style: Condition 'len>0' is always true [knownConditionTrueFalse] msmtp-1.8.28/src/smtp.c:1853:17: note: Assuming that condition 'len==0' is not redundant msmtp-1.8.28/src/smtp.c:1858:17: note: Condition 'len>0' is always true msmtp-1.8.28/src/smtp.c:640:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] msmtp-1.8.28/src/smtp.c:639:16: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:639:16: note: Assignment 's=xmalloc((u_len+p_len+3)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:640:5: note: Null pointer dereference msmtp-1.8.28/src/smtp.c:823:12: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] msmtp-1.8.28/src/smtp.c:822:18: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:822:18: note: Assignment 'buf=xmalloc((len+1+32+1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:823:12: note: Null pointer dereference msmtp-1.8.28/src/smtp.c:955:23: warning: If memory allocation fails, then there is a possible null pointer dereference: oauth [nullPointerOutOfMemory] msmtp-1.8.28/src/smtp.c:954:20: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:954:20: note: Assignment 'oauth=xmalloc(oa_len+1)', assigned value is 0 msmtp-1.8.28/src/smtp.c:955:23: note: Null pointer dereference msmtp-1.8.28/src/smtp.c:1039:23: warning: If memory allocation fails, then there is a possible null pointer dereference: oauth [nullPointerOutOfMemory] msmtp-1.8.28/src/smtp.c:1038:20: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:1038:20: note: Assignment 'oauth=xmalloc(oa_len+1)', assigned value is 0 msmtp-1.8.28/src/smtp.c:1039:23: note: Null pointer dereference msmtp-1.8.28/src/smtp.c:641:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/smtp.c:639:16: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:639:16: note: Assignment 's=xmalloc((u_len+p_len+3)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:641:14: note: Null pointer addition msmtp-1.8.28/src/smtp.c:642:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/smtp.c:639:16: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:639:16: note: Assignment 's=xmalloc((u_len+p_len+3)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:642:14: note: Null pointer addition msmtp-1.8.28/src/smtp.c:824:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/smtp.c:822:18: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:822:18: note: Assignment 'buf=xmalloc((len+1+32+1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:824:13: note: Null pointer addition msmtp-1.8.28/src/smtp.c:376:69: style:inconclusive: Function 'smtp_init' argument 3 names different: declaration 'msg' definition 'errmsg'. [funcArgNamesDifferent] msmtp-1.8.28/src/smtp.h:174:69: note: Function 'smtp_init' argument 3 names different: declaration 'msg' definition 'errmsg'. msmtp-1.8.28/src/smtp.c:376:69: note: Function 'smtp_init' argument 3 names different: declaration 'msg' definition 'errmsg'. msmtp-1.8.28/src/smtp.c:2021:48: style:inconclusive: Function 'smtp_end_mail' argument 2 names different: declaration 'msg' definition 'error_msg'. [funcArgNamesDifferent] msmtp-1.8.28/src/smtp.h:341:48: note: Function 'smtp_end_mail' argument 2 names different: declaration 'msg' definition 'error_msg'. msmtp-1.8.28/src/smtp.c:2021:48: note: Function 'smtp_end_mail' argument 2 names different: declaration 'msg' definition 'error_msg'. msmtp-1.8.28/src/smtp.c:2140:18: style:inconclusive: Function 'smtp_etrn' argument 3 names different: declaration 'msg' definition 'error_msg'. [funcArgNamesDifferent] msmtp-1.8.28/src/smtp.h:382:18: note: Function 'smtp_etrn' argument 3 names different: declaration 'msg' definition 'error_msg'. msmtp-1.8.28/src/smtp.c:2140:18: note: Function 'smtp_etrn' argument 3 names different: declaration 'msg' definition 'error_msg'. msmtp-1.8.28/src/smtp.c:252:29: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] msmtp-1.8.28/src/smtp.c:777:10: style: Variable 'hex' can be declared as const array [constVariable] msmtp-1.8.28/src/smtp.c:778:11: style: Variable 'challenge' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/smtp.c:1826:11: style: Variable 'send_buf' can be declared as pointer to const [constVariablePointer] msmtp-1.8.28/src/smtp.c:2219:32: style: Parameter 'srv' can be declared as pointer to const [constParameterPointer] diff: 2.17.0 msmtp-1.8.28/src/conf.c:332:44: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/conf.c:330:46: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:330:46: note: Assignment 'from_without_detail=xstrdup(from)', assigned value is 0 msmtp-1.8.28/src/conf.c:332:44: note: Null pointer addition head msmtp-1.8.28/src/conf.c:332:44: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/conf.c:330:46: note: Assuming allocation function fails msmtp-1.8.28/src/conf.c:330:46: note: Assignment 'from_without_detail=xstrdup(from)', assigned value is 0 msmtp-1.8.28/src/conf.c:332:44: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/msgid.c:68:17: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:68:17: note: Null pointer addition head msmtp-1.8.28/src/msgid.c:68:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:68:17: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/msgid.c:70:17: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:70:17: note: Null pointer addition head msmtp-1.8.28/src/msgid.c:70:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:70:17: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/msgid.c:72:17: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:72:17: note: Null pointer addition head msmtp-1.8.28/src/msgid.c:72:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:72:17: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/msgid.c:74:17: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:74:17: note: Null pointer addition head msmtp-1.8.28/src/msgid.c:74:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/msgid.c:64:19: note: Assuming allocation function fails msmtp-1.8.28/src/msgid.c:64:19: note: Assignment 'data=xmalloc(data_size)', assigned value is 0 msmtp-1.8.28/src/msgid.c:74:17: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/net.c:1085:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/net.c:1083:26: note: Assuming allocation function fails msmtp-1.8.28/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 msmtp-1.8.28/src/net.c:1085:19: note: Null pointer addition head msmtp-1.8.28/src/net.c:1085:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/net.c:1083:26: note: Assuming allocation function fails msmtp-1.8.28/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 msmtp-1.8.28/src/net.c:1085:19: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/net.c:1086:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/net.c:1083:26: note: Assuming allocation function fails msmtp-1.8.28/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 msmtp-1.8.28/src/net.c:1086:19: note: Null pointer addition head msmtp-1.8.28/src/net.c:1086:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/net.c:1083:26: note: Assuming allocation function fails msmtp-1.8.28/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 msmtp-1.8.28/src/net.c:1086:19: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/net.c:1087:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/net.c:1083:26: note: Assuming allocation function fails msmtp-1.8.28/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 msmtp-1.8.28/src/net.c:1087:18: note: Null pointer addition head msmtp-1.8.28/src/net.c:1087:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/net.c:1083:26: note: Assuming allocation function fails msmtp-1.8.28/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 msmtp-1.8.28/src/net.c:1087:18: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/smtp.c:641:14: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/smtp.c:639:16: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:639:16: note: Assignment 's=xmalloc((u_len+p_len+3)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:641:14: note: Null pointer addition head msmtp-1.8.28/src/smtp.c:641:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/smtp.c:639:16: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:639:16: note: Assignment 's=xmalloc((u_len+p_len+3)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:641:14: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/smtp.c:642:14: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/smtp.c:639:16: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:639:16: note: Assignment 's=xmalloc((u_len+p_len+3)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:642:14: note: Null pointer addition head msmtp-1.8.28/src/smtp.c:642:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/smtp.c:639:16: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:639:16: note: Assignment 's=xmalloc((u_len+p_len+3)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:642:14: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/smtp.c:824:13: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/smtp.c:822:18: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:822:18: note: Assignment 'buf=xmalloc((len+1+32+1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:824:13: note: Null pointer addition head msmtp-1.8.28/src/smtp.c:824:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/smtp.c:822:18: note: Assuming allocation function fails msmtp-1.8.28/src/smtp.c:822:18: note: Assignment 'buf=xmalloc((len+1+32+1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/smtp.c:824:13: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/tools.c:598:17: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:592:19: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:592:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:598:17: note: Null pointer addition head msmtp-1.8.28/src/tools.c:598:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:592:19: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:592:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:598:17: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/tools.c:742:24: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:742:24: note: Null pointer addition head msmtp-1.8.28/src/tools.c:742:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:742:24: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/tools.c:743:24: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:743:24: note: Null pointer addition head msmtp-1.8.28/src/tools.c:743:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:743:24: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/tools.c:744:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:747:15: note: Assignment 'str=new_str', assigned value is 0 msmtp-1.8.28/src/tools.c:744:21: note: Null pointer addition head msmtp-1.8.28/src/tools.c:744:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:740:26: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 msmtp-1.8.28/src/tools.c:747:15: note: Assignment 'str=new_str', assigned value is 0 msmtp-1.8.28/src/tools.c:744:21: note: Null pointer addition 2.17.0 msmtp-1.8.28/src/tools.c:971:37: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:960:28: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 msmtp-1.8.28/src/tools.c:971:37: note: Null pointer addition head msmtp-1.8.28/src/tools.c:971:37: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] msmtp-1.8.28/src/tools.c:960:28: note: Assuming allocation function fails msmtp-1.8.28/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 msmtp-1.8.28/src/tools.c:971:37: note: Null pointer addition DONE