2025-05-06 10:02 ftp://ftp.de.debian.org/debian/pool/main/m/mpop/mpop_1.4.21.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.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: cb6083f (2025-05-06 10:49:30 +0200) count: 307 299 elapsed-time: 12.5 12.9 head-timing-info: old-timing-info: head results: mpop-1.4.21/src/conf.c:241:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/conf.c:281:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/conf.c:308:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/conf.c:1610:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/conf.c:60:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:60:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:61:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:61:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:62:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:62:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:63:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:63:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:64:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:64:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:65:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:65:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:66:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:66:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:67:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:68:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:69:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:70:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:70:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:71:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:71:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:72:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:72:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:73:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:73:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:74:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:74:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:75:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:75:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:76:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:76:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:77:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:77:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:78:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:78:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:79:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:79:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:80:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:80:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:81:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:81:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:82:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:82:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:83:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:83:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:84:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:85:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:85:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:86:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:86:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:87:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:87:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:88:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:88:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:89:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:89:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:90:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:90:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:91:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:91:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:92:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:92:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:93:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:93:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:94:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:94:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:95:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:96:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:96:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:59:16: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:59:16: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:97:5: note: Null pointer dereference mpop-1.4.21/src/conf.c:115:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:115:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:116:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:116:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:117:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:117:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:118:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:118:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:119:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:119:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:120:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:120:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:121:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:121:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:122:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:122:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:123:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:123:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:124:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:124:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:126:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:126:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:127:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:127:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:128:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:128:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:129:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:129:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:130:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:130:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:131:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:131:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:132:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:132:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:133:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:133:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:134:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:134:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:135:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:135:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:136:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:136:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:137:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:137:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:138:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:138:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:139:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:139:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:140:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:140:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:142:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:142:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:144:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:144:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:173:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:173:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:174:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:174:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:175:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:175:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:177:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:177:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:179:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:179:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:180:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:180:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:181:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:181:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:182:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:114:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:114:20: note: Assignment 'a=xmalloc(sizeof(struct account_t))', assigned value is 0 mpop-1.4.21/src/conf.c:182:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:726:17: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:725:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:725:20: note: Assignment 't=xmalloc(l*sizeof(char))', assigned value is 0 mpop-1.4.21/src/conf.c:726:17: note: Null pointer dereference mpop-1.4.21/src/conf.c:727:9: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:725:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:725:20: note: Assignment 't=xmalloc(l*sizeof(char))', assigned value is 0 mpop-1.4.21/src/conf.c:727:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:732:17: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:731:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:731:20: note: Assignment 't=xmalloc((l+2)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/conf.c:732:17: note: Null pointer dereference mpop-1.4.21/src/conf.c:733:9: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mpop-1.4.21/src/conf.c:731:20: note: Assuming allocation function fails mpop-1.4.21/src/conf.c:731:20: note: Assignment 't=xmalloc((l+2)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/conf.c:733:9: note: Null pointer dereference mpop-1.4.21/src/conf.c:276:33: style:inconclusive: Function 'get_non_neg_int' argument 1 names different: declaration 'arg' definition 's'. [funcArgNamesDifferent] mpop-1.4.21/src/conf.h:200:33: note: Function 'get_non_neg_int' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.21/src/conf.c:276:33: note: Function 'get_non_neg_int' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.21/src/conf.c:303:36: style:inconclusive: Function 'get_size_arg' argument 1 names different: declaration 'arg' definition 's'. [funcArgNamesDifferent] mpop-1.4.21/src/conf.h:207:36: note: Function 'get_size_arg' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.21/src/conf.c:303:36: note: Function 'get_size_arg' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.21/src/conf.c:338:44: style:inconclusive: Function 'get_fingerprint' argument 1 names different: declaration 'arg' definition 's'. [funcArgNamesDifferent] mpop-1.4.21/src/conf.h:182:44: note: Function 'get_fingerprint' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.21/src/conf.c:338:44: note: Function 'get_fingerprint' argument 1 names different: declaration 'arg' definition 's'. mpop-1.4.21/src/conf.c:236:11: style: Variable 'acc_id' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/conf.c:259:17: style: Parameter 's' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/conf.c:264:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/conf.c:625:30: style: Parameter 'acc' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/conf.c:789:57: style: Parameter 's' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/delivery.c:170:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/delivery.c:371:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/delivery.c:398:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/delivery.c:463:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/delivery.c:518:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/delivery.c:569:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/delivery.c:623:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/delivery.c:668:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/delivery.c:705:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXG [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/delivery.c:737:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/delivery.c:657:47: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] mpop-1.4.21/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.21/src/delivery.c:408:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newfilename [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:407:26: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:407:26: note: Assignment 'newfilename=xstrdup(maildir_data->filename)', assigned value is 0 mpop-1.4.21/src/delivery.c:408:13: note: Null pointer dereference mpop-1.4.21/src/delivery.c:409:38: warning: If memory allocation fails, then there is a possible null pointer dereference: newfilename [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:407:26: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:407:26: note: Assignment 'newfilename=xstrdup(maildir_data->filename)', assigned value is 0 mpop-1.4.21/src/delivery.c:409:38: note: Null pointer dereference mpop-1.4.21/src/delivery.c:432:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:432:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:433:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:433:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:444:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:444:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:447:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:447:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:447:45: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:447:45: note: Null pointer dereference mpop-1.4.21/src/delivery.c:449:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:449:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:449:45: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:449:45: note: Null pointer dereference mpop-1.4.21/src/delivery.c:451:5: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:451:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:451:45: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:451:45: note: Null pointer dereference mpop-1.4.21/src/delivery.c:460:15: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:460:15: note: Null pointer dereference mpop-1.4.21/src/delivery.c:592:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:592:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:593:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:593:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:604:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:604:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:607:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:607:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:607:46: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:607:46: note: Null pointer dereference mpop-1.4.21/src/delivery.c:609:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:609:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:609:46: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:609:46: note: Null pointer dereference mpop-1.4.21/src/delivery.c:611:5: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:611:5: note: Null pointer dereference mpop-1.4.21/src/delivery.c:611:46: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:611:46: note: Null pointer dereference mpop-1.4.21/src/delivery.c:620:15: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:620:15: note: Null pointer dereference mpop-1.4.21/src/delivery.c:763:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dm [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:762:17: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:762:17: note: Assignment 'dm=xmalloc(sizeof(struct delivery_method_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:763:5: note: Null pointer dereference mpop-1.4.21/src/eval.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/list.c:43:5: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] mpop-1.4.21/src/list.c:41:19: note: Assuming allocation function fails mpop-1.4.21/src/list.c:41:19: note: Assignment 'head=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.21/src/list.c:43:5: note: Null pointer dereference mpop-1.4.21/src/list.c:44:5: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] mpop-1.4.21/src/list.c:41:19: note: Assuming allocation function fails mpop-1.4.21/src/list.c:41:19: note: Assignment 'head=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.21/src/list.c:44:5: note: Null pointer dereference mpop-1.4.21/src/list.c:45:5: warning: If memory allocation fails, then there is a possible null pointer dereference: foot [nullPointerOutOfMemory] mpop-1.4.21/src/list.c:42:19: note: Assuming allocation function fails mpop-1.4.21/src/list.c:42:19: note: Assignment 'foot=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.21/src/list.c:45:5: note: Null pointer dereference mpop-1.4.21/src/list.c:46:5: warning: If memory allocation fails, then there is a possible null pointer dereference: foot [nullPointerOutOfMemory] mpop-1.4.21/src/list.c:42:19: note: Assuming allocation function fails mpop-1.4.21/src/list.c:42:19: note: Assignment 'foot=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.21/src/list.c:46:5: note: Null pointer dereference mpop-1.4.21/src/list.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mpop-1.4.21/src/list.c:96:16: note: Assuming allocation function fails mpop-1.4.21/src/list.c:96:16: note: Assignment 't=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.21/src/list.c:97:5: note: Null pointer dereference mpop-1.4.21/src/list.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mpop-1.4.21/src/list.c:96:16: note: Assuming allocation function fails mpop-1.4.21/src/list.c:96:16: note: Assignment 't=xmalloc(sizeof(struct list_t))', assigned value is 0 mpop-1.4.21/src/list.c:98:5: note: Null pointer dereference mpop-1.4.21/src/list.c:55:24: style:inconclusive: Function 'list_free' argument 1 names different: declaration 'head' definition 'l'. [funcArgNamesDifferent] mpop-1.4.21/src/list.h:53:24: note: Function 'list_free' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.21/src/list.c:55:24: note: Function 'list_free' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.21/src/list.c:73:25: style:inconclusive: Function 'list_xfree' argument 1 names different: declaration 'head' definition 'l'. [funcArgNamesDifferent] mpop-1.4.21/src/list.h:60:25: note: Function 'list_xfree' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.21/src/list.c:73:25: note: Function 'list_xfree' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.21/src/list.c:92:26: style:inconclusive: Function 'list_insert' argument 1 names different: declaration 'e' definition 'l'. [funcArgNamesDifferent] mpop-1.4.21/src/list.h:65:26: note: Function 'list_insert' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.21/src/list.c:92:26: note: Function 'list_insert' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.21/src/list.c:107:26: style:inconclusive: Function 'list_remove' argument 1 names different: declaration 'e' definition 'l'. [funcArgNamesDifferent] mpop-1.4.21/src/list.h:71:26: note: Function 'list_remove' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.21/src/list.c:107:26: note: Function 'list_remove' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.21/src/list.c:121:27: style:inconclusive: Function 'list_xremove' argument 1 names different: declaration 'e' definition 'l'. [funcArgNamesDifferent] mpop-1.4.21/src/list.h:77:27: note: Function 'list_xremove' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.21/src/list.c:121:27: note: Function 'list_xremove' argument 1 names different: declaration 'e' definition 'l'. mpop-1.4.21/src/list.c:136:27: style:inconclusive: Function 'list_is_empty' argument 1 names different: declaration 'head' definition 'l'. [funcArgNamesDifferent] mpop-1.4.21/src/list.h:83:27: note: Function 'list_is_empty' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.21/src/list.c:136:27: note: Function 'list_is_empty' argument 1 names different: declaration 'head' definition 'l'. mpop-1.4.21/src/md5-apps.c:76:32: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/md5-apps.c:80:10: style: Variable 'hex' can be declared as const array [constVariable] mpop-1.4.21/src/mpop.c:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpop.c:568:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpop.c:580:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpop.c:1162:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpop.c:1391:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpop.c:1514:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpop.c:2237:19: style: Local variable 'conffile' shadows outer variable [shadowVariable] mpop-1.4.21/src/mpop.c:1478:11: note: Shadowed declaration mpop-1.4.21/src/mpop.c:2237:19: note: Shadow variable mpop-1.4.21/src/mpop.c:1512:19: style: Variable 'options' can be declared as const array [constVariable] mpop-1.4.21/src/mpopd.c:96:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpopd.c:136:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpopd.c:202:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpopd.c:218:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpopd.c:253:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpopd.c:417:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpopd.c:437:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpopd.c:675:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpopd.c:703:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpopd.c:829:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mpopd.c:1022:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] mpop-1.4.21/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.21/src/mpopd.c:255:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] mpop-1.4.21/src/mpopd.c:376:17: style: Condition 'len>0' is always true [knownConditionTrueFalse] mpop-1.4.21/src/mpopd.c:373:17: note: Assuming that condition 'len==0' is not redundant mpop-1.4.21/src/mpopd.c:376:17: note: Condition 'len>0' is always true mpop-1.4.21/src/mpopd.c:255:30: warning: If resource allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfResources] mpop-1.4.21/src/mpopd.c:252:23: note: Assuming allocation function fails mpop-1.4.21/src/mpopd.c:252:23: note: Assignment 'dir=opendir(maildirnew)', assigned value is 0 mpop-1.4.21/src/mpopd.c:255:30: note: Null pointer dereference mpop-1.4.21/src/mpopd.c:471:16: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] mpop-1.4.21/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.21/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.21/src/mpopd.c:987:53: note: Calling function 'mpopd_session', 3rd argument 'conn' value is 0 mpop-1.4.21/src/mpopd.c:471:16: note: Null pointer dereference mpop-1.4.21/src/mpopd.c:475:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] mpop-1.4.21/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.21/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.21/src/mpopd.c:987:53: note: Calling function 'mpopd_session', 3rd argument 'conn' value is 0 mpop-1.4.21/src/mpopd.c:475:13: note: Null pointer dereference mpop-1.4.21/src/mpopd.c:477:20: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] mpop-1.4.21/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.21/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.21/src/mpopd.c:987:53: note: Calling function 'mpopd_session', 3rd argument 'conn' value is 0 mpop-1.4.21/src/mpopd.c:477:20: note: Null pointer dereference mpop-1.4.21/src/mpopd.c:988:24: warning: If resource allocation fails, then there is a possible null pointer dereference: conn [nullPointerOutOfResources] mpop-1.4.21/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.21/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.21/src/mpopd.c:988:24: note: Null pointer dereference mpop-1.4.21/src/mpopd.c:987:21: style: Local variable 'ret' shadows outer variable [shadowVariable] mpop-1.4.21/src/mpopd.c:819:9: note: Shadowed declaration mpop-1.4.21/src/mpopd.c:987:21: note: Shadow variable mpop-1.4.21/src/mpopd.c:125:24: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/mpopd.c:254:20: style: Variable 'dirent' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/mpopd.c:352:11: style: Variable 'send_buf' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/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.21/src/mpopd.c:945:27: note: You might need to cast the function pointer here mpop-1.4.21/src/mpopd.c:664:44: note: Parameter 'si' can be declared as pointer to const mpop-1.4.21/src/mpopd.c:684:40: style: Parameter 'argv' can be declared as const array [constParameter] mpop-1.4.21/src/mpopd.c:702:19: style: Variable 'options' can be declared as const array [constVariable] mpop-1.4.21/src/mpopd.c:762:23: style: Variable 'comma' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/mpopd.c:404:18: style: Variable 'send_len' is assigned a value that is never used. [unreadVariable] mpop-1.4.21/src/mpopd.c:408:22: style: Variable 'send_len' is assigned a value that is never used. [unreadVariable] mpop-1.4.21/src/mpopd.c:415:22: style: Variable 'send_len' is assigned a value that is never used. [unreadVariable] mpop-1.4.21/src/mtls-gnutls.c:89:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_DIG_SHA256 [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-gnutls.c:135:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_DER [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-gnutls.c:252:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_DER [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-gnutls.c:386:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CLIENT [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-gnutls.c:558:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_NAME_DNS [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-gnutls.c:643:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_AGAIN [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-gnutls.c:690:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_AGAIN [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-gnutls.c:730:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_SHUT_WR [valueFlowBailoutIncompleteVar] mpop-1.4.21/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.21/src/mtls-gnutls.c:448:40: note: You might need to cast the function pointer here mpop-1.4.21/src/mtls-gnutls.c:343:36: note: Parameter 'userdata' can be declared as pointer to const mpop-1.4.21/src/mtls-gnutls.c:353:26: style: Variable 'len' is assigned a value that is never used. [unreadVariable] mpop-1.4.21/src/mtls-libtls.c:238:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-libtls.c:491:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLS_WANT_POLLIN [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-libtls.c:523:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLS_WANT_POLLIN [valueFlowBailoutIncompleteVar] mpop-1.4.21/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.21/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.21/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.21/src/mtls-libtls.c:326:36: style: Condition '!no_certcheck' is always true [knownConditionTrueFalse] mpop-1.4.21/src/mtls-libtls.c:320:9: note: Assuming that condition 'no_certcheck' is not redundant mpop-1.4.21/src/mtls-libtls.c:326:36: note: Condition '!no_certcheck' is always true mpop-1.4.21/src/mtls-libtls.c:334:28: style: Condition '!no_certcheck' is always true [knownConditionTrueFalse] mpop-1.4.21/src/mtls-libtls.c:320:9: note: Assuming that condition 'no_certcheck' is not redundant mpop-1.4.21/src/mtls-libtls.c:334:28: note: Condition '!no_certcheck' is always true mpop-1.4.21/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.21/src/mtls-libtls.c:361:30: note: Assuming allocation function fails mpop-1.4.21/src/mtls-libtls.c:361:30: note: Assignment 'mtls->internals=xmalloc(sizeof(struct mtls_internals_t))', assigned value is 0 mpop-1.4.21/src/mtls-libtls.c:363:14: note: Null pointer dereference mpop-1.4.21/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.21/src/mtls-libtls.c:438:50: note: Assuming allocation function fails mpop-1.4.21/src/mtls-libtls.c:438:50: note: Assignment '*mtls_parameter_description=xmalloc(pdl+1)', assigned value is 0 mpop-1.4.21/src/mtls-libtls.c:439:14: note: Null pointer dereference mpop-1.4.21/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.21/src/mtls.h:191:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. mpop-1.4.21/src/mtls-libtls.c:103:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. mpop-1.4.21/src/mtls-libtls.c:396:27: style:inconclusive: Function 'mtls_start' argument 3 names different: declaration 'tci' definition 'mtci'. [funcArgNamesDifferent] mpop-1.4.21/src/mtls.h:163:27: note: Function 'mtls_start' argument 3 names different: declaration 'tci' definition 'mtci'. mpop-1.4.21/src/mtls-libtls.c:396:27: note: Function 'mtls_start' argument 3 names different: declaration 'tci' definition 'mtci'. mpop-1.4.21/src/mtls-openssl.c:319:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V_ASN1_GENERALIZEDTIME [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-openssl.c:524:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509_V_OK [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-openssl.c:687:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_OP_NO_SSLv2 [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-openssl.c:805:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-openssl.c:861:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-openssl.c:922:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_ERROR_NONE [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/mtls-openssl.c:970:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/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.21/src/mtls-openssl.c:676:30: note: Assuming allocation function fails mpop-1.4.21/src/mtls-openssl.c:676:30: note: Assignment 'mtls->internals=xmalloc(sizeof(struct mtls_internals_t))', assigned value is 0 mpop-1.4.21/src/mtls-openssl.c:678:15: note: Null pointer dereference mpop-1.4.21/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.21/src/mtls.h:191:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. mpop-1.4.21/src/mtls-openssl.c:276:56: note: Function 'mtls_cert_info_get' argument 2 names different: declaration 'tci' definition 'mtci'. mpop-1.4.21/src/mtls-openssl.c:436:19: style: Variable 'subj_alt_name' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/mtls.c:73:28: style: Parameter 'mtls' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/net.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/net.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/net.c:334:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/net.c:397:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/net.c:670:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/net.c:1037:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/net.c:1084:5: warning: If memory allocation fails, then there is a possible null pointer dereference: query [nullPointerOutOfMemory] mpop-1.4.21/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.21/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.21/src/net.c:1084:5: note: Null pointer dereference mpop-1.4.21/src/net.c:1085:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.21/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.21/src/net.c:1085:19: note: Null pointer addition mpop-1.4.21/src/net.c:1086:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.21/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.21/src/net.c:1086:19: note: Null pointer addition mpop-1.4.21/src/net.c:1087:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.21/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.21/src/net.c:1087:18: note: Null pointer addition mpop-1.4.21/src/net.c:659:14: style:inconclusive: Function 'net_open_socket' argument 8 names different: declaration 'fd' definition 'ret_fd'. [funcArgNamesDifferent] mpop-1.4.21/src/net.h:89:14: note: Function 'net_open_socket' argument 8 names different: declaration 'fd' definition 'ret_fd'. mpop-1.4.21/src/net.c:659:14: note: Function 'net_open_socket' argument 8 names different: declaration 'fd' definition 'ret_fd'. mpop-1.4.21/src/net.c:1072:37: style:inconclusive: Function 'net_get_srv_query' argument 1 names different: declaration 'domain' definition 'domain0'. [funcArgNamesDifferent] mpop-1.4.21/src/net.h:140:37: note: Function 'net_get_srv_query' argument 1 names different: declaration 'domain' definition 'domain0'. mpop-1.4.21/src/net.c:1072:37: note: Function 'net_get_srv_query' argument 1 names different: declaration 'domain' definition 'domain0'. mpop-1.4.21/src/net.c:1074:11: style: Variable 'domain' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/net.c:1100:65: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/netrc.c:122:6: style: Condition '!*p' is always false [knownConditionTrueFalse] mpop-1.4.21/src/netrc.c:69:13: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] mpop-1.4.21/src/netrc.c:65:30: note: Assuming allocation function fails mpop-1.4.21/src/netrc.c:65:6: note: Assignment 'a=(struct netrc_entry*)xmalloc(sizeof(struct netrc_entry))', assigned value is 0 mpop-1.4.21/src/netrc.c:69:13: note: Null pointer dereference mpop-1.4.21/src/netrc.c:85:34: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/password.c:150:9: style: Condition '!password' is always true [knownConditionTrueFalse] mpop-1.4.21/src/password.c:93:22: note: Assignment 'password=NULL', assigned value is 0 mpop-1.4.21/src/password.c:150:9: note: Condition '!password' is always true mpop-1.4.21/src/password.c:155:22: style: Variable 'netrc_host' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/password.c:215:19: style: Variable 'gpw' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/pop3.c:1018:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/pop3.c:1153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/pop3.c:1290:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/pop3.c:1468:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/pop3.c:1601:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/pop3.c:1688:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/pop3.c:1801:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/pop3.c:3183:31: style: The if condition is the same as the previous if condition [duplicateCondition] mpop-1.4.21/src/pop3.c:3155:31: note: First condition mpop-1.4.21/src/pop3.c:3183:31: note: Second condition mpop-1.4.21/src/pop3.c:118:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.21/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.21/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.21/src/pop3.c:118:5: note: Null pointer dereference mpop-1.4.21/src/pop3.c:119:5: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.21/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.21/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.21/src/pop3.c:119:5: note: Null pointer dereference mpop-1.4.21/src/pop3.c:121:14: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] mpop-1.4.21/src/pop3.c:117:22: note: Assuming allocation function fails mpop-1.4.21/src/pop3.c:117:22: note: Assignment 'session=xmalloc(sizeof(struct pop3_session_t))', assigned value is 0 mpop-1.4.21/src/pop3.c:121:14: note: Null pointer dereference mpop-1.4.21/src/pop3.c:121:36: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] mpop-1.4.21/src/pop3.c:119:34: note: Assuming allocation function fails mpop-1.4.21/src/pop3.c:119:34: note: Assignment 'session->local_user=xstrdup(local_user)', assigned value is 0 mpop-1.4.21/src/pop3.c:121:21: note: Assignment 'p=session->local_user', assigned value is 0 mpop-1.4.21/src/pop3.c:121:36: note: Null pointer dereference mpop-1.4.21/src/pop3.c:2265:23: warning: If memory allocation fails, then there is a possible null pointer dereference: oauth [nullPointerOutOfMemory] mpop-1.4.21/src/pop3.c:2264:20: note: Assuming allocation function fails mpop-1.4.21/src/pop3.c:2264:20: note: Assignment 'oauth=xmalloc(oa_len+1)', assigned value is 0 mpop-1.4.21/src/pop3.c:2265:23: note: Null pointer dereference mpop-1.4.21/src/pop3.c:2348:23: warning: If memory allocation fails, then there is a possible null pointer dereference: oauth [nullPointerOutOfMemory] mpop-1.4.21/src/pop3.c:2347:20: note: Assuming allocation function fails mpop-1.4.21/src/pop3.c:2347:20: note: Assignment 'oauth=xmalloc(oa_len+1)', assigned value is 0 mpop-1.4.21/src/pop3.c:2348:23: note: Null pointer dereference mpop-1.4.21/src/pop3.c:2586:12: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] mpop-1.4.21/src/pop3.c:2585:18: note: Assuming allocation function fails mpop-1.4.21/src/pop3.c:2585:18: note: Assignment 'buf=xmalloc((len+1+32+1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/pop3.c:2586:12: note: Null pointer dereference mpop-1.4.21/src/pop3.c:2587:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/pop3.c:2585:18: note: Assuming allocation function fails mpop-1.4.21/src/pop3.c:2585:18: note: Assignment 'buf=xmalloc((len+1+32+1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/pop3.c:2587:13: note: Null pointer addition mpop-1.4.21/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.21/src/pop3.h:221:21: note: Function 'pop3_session_new' argument 2 names different: declaration 'canonical_hostname' definition 'local_hostname'. mpop-1.4.21/src/pop3.c:111:21: note: Function 'pop3_session_new' argument 2 names different: declaration 'canonical_hostname' definition 'local_hostname'. mpop-1.4.21/src/pop3.c:1982:15: style:inconclusive: Function 'pop3_filter' argument 5 names different: declaration 'data' definition 'filter_output_data'. [funcArgNamesDifferent] mpop-1.4.21/src/pop3.h:445:15: note: Function 'pop3_filter' argument 5 names different: declaration 'data' definition 'filter_output_data'. mpop-1.4.21/src/pop3.c:1982:15: note: Function 'pop3_filter' argument 5 names different: declaration 'data' definition 'filter_output_data'. mpop-1.4.21/src/pop3.c:681:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/pop3.c:681:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/pop3.c:1088:32: style: Parameter 'abort' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/pop3.c:1226:63: style: Parameter 'abort' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/pop3.c:1340:63: style: Parameter 'abort' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/pop3.c:1355:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/pop3.c:1650:48: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/pop3.c:2021:63: style: Parameter 'abort' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/pop3.c:2544:10: style: Variable 'hex' can be declared as const array [constVariable] mpop-1.4.21/src/pop3.c:2545:11: style: Variable 'challenge' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/pop3.c:3333:33: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] mpop-1.4.21/src/pop3.c:433:18: style: Variable 'oldstate' is assigned a value that is never used. [unreadVariable] mpop-1.4.21/src/tools.c:487:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/tools.c:656:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/tools.c:696:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/tools.c:404:24: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] mpop-1.4.21/src/tools.c:411:22: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] mpop-1.4.21/src/tools.c:563:14: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] mpop-1.4.21/src/tools.c:835:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] mpop-1.4.21/src/tools.c:591:21: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:483:31: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:483:31: note: Assignment 'xdg_home=xstrdup(xdg_home)', assigned value is 0 mpop-1.4.21/src/tools.c:487:32: note: Calling function 'get_filename', 1st argument 'xdg_home' value is 0 mpop-1.4.21/src/tools.c:591:21: note: Null pointer dereference mpop-1.4.21/src/tools.c:593:12: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:592:19: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:592:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:593:12: note: Null pointer dereference mpop-1.4.21/src/tools.c:593:18: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:483:31: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:483:31: note: Assignment 'xdg_home=xstrdup(xdg_home)', assigned value is 0 mpop-1.4.21/src/tools.c:487:32: note: Calling function 'get_filename', 1st argument 'xdg_home' value is 0 mpop-1.4.21/src/tools.c:593:18: note: Null pointer dereference mpop-1.4.21/src/tools.c:594:24: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:592:19: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:592:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:594:24: note: Null pointer dereference mpop-1.4.21/src/tools.c:740:35: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:747:15: note: Assignment 'str=new_str', assigned value is 0 mpop-1.4.21/src/tools.c:740:35: note: Null pointer dereference mpop-1.4.21/src/tools.c:741:17: warning: If memory allocation fails, then there is a possible null pointer dereference: new_str [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:741:17: note: Null pointer dereference mpop-1.4.21/src/tools.c:741:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:747:15: note: Assignment 'str=new_str', assigned value is 0 mpop-1.4.21/src/tools.c:741:26: note: Null pointer dereference mpop-1.4.21/src/tools.c:962:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:960:28: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.21/src/tools.c:962:9: note: Null pointer dereference mpop-1.4.21/src/tools.c:963:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:960:28: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.21/src/tools.c:963:9: note: Null pointer dereference mpop-1.4.21/src/tools.c:966:13: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:960:28: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.21/src/tools.c:966:13: note: Null pointer dereference mpop-1.4.21/src/tools.c:968:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:960:28: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.21/src/tools.c:968:9: note: Null pointer dereference mpop-1.4.21/src/tools.c:969:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:960:28: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.21/src/tools.c:969:9: note: Null pointer dereference mpop-1.4.21/src/tools.c:970:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:960:28: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.21/src/tools.c:970:9: note: Null pointer dereference mpop-1.4.21/src/tools.c:972:16: warning: If memory allocation fails, then there is a possible null pointer dereference: enc [nullPointerOutOfMemory] mpop-1.4.21/src/tools.c:960:28: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.21/src/tools.c:972:16: note: Null pointer dereference mpop-1.4.21/src/tools.c:598:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:592:19: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:592:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:598:17: note: Null pointer addition mpop-1.4.21/src/tools.c:742:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:742:24: note: Null pointer addition mpop-1.4.21/src/tools.c:743:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:743:24: note: Null pointer addition mpop-1.4.21/src/tools.c:744:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:747:15: note: Assignment 'str=new_str', assigned value is 0 mpop-1.4.21/src/tools.c:744:21: note: Null pointer addition mpop-1.4.21/src/tools.c:971:37: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:960:28: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.21/src/tools.c:971:37: note: Null pointer addition mpop-1.4.21/src/tools.c:376:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/tools.c:555:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/tools.c:733:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/tools.c:835:16: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/tools.c:948:15: style: Variable 'encoding' can be declared as pointer to const [constVariablePointer] mpop-1.4.21/src/uidls.c:178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/uidls.c:388:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mpop-1.4.21/src/uidls.c:66:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uidl [nullPointerOutOfMemory] mpop-1.4.21/src/uidls.c:65:27: note: Assuming allocation function fails mpop-1.4.21/src/uidls.c:65:27: note: Assignment 'uidl=xmalloc(sizeof(struct uidl_t))', assigned value is 0 mpop-1.4.21/src/uidls.c:66:5: note: Null pointer dereference mpop-1.4.21/src/uidls.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uidl [nullPointerOutOfMemory] mpop-1.4.21/src/uidls.c:65:27: note: Assuming allocation function fails mpop-1.4.21/src/uidls.c:65:27: note: Assignment 'uidl=xmalloc(sizeof(struct uidl_t))', assigned value is 0 mpop-1.4.21/src/uidls.c:67:5: note: Null pointer dereference mpop-1.4.21/src/uidls.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uidl [nullPointerOutOfMemory] mpop-1.4.21/src/uidls.c:65:27: note: Assuming allocation function fails mpop-1.4.21/src/uidls.c:65:27: note: Assignment 'uidl=xmalloc(sizeof(struct uidl_t))', assigned value is 0 mpop-1.4.21/src/uidls.c:68:5: note: Null pointer dereference mpop-1.4.21/src/uidls.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uidl [nullPointerOutOfMemory] mpop-1.4.21/src/uidls.c:65:27: note: Assuming allocation function fails mpop-1.4.21/src/uidls.c:65:27: note: Assignment 'uidl=xmalloc(sizeof(struct uidl_t))', assigned value is 0 mpop-1.4.21/src/uidls.c:69:5: note: Null pointer dereference mpop-1.4.21/src/uidls.c:381:12: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_filename [nullPointerOutOfMemory] mpop-1.4.21/src/uidls.c:380:28: note: Assuming allocation function fails mpop-1.4.21/src/uidls.c:380:28: note: Assignment 'temp_filename=xmalloc((strlen(filename)+7+1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/uidls.c:381:12: note: Null pointer dereference mpop-1.4.21/src/uidls.c:382:12: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_filename [nullPointerOutOfMemory] mpop-1.4.21/src/uidls.c:380:28: note: Assuming allocation function fails mpop-1.4.21/src/uidls.c:380:28: note: Assignment 'temp_filename=xmalloc((strlen(filename)+7+1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/uidls.c:382:12: note: Null pointer dereference mpop-1.4.21/src/uidls.c:383:28: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_filename [nullPointerOutOfMemory] mpop-1.4.21/src/uidls.c:380:28: note: Assuming allocation function fails mpop-1.4.21/src/uidls.c:380:28: note: Assignment 'temp_filename=xmalloc((strlen(filename)+7+1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/uidls.c:383:28: note: Null pointer dereference mpop-1.4.21/src/xalloc.c:118:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] mpop-1.4.21/src/xalloc.c:117:15: note: Assuming allocation function fails mpop-1.4.21/src/xalloc.c:117:15: note: Assignment 'p=malloc(l+1)', assigned value is 0 mpop-1.4.21/src/xalloc.c:118:12: note: Null pointer dereference mpop-1.4.21/src/xalloc.c:119:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] mpop-1.4.21/src/xalloc.c:117:15: note: Assuming allocation function fails mpop-1.4.21/src/xalloc.c:117:15: note: Assignment 'p=malloc(l+1)', assigned value is 0 mpop-1.4.21/src/xalloc.c:119:5: note: Null pointer dereference mpop-1.4.21/src/mpopd.c:324:30: warning: Null pointer dereference: in [ctunullpointer] mpop-1.4.21/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.21/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.21/src/mpopd.c:987:40: note: Calling function mpopd_session, 2nd argument is null mpop-1.4.21/src/mpopd.c:481:13: note: Calling function read_pop3_cmd, 1st argument is null mpop-1.4.21/src/mpopd.c:324:30: note: Dereferencing argument in that is null mpop-1.4.21/src/mpopd.c:471:16: warning: If resource allocation fails, then there is a possible null pointer dereference: out [ctunullpointerOutOfResources] mpop-1.4.21/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.21/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.21/src/mpopd.c:987:40: note: Calling function mpopd_session, 3rd argument is null mpop-1.4.21/src/mpopd.c:471:16: note: Dereferencing argument out that is null mpop-1.4.21/src/pop3.c:213:40: warning: Null pointer dereference: server_hostname [ctunullpointer] mpop-1.4.21/src/mpop.c:265:39: note: Assuming that condition 'acc->host' is not redundant mpop-1.4.21/src/mpop.c:161:26: note: Calling function pop3_connect, 5th argument is null mpop-1.4.21/src/pop3.c:213:40: note: Dereferencing argument server_hostname that is null mpop-1.4.21/src/tools.c:591:21: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [ctunullpointerOutOfMemory] mpop-1.4.21/src/tools.c:483:31: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:483:31: note: Assignment 'xdg_home=xstrdup(xdg_home)', assigned value is 0 mpop-1.4.21/src/tools.c:487:31: note: Calling function get_filename, 1st argument is null mpop-1.4.21/src/tools.c:591:21: note: Dereferencing argument directory that is null mpop-1.4.21/src/xalloc.c:88:22: warning: Null pointer dereference: s [ctunullpointer] mpop-1.4.21/src/mpop.c:265:39: note: Assuming that condition 'acc->host' is not redundant mpop-1.4.21/src/mpop.c:161:26: note: Calling function pop3_connect, 5th argument is null mpop-1.4.21/src/pop3.c:213:32: note: Calling function xstrdup, 1st argument is null mpop-1.4.21/src/xalloc.c:88:22: note: Dereferencing argument s that is null diff: head mpop-1.4.21/src/delivery.c:447:45: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:447:45: note: Null pointer dereference head mpop-1.4.21/src/delivery.c:449:45: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:449:45: note: Null pointer dereference head mpop-1.4.21/src/delivery.c:451:45: warning: If memory allocation fails, then there is a possible null pointer dereference: maildir_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:431:27: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:431:27: note: Assignment 'maildir_data=xmalloc(sizeof(struct maildir_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:451:45: note: Null pointer dereference head mpop-1.4.21/src/delivery.c:607:46: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:607:46: note: Null pointer dereference head mpop-1.4.21/src/delivery.c:609:46: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:609:46: note: Null pointer dereference head mpop-1.4.21/src/delivery.c:611:46: warning: If memory allocation fails, then there is a possible null pointer dereference: exchange_data [nullPointerOutOfMemory] mpop-1.4.21/src/delivery.c:591:28: note: Assuming allocation function fails mpop-1.4.21/src/delivery.c:591:28: note: Assignment 'exchange_data=xmalloc(sizeof(struct exchange_data_t))', assigned value is 0 mpop-1.4.21/src/delivery.c:611:46: note: Null pointer dereference head mpop-1.4.21/src/mpopd.c:471:16: warning: If resource allocation fails, then there is a possible null pointer dereference: out [ctunullpointerOutOfResources] mpop-1.4.21/src/mpopd.c:986:36: note: Assuming allocation function fails mpop-1.4.21/src/mpopd.c:986:36: note: Assignment 'conn=fdopen(conn_fd,"rb+")', assigned value is 0 mpop-1.4.21/src/mpopd.c:987:40: note: Calling function mpopd_session, 3rd argument is null mpop-1.4.21/src/mpopd.c:471:16: note: Dereferencing argument out that is null 2.17.0 mpop-1.4.21/src/net.c:1085:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.21/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.21/src/net.c:1085:19: note: Null pointer addition head mpop-1.4.21/src/net.c:1085:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.21/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.21/src/net.c:1085:19: note: Null pointer addition 2.17.0 mpop-1.4.21/src/net.c:1086:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.21/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.21/src/net.c:1086:19: note: Null pointer addition head mpop-1.4.21/src/net.c:1086:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.21/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.21/src/net.c:1086:19: note: Null pointer addition 2.17.0 mpop-1.4.21/src/net.c:1087:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.21/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.21/src/net.c:1087:18: note: Null pointer addition head mpop-1.4.21/src/net.c:1087:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/net.c:1083:26: note: Assuming allocation function fails mpop-1.4.21/src/net.c:1083:26: note: Assignment 'query=xmalloc(query_len+1)', assigned value is 0 mpop-1.4.21/src/net.c:1087:18: note: Null pointer addition 2.17.0 mpop-1.4.21/src/pop3.c:2587:13: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/pop3.c:2585:18: note: Assuming allocation function fails mpop-1.4.21/src/pop3.c:2585:18: note: Assignment 'buf=xmalloc((len+1+32+1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/pop3.c:2587:13: note: Null pointer addition head mpop-1.4.21/src/pop3.c:2587:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/pop3.c:2585:18: note: Assuming allocation function fails mpop-1.4.21/src/pop3.c:2585:18: note: Assignment 'buf=xmalloc((len+1+32+1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/pop3.c:2587:13: note: Null pointer addition head mpop-1.4.21/src/tools.c:591:21: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [ctunullpointerOutOfMemory] mpop-1.4.21/src/tools.c:483:31: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:483:31: note: Assignment 'xdg_home=xstrdup(xdg_home)', assigned value is 0 mpop-1.4.21/src/tools.c:487:31: note: Calling function get_filename, 1st argument is null mpop-1.4.21/src/tools.c:591:21: note: Dereferencing argument directory that is null 2.17.0 mpop-1.4.21/src/tools.c:598:17: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:592:19: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:592:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:598:17: note: Null pointer addition head mpop-1.4.21/src/tools.c:598:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:592:19: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:592:19: note: Assignment 'path=xmalloc((dirlen+strlen(name)+2)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:598:17: note: Null pointer addition 2.17.0 mpop-1.4.21/src/tools.c:742:24: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:742:24: note: Null pointer addition head mpop-1.4.21/src/tools.c:742:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:742:24: note: Null pointer addition 2.17.0 mpop-1.4.21/src/tools.c:743:24: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:743:24: note: Null pointer addition head mpop-1.4.21/src/tools.c:743:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:743:24: note: Null pointer addition 2.17.0 mpop-1.4.21/src/tools.c:744:21: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:747:15: note: Assignment 'str=new_str', assigned value is 0 mpop-1.4.21/src/tools.c:744:21: note: Null pointer addition head mpop-1.4.21/src/tools.c:744:21: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:740:26: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:740:26: note: Assignment 'new_str=xmalloc((strlen(str)+rlen-1)*sizeof(char))', assigned value is 0 mpop-1.4.21/src/tools.c:747:15: note: Assignment 'str=new_str', assigned value is 0 mpop-1.4.21/src/tools.c:744:21: note: Null pointer addition 2.17.0 mpop-1.4.21/src/tools.c:971:37: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:960:28: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.21/src/tools.c:971:37: note: Null pointer addition head mpop-1.4.21/src/tools.c:971:37: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mpop-1.4.21/src/tools.c:960:28: note: Assuming allocation function fails mpop-1.4.21/src/tools.c:960:28: note: Assignment 'enc=xmalloc(enc_len+1)', assigned value is 0 mpop-1.4.21/src/tools.c:971:37: note: Null pointer addition DONE