2025-07-08 02:02 ftp://ftp.de.debian.org/debian/pool/main/f/flexml/flexml_1.9.6.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 -j2 platform: Linux-6.8.0-63-generic-x86_64-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: 8833e3e (2025-07-07 13:50:36 +0200) count: 21 21 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: flexml-1.9.6/flexml-act-bootstrap.c:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pcdata [valueFlowBailoutIncompleteVar] flexml-1.9.6/flexml-act-bootstrap.c:56:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_start_tag [valueFlowBailoutIncompleteVar] flexml-1.9.6/flexml-act-bootstrap.c:61:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pcdata [valueFlowBailoutIncompleteVar] flexml-1.9.6/flexml-act-bootstrap.c:66:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_end_tag [valueFlowBailoutIncompleteVar] flexml-1.9.6/flexml-act-bootstrap.c:71:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pcdata [valueFlowBailoutIncompleteVar] flexml-1.9.6/flexml-act-bootstrap.c:80:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pcdata [valueFlowBailoutIncompleteVar] flexml-1.9.6/testbed/biparser.precious.c:9:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable one_pcdata [valueFlowBailoutIncompleteVar] flexml-1.9.6/testbed/biparser.precious.c:11:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable one_pcdata [valueFlowBailoutIncompleteVar] flexml-1.9.6/testbed/biparser.precious.c:14:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable two_pcdata [valueFlowBailoutIncompleteVar] flexml-1.9.6/testbed/biparser.precious.c:16:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable two_pcdata [valueFlowBailoutIncompleteVar] flexml-1.9.6/testbed/biparser.precious.c:55:9: warning: If resource allocation fails, then there is a possible null pointer dereference: infile [nullPointerOutOfResources] flexml-1.9.6/testbed/biparser.precious.c:50:14: note: Assuming allocation function fails flexml-1.9.6/testbed/biparser.precious.c:50:14: note: Assignment 'infile=fopen("biparser-one.in","r")', assigned value is 0 flexml-1.9.6/testbed/biparser.precious.c:55:9: note: Null pointer dereference flexml-1.9.6/testbed/biparser.precious.c:63:9: warning: If resource allocation fails, then there is a possible null pointer dereference: infile [nullPointerOutOfResources] flexml-1.9.6/testbed/biparser.precious.c:58:14: note: Assuming allocation function fails flexml-1.9.6/testbed/biparser.precious.c:58:14: note: Assignment 'infile=fopen("biparser-two.in","r")', assigned value is 0 flexml-1.9.6/testbed/biparser.precious.c:63:9: note: Null pointer dereference test.c:535:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] test.c:851:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] test.c:1042:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] test.c:1398:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] test.c:851:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] test.c:851:3: note: c is initialized test.c:851:3: note: c is overwritten test.c:759:17: style: Variable 'source' can be declared as pointer to const [constVariablePointer] test.c:971:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] test.c:1301:15: style: Parameter 'bytes' can be declared as pointer to const [constParameterPointer] test.c:1395:6: style: Parameter 'msg' can be declared as const array [constParameter] diff: DONE