Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
util-linux-2.43.devel/disk-utils/mkswap.c:50: included_from: Included from here.
util-linux-2.43.devel/include/xalloc.h: scope_hint: In function ‘check_blocks’
util-linux-2.43.devel/include/xalloc.h:32:13: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc((long unsigned int)*ctl.pagesize)’
util-linux-2.43.devel/include/optutils.h:8: included_from: Included from here.
util-linux-2.43.devel/disk-utils/mkswap.c:54: included_from: Included from here.
#   30|   	void *ret = malloc(size);
#   31|   
#   32|-> 	if (!ret && size)
#   33|   		err(XALLOC_EXIT_CODE, "cannot allocate %zu bytes", size);
#   34|   	return ret;

Scan Properties

analyzer-version-clippy1.96.0
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.0
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-225.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-nameutil-linux-2.43.devel-1.20260623101934655504.master.914.gcf32e5200
diffbase-store-results-to/tmp/tmp31gp5bhh/util-linux-2.43.devel-1.20260623101934655504.master.914.gcf32e5200.tar.xz
diffbase-time-created2026-06-23 23:16:03
diffbase-time-finished2026-06-23 23:28:53
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmp31gp5bhh/util-linux-2.43.devel-1.20260623101934655504.master.914.gcf32e5200.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp31gp5bhh/util-linux-2.43.devel-1.20260623101934655504.master.914.gcf32e5200.src.rpm'
diffbase-tool-versioncsmock-3.8.6.20260622.142223.gdf61adf-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-225.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-nameutil-linux-2.43.devel-1.20260623225614498404.pr4441.915.ge4e380847
store-results-to/tmp/tmpgkzp9ea7/util-linux-2.43.devel-1.20260623225614498404.pr4441.915.ge4e380847.tar.xz
time-created2026-06-23 23:29:20
time-finished2026-06-23 23:41:03
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmpgkzp9ea7/util-linux-2.43.devel-1.20260623225614498404.pr4441.915.ge4e380847.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpgkzp9ea7/util-linux-2.43.devel-1.20260623225614498404.pr4441.915.ge4e380847.src.rpm'
tool-versioncsmock-3.8.6.20260622.142223.gdf61adf-1.el9