libebur128-1.2.6-12.fc43

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
libebur128-1.2.6/ebur128/ebur128.c: scope_hint: In function ‘interp_create’
libebur128-1.2.6/ebur128/ebur128.c:121:7: warning[-Wunused-but-set-variable]: variable ‘errcode’ set but not used
#  121 |   int errcode; /* unused */
#      |       ^~~~~~~
#  119|   static interpolator*
#  120|   interp_create(unsigned int taps, unsigned int factor, unsigned int channels) {
#  121|->   int errcode; /* unused */
#  122|     interpolator* interp;
#  123|     unsigned int j;

Error: CPPCHECK_WARNING (CWE-457): [#def2]
libebur128-1.2.6/ebur128/ebur128.c:1078: error[uninitvar]: Uninitialized variable: it->z
# 1076|       STAILQ_FOREACH(it, &st->d->block_list, entries) {
# 1077|         ++*above_thresh_counter;
# 1078|->       *relative_threshold += it->z;
# 1079|       }
# 1080|     }

Error: CPPCHECK_WARNING (CWE-457): [#def3]
libebur128-1.2.6/ebur128/ebur128.c:1135: error[uninitvar]: Uninitialized variable: it->z
# 1133|       } else {
# 1134|         STAILQ_FOREACH(it, &sts[i]->d->block_list, entries) {
# 1135|->         if (it->z >= relative_threshold) {
# 1136|             ++above_thresh_counter;
# 1137|             gated_loudness += it->z;

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-136.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibebur128-1.2.6-12.fc43
store-results-to/tmp/tmp3jsh9nv_/libebur128-1.2.6-12.fc43.tar.xz
time-created2025-04-25 13:56:35
time-finished2025-04-25 13:57:44
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp3jsh9nv_/libebur128-1.2.6-12.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp3jsh9nv_/libebur128-1.2.6-12.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9