2025-12-08 20:11 ftp://ftp.de.debian.org/debian/pool/main/b/beast2-mcmc/beast2-mcmc_2.7.6+dfsg.orig.tar.xz 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-88-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.18.0 head-info: 2fee3b4 (2025-12-08 20:43:36 +0100) count: 4 4 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: beast2-2.7.6/release/Mac/launch.c:11:12: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] beast2-2.7.6/release/Mac/launch.c:67:27: warning: If resource allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfResources] beast2-2.7.6/release/Mac/launch.c:66:25: note: Assuming allocation function fails beast2-2.7.6/release/Mac/launch.c:66:25: note: Assignment 'output=popen(s,"r")', assigned value is 0 beast2-2.7.6/release/Mac/launch.c:67:27: note: Null pointer dereference beast2-2.7.6/release/Mac/launch.c:6:23: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] beast2-2.7.6/release/Mac/launch.c:66:26: error: Uninitialized variable: s [legacyUninitvar] diff: DONE