Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
file-5.47/src/softmagic.c:258:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'bb.flen'
file-5.47/src/softmagic.c:1619:1: enter_function: entry to 'mget'
file-5.47/src/softmagic.c:1635:12: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1641:13: branch_false: ...to here
file-5.47/src/softmagic.c:1641:12: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1648:13: branch_false: ...to here
file-5.47/src/softmagic.c:1965:20: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1967:17: branch_false: ...to here
file-5.47/src/softmagic.c:1968:20: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1972:21: branch_false: ...to here
file-5.47/src/softmagic.c:1972:20: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1976:21: branch_false: ...to here
file-5.47/src/softmagic.c:1976:21: call_function: calling 'save_cont' from 'mget'
file-5.47/src/softmagic.c:1976:21: return_function: returning to 'mget' from 'save_cont'
file-5.47/src/softmagic.c:1976:20: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1981:17: branch_false: ...to here
file-5.47/src/softmagic.c:1988:22: call_function: calling 'match' from 'mget'
#  256|   
#  257|   		/* if main entry matches, print it... */
#  258|-> 		switch (mget(ms, m, b, CAST(const unsigned char *, bb.fbuf),
#  259|   		    bb.flen, offset, cont_level,
#  260|   		    mode, text, flip, indir_count, name_count,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2]
file-5.47/src/softmagic.c:1587:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*bb.elen'
file-5.47/src/softmagic.c:1619:1: enter_function: entry to 'mget'
file-5.47/src/softmagic.c:1635:12: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1641:13: branch_false: ...to here
file-5.47/src/softmagic.c:1641:12: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1648:13: branch_false: ...to here
file-5.47/src/softmagic.c:1965:20: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1967:17: branch_false: ...to here
file-5.47/src/softmagic.c:1968:20: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1972:21: branch_false: ...to here
file-5.47/src/softmagic.c:1972:20: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1976:21: branch_false: ...to here
file-5.47/src/softmagic.c:1976:21: call_function: calling 'save_cont' from 'mget'
file-5.47/src/softmagic.c:1976:21: return_function: returning to 'mget' from 'save_cont'
file-5.47/src/softmagic.c:1976:20: branch_false: following 'false' branch...
file-5.47/src/softmagic.c:1981:17: branch_false: ...to here
file-5.47/src/softmagic.c:1988:22: call_function: calling 'match' from 'mget'
# 1585|   	}
# 1586|   	if ((ms->flags & MAGIC_DEBUG) != 0) {
# 1587|-> 		fprintf(stderr, "bb=[%p,%" SIZE_T_FORMAT "u,%"
# 1588|   		    SIZE_T_FORMAT "u], %d [b=%p,%"
# 1589|   		    SIZE_T_FORMAT "u,%" SIZE_T_FORMAT "u], [o=%#x, c=%d]\n",

Scan Properties

analyzer-version-clippy1.97.1
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.97.1
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-38.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-namefile-5.46-9.fc44
diffbase-store-results-to/tmp/tmpm0uvjv9t/file-5.46-9.fc44.tar.xz
diffbase-time-created2026-08-03 14:10:23
diffbase-time-finished2026-08-03 14:12:51
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpm0uvjv9t/file-5.46-9.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpm0uvjv9t/file-5.46-9.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.7.HEAD-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-38.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-namefile-5.47-3.fc45
store-results-to/tmp/tmpc2fnysqw/file-5.47-3.fc45.tar.xz
time-created2026-08-03 14:13:06
time-finished2026-08-03 14:14:46
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpc2fnysqw/file-5.47-3.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpc2fnysqw/file-5.47-3.fc45.src.rpm'
tool-versioncsmock-3.8.7.HEAD-1.el9