Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
openscap-1.4.5/src/DS/rds_index.c: scope_hint: In function ‘rds_index_get_report_request’
openscap-1.4.5/src/DS/rds_index.c:104:21: warning[-Wanalyzer-null-argument]: use of NULL ‘id’ where non-null expected
openscap-1.4.5/src/common/util.h:34: included_from: Included from here.
openscap-1.4.5/src/common/list.h:34: included_from: Included from here.
openscap-1.4.5/src/DS/rds_index.c:28: included_from: Included from here.
/usr/include/string.h:171:12: note: argument 2 of ‘strcmp’ must be non-null
#  102|   	{
#  103|   		struct rds_report_request_index* rr_index = rds_report_request_index_iterator_next(it);
#  104|-> 		if (strcmp(rds_report_request_index_get_id(rr_index), id) == 0) {
#  105|   			ret = rr_index;
#  106|   			break;

Scan Properties

analyzer-version-clippy1.96.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.96.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-79.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-nameopenscap-1.4.5-0.20260603092142388762.pr2361.63.g4b8e53fb6
diffbase-store-results-to/tmp/tmpiwvf5gm_/openscap-1.4.5-0.20260603092142388762.pr2361.63.g4b8e53fb6.tar.xz
diffbase-time-created2026-06-03 09:41:50
diffbase-time-finished2026-06-03 09:47:53
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpiwvf5gm_/openscap-1.4.5-0.20260603092142388762.pr2361.63.g4b8e53fb6.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpiwvf5gm_/openscap-1.4.5-0.20260603092142388762.pr2361.63.g4b8e53fb6.src.rpm'
diffbase-tool-versioncsmock-3.8.6.20260603.095741.gbb48252-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-79.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-nameopenscap-1.4.5-0.20260602224444546479.main.61.g54a9a0598
store-results-to/tmp/tmpdbfuk074/openscap-1.4.5-0.20260602224444546479.main.61.g54a9a0598.tar.xz
time-created2026-06-03 09:34:32
time-finished2026-06-03 09:41:28
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpdbfuk074/openscap-1.4.5-0.20260602224444546479.main.61.g54a9a0598.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpdbfuk074/openscap-1.4.5-0.20260602224444546479.main.61.g54a9a0598.src.rpm'
tool-versioncsmock-3.8.6.20260603.095741.gbb48252-1.el9