2025-05-10 05:58 ftp://ftp.de.debian.org/debian/pool/main/e/enscribe/enscribe_0.1.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 10 10 elapsed-time: 26.1 26.8 head-timing-info: old-timing-info: head results: enscribe-0.1.0/enscribe.c:302:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ENDIAN_FILE [valueFlowBailoutIncompleteVar] enscribe-0.1.0/enscribe.c:667:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscribe-0.1.0/enscribe.c:731:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] enscribe-0.1.0/enscribe.c:882:16: style: Condition 'mcount==ms' is always true [knownConditionTrueFalse] enscribe-0.1.0/enscribe.c:863:14: note: Assuming that condition 'mcount!=ms' is not redundant enscribe-0.1.0/enscribe.c:882:16: note: Condition 'mcount==ms' is always true enscribe-0.1.0/enscribe.c:833:4: warning: If memory allocation fails, then there is a possible null pointer dereference: lerp [nullPointerOutOfMemory] enscribe-0.1.0/enscribe.c:820:25: note: Assuming allocation function fails enscribe-0.1.0/enscribe.c:820:11: note: Assignment 'lerp=(float*)calloc(size,sizeof(float))', assigned value is 0 enscribe-0.1.0/enscribe.c:833:4: note: Null pointer dereference enscribe-0.1.0/enscribe.c:942:4: warning: If memory allocation fails, then there is a possible null pointer dereference: lower [nullPointerOutOfMemory] enscribe-0.1.0/enscribe.c:938:24: note: Assuming allocation function fails enscribe-0.1.0/enscribe.c:938:11: note: Assignment 'lower=(char*)calloc(namelength,sizeof(char))', assigned value is 0 enscribe-0.1.0/enscribe.c:942:4: note: Null pointer dereference enscribe-0.1.0/enscribe.c:946:14: warning: If memory allocation fails, then there is a possible null pointer dereference: lower [nullPointerOutOfMemory] enscribe-0.1.0/enscribe.c:938:24: note: Assuming allocation function fails enscribe-0.1.0/enscribe.c:938:11: note: Assignment 'lower=(char*)calloc(namelength,sizeof(char))', assigned value is 0 enscribe-0.1.0/enscribe.c:946:14: note: Null pointer dereference enscribe-0.1.0/enscribe.c:1112:3: warning: If memory allocation fails, then there is a possible null pointer dereference: window [nullPointerOutOfMemory] enscribe-0.1.0/enscribe.c:1108:23: note: Assuming allocation function fails enscribe-0.1.0/enscribe.c:1108:9: note: Assignment 'window=(float*)calloc(im2->sx,sizeof(float))', assigned value is 0 enscribe-0.1.0/enscribe.c:1112:3: note: Null pointer dereference enscribe-0.1.0/enscribe.c:663:21: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] enscribe-0.1.0/enscribe.c:663:31: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] diff: DONE