2025-08-30 07:34 ftp://ftp.de.debian.org/debian/pool/main/d/di/di_6.0.0.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 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 478055e (2025-08-29 18:53:24 +0200) count: 7 7 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: di-6.0.0/disystem.h:83:0: error: #error No_memcpy/bcopy_available. [preprocessorErrorDirective] di-6.0.0/disystem.h:83:4: error: #error No_memcpy/bcopy_available. [preprocessorErrorDirective] di-6.0.0/dimath.h:51:0: error: #error "unable to locate a valid type" [preprocessorErrorDirective] di-6.0.0/dimath.h:51:3: error: #error "unable to locate a valid type" [preprocessorErrorDirective] di-6.0.0/distrutils.c:92:25: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] di-6.0.0/distrutils.c:117:26: note: Assuming allocation function fails di-6.0.0/distrutils.c:117:10: note: Assignment 'nptr=(char*)malloc(len+1)', assigned value is 0 di-6.0.0/distrutils.c:118:12: note: Calling function 'stpecpy', 1st argument 'nptr' value is 0 di-6.0.0/distrutils.c:88:11: note: Assuming condition is false di-6.0.0/distrutils.c:92:25: note: Null pointer dereference di-6.0.0/distrutils.c:118:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] di-6.0.0/distrutils.c:117:26: note: Assuming allocation function fails di-6.0.0/distrutils.c:117:10: note: Assignment 'nptr=(char*)malloc(len+1)', assigned value is 0 di-6.0.0/distrutils.c:118:23: note: Null pointer addition di-6.0.0/distrutils.c:86:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diff: DONE