2025-05-05 14:45 ftp://ftp.de.debian.org/debian/pool/main/l/logrotate/logrotate_3.22.0.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 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: fcc0493 (2025-05-05 13:08:11 +0200) count: 26 26 elapsed-time: 38.5 39.0 head-timing-info: old-timing-info: head results: logrotate-3.22.0/config.c:109:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:197:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:248:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:381:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:482:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:529:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:565:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_PERIOD [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:608:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:681:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:713:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tqh_last [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:748:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:912:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:1001:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:1062:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:1122:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] logrotate-3.22.0/config.c:293:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] logrotate-3.22.0/config.c:303:9: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] logrotate-3.22.0/config.c:326:10: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] logrotate-3.22.0/config.c:336:9: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] logrotate-3.22.0/config.c:771:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] logrotate-3.22.0/config.c:1058:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] logrotate-3.22.0/config.c:177:11: style: Variable 'endtag' can be declared as pointer to const [constVariablePointer] logrotate-3.22.0/config.c:523:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] logrotate-3.22.0/config.c:1408:45: error: Uninitialized variable: multiplier [legacyUninitvar] logrotate-3.22.0/log.c:65:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] logrotate-3.22.0/logrotate.c:3173:50: error: There is an unknown macro here somewhere. Configuration is required. If DEFAULT_MAIL_COMMAND is a macro then please configure it. [unknownMacro] diff: DONE