Fixed defects

List of Defects

Error: COMPILER_WARNING: [#def1]
libxkbcommon-1.6.0/src/state.c: scope_hint: In function ‘xkb_state_new’
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/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.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.3
diffbase-analyzer-version-cppcheck2.13.0
diffbase-analyzer-version-gcc14.0.1
diffbase-analyzer-version-gcc-analyzer14.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-43.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibxkbcommon-1.7.0-1.fc41
diffbase-store-results-to/tmp/tmpo4cfd8cm/libxkbcommon-1.7.0-1.fc41.tar.xz
diffbase-time-created2024-04-22 11:09:09
diffbase-time-finished2024-04-22 11:15:43
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpo4cfd8cm/libxkbcommon-1.7.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpo4cfd8cm/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-43.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibxkbcommon-1.6.0-2.fc40
store-results-to/tmp/tmp7x6c6z0m/libxkbcommon-1.6.0-2.fc40.tar.xz
time-created2024-04-22 11:04:00
time-finished2024-04-22 11:08:35
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp7x6c6z0m/libxkbcommon-1.6.0-2.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp7x6c6z0m/libxkbcommon-1.6.0-2.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9