Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
sssd-2.14.0/src/sss_client/pam_sss.c: scope_hint: In function 'prompt_multi_cert.part.0'
sssd-2.14.0/src/sss_client/pam_sss.c:2329:16: warning[-Wanalyzer-null-argument]: use of NULL 'answer' where non-null expected
sssd-2.14.0/src/sss_client/pam_sss.c:77: included_from: Included from here.
sssd-2.14.0/src/sss_client/pam_sss.c:2308:5: note: in expansion of macro 'DLIST_FOR_EACH'
sssd-2.14.0/src/sss_client/pam_sss.c:32: included_from: Included from here.
/usr/include/features.h:540: included_from: Included from here.
/usr/include/sys/types.h:25: included_from: Included from here.
sssd-2.14.0/src/sss_client/pam_sss.c:23: included_from: Included from here.
/usr/include/stdlib.h:219:17: note: argument 1 of 'strtol' must be non-null
# 2327|   
# 2328|           errno = 0;
# 2329|->         resp = strtol(answer, &ep, 10);
# 2330|           if (errno == 0 && *ep == '\0' && resp > 0 && resp <= cert_count) {
# 2331|               /* do not free answer ealier because ep is pointing to it */

Scan Properties

analyzer-version-clippy1.96.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.96.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.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-205.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.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namesssd-2.14.0-99.20260706124517336590.master.280.g11817a6d1
diffbase-store-results-to/tmp/tmpq4ieb3kz/sssd-2.14.0-99.20260706124517336590.master.280.g11817a6d1.tar.xz
diffbase-time-created2026-07-09 10:42:54
diffbase-time-finished2026-07-09 10:52:59
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,shellcheck,cppcheck,unicontrol' '-o' '/tmp/tmpq4ieb3kz/sssd-2.14.0-99.20260706124517336590.master.280.g11817a6d1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpq4ieb3kz/sssd-2.14.0-99.20260706124517336590.master.280.g11817a6d1.src.rpm'
diffbase-tool-versioncsmock-3.8.7.HEAD-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-205.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namesssd-2.14.0-99.20260709102329408957.pr7908.284.g06d08c0d9
store-results-to/tmp/tmpayq_wbwl/sssd-2.14.0-99.20260709102329408957.pr7908.284.g06d08c0d9.tar.xz
time-created2026-07-09 10:53:16
time-finished2026-07-09 11:03:11
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,shellcheck,cppcheck,unicontrol' '-o' '/tmp/tmpayq_wbwl/sssd-2.14.0-99.20260709102329408957.pr7908.284.g06d08c0d9.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpayq_wbwl/sssd-2.14.0-99.20260709102329408957.pr7908.284.g06d08c0d9.src.rpm'
tool-versioncsmock-3.8.7.HEAD-1.el9