Newly introduced defects

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_div_3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_log_2expt.c:10:34: warning[core.DivideZero]: Division by zero
#    8|      int y;
#    9|      for (y = 0; (base & 1) == 0; y++, base >>= 1) {}
#   10|->    return (mp_count_bits(a) - 1) / y;
#   11|   }
#   12|   #endif

Error: CPPCHECK_WARNING: [#def3]
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_log_d.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

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-177.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibtommath-1.2.1-3.fc40
diffbase-store-results-to/tmp/tmpdb37hws6/libtommath-1.2.1-3.fc40.tar.xz
diffbase-time-created2024-07-03 15:59:20
diffbase-time-finished2024-07-03 16:01:50
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpdb37hws6/libtommath-1.2.1-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpdb37hws6/libtommath-1.2.1-3.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-177.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibtommath-1.3.1~rc1-1.fc41
store-results-to/tmp/tmpjcmlug5o/libtommath-1.3.1~rc1-1.fc41.tar.xz
time-created2024-07-03 16:02:25
time-finished2024-07-03 16:04:18
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpjcmlug5o/libtommath-1.3.1~rc1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpjcmlug5o/libtommath-1.3.1~rc1-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9