2026-08-21 06:56 ftp://ftp.de.debian.org/debian/pool/main/r/rsync/rsync_3.5.0+ds1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=bsd --library=openssl --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 -j96 platform: Linux-6.8.0-137-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 2e19539 (2026-08-18 17:04:48 +0200) count: 49 51 elapsed-time: 0.5 0.7 head-timing-info: old-timing-info: head results: rsync-3.5.0/rsync.h:654:3: error: #error Could not find a 32-bit integer variable [preprocessorErrorDirective] rsync-3.5.0/lib/inet_ntop.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getpass.c:30:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable False [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/inet_ntop.c:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/inet_pton.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/permstring.c:42:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_ISUID [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/compat.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_NONAME [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:94:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_MEMORY [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:104:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_FAIL [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:116:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:140:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:179:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_MEMORY [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:236:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_MEMORY [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:272:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:406:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:450:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICSERV [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:483:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_FAIL [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/md5.c:165:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSUM_CHUNK [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/pool_alloc.c:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POOL_INTERN [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/pool_alloc.c:129:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POOL_PREPEND [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/pool_alloc.c:152:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POOL_NO_QALIGN [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/pool_alloc.c:239:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POOL_NO_QALIGN [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/pool_alloc.c:324:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POOL_CLEAR [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/pool_alloc.c:391:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/mdfour.c:91:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD4_DIGEST_LEN [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/getaddrinfo.c:109:33: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] rsync-3.5.0/lib/getaddrinfo.c:116:4: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] rsync-3.5.0/lib/getaddrinfo.c:224:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] rsync-3.5.0/lib/getaddrinfo.c:407:24: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] rsync-3.5.0/lib/getaddrinfo.c:451:24: portability: Non reentrant function 'getservbyport' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyport_r'. [prohibitedgetservbyportCalled] rsync-3.5.0/lib/getaddrinfo.c:60:46: style: Parameter 'hp' can be declared as pointer to const [constParameterPointer] rsync-3.5.0/lib/getaddrinfo.c:451:19: style: Variable 'se' can be declared as pointer to const [constVariablePointer] rsync-3.5.0/lib/snprintf.c:1179:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chunks [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/pool_alloc.c:399:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rsync-3.5.0/lib/pool_alloc.c:400:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rsync-3.5.0/lib/pool_alloc.c:390:22: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] rsync-3.5.0/lib/compat.c:49:9: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] rsync-3.5.0/lib/compat.c:83:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] rsync-3.5.0/lib/pool_alloc.c:36:12: style: union member 'Anonymous0::p' is never used. [unusedStructMember] rsync-3.5.0/lib/mdfour.c:43:30: style: Parameter 'M' can be declared as pointer to const [constParameterPointer] rsync-3.5.0/wildtest.c:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] rsync-3.5.0/wildtest.c:130:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rsync-3.5.0/lib/snprintf.c:763:19: style: Condition 'maxlen>0' is always true [knownConditionTrueFalse] rsync-3.5.0/lib/snprintf.c:760:13: note: Assuming that condition 'maxlen!=0' is not redundant rsync-3.5.0/lib/snprintf.c:763:19: note: Condition 'maxlen>0' is always true rsync-3.5.0/lib/snprintf.c:786:13: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] rsync-3.5.0/lib/snprintf.c:279:2: error: va_list 'args' used before va_start() was called. [va_list_usedBeforeStarted] rsync-3.5.0/lib/snprintf.c:1246:2: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] rsync-3.5.0/lib/snprintf.c:1247:35: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] rsync-3.5.0/lib/snprintf.c:1248:2: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] diff: 2.21.0 rsync-3.5.0/lib/inet_pton.c:110:14: error: Uninitialized variable: tmp [uninitvar] rsync-3.5.0/lib/inet_pton.c:108:13: note: Assuming condition is false rsync-3.5.0/lib/inet_pton.c:110:14: note: Uninitialized variable: tmp 2.21.0 rsync-3.5.0/lib/snprintf.c:1049:5: style: Condition 'caps' is always false [knownConditionTrueFalse] rsync-3.5.0/lib/snprintf.c:985:13: note: Assignment 'caps=0', assigned value is 0 rsync-3.5.0/lib/snprintf.c:1049:5: note: Condition 'caps' is always false DONE