2026-01-26 16:13 ftp://ftp.de.debian.org/debian/pool/main/a/autorandr/autorandr_1.15.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 -j1 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.19.0 head-info: ddce8d5 (2026-01-26 16:19:14 +0100) count: 6 6 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: autorandr-1.15/contrib/autorandr_launcher/autorandr_launcher.c:27:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] autorandr-1.15/contrib/autorandr_launcher/autorandr_launcher.c:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] autorandr-1.15/contrib/autorandr_launcher/autorandr_launcher.c:52:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] autorandr-1.15/contrib/autorandr_launcher/autorandr_launcher.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] autorandr-1.15/contrib/autorandr_launcher/autorandr_launcher.c:47:9: warning: If memory allocation fails, then there is a possible null pointer dereference: comm [nullPointerOutOfMemory] autorandr-1.15/contrib/autorandr_launcher/autorandr_launcher.c:46:22: note: Assuming allocation function fails autorandr-1.15/contrib/autorandr_launcher/autorandr_launcher.c:46:22: note: Assignment 'comm=malloc(sizeof(argv))', assigned value is 0 autorandr-1.15/contrib/autorandr_launcher/autorandr_launcher.c:47:9: note: Null pointer dereference autorandr-1.15/contrib/autorandr_launcher/autorandr_launcher.c:163:44: style: Variable 'randr_evt' can be declared as pointer to const [constVariablePointer] diff: DONE