2025-09-01 01:37 ftp://ftp.de.debian.org/debian/pool/main/l/lola/lola_1.8.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: 2ee39fe (2025-08-30 22:07:31 +0200) count: 16 16 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: lola-1.8/calc.c:57:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable END [valueFlowBailoutIncompleteVar] lola-1.8/json.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable END [valueFlowBailoutIncompleteVar] lola-1.8/json.c:224:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lola-1.8/json.c:229:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lola-1.8/json.c:234:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lola-1.8/json.c:239:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lola-1.8/json.c:244:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lola-1.8/json.c:259:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lola-1.8/json.c:268:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] lola-1.8/json.c:347:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parse_return_success [valueFlowBailoutIncompleteVar] lola-1.8/json.c:55:5: error: Common realloc mistake: 'lex_value' nulled but not freed upon failure [memleakOnRealloc] lola-1.8/json.c:257:5: error: Common realloc mistake: 'a' nulled but not freed upon failure [memleakOnRealloc] lola-1.8/json.c:266:5: error: Common realloc mistake: 'o' nulled but not freed upon failure [memleakOnRealloc] lola-1.8/json.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lex_value [nullPointerOutOfMemory] lola-1.8/json.c:67:20: note: Assuming allocation function fails lola-1.8/json.c:67:20: note: Assignment 'lex_value=malloc(1)', assigned value is 0 lola-1.8/json.c:68:5: note: Null pointer dereference lola-1.8/json.c:280:43: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] lola-1.8/json.c:298:41: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] diff: DONE