2026-09-11 02:18 ftp://ftp.de.debian.org/debian/pool/main/m/mpop/mpop_1.4.22.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 -j1 platform: Linux-6.12.107+deb13-amd64-x86_64-with-glibc2.41 python: 3.12.14 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.21.0 head-info: 982b140 (2026-09-10 23:11:32 +0200) count: 301 328 elapsed-time: 2.7 2.9 head-timing-info: old-timing-info: head results: mpop-1.4.22/src/conf.c:241:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/conf.c:281:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/conf.c:308:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/conf.c:1610:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/conf.c:60:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:60:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:61:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:61:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:62:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:62:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:63:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:63:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:64:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:64:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:65:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:65:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:66:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:66:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:67:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:68:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:69:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:70:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:70:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:71:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:71:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:72:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:72:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:73:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:73:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:74:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:74:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:75:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:75:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:76:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:76:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:77:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:77:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:78:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:78:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:79:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:79:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:80:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:80:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:81:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:81:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:82:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:82:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:83:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:83:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:84:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:85:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:85:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:86:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:86:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:87:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:87:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:88:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:88:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:89:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:89:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:90:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:90:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:91:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:91:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:92:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:92:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:93:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:93:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:94:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:94:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:95:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:96:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:96:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:97:5: note: Null pointer dereference mpop-1.4.22/src/conf.c:115:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:115:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:116:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:116:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:117:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:117:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:118:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:118:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:119:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:119:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:120:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:120:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:121:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:121:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:122:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:122:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:123:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:123:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:124:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:124:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:126:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:126:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:127:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:127:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:128:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:128:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:129:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:129:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:130:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:130:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:131:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:131:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:132:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:132:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:133:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:133:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:134:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:134:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:135:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:135:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:136:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:136:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:137:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:137:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:138:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:138:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:139:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:139:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:140:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:140:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:142:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:142:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:144:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:144:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:153:13: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:153:13: note: Null pointer dereference mpop-1.4.22/src/conf.c:162:13: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:162:13: note: Null pointer dereference mpop-1.4.22/src/conf.c:171:13: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:171:13: note: Null pointer dereference mpop-1.4.22/src/conf.c:173:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:173:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:174:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:174:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:175:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:175:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:177:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:177:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:179:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:179:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:180:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:180:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:181:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:181:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:182:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:182:9: note: Null pointer dereference mpop-1.4.22/src/conf.c:726:17: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:725:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:725:20: note: Assignment 't=xmalloc(l*sizeof(char))', assigned value is 0 mpop-1.4.22/src/conf.c:726:17: note: Null pointer dereference mpop-1.4.22/src/conf.c:732:17: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:731:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:731:20: note: Assignment 't=xmalloc((l+2)*sizeof(char))', assigned value is 0 mpop-1.4.22/src/conf.c:732:17: note: Null pointer dereference mpop-1.4.22/src/conf.c:276:33: style:inconclusive: Function 'get_non_neg_int' argument 1 names different: declaration 'arg' definition 's'. [funcArgNamesDifferent] mpop-1.4.22/src/conf.h:200:33: note: Function 'get_non_neg_int' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.22/src/conf.c:276:33: note: Function 'get_non_neg_int' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.22/src/conf.c:303:36: style:inconclusive: Function 'get_size_arg' argument 1 names different: declaration 'arg' definition 's'. [funcArgNamesDifferent] mpop-1.4.22/src/conf.h:207:36: note: Function 'get_size_arg' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.22/src/conf.c:303:36: note: Function 'get_size_arg' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.22/src/conf.c:338:44: style:inconclusive: Function 'get_fingerprint' argument 1 names different: declaration 'arg' definition 's'. [funcArgNamesDifferent] mpop-1.4.22/src/conf.h:182:44: note: Function 'get_fingerprint' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.22/src/conf.c:338:44: note: Function 'get_fingerprint' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.22/src/conf.c:236:11: style: Variable 'acc_id' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/conf.c:259:17: style: Parameter 's' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/conf.c:264:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/conf.c:625:30: style: Parameter 'acc' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/delivery.c:170:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/delivery.c:371:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/delivery.c:398:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/delivery.c:463:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/delivery.c:518:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/delivery.c:569:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/delivery.c:623:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/delivery.c:668:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/delivery.c:705:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXG [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/delivery.c:737:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/delivery.c:657:47: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] mpop-1.4.22/src/delivery.c:657:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] mpop-1.4.22/src/delivery.c:408:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newfilename [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:407:26: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:407:26: note: Assignment 'newfilename=xstrdup(maildir_data->filename)', assigned value is 0 mpop-1.4.22/src/delivery.c:408:13: note: Null pointer dereference mpop-1.4.22/src/delivery.c:432:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:432:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:433:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:433:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:444:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:444:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:447:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:447:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:447:45: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:447:45: note: Null pointer dereference mpop-1.4.22/src/delivery.c:449:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:449:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:449:45: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:449:45: note: Null pointer dereference mpop-1.4.22/src/delivery.c:451:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:451:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:451:45: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:451:45: note: Null pointer dereference mpop-1.4.22/src/delivery.c:460:15: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:460:15: note: Null pointer dereference mpop-1.4.22/src/delivery.c:592:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:592:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:593:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:593:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:604:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:604:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:607:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:607:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:607:46: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:607:46: note: Null pointer dereference mpop-1.4.22/src/delivery.c:609:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:609:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:609:46: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:609:46: note: Null pointer dereference mpop-1.4.22/src/delivery.c:611:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:611:5: note: Null pointer dereference mpop-1.4.22/src/delivery.c:611:46: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:611:46: note: Null pointer dereference mpop-1.4.22/src/delivery.c:620:15: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:620:15: note: Null pointer dereference mpop-1.4.22/src/delivery.c:763:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dm [nullPointerOutOfMemory] mpop-1.4.22/src/delivery.c:762:17: note: Assuming allocation function fails mpop-1.4.22/src/delivery.c:762:17: note: Assignment 'dm=xmalloc(sizeof(struct delivery_method_t))', assigned value is 0 mpop-1.4.22/src/delivery.c:763:5: note: Null pointer dereference mpop-1.4.22/src/eval.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/list.c:43:5: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] mpop-1.4.22/src/list.c:41:19: note: Assuming allocation function fails mpop-1.4.22/src/list.c:41:19: note: Assignment 'head=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.22/src/list.c:43:5: note: Null pointer dereference mpop-1.4.22/src/list.c:44:5: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] mpop-1.4.22/src/list.c:41:19: note: Assuming allocation function fails mpop-1.4.22/src/list.c:41:19: note: Assignment 'head=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.22/src/list.c:44:5: note: Null pointer dereference mpop-1.4.22/src/list.c:45:5: warning: If memory allocation fails, then there is a possible null pointer dereference: foot [nullPointerOutOfMemory] mpop-1.4.22/src/list.c:42:19: note: Assuming allocation function fails mpop-1.4.22/src/list.c:42:19: note: Assignment 'foot=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.22/src/list.c:45:5: note: Null pointer dereference mpop-1.4.22/src/list.c:46:5: warning: If memory allocation fails, then there is a possible null pointer dereference: foot [nullPointerOutOfMemory] mpop-1.4.22/src/list.c:42:19: note: Assuming allocation function fails mpop-1.4.22/src/list.c:42:19: note: Assignment 'foot=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.22/src/list.c:46:5: note: Null pointer dereference mpop-1.4.22/src/list.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mpop-1.4.22/src/list.c:96:16: note: Assuming allocation function fails mpop-1.4.22/src/list.c:96:16: note: Assignment 't=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.22/src/list.c:97:5: note: Null pointer dereference mpop-1.4.22/src/list.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mpop-1.4.22/src/list.c:96:16: note: Assuming allocation function fails mpop-1.4.22/src/list.c:96:16: note: Assignment 't=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.22/src/list.c:98:5: note: Null pointer dereference mpop-1.4.22/src/list.c:55:24: style:inconclusive: Function 'list_free' argument 1 names different: declaration 'head' definition 'l'. [funcArgNamesDifferent] mpop-1.4.22/src/list.h:53:24: note: Function 'list_free' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.22/src/list.c:55:24: note: Function 'list_free' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.22/src/list.c:73:25: style:inconclusive: Function 'list_xfree' argument 1 names different: declaration 'head' definition 'l'. [funcArgNamesDifferent] mpop-1.4.22/src/list.h:60:25: note: Function 'list_xfree' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.22/src/list.c:73:25: note: Function 'list_xfree' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.22/src/list.c:92:26: style:inconclusive: Function 'list_insert' argument 1 names different: declaration 'e' definition 'l'. [funcArgNamesDifferent] mpop-1.4.22/src/list.h:65:26: note: Function 'list_insert' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.22/src/list.c:92:26: note: Function 'list_insert' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.22/src/list.c:107:26: style:inconclusive: Function 'list_remove' argument 1 names different: declaration 'e' definition 'l'. [funcArgNamesDifferent] mpop-1.4.22/src/list.h:71:26: note: Function 'list_remove' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.22/src/list.c:107:26: note: Function 'list_remove' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.22/src/list.c:121:27: style:inconclusive: Function 'list_xremove' argument 1 names different: declaration 'e' definition 'l'. [funcArgNamesDifferent] mpop-1.4.22/src/list.h:77:27: note: Function 'list_xremove' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.22/src/list.c:121:27: note: Function 'list_xremove' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.22/src/list.c:136:27: style:inconclusive: Function 'list_is_empty' argument 1 names different: declaration 'head' definition 'l'. [funcArgNamesDifferent] mpop-1.4.22/src/list.h:83:27: note: Function 'list_is_empty' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.22/src/list.c:136:27: note: Function 'list_is_empty' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.22/src/md5-apps.c:76:32: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/md5-apps.c:80:10: style: Variable 'hex' can be declared as const array [constVariable] mpop-1.4.22/src/mpop.c:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpop.c:568:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpop.c:580:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpop.c:1162:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpop.c:1391:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpop.c:1514:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpop.c:2237:19: style: Local variable 'conffile' shadows outer variable [shadowVariable] mpop-1.4.22/src/mpop.c:1478:11: note: Shadowed variable mpop-1.4.22/src/mpop.c:2237:19: note: Shadow local variable mpop-1.4.22/src/mpop.c:1512:19: style: Variable 'options' can be declared as const array [constVariable] mpop-1.4.22/src/mpopd.c:96:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:136:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:202:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:218:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:253:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:417:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:437:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:675:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:703:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:829:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:1022:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:376:17: style: Condition 'len>0' is always true [knownConditionTrueFalse] mpop-1.4.22/src/mpopd.c:373:17: note: Assuming that condition 'len==0' is not redundant mpop-1.4.22/src/mpopd.c:376:17: note: Condition 'len>0' is always true mpop-1.4.22/src/mpopd.c:125:29: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] mpop-1.4.22/src/mpopd.c:255:30: warning: If resource allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfResources] mpop-1.4.22/src/mpopd.c:252:23: note: Assuming allocation function fails mpop-1.4.22/src/mpopd.c:252:23: note: Assignment 'dir=opendir(maildirnew)', assigned value is 0 mpop-1.4.22/src/mpopd.c:255:30: note: Null pointer dereference mpop-1.4.22/src/mpopd.c:471:16: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] mpop-1.4.22/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.22/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.22/src/mpopd.c:987:53: note: Calling function 'mpopd_session', 3rd argument 'conn' value is 0 mpop-1.4.22/src/mpopd.c:471:16: note: Null pointer dereference mpop-1.4.22/src/mpopd.c:988:24: warning: If resource allocation fails, then there is a possible null pointer dereference: conn [nullPointerOutOfResources] mpop-1.4.22/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.22/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.22/src/mpopd.c:988:24: note: Null pointer dereference mpop-1.4.22/src/mpopd.c:987:21: style: Local variable 'ret' shadows outer variable [shadowVariable] mpop-1.4.22/src/mpopd.c:819:9: note: Shadowed variable mpop-1.4.22/src/mpopd.c:987:21: note: Shadow local variable mpop-1.4.22/src/mpopd.c:125:24: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/mpopd.c:254:20: style: Variable 'dirent' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/mpopd.c:352:11: style: Variable 'send_buf' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/mpopd.c:664: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] mpop-1.4.22/src/mpopd.c:945:27: note: You might need to cast the function pointer here mpop-1.4.22/src/mpopd.c:664:44: note: Parameter 'si' can be declared as pointer to const mpop-1.4.22/src/mpopd.c:684:40: style: Parameter 'argv' can be declared as const array [constParameter] mpop-1.4.22/src/mpopd.c:702:19: style: Variable 'options' can be declared as const array [constVariable] mpop-1.4.22/src/mpopd.c:762:23: style: Variable 'comma' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/mpopd.c:404:18: style: Variable 'send_len' is assigned a value that is never used. [unreadVariable] mpop-1.4.22/src/mpopd.c:408:22: style: Variable 'send_len' is assigned a value that is never used. [unreadVariable] mpop-1.4.22/src/mpopd.c:415:22: style: Variable 'send_len' is assigned a value that is never used. [unreadVariable] mpop-1.4.22/src/mtls-gnutls.c:89:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_DIG_SHA256 [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-gnutls.c:135:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_DER [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-gnutls.c:252:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_DER [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-gnutls.c:386:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CLIENT [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-gnutls.c:558:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_NAME_DNS [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-gnutls.c:643:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_AGAIN [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-gnutls.c:690:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_AGAIN [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-gnutls.c:730:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_SHUT_WR [valueFlowBailoutIncompleteVar] mpop-1.4.22/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] mpop-1.4.22/src/mtls-gnutls.c:448:40: note: You might need to cast the function pointer here mpop-1.4.22/src/mtls-gnutls.c:343:36: note: Parameter 'userdata' can be declared as pointer to const mpop-1.4.22/src/mtls-gnutls.c:353:26: style: Variable 'len' is assigned a value that is never used. [unreadVariable] mpop-1.4.22/src/mtls-libtls.c:238:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-libtls.c:491:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLS_WANT_POLLIN [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-libtls.c:523:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLS_WANT_POLLIN [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-libtls.c:326:36: style: Condition '!no_certcheck' is always true [knownConditionTrueFalse] mpop-1.4.22/src/mtls-libtls.c:320:9: note: Assuming that condition 'no_certcheck' is not redundant mpop-1.4.22/src/mtls-libtls.c:326:36: note: Condition '!no_certcheck' is always true mpop-1.4.22/src/mtls-libtls.c:334:28: style: Condition '!no_certcheck' is always true [knownConditionTrueFalse] mpop-1.4.22/src/mtls-libtls.c:320:9: note: Assuming that condition 'no_certcheck' is not redundant mpop-1.4.22/src/mtls-libtls.c:334:28: note: Condition '!no_certcheck' is always true mpop-1.4.22/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] mpop-1.4.22/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] mpop-1.4.22/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] mpop-1.4.22/src/mtls-libtls.c:363:14: warning: If memory allocation fails, then there is a possible null pointer dereference: mtls->internals [nullPointerOutOfMemory] mpop-1.4.22/src/mtls-libtls.c:361:30: note: Assuming allocation function fails mpop-1.4.22/src/mtls-libtls.c:361:30: note: Assignment 'mtls->internals=xmalloc(sizeof(struct mtls_internals_t))', assigned value is 0 mpop-1.4.22/src/mtls-libtls.c:363:14: note: Null pointer dereference mpop-1.4.22/src/mtls-libtls.c:439:14: warning: If memory allocation fails, then there is a possible null pointer dereference: *mtls_parameter_description [nullPointerOutOfMemory] mpop-1.4.22/src/mtls-libtls.c:438:50: note: Assuming allocation function fails mpop-1.4.22/src/mtls-libtls.c:438:50: note: Assignment '*mtls_parameter_description=xmalloc(pdl+1)', assigned value is 0 mpop-1.4.22/src/mtls-libtls.c:439:14: note: Null pointer dereference mpop-1.4.22/src/mtls-libtls.c:103:56: style:inconclusive: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. [funcArgNamesDifferent] mpop-1.4.22/src/mtls.h:191:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. mpop-1.4.22/src/mtls-libtls.c:103:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. mpop-1.4.22/src/mtls-libtls.c:396:27: style:inconclusive: Function 'mtls_start' argument 3 names different: declaration 'tci' definition 'mtci'. [funcArgNamesDifferent] mpop-1.4.22/src/mtls.h:163:27: note: Function 'mtls_start' argument 3 names different: declaration 'tci' definition 'mtci'. mpop-1.4.22/src/mtls-libtls.c:396:27: note: Function 'mtls_start' argument 3 names different: declaration 'tci' definition 'mtci'. mpop-1.4.22/src/mtls-openssl.c:319:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V_ASN1_GENERALIZEDTIME [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-openssl.c:524:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509_V_OK [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-openssl.c:687:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_OP_NO_SSLv2 [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-openssl.c:805:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-openssl.c:861:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-openssl.c:922:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_ERROR_NONE [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-openssl.c:970:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mtls-openssl.c:678:15: warning: If memory allocation fails, then there is a possible null pointer dereference: mtls->internals [nullPointerOutOfMemory] mpop-1.4.22/src/mtls-openssl.c:676:30: note: Assuming allocation function fails mpop-1.4.22/src/mtls-openssl.c:676:30: note: Assignment 'mtls->internals=xmalloc(sizeof(struct mtls_internals_t))', assigned value is 0 mpop-1.4.22/src/mtls-openssl.c:678:15: note: Null pointer dereference mpop-1.4.22/src/mtls-openssl.c:276:56: style:inconclusive: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. [funcArgNamesDifferent] mpop-1.4.22/src/mtls.h:191:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. mpop-1.4.22/src/mtls-openssl.c:276:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. mpop-1.4.22/src/mtls-openssl.c:436:19: style: Variable 'subj_alt_name' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/mtls.c:73:28: style: Parameter 'mtls' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/net.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/net.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/net.c:334:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/net.c:397:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/net.c:670:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/net.c:1037:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/net.c:755:30: style: Condition 'idn_hostname' is always false [knownConditionTrueFalse] mpop-1.4.22/src/net.c:671:26: note: Assignment 'idn_hostname=NULL', assigned value is 0 mpop-1.4.22/src/net.c:673:9: note: Assuming condition is false mpop-1.4.22/src/net.c:714:9: note: Assuming condition is false mpop-1.4.22/src/net.c:755:30: note: Condition 'idn_hostname' is always false mpop-1.4.22/src/net.c:1084:5: warning: If memory allocation fails, then there is a possible null pointer dereference: query [nullPointerOutOfMemory] mpop-1.4.22/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.22/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.22/src/net.c:1084:5: note: Null pointer dereference mpop-1.4.22/src/net.c:1085:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.22/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.22/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.22/src/net.c:1085:19: note: Null pointer addition mpop-1.4.22/src/net.c:659:14: style:inconclusive: Function 'net_open_socket' argument 8 names different: declaration 'fd' definition 'ret_fd'. [funcArgNamesDifferent] mpop-1.4.22/src/net.h:89:14: note: Function 'net_open_socket' argument 8 names different: declaration 'fd' definition 'ret_fd'. mpop-1.4.22/src/net.c:659:14: note: Function 'net_open_socket' argument 8 names different: declaration 'fd' definition 'ret_fd'. mpop-1.4.22/src/net.c:1072:37: style:inconclusive: Function 'net_get_srv_query' argument 1 names different: declaration 'domain' definition 'domain0'. [funcArgNamesDifferent] mpop-1.4.22/src/net.h:140:37: note: Function 'net_get_srv_query' argument 1 names different: declaration 'domain' definition 'domain0'. mpop-1.4.22/src/net.c:1072:37: note: Function 'net_get_srv_query' argument 1 names different: declaration 'domain' definition 'domain0'. mpop-1.4.22/src/net.c:1074:11: style: Variable 'domain' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/net.c:1100:65: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/netrc.c:69:13: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/netrc.c:65:30: note: Assuming allocation function fails mpop-1.4.22/src/netrc.c:65:6: note: Assignment 'a=(struct netrc_entry*)xmalloc(sizeof(struct netrc_entry))', assigned value is 0 mpop-1.4.22/src/netrc.c:69:13: note: Null pointer dereference mpop-1.4.22/src/netrc.c:82:26: style:inconclusive: Function 'parse_netrc' argument 1 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] mpop-1.4.22/src/netrc.c:300:28: style:inconclusive: Function 'search_netrc' argument 1 names different: declaration '' definition 'list'. [funcArgNamesDifferentUnnamed] mpop-1.4.22/src/netrc.c:300:46: style:inconclusive: Function 'search_netrc' argument 2 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] mpop-1.4.22/src/netrc.c:300:64: style:inconclusive: Function 'search_netrc' argument 3 names different: declaration '' definition 'login'. [funcArgNamesDifferentUnnamed] mpop-1.4.22/src/netrc.c:318:25: style:inconclusive: Function 'free_netrc' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] mpop-1.4.22/src/netrc.c:85:34: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/password.c:150:9: style: Condition '!password' is always true [knownConditionTrueFalse] mpop-1.4.22/src/password.c:93:22: note: Assignment 'password=NULL', assigned value is 0 mpop-1.4.22/src/password.c:150:9: note: Condition '!password' is always true mpop-1.4.22/src/password.c:155:22: style: Variable 'netrc_host' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/password.c:215:19: style: Variable 'gpw' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/pop3.c:1005:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/pop3.c:1140:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/pop3.c:1277:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/pop3.c:1455:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/pop3.c:1588:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/pop3.c:1675:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/pop3.c:1788:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/pop3.c:3170:31: style: The if condition is the same as the previous if condition [duplicateCondition] mpop-1.4.22/src/pop3.c:3142:31: note: First condition mpop-1.4.22/src/pop3.c:3170:31: note: Second condition mpop-1.4.22/src/pop3.c:118:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:118:5: note: Null pointer dereference mpop-1.4.22/src/pop3.c:119:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:119:5: note: Null pointer dereference mpop-1.4.22/src/pop3.c:121:14: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:121:14: note: Null pointer dereference mpop-1.4.22/src/pop3.c:121:36: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:119:34: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:119:34: note: Assignment 'session->local_user=xstrdup(local_user)', assigned value is 0 mpop-1.4.22/src/pop3.c:121:21: note: Assignment 'p=session->local_user', assigned value is 0 mpop-1.4.22/src/pop3.c:121:36: note: Null pointer dereference mpop-1.4.22/src/pop3.c:123:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:119:34: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:119:34: note: Assignment 'session->local_user=xstrdup(local_user)', assigned value is 0 mpop-1.4.22/src/pop3.c:121:21: note: Assignment 'p=session->local_user', assigned value is 0 mpop-1.4.22/src/pop3.c:123:14: note: Null pointer dereference mpop-1.4.22/src/pop3.c:2252:23: warning: If memory allocation fails, then there is a possible null pointer dereference: oauth [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:2251:20: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:2251:20: note: Assignment 'oauth=xmalloc(oa_len+1)', assigned value is 0 mpop-1.4.22/src/pop3.c:2252:23: note: Null pointer dereference mpop-1.4.22/src/pop3.c:2335:23: warning: If memory allocation fails, then there is a possible null pointer dereference: oauth [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:2334:20: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:2334:20: note: Assignment 'oauth=xmalloc(oa_len+1)', assigned value is 0 mpop-1.4.22/src/pop3.c:2335:23: note: Null pointer dereference mpop-1.4.22/src/pop3.c:2573:12: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:2572:18: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:2572:18: note: Assignment 'buf=xmalloc((len+1+32+1)*sizeof(char))', assigned value is 0 mpop-1.4.22/src/pop3.c:2573:12: note: Null pointer dereference mpop-1.4.22/src/pop3.c:2574:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.22/src/pop3.c:2572:18: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:2572:18: note: Assignment 'buf=xmalloc((len+1+32+1)*sizeof(char))', assigned value is 0 mpop-1.4.22/src/pop3.c:2574:13: note: Null pointer addition mpop-1.4.22/src/pop3.c:111:21: style:inconclusive: Function 'pop3_session_new' argument 2 names different: declaration 'canonical_hostname' definition 'local_hostname'. [funcArgNamesDifferent] mpop-1.4.22/src/pop3.h:221:21: note: Function 'pop3_session_new' argument 2 names different: declaration 'canonical_hostname' definition 'local_hostname'. mpop-1.4.22/src/pop3.c:111:21: note: Function 'pop3_session_new' argument 2 names different: declaration 'canonical_hostname' definition 'local_hostname'. mpop-1.4.22/src/pop3.c:1969:15: style:inconclusive: Function 'pop3_filter' argument 5 names different: declaration 'data' definition 'filter_output_data'. [funcArgNamesDifferent] mpop-1.4.22/src/pop3.h:445:15: note: Function 'pop3_filter' argument 5 names different: declaration 'data' definition 'filter_output_data'. mpop-1.4.22/src/pop3.c:1969:15: note: Function 'pop3_filter' argument 5 names different: declaration 'data' definition 'filter_output_data'. mpop-1.4.22/src/pop3.c:668:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/pop3.c:1075:32: style: Parameter 'abort' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/pop3.c:1213:63: style: Parameter 'abort' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/pop3.c:1327:63: style: Parameter 'abort' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/pop3.c:1342:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/pop3.c:1637:48: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/pop3.c:2008:63: style: Parameter 'abort' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/pop3.c:2531:10: style: Variable 'hex' can be declared as const array [constVariable] mpop-1.4.22/src/pop3.c:2532:11: style: Variable 'challenge' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/pop3.c:3320:33: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] mpop-1.4.22/src/pop3.c:420:18: style: Variable 'oldstate' is assigned a value that is never used. [unreadVariable] mpop-1.4.22/src/tools.c:555:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/tools.c:724:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/tools.c:764:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/tools.c:809:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/tools.c:1045:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/tools.c:472:24: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] mpop-1.4.22/src/tools.c:479:22: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] mpop-1.4.22/src/tools.c:631:14: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] mpop-1.4.22/src/tools.c:906:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] mpop-1.4.22/src/tools.c:659:21: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:551:31: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:551:31: note: Assignment 'xdg_home=xstrdup(xdg_home)', assigned value is 0 mpop-1.4.22/src/tools.c:555:32: note: Calling function 'get_filename', 1st argument 'xdg_home' value is 0 mpop-1.4.22/src/tools.c:659:21: note: Null pointer dereference mpop-1.4.22/src/tools.c:661:12: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:660:19: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:660:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 mpop-1.4.22/src/tools.c:661:12: note: Null pointer dereference mpop-1.4.22/src/tools.c:661:18: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:551:31: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:551:31: note: Assignment 'xdg_home=xstrdup(xdg_home)', assigned value is 0 mpop-1.4.22/src/tools.c:555:32: note: Calling function 'get_filename', 1st argument 'xdg_home' value is 0 mpop-1.4.22/src/tools.c:661:18: note: Null pointer dereference mpop-1.4.22/src/tools.c:662:24: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:660:19: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:660:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 mpop-1.4.22/src/tools.c:662:24: note: Null pointer dereference mpop-1.4.22/src/tools.c:812:17: warning: If memory allocation fails, then there is a possible null pointer dereference: new_str [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:811:26: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:811:26: note: Assignment 'new_str=xmalloc((str_len+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.22/src/tools.c:812:17: note: Null pointer dereference mpop-1.4.22/src/tools.c:1072:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:1070:28: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:1070:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.22/src/tools.c:1072:9: note: Null pointer dereference mpop-1.4.22/src/tools.c:1073:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:1070:28: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:1070:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.22/src/tools.c:1073:9: note: Null pointer dereference mpop-1.4.22/src/tools.c:1076:13: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:1070:28: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:1070:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.22/src/tools.c:1076:13: note: Null pointer dereference mpop-1.4.22/src/tools.c:1078:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:1070:28: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:1070:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.22/src/tools.c:1078:9: note: Null pointer dereference mpop-1.4.22/src/tools.c:1079:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:1070:28: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:1070:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.22/src/tools.c:1079:9: note: Null pointer dereference mpop-1.4.22/src/tools.c:1080:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:1070:28: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:1070:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.22/src/tools.c:1080:9: note: Null pointer dereference mpop-1.4.22/src/tools.c:1082:16: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.22/src/tools.c:1070:28: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:1070:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.22/src/tools.c:1082:16: note: Null pointer dereference mpop-1.4.22/src/tools.c:666:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.22/src/tools.c:660:19: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:660:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 mpop-1.4.22/src/tools.c:666:17: note: Null pointer addition mpop-1.4.22/src/tools.c:1081:37: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.22/src/tools.c:1070:28: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:1070:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.22/src/tools.c:1081:37: note: Null pointer addition mpop-1.4.22/src/tools.c:444:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/tools.c:623:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/tools.c:801:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/tools.c:906:16: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/tools.c:1052:15: style: Variable 'encoding' can be declared as pointer to const [constVariablePointer] mpop-1.4.22/src/uidls.c:178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/uidls.c:388:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/uidls.c:66:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uidl [nullPointerOutOfMemory] mpop-1.4.22/src/uidls.c:65:27: note: Assuming allocation function fails mpop-1.4.22/src/uidls.c:65:27: note: Assignment 'uidl=xmalloc(sizeof(struct uidl_t))', assigned value is 0 mpop-1.4.22/src/uidls.c:66:5: note: Null pointer dereference mpop-1.4.22/src/uidls.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uidl [nullPointerOutOfMemory] mpop-1.4.22/src/uidls.c:65:27: note: Assuming allocation function fails mpop-1.4.22/src/uidls.c:65:27: note: Assignment 'uidl=xmalloc(sizeof(struct uidl_t))', assigned value is 0 mpop-1.4.22/src/uidls.c:67:5: note: Null pointer dereference mpop-1.4.22/src/uidls.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uidl [nullPointerOutOfMemory] mpop-1.4.22/src/uidls.c:65:27: note: Assuming allocation function fails mpop-1.4.22/src/uidls.c:65:27: note: Assignment 'uidl=xmalloc(sizeof(struct uidl_t))', assigned value is 0 mpop-1.4.22/src/uidls.c:68:5: note: Null pointer dereference mpop-1.4.22/src/uidls.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uidl [nullPointerOutOfMemory] mpop-1.4.22/src/uidls.c:65:27: note: Assuming allocation function fails mpop-1.4.22/src/uidls.c:65:27: note: Assignment 'uidl=xmalloc(sizeof(struct uidl_t))', assigned value is 0 mpop-1.4.22/src/uidls.c:69:5: note: Null pointer dereference mpop-1.4.22/src/uidls.c:381:12: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_filename [nullPointerOutOfMemory] mpop-1.4.22/src/uidls.c:380:28: note: Assuming allocation function fails mpop-1.4.22/src/uidls.c:380:28: note: Assignment 'temp_filename=xmalloc((strlen(filename)+7+1)*sizeof(char))', assigned value is 0 mpop-1.4.22/src/uidls.c:381:12: note: Null pointer dereference mpop-1.4.22/src/uidls.c:382:12: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_filename [nullPointerOutOfMemory] mpop-1.4.22/src/uidls.c:380:28: note: Assuming allocation function fails mpop-1.4.22/src/uidls.c:380:28: note: Assignment 'temp_filename=xmalloc((strlen(filename)+7+1)*sizeof(char))', assigned value is 0 mpop-1.4.22/src/uidls.c:382:12: note: Null pointer dereference mpop-1.4.22/src/xalloc.c:118:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] mpop-1.4.22/src/mpopd.c:324:30: warning: Null pointer dereference: in [ctunullpointer] mpop-1.4.22/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.22/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.22/src/mpopd.c:987:40: note: Calling function mpopd_session, 2nd argument is null mpop-1.4.22/src/mpopd.c:481:13: note: Calling function read_pop3_cmd, 1st argument is null mpop-1.4.22/src/mpopd.c:324:30: note: Dereferencing argument in that is null mpop-1.4.22/src/mpopd.c:471:16: warning: If resource allocation fails, then there is a possible null pointer dereference: out [ctunullpointerOutOfResources] mpop-1.4.22/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.22/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.22/src/mpopd.c:987:40: note: Calling function mpopd_session, 3rd argument is null mpop-1.4.22/src/mpopd.c:471:16: note: Dereferencing argument out that is null mpop-1.4.22/src/pop3.c:213:40: warning: Null pointer dereference: server_hostname [ctunullpointer] mpop-1.4.22/src/mpop.c:265:39: note: Assuming that condition 'acc->host' is not redundant mpop-1.4.22/src/mpop.c:161:26: note: Calling function pop3_connect, 5th argument is null mpop-1.4.22/src/pop3.c:213:40: note: Dereferencing argument server_hostname that is null mpop-1.4.22/src/tools.c:659:21: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [ctunullpointerOutOfMemory] mpop-1.4.22/src/tools.c:551:31: note: Assuming allocation function fails mpop-1.4.22/src/tools.c:551:31: note: Assignment 'xdg_home=xstrdup(xdg_home)', assigned value is 0 mpop-1.4.22/src/tools.c:555:31: note: Calling function get_filename, 1st argument is null mpop-1.4.22/src/tools.c:659:21: note: Dereferencing argument directory that is null mpop-1.4.22/src/xalloc.c:89:22: warning: Null pointer dereference: s [ctunullpointer] mpop-1.4.22/src/mpop.c:265:39: note: Assuming that condition 'acc->host' is not redundant mpop-1.4.22/src/mpop.c:161:26: note: Calling function pop3_connect, 5th argument is null mpop-1.4.22/src/pop3.c:213:32: note: Calling function xstrdup, 1st argument is null mpop-1.4.22/src/xalloc.c:89:22: note: Dereferencing argument s that is null diff: head mpop-1.4.22/src/conf.c:153:13: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:153:13: note: Null pointer dereference head mpop-1.4.22/src/conf.c:162:13: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:162:13: note: Null pointer dereference head mpop-1.4.22/src/conf.c:171:13: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.22/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.22/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.22/src/conf.c:171:13: note: Null pointer dereference head mpop-1.4.22/src/net.c:755:30: style: Condition 'idn_hostname' is always false [knownConditionTrueFalse] mpop-1.4.22/src/net.c:671:26: note: Assignment 'idn_hostname=NULL', assigned value is 0 mpop-1.4.22/src/net.c:673:9: note: Assuming condition is false mpop-1.4.22/src/net.c:714:9: note: Assuming condition is false mpop-1.4.22/src/net.c:755:30: note: Condition 'idn_hostname' is always false 2.21.0 mpop-1.4.22/src/netrc.c:122:6: style: Condition '!*p' is always false [knownConditionTrueFalse] 2.21.0 mpop-1.4.22/src/pop3.c:136:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:136:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:137:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:137:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:138:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:138:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:139:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:139:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:144:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:144:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:145:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:145:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:147:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:147:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:148:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:148:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:149:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:149:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:150:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:150:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:151:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:151:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:152:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:152:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:153:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:153:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:154:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:154:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:155:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:155:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:156:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:156:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:157:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:157:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:158:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:158:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:159:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:159:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:160:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.22/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.22/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.22/src/pop3.c:160:5: note: Null pointer dereference 2.21.0 mpop-1.4.22/src/pop3.c:1969:15: style:inconclusive: Function 'pop3_filter' argument 5 names different: declaration '' definition 'filter_output_data'. [funcArgNamesDifferentUnnamed] head mpop-1.4.22/src/pop3.c:1969:15: style:inconclusive: Function 'pop3_filter' argument 5 names different: declaration 'data' definition 'filter_output_data'. [funcArgNamesDifferent] mpop-1.4.22/src/pop3.h:445:15: note: Function 'pop3_filter' argument 5 names different: declaration 'data' definition 'filter_output_data'. mpop-1.4.22/src/pop3.c:1969:15: note: Function 'pop3_filter' argument 5 names different: declaration 'data' definition 'filter_output_data'. 2.21.0 mpop-1.4.22/src/pop3.c:1970:16: style:inconclusive: Function 'pop3_filter' argument 6 names different: declaration '' definition 'errmsg'. [funcArgNamesDifferentUnnamed] 2.21.0 mpop-1.4.22/src/pop3.c:1970:31: style:inconclusive: Function 'pop3_filter' argument 7 names different: declaration '' definition 'errstr'. [funcArgNamesDifferentUnnamed] 2.21.0 mpop-1.4.22/src/pop3.c:1989:16: style:inconclusive: Function 'pop3_retr' argument 7 names different: declaration '' definition 'progress'. [funcArgNamesDifferentUnnamed] 2.21.0 mpop-1.4.22/src/pop3.c:1991:16: style:inconclusive: Function 'pop3_retr' argument 8 names different: declaration '' definition 'progress_end'. [funcArgNamesDifferentUnnamed] 2.21.0 mpop-1.4.22/src/pop3.c:1992:16: style:inconclusive: Function 'pop3_retr' argument 9 names different: declaration '' definition 'progress_abort'. [funcArgNamesDifferentUnnamed] 2.21.0 mpop-1.4.22/src/pop3.c:1993:16: style:inconclusive: Function 'pop3_retr' argument 10 names different: declaration '' definition 'errmsg'. [funcArgNamesDifferentUnnamed] 2.21.0 mpop-1.4.22/src/pop3.c:1993:31: style:inconclusive: Function 'pop3_retr' argument 11 names different: declaration '' definition 'errstr'. [funcArgNamesDifferentUnnamed] 2.21.0 mpop-1.4.22/src/pop3.c:2767:16: style:inconclusive: Function 'pop3_auth' argument 9 names different: declaration '' definition 'errmsg'. [funcArgNamesDifferentUnnamed] 2.21.0 mpop-1.4.22/src/pop3.c:2768:16: style:inconclusive: Function 'pop3_auth' argument 10 names different: declaration '' definition 'errstr'. [funcArgNamesDifferentUnnamed] 2.21.0 mpop-1.4.22/src/pop3.c:614:13: warning:inconclusive: Possible null pointer dereference: addr [nullPointer] mpop-1.4.22/src/pop3.c:424:18: note: Assignment 'addr=NULL', assigned value is 0 mpop-1.4.22/src/pop3.c:614:13: note: Null pointer dereference DONE