Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-457): [#def1]
sssd-2.13.0/src/p11_child/p11_child_openssl.c: scope_hint: In function ‘do_card’
sssd-2.13.0/src/p11_child/p11_child_openssl.c:2227:15: warning[-Wmaybe-uninitialized]: ‘module_id’ may be used uninitialized
# 2227 |         ret = do_slot(module, module_id, slot_id, &info, &token_info, &module_info,
#      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2228 |                       mem_ctx, p11_ctx, mode, pin, module_name_in, token_name_in,
#      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2229 |                       key_id_in, label_in, uri_str, _multi);
#      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sssd-2.13.0/src/p11_child/p11_child_openssl.c:1995:12: note: ‘module_id’ was declared here
# 1995 |     size_t module_id;
#      |            ^~~~~~~~~
# 2225|           }
# 2226|   
# 2227|->         ret = do_slot(module, module_id, slot_id, &info, &token_info, &module_info,
# 2228|                         mem_ctx, p11_ctx, mode, pin, module_name_in, token_name_in,
# 2229|                         key_id_in, label_in, uri_str, _multi);

Scan Properties

analyzer-version-clippy1.94.1
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.94.1
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.0.1
diffbase-analyzer-version-gcc-analyzer16.0.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-107.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260320.200800.gd35503f.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namesssd-2.13.0-99.20260401144011968095.pr8355.137.g4cb085497
diffbase-store-results-to/tmp/tmpttddjyr1/sssd-2.13.0-99.20260401144011968095.pr8355.137.g4cb085497.tar.xz
diffbase-time-created2026-04-01 15:07:27
diffbase-time-finished2026-04-01 15:15:50
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpttddjyr1/sssd-2.13.0-99.20260401144011968095.pr8355.137.g4cb085497.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpttddjyr1/sssd-2.13.0-99.20260401144011968095.pr8355.137.g4cb085497.src.rpm'
diffbase-tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-107.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260320.200800.gd35503f.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namesssd-2.13.0-99.20260330143805771514.master.121.gabee6e7ca
store-results-to/tmp/tmpuo3wtc6m/sssd-2.13.0-99.20260330143805771514.master.121.gabee6e7ca.tar.xz
time-created2026-04-01 14:56:03
time-finished2026-04-01 15:07:03
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpuo3wtc6m/sssd-2.13.0-99.20260330143805771514.master.121.gabee6e7ca.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpuo3wtc6m/sssd-2.13.0-99.20260330143805771514.master.121.gabee6e7ca.src.rpm'
tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9