2025-06-27 17:37 ftp://ftp.de.debian.org/debian/pool/main/g/google-authenticator/google-authenticator_20191231.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: b6dd286 (2025-06-27 13:53:34 +0200) count: 142 141 elapsed-time: 1.7 1.7 head-timing-info: old-timing-info: head results: google-authenticator-libpam-1.08/examples/demo.c:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_style [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/examples/demo.c:92:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_USER [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/examples/demo.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/examples/demo.c:122:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/examples/demo.c:130:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/examples/demo.c:136:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/examples/demo.c:142:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/examples/demo.c:157:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/examples/demo.c:62:13: warning: Assert statement calls a function which may have desired side effects: 'sigprocmask'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:64:13: warning: Assert statement calls a function which may have desired side effects: 'tcsetattr'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:65:12: warning: Assert statement calls a function which may have desired side effects: 'fgets'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:66:13: warning: Assert statement calls a function which may have desired side effects: 'tcsetattr'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:68:13: warning: Assert statement calls a function which may have desired side effects: 'sigprocmask'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:130:11: warning: Assert statement calls a function which may have desired side effects: 'tcsetattr'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:136:11: warning: Assert statement calls a function which may have desired side effects: 'tcsetattr'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:142:11: warning: Assert statement calls a function which may have desired side effects: 'tcsetattr'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:166:11: warning: Assert statement calls a function which may have desired side effects: 'setrlimit'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:169:11: warning: Assert statement calls a function which may have desired side effects: 'tcgetattr'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:173:11: warning: Assert statement calls a function which may have desired side effects: 'sigprocmask'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:174:11: warning: Assert statement calls a function which may have desired side effects: 'signal'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:175:11: warning: Assert statement calls a function which may have desired side effects: 'signal'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:176:11: warning: Assert statement calls a function which may have desired side effects: 'signal'. [assertWithSideEffect] google-authenticator-libpam-1.08/examples/demo.c:177:11: warning: Assert statement calls a function which may have desired side effects: 'signal'. [assertWithSideEffect] google-authenticator-libpam-1.08/src/base32_prog.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/examples/demo.c:90:32: style: Parameter 'pamh' can be declared as pointer to const [constParameterPointer] google-authenticator-libpam-1.08/src/base32_prog.c:110:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/examples/demo.c:118:32: style: Parameter 'pamh' can be declared as pointer to const [constParameterPointer] google-authenticator-libpam-1.08/src/sha1.c:56:0: error: #error Need to define BYTE_ORDER [preprocessorErrorDirective] google-authenticator-libpam-1.08/src/sha1.c:56:2: error: #error Need to define BYTE_ORDER [preprocessorErrorDirective] google-authenticator-libpam-1.08/src/google-authenticator.c:129:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/src/google-authenticator.c:165:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/src/google-authenticator.c:354:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/src/google-authenticator.c:375:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/src/google-authenticator.c:497:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] google-authenticator-libpam-1.08/src/base32_prog.c:127:17: style: Condition 'bufsize