2026-05-04 10:06 ftp://ftp.de.debian.org/debian/pool/main/p/proftpd-mod-sftp-ldap/proftpd-mod-sftp-ldap_0.2.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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 11 11 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: proftpd-mod_sftp_ldap-0.2/keys.c:44:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] proftpd-mod_sftp_ldap-0.2/keys.c:173:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] proftpd-mod_sftp_ldap-0.2/keys.c:284:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFTP_SSH2_PUBKEY_END_MARKER [valueFlowBailoutIncompleteVar] proftpd-mod_sftp_ldap-0.2/keys.c:322:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] proftpd-mod_sftp_ldap-0.2/keys.c:49:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] proftpd-mod_sftp_ldap-0.2/mod_sftp_ldap.c:54:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] proftpd-mod_sftp_ldap-0.2/mod_sftp_ldap.c:84:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] proftpd-mod_sftp_ldap-0.2/mod_sftp_ldap.c:121:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SYM_HOOK [valueFlowBailoutIncompleteVar] proftpd-mod_sftp_ldap-0.2/mod_sftp_ldap.c:204:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFTP_SSH2_USER_KEY_STORE [valueFlowBailoutIncompleteVar] proftpd-mod_sftp_ldap-0.2/mod_sftp_ldap.c:194:45: style: Parameter 'store' can be declared as pointer to const. However it seems that 'ldapstore_close' is a callback function, if 'store' is declared with const you might also need to cast function pointer(s). [constParameterCallback] proftpd-mod_sftp_ldap-0.2/mod_sftp_ldap.c:216:24: note: You might need to cast the function pointer here proftpd-mod_sftp_ldap-0.2/mod_sftp_ldap.c:194:45: note: Parameter 'store' can be declared as pointer to const proftpd-mod_sftp_ldap-0.2/t/api/tests.h:35:3: error: #error "Missing Check installation; necessary for ProFTPD testsuite" [preprocessorErrorDirective] diff: DONE