Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
authselect-1.7.0/src/cli/main.c: scope_hint: In function ‘requirements’
authselect-1.7.0/src/cli/main.c:546:12: warning[-Wanalyzer-malloc-leak]: leak of ‘features’
authselect-1.7.0/src/cli/main.c:32: included_from: Included from here.
authselect-1.7.0/src/common/common.h:42:22: note: in definition of macro ‘malloc_zero_array’
authselect-1.7.0/src/cli/main.c:83:16: note: in expansion of macro ‘malloc_zero_array’
authselect-1.7.0/src/cli/main.c:522:9: note: in expansion of macro ‘ERROR’
#  544|       authselect_profile_free(profile);
#  545|   
#  546|->     return ret;
#  547|   }
#  548|   

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
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.95.0
diffbase-analyzer-version-cppcheck2.20.0
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-204.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-nameauthselect-1.7.0-99.20260602124816253471.pr451.17.gf4d37d0
diffbase-store-results-to/tmp/tmp39l0ncq3/authselect-1.7.0-99.20260602124816253471.pr451.17.gf4d37d0.tar.xz
diffbase-time-created2026-06-02 13:02:38
diffbase-time-finished2026-06-02 13:05:02
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp39l0ncq3/authselect-1.7.0-99.20260602124816253471.pr451.17.gf4d37d0.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp39l0ncq3/authselect-1.7.0-99.20260602124816253471.pr451.17.gf4d37d0.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-204.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-nameauthselect-1.7.0-99.20260602120133066715.master.12.g409da73
store-results-to/tmp/tmpyuc1wkw3/authselect-1.7.0-99.20260602120133066715.master.12.g409da73.tar.xz
time-created2026-06-02 12:59:30
time-finished2026-06-02 13:02:29
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpyuc1wkw3/authselect-1.7.0-99.20260602120133066715.master.12.g409da73.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpyuc1wkw3/authselect-1.7.0-99.20260602120133066715.master.12.g409da73.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9