2024-04-17 19:12 ftp://ftp.de.debian.org/debian/pool/main/k/kwallet-pam/kwallet-pam_5.27.10.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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 397464e (2024-04-17 17:31:21 +0200) count: 26 11 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: kwallet-pam-5.27.10/pam_darwin.c:22:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SERVICE [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:98:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KWALLETD_BIN_PATH [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:120:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:173:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_CONV [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:228:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_TTY [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:242:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:367:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:434:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:450:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:539:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:604:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:610:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:617:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:637:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:656:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:711:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:791:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] kwallet-pam-5.27.10/pam_kwallet.c:262:16: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] kwallet-pam-5.27.10/pam_kwallet.c:571:16: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] kwallet-pam-5.27.10/pam_kwallet.c:78:25: style: Condition 'argumentsParsed!=-1' is always false [knownConditionTrueFalse] kwallet-pam-5.27.10/pam_kwallet.c:234:13: style: Return value 'pam_xdisplay' is always false [knownConditionTrueFalse] kwallet-pam-5.27.10/pam_kwallet.c:225:49: note: Assignment 'pam_xdisplay=NULL', assigned value is 0 kwallet-pam-5.27.10/pam_kwallet.c:234:13: note: Return value 'pam_xdisplay' is always false kwallet-pam-5.27.10/pam_kwallet.c:751:13: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ssize_t {aka signed long}'. [invalidPrintfArgType_sint] kwallet-pam-5.27.10/pam_kwallet.c:261:20: style: Variable 'userInfo' can be declared as pointer to const [constVariablePointer] kwallet-pam-5.27.10/pam_kwallet.c:329:43: style: Parameter 'userInfo' can be declared as pointer to const [constParameterPointer] kwallet-pam-5.27.10/pam_kwallet.c:349:78: style: Parameter 'toWalletPipe' can be declared as const array [constParameter] kwallet-pam-5.27.10/pam_kwallet.c:679:15: style: Variable 'salt' can be declared as pointer to const [constVariablePointer] diff: head kwallet-pam-5.27.10/pam_kwallet.c:120:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:173:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_CONV [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:228:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_TTY [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:242:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:367:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:434:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:450:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:539:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:604:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:610:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:617:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:637:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:656:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:711:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head kwallet-pam-5.27.10/pam_kwallet.c:791:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] DONE