Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
dbus-broker-37/src/bus/metrics.c: scope_hint: In function ‘metrics_dispatch’
dbus-broker-37/src/bus/metrics.c:165:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘client’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:136:18: note: in definition of macro ‘C_INTERNAL_EXPR_ASSERT’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:295:9: note: in expansion of macro ‘C_EXPR_ASSERT’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:172:25: note: in expansion of macro ‘C_CONTAINER_OF’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:165:38: note: in expansion of macro ‘C_INTERNAL_CC_MACRO1’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:293:46: note: in expansion of macro ‘C_CC_MACRO1’
dbus-broker-37/src/bus/metrics.c:132:28: note: in expansion of macro ‘c_container_of’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:136:18: note: in definition of macro ‘C_INTERNAL_EXPR_ASSERT’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:295:9: note: in expansion of macro ‘C_EXPR_ASSERT’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:172:25: note: in expansion of macro ‘C_CONTAINER_OF’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:165:38: note: in expansion of macro ‘C_INTERNAL_CC_MACRO1’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:293:46: note: in expansion of macro ‘C_CC_MACRO1’
dbus-broker-37/src/bus/metrics.c:132:28: note: in expansion of macro ‘c_container_of’
dbus-broker-37/src/bus/metrics.c: scope_hint: In function ‘metrics_dispatch’
dbus-broker-37/src/bus/metrics.c:13: included_from: Included from here.
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:169:17: note: in expansion of macro ‘ERROR_ORIGIN’
dbus-broker-37/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:165:38: note: in expansion of macro ‘C_INTERNAL_CC_MACRO1’
dbus-broker-37/src/util/error.h:28:25: note: in expansion of macro ‘C_CC_MACRO1’
dbus-broker-37/src/bus/metrics.c:92:24: note: in expansion of macro ‘error_origin’
dbus-broker-37/src/bus/metrics.c:28:1: note: in expansion of macro ‘C_DEFINE_CLEANUP’
#  163|           fd = -1; /* consumed by client */
#  164|   
#  165|->         r = metrics_compile(client);
#  166|           if (r)
#  167|                   return error_fold(r);

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.90.0
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer15.2.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-145.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.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namedbus-broker-37-1.20251017090431964332.main.37.g227cbf5
diffbase-store-results-to/tmp/tmpecm9p9ji/dbus-broker-37-1.20251017090431964332.main.37.g227cbf5.tar.xz
diffbase-time-created2025-10-17 11:54:29
diffbase-time-finished2025-10-17 11:58:05
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpecm9p9ji/dbus-broker-37-1.20251017090431964332.main.37.g227cbf5.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpecm9p9ji/dbus-broker-37-1.20251017090431964332.main.37.g227cbf5.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251013.170946.gb8b9f75-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-145.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namedbus-broker-37-1.20251017114037003329.pr415.48.gf41da00
store-results-to/tmp/tmpz3wxt2n6/dbus-broker-37-1.20251017114037003329.pr415.48.gf41da00.tar.xz
time-created2025-10-17 11:58:38
time-finished2025-10-17 12:01:51
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpz3wxt2n6/dbus-broker-37-1.20251017114037003329.pr415.48.gf41da00.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpz3wxt2n6/dbus-broker-37-1.20251017114037003329.pr415.48.gf41da00.src.rpm'
tool-versioncsmock-3.8.3.20251013.170946.gb8b9f75-1.el9