Task #56475 - added.err

back to task #56475
download
Error: GCC_ANALYZER_WARNING (CWE-457):
dbus-broker-36/src/bus/name.c: scope_hint: In function ‘name_registry_request_name’
dbus-broker-36/src/bus/name.c:438:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ownership’
dbus-broker-36/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:169:17: note: in expansion of macro ‘ERROR_ORIGIN’
dbus-broker-36/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:165:38: note: in expansion of macro ‘C_INTERNAL_CC_MACRO1’
dbus-broker-36/src/util/error.h:28:25: note: in expansion of macro ‘C_CC_MACRO1’
dbus-broker-36/src/bus/name.c:236:24: note: in expansion of macro ‘error_origin’
dbus-broker-36/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’
dbus-broker-36/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’
dbus-broker-36/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’
dbus-broker-36/src/util/error.h:41:25: note: in expansion of macro ‘_c_likely_’
dbus-broker-36/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:172:25: note: in expansion of macro ‘ERROR_TRACE’
dbus-broker-36/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:165:38: note: in expansion of macro ‘C_INTERNAL_CC_MACRO1’
dbus-broker-36/src/util/error.h:40:24: note: in expansion of macro ‘C_CC_MACRO1’
dbus-broker-36/src/bus/name.c:374:32: note: in expansion of macro ‘error_trace’
dbus-broker-36/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:169:17: note: in expansion of macro ‘ERROR_ORIGIN’
dbus-broker-36/subprojects/libcstdaux-1/src/c-stdaux-gnuc.h:165:38: note: in expansion of macro ‘C_INTERNAL_CC_MACRO1’
dbus-broker-36/src/util/error.h:28:25: note: in expansion of macro ‘C_CC_MACRO1’
dbus-broker-36/src/bus/name.c:79:24: note: in expansion of macro ‘error_origin’
dbus-broker-36/src/bus/name.c:71:1: note: in expansion of macro ‘C_DEFINE_CLEANUP’
#  436|                           return error_trace(r);
#  437|   
#  438|->                 name_ownership_link(ownership, parent, slot);
#  439|           }
#  440|   

Error: GCC_ANALYZER_WARNING (CWE-401):
dbus-broker-36/src/launch/config.c: scope_hint: In function ‘config_path_new_dir’
dbus-broker-36/src/launch/config.c:88:16: warning[-Wanalyzer-malloc-leak]: leak of ‘*((ConfigState)*(void *)userdata).current.<U6d20>.bustype.name’
dbus-broker-36/src/launch/config.c: scope_hint: In function ‘config_path_new_dir’
#   86|                   (*filep)->is_dir = true;
#   87|   
#   88|->         return r;
#   89|   }
#   90|   

Error: GCC_ANALYZER_WARNING (CWE-401):
dbus-broker-36/src/launch/config.c: scope_hint: In function ‘config_parser_end_fn’
dbus-broker-36/src/launch/config.c:1034:27: warning[-Wanalyzer-malloc-leak]: leak of ‘*((ConfigState)*(void *)userdata).current.<U6d20>.bustype.name’
# 1032|           case CONFIG_NODE_TYPE:
# 1033|                   state->current->bustype.name = strdup(state->current->cdata);
# 1034|->                 if (!state->current->bustype.name) {
# 1035|                           state->error = error_origin(-ENOMEM);
# 1036|                           return;

Error: GCC_ANALYZER_WARNING (CWE-401):
dbus-broker-36/src/launch/config.c:1155:27: warning[-Wanalyzer-malloc-leak]: leak of ‘*((ConfigState)*(void *)userdata).current.<U6d20>.bustype.name’
# 1153|           case CONFIG_NODE_SERVICEDIR: {
# 1154|                   state->current->servicedir.path = strdup(state->current->cdata);
# 1155|->                 if (!state->current->servicedir.path) {
# 1156|                           state->error = error_origin(-ENOMEM);
# 1157|                           return;