2025-08-29 23:30 ftp://ftp.de.debian.org/debian/pool/main/b/bup/bup_0.33.7.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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-79-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.18.0 head-info: 478055e (2025-08-29 18:53:24 +0200) count: 11 11 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: bup-0.33.7/lib/bup/_helpers.c:1269:0: error: #error "cannot find utimensat or utimes()" [preprocessorErrorDirective] bup-0.33.7/lib/bup/_helpers.c:1269:2: error: #error "cannot find utimensat or utimes()" [preprocessorErrorDirective] bup-0.33.7/lib/bup/bupsplit.c:141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bup-0.33.7/lib/bup/bupsplit.c:90:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bup-0.33.7/lib/bup/bupsplit.c:125:26: note: Assuming allocation function fails bup-0.33.7/lib/bup/bupsplit.c:125:26: note: Assignment 'buf=malloc(100000)', assigned value is 0 bup-0.33.7/lib/bup/bupsplit.c:133:25: note: Calling function 'rollsum_sum', 1st argument 'buf' value is 0 bup-0.33.7/lib/bup/bupsplit.c:90:2: note: Null pointer dereference bup-0.33.7/lib/bup/bupsplit.c:131:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bup-0.33.7/lib/bup/bupsplit.c:125:26: note: Assuming allocation function fails bup-0.33.7/lib/bup/bupsplit.c:125:26: note: Assignment 'buf=malloc(100000)', assigned value is 0 bup-0.33.7/lib/bup/bupsplit.c:131:2: note: Null pointer dereference bup-0.33.7/lib/bup/bupsplit.c:78:41: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] bup-0.33.7/lib/bup/bupsplit.c:84:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] bup-0.33.7/lib/cmd/bup.c:15:0: error: #error "Halting" [preprocessorErrorDirective] bup-0.33.7/lib/cmd/bup.c:15:2: error: #error "Halting" [preprocessorErrorDirective] bup-0.33.7/src/bup/io.c:14:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bup-0.33.7/src/bup/io.c:27:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diff: DONE