2025-11-24 22:19 ftp://ftp.de.debian.org/debian/pool/main/a/acpitail/acpitail_0.1.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-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 11 11 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: acpitail-0.1/at.c:52:22: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] acpitail-0.1/emit.c:42:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITEM_EXCEED [valueFlowBailoutIncompleteVar] acpitail-0.1/error.c:17:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acpitail-0.1/emit.c:132:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITEM_EXCEED [valueFlowBailoutIncompleteVar] acpitail-0.1/emit.c:181:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITEM_EXCEED [valueFlowBailoutIncompleteVar] acpitail-0.1/emit.c:35:10: warning: If memory allocation fails, then there is a possible null pointer dereference: prevs [nullPointerOutOfMemory] acpitail-0.1/emit.c:34:17: note: Assuming allocation function fails acpitail-0.1/emit.c:34:17: note: Assignment 'prevs=malloc(bytes)', assigned value is 0 acpitail-0.1/emit.c:35:10: note: Null pointer dereference acpitail-0.1/emit.c:124:10: warning: If memory allocation fails, then there is a possible null pointer dereference: prevs [nullPointerOutOfMemory] acpitail-0.1/emit.c:122:17: note: Assuming allocation function fails acpitail-0.1/emit.c:122:17: note: Assignment 'prevs=malloc(bytes)', assigned value is 0 acpitail-0.1/emit.c:124:10: note: Null pointer dereference acpitail-0.1/emit.c:125:10: warning: If memory allocation fails, then there is a possible null pointer dereference: prevs_ts [nullPointerOutOfMemory] acpitail-0.1/emit.c:123:20: note: Assuming allocation function fails acpitail-0.1/emit.c:123:20: note: Assignment 'prevs_ts=malloc(bytes)', assigned value is 0 acpitail-0.1/emit.c:125:10: note: Null pointer dereference acpitail-0.1/emit.c:174:10: warning: If memory allocation fails, then there is a possible null pointer dereference: prevs [nullPointerOutOfMemory] acpitail-0.1/emit.c:173:17: note: Assuming allocation function fails acpitail-0.1/emit.c:173:17: note: Assignment 'prevs=malloc(bytes)', assigned value is 0 acpitail-0.1/emit.c:174:10: note: Null pointer dereference acpitail-0.1/emit.c:26:29: style: Parameter 'globals' can be declared as pointer to const [constParameterPointer] acpitail-0.1/emit.c:165:25: style: Parameter 'globals' can be declared as pointer to const [constParameterPointer] diff: DONE