Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-122): [#def1]
openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c:41: included_from: Included from here.
openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c: scope_hint: In function ‘xiconf_parse_section’
openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c:1037:36: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c:828:34: note: in expansion of macro ‘tmpbuf_get’
openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c:828:34: note: in expansion of macro ‘tmpbuf_get’
# 1035|   	 * at the end are allowed here.
# 1036|   	 */
# 1037|-> 	while(isspace(xifile->inmem[xifile->inoff]))
# 1038|   		++xifile->inoff;
# 1039|   	if (xifile->inmem[xifile->inoff] != '{')

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2]
openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c: scope_hint: In function ‘op_remove_strl’
openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c:1648:29: warning[-Wanalyzer-null-argument]: use of NULL ‘string_array_val’ where non-null expected
openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c:53: included_from: Included from here.
openscap-1.4.5/src/common/debug_priv.h:54:33: note: in expansion of macro ‘__dlprintf_wrapper’
openscap-1.4.5/src/common/debug_priv.h:64:17: note: in expansion of macro ‘oscap_dlprintf’
openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c:1644:25: note: in expansion of macro ‘dD’
openscap-1.4.5/src/common/debug_priv.h:54:33: note: in expansion of macro ‘__dlprintf_wrapper’
openscap-1.4.5/src/common/debug_priv.h:64:17: note: in expansion of macro ‘oscap_dlprintf’
openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c:1644:25: note: in expansion of macro ‘dD’
/usr/include/string.h:171:12: note: argument 1 of ‘strcmp’ must be non-null
# 1646|   			// Otherwise move it to the new string array
# 1647|   			dD("cmp: %s ?= %s", string_array_val, delete_val);
# 1648|-> 			if (strcmp(string_array_val, delete_val) == 0) {
# 1649|   				free(string_array_val);
# 1650|   				string_array_val = NULL;

Scan Properties

analyzer-version-clippy1.96.0
analyzer-version-cppcheck2.21.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.21.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-140.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.20260616094721150796.main.77.ge3c30f292
diffbase-store-results-to/tmp/tmpzlwfdute/openscap-1.4.5-0.20260616094721150796.main.77.ge3c30f292.tar.xz
diffbase-time-created2026-06-19 16:07:42
diffbase-time-finished2026-06-19 16:14:10
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmpzlwfdute/openscap-1.4.5-0.20260616094721150796.main.77.ge3c30f292.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpzlwfdute/openscap-1.4.5-0.20260616094721150796.main.77.ge3c30f292.src.rpm'
diffbase-tool-versioncsmock-3.8.6.20260619.162144.gb9cd2d0-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-140.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.20260619155639121763.pr2371.79.gc75cf5e2d
store-results-to/tmp/tmp68pz9lsy/openscap-1.4.5-0.20260619155639121763.pr2371.79.gc75cf5e2d.tar.xz
time-created2026-06-19 16:14:27
time-finished2026-06-19 16:19:58
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmp68pz9lsy/openscap-1.4.5-0.20260619155639121763.pr2371.79.gc75cf5e2d.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp68pz9lsy/openscap-1.4.5-0.20260619155639121763.pr2371.79.gc75cf5e2d.src.rpm'
tool-versioncsmock-3.8.6.20260619.162144.gb9cd2d0-1.el9