2025-07-14 22:29 ftp://ftp.de.debian.org/debian/pool/main/m/monkeysphere/monkeysphere_0.44.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 -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: a2600d0 (2025-07-14 12:39:20 +0200) count: 32 32 elapsed-time: 0.3 0.3 head-timing-info: old-timing-info: head results: monkeysphere-0.44/src/agent-transfer/main.c:25:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:108:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:251:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_ENOMEM [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:265:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:285:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_UNKNOWN_CURVE [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:332:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_GENERAL [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:373:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_CIPHER_AES128 [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:391:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:395:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:413:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_NO_ERROR [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:444:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:594:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:648:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:706:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYPT_VERSION [valueFlowBailoutIncompleteVar] monkeysphere-0.44/src/agent-transfer/main.c:788:32: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] monkeysphere-0.44/src/agent-transfer/main.c:25:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] monkeysphere-0.44/src/agent-transfer/main.c:500:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] monkeysphere-0.44/src/agent-transfer/main.c:500:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] monkeysphere-0.44/src/agent-transfer/main.c:502:7: error: Memory leak: msgbuf [memleak] monkeysphere-0.44/src/agent-transfer/main.c:743:5: error: Memory leak: get_key [memleak] monkeysphere-0.44/src/agent-transfer/main.c:748:5: error: Memory leak: get_key [memleak] monkeysphere-0.44/src/agent-transfer/main.c:748:5: error: Memory leak: desc_prompt [memleak] monkeysphere-0.44/src/agent-transfer/main.c:753:5: error: Memory leak: get_key [memleak] monkeysphere-0.44/src/agent-transfer/main.c:753:5: error: Memory leak: desc_prompt [memleak] monkeysphere-0.44/src/agent-transfer/main.c:758:5: error: Memory leak: get_key [memleak] monkeysphere-0.44/src/agent-transfer/main.c:758:5: error: Memory leak: desc_prompt [memleak] monkeysphere-0.44/src/agent-transfer/main.c:773:9: error: Memory leak: get_key [memleak] monkeysphere-0.44/src/agent-transfer/main.c:773:9: error: Memory leak: desc_prompt [memleak] monkeysphere-0.44/src/agent-transfer/main.c:781:9: error: Memory leak: get_key [memleak] monkeysphere-0.44/src/agent-transfer/main.c:781:9: error: Memory leak: desc_prompt [memleak] monkeysphere-0.44/src/agent-transfer/main.c:590:9: style: Variable 'sock_name' can be declared as pointer to const [constVariablePointer] monkeysphere-0.44/src/agent-transfer/main.c:464:5: error: Uninitialized variable: mpilen [legacyUninitvar] diff: DONE