2025-12-16 19:44 ftp://ftp.de.debian.org/debian/pool/main/p/pipemeter/pipemeter_1.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 -j90 platform: Linux-6.8.0-88-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.18.0 head-info: c9c660e (2025-12-16 13:10:32 +0100) count: 18 18 elapsed-time: 0.1 0.3 head-timing-info: old-timing-info: head results: pipemeter-1.1.5/pipemeter.c:165:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pipemeter-1.1.5/pipemeter.c:379:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pipemeter-1.1.5/pipemeter.c:490:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pipemeter-1.1.5/pipemeter.c:555:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] pipemeter-1.1.5/pipemeter.c:811:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pipemeter-1.1.5/pipemeter.c:836:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pipemeter-1.1.5/pipemeter.c:880:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pipemeter-1.1.5/pipemeter.c:890:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pipemeter-1.1.5/pipemeter.c:335:12: style: Condition '!ignore' is always true [knownConditionTrueFalse] pipemeter-1.1.5/pipemeter.c:331:20: note: Assignment 'ignore=0', assigned value is 0 pipemeter-1.1.5/pipemeter.c:335:12: note: Condition '!ignore' is always true pipemeter-1.1.5/pipemeter.c:223:3: warning: If memory allocation fails, then there is a possible null pointer dereference: progressbar [nullPointerOutOfMemory] pipemeter-1.1.5/pipemeter.c:221:29: note: Assuming allocation function fails pipemeter-1.1.5/pipemeter.c:221:15: note: Assignment 'progressbar=(char*)malloc(pbarlen*sizeof(char)+1)', assigned value is 0 pipemeter-1.1.5/pipemeter.c:223:3: note: Null pointer dereference pipemeter-1.1.5/pipemeter.c:227:5: warning: If memory allocation fails, then there is a possible null pointer dereference: progressbar [nullPointerOutOfMemory] pipemeter-1.1.5/pipemeter.c:221:29: note: Assuming allocation function fails pipemeter-1.1.5/pipemeter.c:221:15: note: Assignment 'progressbar=(char*)malloc(pbarlen*sizeof(char)+1)', assigned value is 0 pipemeter-1.1.5/pipemeter.c:227:5: note: Null pointer dereference pipemeter-1.1.5/pipemeter.c:229:3: warning: If memory allocation fails, then there is a possible null pointer dereference: progressbar [nullPointerOutOfMemory] pipemeter-1.1.5/pipemeter.c:221:29: note: Assuming allocation function fails pipemeter-1.1.5/pipemeter.c:221:15: note: Assignment 'progressbar=(char*)malloc(pbarlen*sizeof(char)+1)', assigned value is 0 pipemeter-1.1.5/pipemeter.c:229:3: note: Null pointer dereference pipemeter-1.1.5/pipemeter.c:230:3: warning: If memory allocation fails, then there is a possible null pointer dereference: progressbar [nullPointerOutOfMemory] pipemeter-1.1.5/pipemeter.c:221:29: note: Assuming allocation function fails pipemeter-1.1.5/pipemeter.c:221:15: note: Assignment 'progressbar=(char*)malloc(pbarlen*sizeof(char)+1)', assigned value is 0 pipemeter-1.1.5/pipemeter.c:230:3: note: Null pointer dereference pipemeter-1.1.5/pipemeter.c:234:5: warning: If memory allocation fails, then there is a possible null pointer dereference: progressfill [nullPointerOutOfMemory] pipemeter-1.1.5/pipemeter.c:232:30: note: Assuming allocation function fails pipemeter-1.1.5/pipemeter.c:232:16: note: Assignment 'progressfill=(char*)malloc(pbarlen*sizeof(char))', assigned value is 0 pipemeter-1.1.5/pipemeter.c:234:5: note: Null pointer dereference pipemeter-1.1.5/pipemeter.c:236:3: warning: If memory allocation fails, then there is a possible null pointer dereference: progressfill [nullPointerOutOfMemory] pipemeter-1.1.5/pipemeter.c:232:30: note: Assuming allocation function fails pipemeter-1.1.5/pipemeter.c:232:16: note: Assignment 'progressfill=(char*)malloc(pbarlen*sizeof(char))', assigned value is 0 pipemeter-1.1.5/pipemeter.c:236:3: note: Null pointer dereference pipemeter-1.1.5/pipemeter.c:237:3: warning: If memory allocation fails, then there is a possible null pointer dereference: progressfill [nullPointerOutOfMemory] pipemeter-1.1.5/pipemeter.c:232:30: note: Assuming allocation function fails pipemeter-1.1.5/pipemeter.c:232:16: note: Assignment 'progressfill=(char*)malloc(pbarlen*sizeof(char))', assigned value is 0 pipemeter-1.1.5/pipemeter.c:237:3: note: Null pointer dereference pipemeter-1.1.5/pipemeter.c:163:9: style: Variable 'colstr' can be declared as pointer to const [constVariablePointer] pipemeter-1.1.5/pipemeter.c:887:27: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] diff: DONE