2025-10-30 20:33 ftp://ftp.de.debian.org/debian/pool/main/libc/libcrypt-dh-gmp-perl/libcrypt-dh-gmp-perl_0.00012.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-87-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: 828e903 (2025-10-30 18:25:48 +0100) count: 7 7 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: Crypt-DH-GMP-0.00012/xs/dh_gmp.c:16:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aTHX [valueFlowBailoutIncompleteVar] Crypt-DH-GMP-0.00012/xs/dh_gmp.c:76:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpz_t [valueFlowBailoutIncompleteVar] Crypt-DH-GMP-0.00012/xs/dh_gmp.c:99:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpz_t [valueFlowBailoutIncompleteVar] Crypt-DH-GMP-0.00012/xs/dh_gmp.c:56:13: style: Condition 'pad>0' is always true [knownConditionTrueFalse] Crypt-DH-GMP-0.00012/xs/dh_gmp.c:51:14: note: Assignment 'pad=8-len%8', assigned value is greater than 0 Crypt-DH-GMP-0.00012/xs/dh_gmp.c:56:13: note: Condition 'pad>0' is always true Crypt-DH-GMP-0.00012/xs/dh_gmp.c:52:13: style: Checking if unsigned expression 'pad' is less than zero. [unsignedLessThanZero] Crypt-DH-GMP-0.00012/xs/dh_gmp.c:94:38: style:inconclusive: Function 'PerlCryptDHGMP_clone' argument 1 names different: declaration 'p' definition 'o'. [funcArgNamesDifferent] Crypt-DH-GMP-0.00012/xs/dh_gmp.h:29:54: note: Function 'PerlCryptDHGMP_clone' argument 1 names different: declaration 'p' definition 'o'. Crypt-DH-GMP-0.00012/xs/dh_gmp.c:94:38: note: Function 'PerlCryptDHGMP_clone' argument 1 names different: declaration 'p' definition 'o'. Crypt-DH-GMP-0.00012/xs/dh_gmp.c:25:17: style: Variable 'buf_end' can be declared as pointer to const [constVariablePointer] diff: DONE