Task #453 - added.err

back to task #453
download
Error: GCC_ANALYZER_WARNING (CWE-476):
glib2-2.80.3-build/glib-2.80.3/gio/gdbusconnection.c: scope_hint: In function ‘g_dbus_connection_call_done’
glib2-2.80.3-build/glib-2.80.3/gio/gdbusconnection.c:6329:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
glib2-2.80.3-build/glib-2.80.3/redhat-linux-build/glib/glibconfig.h:9: included_from: Included from here.
glib2-2.80.3-build/glib-2.80.3/glib/gtypes.h:34: included_from: Included from here.
glib2-2.80.3-build/glib-2.80.3/glib/galloca.h:34: included_from: Included from here.
glib2-2.80.3-build/glib-2.80.3/glib/glib.h:32: included_from: Included from here.
glib2-2.80.3-build/glib-2.80.3/gobject/gbinding.h:30: included_from: Included from here.
glib2-2.80.3-build/glib-2.80.3/glib/glib-object.h:24: included_from: Included from here.
glib2-2.80.3-build/glib-2.80.3/gio/gioenums.h:30: included_from: Included from here.
glib2-2.80.3-build/glib-2.80.3/gio/giotypes.h:30: included_from: Included from here.
glib2-2.80.3-build/glib-2.80.3/gio/gdbusauth.h:30: included_from: Included from here.
glib2-2.80.3-build/glib-2.80.3/gio/gdbusconnection.c:100: included_from: Included from here.
glib2-2.80.3-build/glib-2.80.3/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
glib2-2.80.3-build/glib-2.80.3/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
glib2-2.80.3-build/glib-2.80.3/gio/gdbusconnection.c:6313:7: note: in expansion of macro ‘G_UNLIKELY’
# 6327|         else
# 6328|           {
# 6329|->           g_print ("\n"
# 6330|                      "      FAILED: %s\n",
# 6331|                      error->message);

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/actions.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/debugcontroller.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/debugcontroller.c:325:3: warning[deadcode.DeadStores]: Value stored to 'handler_id' is never read
#  323|   
#  324|     g_signal_handler_disconnect (controller, handler_id);
#  325|->   handler_id = 0;
#  326|   
#  327|     /* Attach another signal handler which will grant access, and try again. */

Error: CLANG_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/debugcontroller.c:358:3: warning[deadcode.DeadStores]: Value stored to 'handler_id' is never read
#  356|   
#  357|     g_signal_handler_disconnect (controller, handler_id);
#  358|->   handler_id = 0;
#  359|   
#  360|     /* Set the debug status locally. */

Error: CLANG_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/debugcontroller.c:371:3: warning[deadcode.DeadStores]: Value stored to 'notify_id' is never read
#  369|   
#  370|     g_signal_handler_disconnect (controller, notify_id);
#  371|->   notify_id = 0;
#  372|   
#  373|     g_dbus_connection_signal_unsubscribe (remote_connection, properties_changed_id);

Error: CLANG_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/debugcontroller.c:374:3: warning[deadcode.DeadStores]: Value stored to 'properties_changed_id' is never read
#  372|   
#  373|     g_dbus_connection_signal_unsubscribe (remote_connection, properties_changed_id);
#  374|->   properties_changed_id = 0;
#  375|   
#  376|     g_debug_controller_dbus_stop (controller);

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/defaultvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/fdo-notification-backend.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gapplication.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-connection-slow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-connection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-error.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-exit-on-close.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-export.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-export.c:1132:3: warning[deadcode.DeadStores]: Value stored to 'intern2_foo_reg_id' is never read
# 1130|     g_assert_no_error (error);
# 1131|     g_assert (registration_id > 0);
# 1132|->   intern2_foo_reg_id = registration_id;
# 1133|     num_successful_registrations++;
# 1134|   

Error: CLANG_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-export.c:1139:3: warning[deadcode.DeadStores]: Value stored to 'intern2_foo_reg_id' is never read
# 1137|     g_main_context_iteration (NULL, FALSE);
# 1138|     g_assert_cmpint (data.num_unregistered_calls, ==, 2);
# 1139|->   intern2_foo_reg_id = 0;
# 1140|   
# 1141|     /* register it back */

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-introspection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-method-invocation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-names.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-proxy-threads.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-proxy-unique-name.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-proxy-well-known-name.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-proxy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-proxy.c:647:7: warning[deadcode.DeadStores]: Value stored to 'value' is never read
#  645|         g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING,
#  646|                                "*Trying to get property i with type i but according to the expected interface the type is u*");
#  647|->       value = g_dbus_proxy_get_cached_property (proxy, "i");
#  648|         g_test_assert_expected_messages ();
#  649|       }

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-subscribe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-test-codegen.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-test-codegen.c:318:3: warning[deadcode.DeadStores]: Value stored to 'authorized' is never read
#  316|     gboolean authorized;
#  317|   
#  318|->   authorized = FALSE;
#  319|   
#  320|     method_name = g_dbus_method_invocation_get_method_name (invocation);

Error: CLANG_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-test-codegen.c:357:3: warning[deadcode.DeadStores]: Value stored to 'authorized' is never read
#  355|     gboolean authorized;
#  356|   
#  357|->   authorized = FALSE;
#  358|   
#  359|     method_name = g_dbus_method_invocation_get_method_name (invocation);

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-threading.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gdbus-threading.c:309:3: warning[deadcode.DeadStores]: Value stored to 'subscription_id' is never read
#  307|   
#  308|     g_dbus_connection_signal_unsubscribe (c, subscription_id);
#  309|->   subscription_id = 0;
#  310|   
#  311|     while (!data.unsubscribe_complete)

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gmenumodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/gio/tests/gnotification.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401):
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.c:277:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.c:563:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.c:574:10: note: in expansion of macro ‘_xdg_glob_determine_type’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_hash_insert_ucs4’
#  275|         node->child = _xdg_glob_hash_insert_ucs4 (node->child, text, mime_type, weight, case_sensitive);
#  276|       }
#  277|->   return glob_hash_node;
#  278|   }
#  279|   

Error: GCC_ANALYZER_WARNING (CWE-401):
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.c:277:10: warning[-Wanalyzer-malloc-leak]: leak of ‘node’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.c:563:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.c:574:10: note: in expansion of macro ‘_xdg_glob_determine_type’
glib2-2.80.3-build/glib-2.80.3/gio/xdgmime/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_hash_insert_ucs4’
#  275|         node->child = _xdg_glob_hash_insert_ucs4 (node->child, text, mime_type, weight, case_sensitive);
#  276|       }
#  277|->   return glob_hash_node;
#  278|   }
#  279|   

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/redhat-linux-build/gio/tests/fake-document-portal-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/redhat-linux-build/gio/tests/gdbus-test-codegen-generated-min-required-2-64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
glib2-2.80.3-build/glib-2.80.3/redhat-linux-build/gio/tests/gdbus-test-codegen-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.