2026-05-06 02:26 ftp://ftp.de.debian.org/debian/pool/main/a/android-androresolvd/android-androresolvd_1.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 15 15 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: androresolvd-1.3/androresolvd.c:57:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_futex [valueFlowBailoutIncompleteVar] androresolvd-1.3/androresolvd.c:154:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESETHAND [valueFlowBailoutIncompleteVar] androresolvd-1.3/androresolvd.c:152:4: warning: memset() called to fill 0 bytes. [memsetZeroBytes] androresolvd-1.3/androresolvd.c:81:12: error: Mismatching allocation and deallocation: f [mismatchAllocDealloc] androresolvd-1.3/androresolvd.c:71:16: note: Mismatching allocation and deallocation: f androresolvd-1.3/androresolvd.c:81:12: note: Mismatching allocation and deallocation: f androresolvd-1.3/androresolvd.c:148:39: style: Same expression on both sides of '=='. [duplicateExpression] androresolvd-1.3/androresolvd.c:170:26: style: Same expression on both sides of '=='. [duplicateExpression] androresolvd-1.3/androresolvd.c:140:26: style: Parameter 'argv' can be declared as const array [constParameter] androresolvd-1.3/system_properties.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROP_AREA_MAGIC [valueFlowBailoutIncompleteVar] androresolvd-1.3/system_properties.c:87:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pa [nullPointerOutOfMemory] androresolvd-1.3/system_properties.c:81:14: note: Assuming allocation function fails androresolvd-1.3/system_properties.c:81:14: note: Assignment 'pa=mmap(0,sz,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 androresolvd-1.3/system_properties.c:87:9: note: Null pointer dereference androresolvd-1.3/system_properties.c:87:43: warning: If memory allocation fails, then there is a possible null pointer dereference: pa [nullPointerOutOfMemory] androresolvd-1.3/system_properties.c:81:14: note: Assuming allocation function fails androresolvd-1.3/system_properties.c:81:14: note: Assignment 'pa=mmap(0,sz,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 androresolvd-1.3/system_properties.c:87:43: note: Null pointer dereference androresolvd-1.3/system_properties.c:93:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pa [nullPointerOutOfMemory] androresolvd-1.3/system_properties.c:81:14: note: Assuming allocation function fails androresolvd-1.3/system_properties.c:81:14: note: Assignment 'pa=mmap(0,sz,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 androresolvd-1.3/system_properties.c:87:39: note: Assuming condition is false androresolvd-1.3/system_properties.c:93:13: note: Null pointer dereference androresolvd-1.3/system_properties.c:64:11: style: Variable 'env' can be declared as pointer to const [constVariablePointer] androresolvd-1.3/system_properties.c:117:31: style: Variable 'n' can be declared as pointer to const [constVariablePointer] androresolvd-1.3/system_properties.c:125:39: style: Variable 'v' can be declared as pointer to const [constVariablePointer] androresolvd-1.3/system_properties.c:185:15: style: Variable 'toc' can be declared as pointer to const [constVariablePointer] diff: DONE