annobin-12.42-1.fc40 - defects not occurring in annobin-12.42-1.fc40

List of Defects

Error: COMPILER_WARNING (CWE-681): [#def1]
annobin-12.42-build/annobin-12.42/conftest.cpp: scope_hint: In function 'int main()'
annobin-12.42-build/annobin-12.42/conftest.cpp:65:67: warning[-Woverflow]: integer overflow in expression of type 'int64_t' {aka 'long int'} results in '-9223372036854775808'
#   65 |                  < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
#      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

Error: CPPCHECK_WARNING (CWE-823): [#def2]
annobin-12.42-build/annobin-12.42/conftest.cpp:66: error[arrayIndexOutOfBounds]: Array 'test_array[-1]' accessed at index 0, which is out of bounds.

Error: CPPCHECK_WARNING (CWE-823): [#def3]
annobin-12.42-build/annobin-12.42/conftest.cpp:67: error[arrayIndexOutOfBounds]: Array 'test_array[-1]' accessed at index 0, which is out of bounds.

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-155.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-nameannobin-12.42-1.fc40
diffbase-store-results-to/tmp/tmprqvoaxm1/annobin-12.42-1.fc40.tar.xz
diffbase-time-created2024-07-03 11:58:03
diffbase-time-finished2024-07-03 12:00:40
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmprqvoaxm1/annobin-12.42-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmprqvoaxm1/annobin-12.42-1.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-155.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameannobin-12.42-1.fc40
store-results-to/tmp/tmprqvoaxm1/annobin-12.42-1.fc40.tar.xz
time-created2024-07-03 11:58:03
time-finished2024-07-03 12:00:40
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmprqvoaxm1/annobin-12.42-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmprqvoaxm1/annobin-12.42-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9