2026-05-01 20:30 ftp://ftp.de.debian.org/debian/pool/main/f/fiche/fiche_0.9.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 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 20 20 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: fiche-0.9.1/fiche.c:244:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] fiche-0.9.1/fiche.c:444:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] fiche-0.9.1/fiche.c:564:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_WAITALL [valueFlowBailoutIncompleteVar] fiche-0.9.1/fiche.c:728:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] fiche-0.9.1/fiche.c:351:9: style: Obsolescent function 'asctime_r' called. It is recommended to use 'strftime' instead. [prohibitedasctime_rCalled] fiche-0.9.1/fiche.c:403:37: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] fiche-0.9.1/fiche.c:705:17: style: Obsolescent function 'rand_r' called. It is recommended to use 'rand' instead. [prohibitedrand_rCalled] fiche-0.9.1/fiche.c:439:9: error: Resource leak: s [resourceLeak] fiche-0.9.1/fiche.c:451:9: error: Resource leak: s [resourceLeak] fiche-0.9.1/fiche.c:457:9: error: Resource leak: s [resourceLeak] fiche-0.9.1/fiche.c:258:16: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] fiche-0.9.1/fiche.c:257:24: note: Assuming allocation function fails fiche-0.9.1/fiche.c:257:24: note: Assignment 'f=fopen(settings.log_file_path,"a+")', assigned value is 0 fiche-0.9.1/fiche.c:258:16: note: Null pointer dereference fiche-0.9.1/fiche.c:367:16: style: Redundant initialization for 'prefix'. The initialized value is overwritten before it is read. [redundantInitialization] fiche-0.9.1/fiche.c:365:18: note: prefix is initialized fiche-0.9.1/fiche.c:367:16: note: prefix is overwritten fiche-0.9.1/fiche.c:365:11: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] fiche-0.9.1/fiche.c:712:35: style: Parameter 'output_dir' can be declared as pointer to const [constParameterPointer] fiche-0.9.1/fiche.c:712:53: style: Parameter 'slug' can be declared as pointer to const [constParameterPointer] fiche-0.9.1/fiche.c:742:71: style: Parameter 'slug' can be declared as pointer to const [constParameterPointer] fiche-0.9.1/fiche.c:743:11: style: Variable 'file_name' can be declared as pointer to const [constVariablePointer] fiche-0.9.1/fiche.c:693:14: warning: Uninitialized variable: *output [uninitvar] fiche-0.9.1/fiche.c:596:23: note: Calling function 'generate_slug', 1st argument '&slug' value is fiche-0.9.1/fiche.c:693:14: note: Uninitialized variable: *output fiche-0.9.1/main.c:53:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] fiche-0.9.1/main.c:129:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] diff: DONE