2025-04-14 09:32 ftp://ftp.de.debian.org/debian/pool/main/g/globus-gram-job-manager-lsf/globus-gram-job-manager-lsf_3.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 -j4 platform: Linux-6.1.0-33-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.64 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.17.0 head-info: 1cd7299 (2025-04-14 09:54:03 +0200) count: 12 12 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:89:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:251:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOBUS_COMMON_MODULE [valueFlowBailoutIncompleteVar] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:419:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:461:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOBUS_FALSE [valueFlowBailoutIncompleteVar] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:633:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:731:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:772:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:814:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:855:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:549:16: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:547:16: note: rc is assigned globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:549:16: note: rc is overwritten globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:952:28: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] globus_gram_job_manager_lsf-3.0/seg/seg_lsf_module.c:501:20: style: Variable 'result' is assigned a value that is never used. [unreadVariable] diff: DONE