Fixed defects

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libgcrypt-1.10.3-build/libgcrypt-1.10.3/cipher/cipher-selftest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def2]
libgcrypt-1.10.3-build/libgcrypt-1.10.3/tests/bench-slope.c:1019: warning[uninitvar]: Uninitialized variable: key
# 1017|   	key[i] = 0x33 ^ (11 - i);
# 1018|   
# 1019|->       err = gcry_cipher_setkey (hd, key, keylen);
# 1020|         if (err)
# 1021|   	{

Error: CPPCHECK_WARNING (CWE-457): [#def3]
libgcrypt-1.10.3-build/libgcrypt-1.10.3/tests/bench-slope.c:1128: warning[uninitvar]: Uninitialized variable: key
# 1126|   	key[i] = 0x33 ^ (11 - i);
# 1127|   
# 1128|->       err = gcry_cipher_setkey (hd, key, keylen);
# 1129|         if (err)
# 1130|   	{

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-124.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibgcrypt-1.11.0-1.fc41
diffbase-store-results-to/tmp/tmp_al6t2g8/libgcrypt-1.11.0-1.fc41.tar.xz
diffbase-time-created2024-07-03 14:42:54
diffbase-time-finished2024-07-03 14:46:14
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp_al6t2g8/libgcrypt-1.11.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp_al6t2g8/libgcrypt-1.11.0-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-124.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibgcrypt-1.10.3-3.fc40
store-results-to/tmp/tmpi6mo1noz/libgcrypt-1.10.3-3.fc40.tar.xz
time-created2024-07-03 14:39:29
time-finished2024-07-03 14:42:41
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpi6mo1noz/libgcrypt-1.10.3-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpi6mo1noz/libgcrypt-1.10.3-3.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9