2026-05-05 02:24 ftp://ftp.de.debian.org/debian/pool/main/s/smem/smem_1.5.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: 519958a (2026-05-04 15:03:10 +0200) count: 3 3 elapsed-time: 0.1 0.0 head-timing-info: old-timing-info: head results: smem-1.5/smemcap.c:58:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] smem-1.5/smemcap.c:65:16: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] smem-1.5/smemcap.c:62:15: note: Assuming allocation function fails smem-1.5/smemcap.c:62:15: note: Assignment 'cur=calloc(1,sizeof(struct fileblock))', assigned value is 0 smem-1.5/smemcap.c:65:16: note: Null pointer dereference smem-1.5/smemcap.c:103:23: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] smem-1.5/smemcap.c:102:13: note: Assuming allocation function fails smem-1.5/smemcap.c:102:13: note: Assignment 'd=opendir(".")', assigned value is 0 smem-1.5/smemcap.c:103:23: note: Null pointer dereference diff: DONE