2025-10-19 05:36 ftp://ftp.de.debian.org/debian/pool/main/s/sa-exim/sa-exim_4.2.1.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 -j8 platform: Linux-6.16.12+deb14+1-amd64-x86_64-with-glibc2.41 python: 3.13.9 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-4) 15.2.0 cppcheck: head 2.18.0 head-info: ba32fd20 (2025-10-18 16:18:37 +0200) count: 27 27 elapsed-time: 2.1 0.6 head-timing-info: old-timing-info: head results: sa-exim-4.2.1/accept.c:20:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCAL_SCAN_ABI_VERSION_MAJOR [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/accept.c:25:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCAL_SCAN_ABI_VERSION_MINOR [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/accept.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/accept.c:37:8: style: Redundant assignment of 'fd' to itself. [selfAssignment] sa-exim-4.2.1/accept.c:38:17: style: Redundant assignment of 'return_text' to itself. [selfAssignment] sa-exim-4.2.1/accept.c:37:8: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] sa-exim-4.2.1/accept.c:38:17: style: Variable 'return_text' is assigned a value that is never used. [unreadVariable] sa-exim-4.2.1/sa-exim.c:143:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/sa-exim.c:169:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/sa-exim.c:196:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/sa-exim.c:323:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sender_host_address [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/sa-exim.c:355:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header_list [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/sa-exim.c:393:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/sa-exim.c:501:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/sa-exim.c:616:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable message_id [valueFlowBailoutIncompleteVar] sa-exim-4.2.1/sa-exim.c:116:9: style: Redundant assignment of 'sig' to itself. [selfAssignment] sa-exim-4.2.1/sa-exim.c:648:2: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] sa-exim-4.2.1/sa-exim.c:1201:6: style: Local variable 'line' shadows outer variable [shadowVariable] sa-exim-4.2.1/sa-exim.c:96:12: note: Shadowed declaration sa-exim-4.2.1/sa-exim.c:1201:6: note: Shadow variable sa-exim-4.2.1/sa-exim.c:159:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] sa-exim-4.2.1/sa-exim.c:181:18: style: Variable 'hl' can be declared as pointer to const [constVariablePointer] sa-exim-4.2.1/sa-exim.c:187:11: style: Variable 'fake_env_from' can be declared as pointer to const [constVariablePointer] sa-exim-4.2.1/sa-exim.c:477:37: style: Parameter 'SAsafemesgidchars' can be declared as pointer to const [constParameterPointer] sa-exim-4.2.1/sa-exim.c:544:18: style: Variable 'hl' can be declared as pointer to const [constVariablePointer] sa-exim-4.2.1/sa-exim.c:1081:12: style: Variable 'end' can be declared as pointer to const [constVariablePointer] sa-exim-4.2.1/sa-exim.c:1165:12: style: Variable 'end' can be declared as pointer to const [constVariablePointer] sa-exim-4.2.1/sa-exim.c:1356:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] sa-exim-4.2.1/sa-exim.c:116:9: style: Variable 'sig' is assigned a value that is never used. [unreadVariable] diff: DONE