2026-01-21 17:59 ftp://ftp.de.debian.org/debian/pool/main/d/dist/dist_3.5-236.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-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.19.0 head-info: bb8a593 (2026-01-21 08:08:54 +0100) count: 20 20 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: dist-3.5-236/lib/C/fake/dup2.C:43:19: debug: Function::addArguments found argument 'old' with varid 0. [varid0] dist-3.5-236/lib/C/fake/dup2.C:64:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old [valueFlowBailoutIncompleteVar] dist-3.5-236/lib/C/fake/dup2.C:64:13: error: Return value of allocation function 'new' is not stored. [leakReturnValNotUsed] dist-3.5-236/lib/C/fake/dup2.C:68:28: error: Return value of allocation function 'new' is not stored. [leakReturnValNotUsed] dist-3.5-236/lib/C/fake/getopt.C:75:21: debug: Function::addArguments found argument 'nargc' with varid 0. [varid0] dist-3.5-236/lib/C/fake/getopt.C:81:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable register1 [valueFlowBailoutIncompleteVar] dist-3.5-236/lib/C/fake/getopt.C:106:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] dist-3.5-236/lib/C/fake/rename.C:32:21: debug: Function::addArguments found argument 'from' with varid 0. [varid0] dist-3.5-236/lib/C/fake/rename.C:37:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable from [valueFlowBailoutIncompleteVar] dist-3.5-236/lib/C/fake/scandir.C:74:22: debug: Function::addArguments found argument 'dirnam' with varid 0. [varid0] dist-3.5-236/lib/C/fake/scandir.C:124:24: debug: Function::addArguments found argument 'd1' with varid 0. [varid0] dist-3.5-236/lib/C/fake/scandir.C:86:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirnam [valueFlowBailoutIncompleteVar] dist-3.5-236/lib/C/fake/scandir.C:127:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d1 [valueFlowBailoutIncompleteVar] dist-3.5-236/lib/C/fake/scandir.C:110:4: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] dist-3.5-236/lib/C/fake/scandir.C:101:5: error: Common realloc mistake: 'tmplist' nulled but not freed upon failure [memleakOnRealloc] dist-3.5-236/lib/C/fake/scandir.C:96:15: style: C-style pointer casting [cstyleCast] dist-3.5-236/lib/C/fake/scandir.C:101:15: style: C-style pointer casting [cstyleCast] dist-3.5-236/lib/C/fake/scandir.C:107:14: style: C-style pointer casting [cstyleCast] dist-3.5-236/lib/C/fake/scandir.C:110:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] dist-3.5-236/lib/C/fake/scandir.C:110:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] diff: DONE