Fixed defects

List of Defects

Error: CPPCHECK_WARNING: [#def1]
liblc3-1.0.4-build/liblc3-1.0.4/src/spec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
liblc3-1.0.4-build/liblc3-1.0.4/src/tns.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3]
liblc3-1.0.4-build/liblc3-1.0.4/src/tns.c: scope_hint: In function ‘forward_filtering’
liblc3-1.0.4-build/liblc3-1.0.4/src/tns.c:281:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>[k]’
#  279|                   s[k] = s1;
#  280|   
#  281|->                 s1  = rc[f][k] * xi + s0;
#  282|                   xi += rc[f][k] * s0;
#  283|               }

Error: CLANG_WARNING: [#def4]
liblc3-1.0.4-build/liblc3-1.0.4/tools/dlc3.c:253:9: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  251|   
#  252|       if (fp_in != stdin)
#  253|->         fclose(fp_in);
#  254|   
#  255|       if (fp_out != stdout)

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-151.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-nameliblc3-1.1.1-2.fc41
diffbase-store-results-to/tmp/tmprsglf2tp/liblc3-1.1.1-2.fc41.tar.xz
diffbase-time-created2024-07-03 14:51:48
diffbase-time-finished2024-07-03 14:52:44
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmprsglf2tp/liblc3-1.1.1-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmprsglf2tp/liblc3-1.1.1-2.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-151.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameliblc3-1.0.4-4.fc40
store-results-to/tmp/tmpchvojyhb/liblc3-1.0.4-4.fc40.tar.xz
time-created2024-07-03 14:50:06
time-finished2024-07-03 14:51:24
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpchvojyhb/liblc3-1.0.4-4.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpchvojyhb/liblc3-1.0.4-4.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9