Task #76123 - added.err
back to task #76123download
Error: GCC_ANALYZER_WARNING (CWE-457): 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);