2024-04-26 07:27 ftp://ftp.de.debian.org/debian/pool/main/libp/libpam-pwdfile/libpam-pwdfile_1.0.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-6.5.0-28-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.57 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 cppcheck: head 2.14.0 head-info: e5659cc (2024-04-25 21:50:47 +0200) count: 8 8 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: libpam-pwdfile-1.0/bigcrypt.c:62:18: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] libpam-pwdfile-1.0/bigcrypt.c:70:19: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] libpam-pwdfile-1.0/pam_pwdfile.c:78:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_SH [valueFlowBailoutIncompleteVar] libpam-pwdfile-1.0/pam_pwdfile.c:138:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] libpam-pwdfile-1.0/pam_pwdfile.c:237:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libpam-pwdfile-1.0/pam_pwdfile.c:206:30: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] libpam-pwdfile-1.0/pam_pwdfile.c:186:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libpam-pwdfile-1.0/pam_pwdfile.c:234:45: style: Parameter 'pamh' can be declared as pointer to const [constParameterPointer] diff: DONE