Fixed defects

List of Defects

Error: COMPILER_WARNING: [#def1]
libxkbcommon-1.6.0-build/libxkbcommon-1.6.0/src/state.c: scope_hint: In function ‘xkb_state_new’
libxkbcommon-1.6.0-build/libxkbcommon-1.6.0/src/state.c:589:24: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
#  589 |     ret = calloc(sizeof(*ret), 1);
#      |                        ^
libxkbcommon-1.6.0-build/libxkbcommon-1.6.0/src/state.c:589:24: note: earlier argument should specify number of elements, later size of each element
#  587|       struct xkb_state *ret;
#  588|   
#  589|->     ret = calloc(sizeof(*ret), 1);
#  590|       if (!ret)
#  591|           return NULL;

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-233.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibxkbcommon-1.7.0-1.fc41
diffbase-store-results-to/tmp/tmpbcb9na7f/libxkbcommon-1.7.0-1.fc41.tar.xz
diffbase-time-created2024-07-03 16:07:29
diffbase-time-finished2024-07-03 16:12:59
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpbcb9na7f/libxkbcommon-1.7.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpbcb9na7f/libxkbcommon-1.7.0-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-233.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibxkbcommon-1.6.0-2.fc40
store-results-to/tmp/tmpcu8ni92n/libxkbcommon-1.6.0-2.fc40.tar.xz
time-created2024-07-03 16:02:42
time-finished2024-07-03 16:07:09
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpcu8ni92n/libxkbcommon-1.6.0-2.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpcu8ni92n/libxkbcommon-1.6.0-2.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9