mpfr-4.2.2-1.fc43

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
mpfr-4.2.2/src/sin_cos.c:374:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'accu[k]'
mpfr-4.2.2/src/sin_cos.c:581:1: enter_function: entry to 'mpfr_sincos_fast'
mpfr-4.2.2/src/sin_cos.c:590:3: branch_true: following 'true' branch...
mpfr-4.2.2/src/sin_cos.c:591:6: branch_true: ...to here
mpfr-4.2.2/src/sin_cos.c:599:3: branch_false: following 'false' branch...
mpfr-4.2.2/src/sin_cos.c:599:3: branch_false: ...to here
mpfr-4.2.2/src/sin_cos.c:605:10: branch_true: following 'true' branch...
mpfr-4.2.2/src/sin_cos.c:607:17: call_function: calling 'sincos_aux' from 'mpfr_sincos_fast'
#  372|         mult[k] += 2 * r - size_ptoj[1] - 1;
#  373|         /* the absolute contribution of the next term is 1/2^accu[k] */
#  374|->       accu[k] = (k == 0) ? mult[k] : mult[k] + accu[k-1];
#  375|         prec_i_have = accu[k]; /* the current term is < 1/2^accu[k] */
#  376|         j = (i + 2) / 2;

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-84.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-namempfr-4.2.2-1.fc43
store-results-to/tmp/tmpjld6s_uq/mpfr-4.2.2-1.fc43.tar.xz
time-created2025-04-25 14:32:09
time-finished2025-04-25 14:34:39
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpjld6s_uq/mpfr-4.2.2-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpjld6s_uq/mpfr-4.2.2-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9