Fixed defects

List of Defects

Error: CPPCHECK_WARNING: [#def1]
mbedtls-2.28.7-build/mbedtls-2.28.7/library/havege.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2]
mbedtls-2.28.7-build/mbedtls-2.28.7/library/timing.c: scope_hint: In function ‘mbedtls_timing_get_delay’
mbedtls-2.28.7-build/mbedtls-2.28.7/library/timing.c:334:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(mbedtls_timing_delay_context *)data.fin_ms’
mbedtls-2.28.7-build/mbedtls-2.28.7/library/timing.c:427:13: note: in expansion of macro ‘FAIL’
mbedtls-2.28.7-build/mbedtls-2.28.7/library/timing.c:12: included_from: Included from here.
mbedtls-2.28.7-build/mbedtls-2.28.7/library/timing.c:378:13: note: in expansion of macro ‘mbedtls_printf’
mbedtls-2.28.7-build/mbedtls-2.28.7/library/timing.c:427:13: note: in expansion of macro ‘FAIL’
mbedtls-2.28.7-build/mbedtls-2.28.7/library/timing.c:382:13: note: in expansion of macro ‘mbedtls_printf’
mbedtls-2.28.7-build/mbedtls-2.28.7/library/timing.c:427:13: note: in expansion of macro ‘FAIL’
#  332|       unsigned long elapsed_ms;
#  333|   
#  334|->     if (ctx->fin_ms == 0) {
#  335|           return -1;
#  336|       }

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-171.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namembedtls-2.28.8-1.fc41
diffbase-store-results-to/tmp/tmp43i49wiv/mbedtls-2.28.8-1.fc41.tar.xz
diffbase-time-created2024-07-03 16:17:40
diffbase-time-finished2024-07-03 16:20:14
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp43i49wiv/mbedtls-2.28.8-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp43i49wiv/mbedtls-2.28.8-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-171.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namembedtls-2.28.7-1.fc40
store-results-to/tmp/tmp74ci3d6u/mbedtls-2.28.7-1.fc40.tar.xz
time-created2024-07-03 16:14:15
time-finished2024-07-03 16:17:14
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp74ci3d6u/mbedtls-2.28.7-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp74ci3d6u/mbedtls-2.28.7-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9