Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-252): [#def1]
sssd-2.14.0/src/providers/ipa/selinux_child.c: scope_hint: In function ‘main’
sssd-2.14.0/src/providers/ipa/selinux_child.c:330:9: warning[-Wunused-result]: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’
#  330 |         setresuid(suid, suid, suid);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#  328|   
#  329|       if (getresuid(&ruid, &euid, &suid) == 0) {
#  330|->         setresuid(suid, suid, suid);
#  331|       }
#  332|       if (getresgid(&rgid, &egid, &sgid) == 0) {

Error: COMPILER_WARNING (CWE-252): [#def2]
sssd-2.14.0/src/providers/ipa/selinux_child.c:333:9: warning[-Wunused-result]: ignoring return value of ‘setresgid’ declared with attribute ‘warn_unused_result’
#  333 |         setresgid(sgid, sgid, sgid);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#  331|       }
#  332|       if (getresgid(&rgid, &egid, &sgid) == 0) {
#  333|->         setresgid(sgid, sgid, sgid);
#  334|       }
#  335|   

Scan Properties

analyzer-version-clippy1.98.1
analyzer-version-cppcheck2.22.0
analyzer-version-gcc16.2.1
analyzer-version-gcc-analyzer16.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.98.1
diffbase-analyzer-version-cppcheck2.22.0
diffbase-analyzer-version-gcc16.2.1
diffbase-analyzer-version-gcc-analyzer16.2.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-17.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.20260813.215201.gc98a3c4.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namesssd-2.14.0-99.20260930094413158343.pr8391.428.gc812b87ad
diffbase-store-results-to/tmp/tmpfnrmvtve/sssd-2.14.0-99.20260930094413158343.pr8391.428.gc812b87ad.tar.xz
diffbase-time-created2026-09-30 10:13:05
diffbase-time-finished2026-09-30 10:28:56
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-571287e7-bc25-4279-995d-cba493041541' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmpfnrmvtve/sssd-2.14.0-99.20260930094413158343.pr8391.428.gc812b87ad.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpfnrmvtve/sssd-2.14.0-99.20260930094413158343.pr8391.428.gc812b87ad.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260928.142326.g9f7dd5c-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-17.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namesssd-2.14.0-99.20260930091820100725.master.425.g72b45d1c8
store-results-to/tmp/tmpjl7ftqxi/sssd-2.14.0-99.20260930091820100725.master.425.g72b45d1c8.tar.xz
time-created2026-09-30 09:57:14
time-finished2026-09-30 10:12:28
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-d86429c0-4036-472f-b089-fd7e0442d388' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmpjl7ftqxi/sssd-2.14.0-99.20260930091820100725.master.425.g72b45d1c8.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpjl7ftqxi/sssd-2.14.0-99.20260930091820100725.master.425.g72b45d1c8.src.rpm'
tool-versioncsmock-3.8.7.20260928.142326.g9f7dd5c-1.el9