polkit-124-4.fc41

List of Defects

Error: COMPILER_WARNING: [#def1]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionlookup.c:22: included_from: Included from here.
polkit-124-build/polkit-124/redhat-linux-build/config.h:48:9: warning: "_GNU_SOURCE" redefined
#   48 | #define _GNU_SOURCE
#      |         ^~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
#   46|   #define VERSION "124"
#   47|   
#   48|-> #define _GNU_SOURCE
#   49|   

Error: CPPCHECK_WARNING: [#def2]
polkit-124-build/polkit-124/redhat-linux-build/polkit-1-scan.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def3]
polkit-124-build/polkit-124/redhat-linux-build/polkit-1-scan.c:220:16: warning[deadcode.DeadStores]: Although the value stored to 'event_num' is used in the enclosing expression, the value is never actually read from 'event_num'

Error: CPPCHECK_WARNING: [#def4]
polkit-124-build/polkit-124/redhat-linux-build/tmp-introspectth41p78e/PolkitAgent-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def5]
polkit-124-build/polkit-124/redhat-linux-build/tmp-introspectth41p78e/PolkitAgent-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def6]
polkit-124-build/polkit-124/redhat-linux-build/tmp-introspecttjfxu4aw/Polkit-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def7]
polkit-124-build/polkit-124/redhat-linux-build/tmp-introspecttjfxu4aw/Polkit-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def8]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def9]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:423:18: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
#  421|       {
#  422|         g_warning ("polkit_authority_get: Error getting authority: %s",
#  423|->                  error->message);
#  424|         g_error_free (error);
#  425|       }

Error: COMPILER_WARNING (CWE-477): [#def10]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘authority_get_async_cb’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:467:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
#  467 |       g_simple_async_result_set_from_error (simple, error);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitauthority.h:30: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:28: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  110 | void                g_simple_async_result_set_from_error   (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  465|       {
#  466|         g_assert (error != NULL);
#  467|->       g_simple_async_result_set_from_error (simple, error);
#  468|         g_error_free (error);
#  469|         g_object_unref (source_object);

Error: COMPILER_WARNING (CWE-477): [#def11]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:473:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  473 |       g_simple_async_result_set_op_res_gpointer (simple,
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
#   72 | void                g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  471|     else
#  472|       {
#  473|->       g_simple_async_result_set_op_res_gpointer (simple,
#  474|                                                    source_object,
#  475|                                                    g_object_unref);

Error: COMPILER_WARNING (CWE-477): [#def12]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:477:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  477 |   g_simple_async_result_complete_in_idle (simple);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  103 | void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  475|                                                    g_object_unref);
#  476|       }
#  477|->   g_simple_async_result_complete_in_idle (simple);
#  478|     g_object_unref (simple);
#  479|   }

Error: COMPILER_WARNING (CWE-477): [#def13]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_get_async’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:507:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  507 |   simple = g_simple_async_result_new (NULL,
#      |   ^~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  505|     g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
#  506|   
#  507|->   simple = g_simple_async_result_new (NULL,
#  508|                                         callback,
#  509|                                         user_data,

Error: COMPILER_WARNING (CWE-477): [#def14]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:517:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
#  517 |       g_simple_async_result_set_from_error (simple, error);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  110 | void                g_simple_async_result_set_from_error   (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  515|       {
#  516|         g_assert (error != NULL);
#  517|->       g_simple_async_result_set_from_error (simple, error);
#  518|         g_error_free (error);
#  519|         g_simple_async_result_complete_in_idle (simple);

Error: COMPILER_WARNING (CWE-477): [#def15]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:519:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  519 |       g_simple_async_result_complete_in_idle (simple);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  103 | void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  517|         g_simple_async_result_set_from_error (simple, error);
#  518|         g_error_free (error);
#  519|->       g_simple_async_result_complete_in_idle (simple);
#  520|         g_object_unref (simple);
#  521|       }

Error: COMPILER_WARNING (CWE-477): [#def16]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_get_finish’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:555:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
#  555 |   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_authority_get_async);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  553|     simple = G_SIMPLE_ASYNC_RESULT (res);
#  554|   
#  555|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_authority_get_async);
#  556|   
#  557|     ret = NULL;

Error: COMPILER_WARNING (CWE-477): [#def17]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:559:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
#  559 |   if (g_simple_async_result_propagate_error (simple, error))
#      |   ^~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  116 | gboolean            g_simple_async_result_propagate_error  (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  557|     ret = NULL;
#  558|   
#  559|->   if (g_simple_async_result_propagate_error (simple, error))
#  560|       goto out;
#  561|   

Error: COMPILER_WARNING (CWE-477): [#def18]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:562:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  562 |   object = g_simple_async_result_get_op_res_gpointer (simple);
#      |   ^~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  560|       goto out;
#  561|   
#  562|->   object = g_simple_async_result_get_op_res_gpointer (simple);
#  563|     g_assert (object != NULL);
#  564|     ret = g_object_ref (POLKIT_AUTHORITY (object));

Error: COMPILER_WARNING (CWE-477): [#def19]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘generic_async_cb’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:661:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  661 |   g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (res), g_object_unref);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
#   72 | void                g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  659|   {
#  660|     GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (user_data);
#  661|->   g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (res), g_object_unref);
#  662|     g_simple_async_result_complete (simple);
#  663|     g_object_unref (simple);

Error: COMPILER_WARNING (CWE-477): [#def20]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:662:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  662 |   g_simple_async_result_complete (simple);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  101 | void                g_simple_async_result_complete         (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  660|     GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (user_data);
#  661|     g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (res), g_object_unref);
#  662|->   g_simple_async_result_complete (simple);
#  663|     g_object_unref (simple);
#  664|   }

Error: COMPILER_WARNING (CWE-477): [#def21]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_actions’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:699:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  699 |                      g_simple_async_result_new (G_OBJECT (authority),
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  697|                        cancellable,
#  698|                        generic_async_cb,
#  699|->                      g_simple_async_result_new (G_OBJECT (authority),
#  700|                                                   callback,
#  701|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def22]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_actions_finish’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:736:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
#  736 |   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_actions);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  734|     ret = NULL;
#  735|   
#  736|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_actions);
#  737|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#  738|   

Error: COMPILER_WARNING (CWE-477): [#def23]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:737:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  737 |   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  735|   
#  736|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_actions);
#  737|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#  738|   
#  739|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def24]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘check_authorization_cb’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:851:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
#  851 |       g_simple_async_result_set_from_error (data->simple, error);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  110 | void                g_simple_async_result_set_from_error   (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  849|                                NULL);
#  850|           }
#  851|->       g_simple_async_result_set_from_error (data->simple, error);
#  852|         g_error_free (error);
#  853|       }

Error: COMPILER_WARNING (CWE-477): [#def25]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:862:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  862 |       g_simple_async_result_set_op_res_gpointer (data->simple, result, g_object_unref);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
#   72 | void                g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  860|         g_variant_unref (result_value);
#  861|         g_variant_unref (value);
#  862|->       g_simple_async_result_set_op_res_gpointer (data->simple, result, g_object_unref);
#  863|       }
#  864|   

Error: COMPILER_WARNING (CWE-477): [#def26]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:865:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  865 |   g_simple_async_result_complete (data->simple);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  101 | void                g_simple_async_result_complete         (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  863|       }
#  864|   
#  865|->   g_simple_async_result_complete (data->simple);
#  866|   
#  867|     g_object_unref (data->authority);

Error: COMPILER_WARNING (CWE-477): [#def27]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_check_authorization’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:929:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  929 |   data->simple = g_simple_async_result_new (G_OBJECT (authority),
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  927|     data = g_new0 (CheckAuthData, 1);
#  928|     data->authority = g_object_ref (authority);
#  929|->   data->simple = g_simple_async_result_new (G_OBJECT (authority),
#  930|                                               callback,
#  931|                                               user_data,

Error: COMPILER_WARNING (CWE-477): [#def28]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_check_authorization_finish’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:977:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
#  977 |   if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error))
#      |   ^~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  116 | gboolean            g_simple_async_result_propagate_error  (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  975|     ret = NULL;
#  976|   
#  977|->   if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error))
#  978|       goto out;
#  979|   

Error: COMPILER_WARNING (CWE-477): [#def29]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:980:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  980 |   ret = g_object_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#      |   ^~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  978|       goto out;
#  979|   
#  980|->   ret = g_object_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#  981|   
#  982|    out:

Error: COMPILER_WARNING (CWE-477): [#def30]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1098:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1098 |                      g_simple_async_result_new (G_OBJECT (authority),
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1096|                        cancellable,
# 1097|                        generic_async_cb,
# 1098|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1099|                                                   callback,
# 1100|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def31]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_finish’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1129:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1129 |   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1127|     ret = FALSE;
# 1128|   
# 1129|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent);
# 1130|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1131|   

Error: COMPILER_WARNING (CWE-477): [#def32]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1130:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1130 |   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1128|   
# 1129|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent);
# 1130|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1131|   
# 1132|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def33]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_with_options’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1251:26: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1251 |                          g_simple_async_result_new (G_OBJECT (authority),
#      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1249|                            cancellable,
# 1250|                            generic_async_cb,
# 1251|->                          g_simple_async_result_new (G_OBJECT (authority),
# 1252|                                                       callback,
# 1253|                                                       user_data,

Error: COMPILER_WARNING (CWE-477): [#def34]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1268:26: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1268 |                          g_simple_async_result_new (G_OBJECT (authority),
#      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1266|                            cancellable,
# 1267|                            generic_async_cb,
# 1268|->                          g_simple_async_result_new (G_OBJECT (authority),
# 1269|                                                       callback,
# 1270|                                                       user_data,

Error: COMPILER_WARNING (CWE-477): [#def35]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_with_options_finish’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1301:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1301 |   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent_with_options);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1299|     ret = FALSE;
# 1300|   
# 1301|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent_with_options);
# 1302|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1303|   

Error: COMPILER_WARNING (CWE-477): [#def36]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1302:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1302 |   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1300|   
# 1301|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent_with_options);
# 1302|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1303|   
# 1304|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def37]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_unregister_authentication_agent’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1408:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1408 |                      g_simple_async_result_new (G_OBJECT (authority),
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1406|                        cancellable,
# 1407|                        generic_async_cb,
# 1408|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1409|                                                   callback,
# 1410|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def38]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_unregister_authentication_agent_finish’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1439:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1439 |   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_unregister_authentication_agent);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1437|     ret = FALSE;
# 1438|   
# 1439|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_unregister_authentication_agent);
# 1440|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1441|   

Error: COMPILER_WARNING (CWE-477): [#def39]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1440:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1440 |   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1438|   
# 1439|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_unregister_authentication_agent);
# 1440|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1441|   
# 1442|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def40]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_authentication_agent_response’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1549:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1549 |                      g_simple_async_result_new (G_OBJECT (authority),
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1547|                        cancellable,
# 1548|                        generic_async_cb,
# 1549|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1550|                                                   callback,
# 1551|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def41]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_authentication_agent_response_finish’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1580:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1580 |   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_authentication_agent_response);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1578|     ret = FALSE;
# 1579|   
# 1580|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_authentication_agent_response);
# 1581|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1582|   

Error: COMPILER_WARNING (CWE-477): [#def42]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1581:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1581 |   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1579|   
# 1580|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_authentication_agent_response);
# 1581|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1582|   
# 1583|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def43]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_temporary_authorizations’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1675:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1675 |                      g_simple_async_result_new (G_OBJECT (authority),
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1673|                        cancellable,
# 1674|                        generic_async_cb,
# 1675|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1676|                                                   callback,
# 1677|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def44]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_temporary_authorizations_finish’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1712:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1712 |   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_temporary_authorizations);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1710|     ret = NULL;
# 1711|   
# 1712|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_temporary_authorizations);
# 1713|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1714|   

Error: COMPILER_WARNING (CWE-477): [#def45]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1713:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1713 |   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1711|   
# 1712|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_temporary_authorizations);
# 1713|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1714|   
# 1715|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def46]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorizations’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1824:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1824 |                      g_simple_async_result_new (G_OBJECT (authority),
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1822|                        cancellable,
# 1823|                        generic_async_cb,
# 1824|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1825|                                                   callback,
# 1826|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def47]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorizations_finish’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1855:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1855 |   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorizations);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1853|     ret = FALSE;
# 1854|   
# 1855|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorizations);
# 1856|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1857|   

Error: COMPILER_WARNING (CWE-477): [#def48]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1856:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1856 |   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1854|   
# 1855|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorizations);
# 1856|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1857|   
# 1858|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def49]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorization_by_id’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1944:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1944 |                      g_simple_async_result_new (G_OBJECT (authority),
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1942|                        cancellable,
# 1943|                        generic_async_cb,
# 1944|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1945|                                                   callback,
# 1946|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def50]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorization_by_id_finish’
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1975:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1975 |   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorization_by_id);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1973|     ret = FALSE;
# 1974|   
# 1975|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorization_by_id);
# 1976|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1977|   

Error: COMPILER_WARNING (CWE-477): [#def51]
polkit-124-build/polkit-124/src/polkit/polkitauthority.c:1976:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1976 |   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1974|   
# 1975|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorization_by_id);
# 1976|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1977|   
# 1978|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: CPPCHECK_WARNING: [#def52]
polkit-124-build/polkit-124/src/polkit/polkitimplicitauthorization.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def53]
polkit-124-build/polkit-124/src/polkit/polkitimplicitauthorization.c:39:3: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#   37|   
#   38|     ret = TRUE;
#   39|->   result = POLKIT_IMPLICIT_AUTHORIZATION_NOT_AUTHORIZED;
#   40|   
#   41|     if (strcmp (string, "no") == 0)

Error: CLANG_WARNING: [#def54]
polkit-124-build/polkit-124/src/polkit/polkitimplicitauthorization.c:83:3: warning[deadcode.DeadStores]: Value stored to 's' is never read
#   81|     const gchar *s;
#   82|   
#   83|->   s = "(unknown)";
#   84|   
#   85|     switch (implicit_authorization)

Error: COMPILER_WARNING (CWE-477): [#def55]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_cb’
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:645:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:34: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  643|             if (polkit_authorization_result_get_dismissed (result))
#  644|               {
#  645|->               g_simple_async_result_set_error (data->simple,
#  646|                                                  G_IO_ERROR,
#  647|                                                  G_IO_ERROR_CANCELLED,

Error: COMPILER_WARNING (CWE-477): [#def56]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:653:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  651|             else
#  652|               {
#  653|->               g_simple_async_result_set_error (data->simple,
#  654|                                                  POLKIT_ERROR,
#  655|                                                  POLKIT_ERROR_FAILED,

Error: COMPILER_WARNING (CWE-477): [#def57]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:664:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  662|     else
#  663|       {
#  664|->       g_simple_async_result_set_from_error (data->simple, error);
#  665|         g_error_free (error);
#  666|       }

Error: COMPILER_WARNING (CWE-477): [#def58]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:670:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  668|      * due to how PolkitAuthority works
#  669|      */
#  670|->   g_simple_async_result_complete (data->simple);
#  671|     acquire_data_free (data);
#  672|   }

Error: COMPILER_WARNING (CWE-477): [#def59]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_async’
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:685:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#  683|     data = g_new0 (AcquireData, 1);
#  684|     data->permission = permission;
#  685|->   data->simple = g_simple_async_result_new (G_OBJECT (permission),
#  686|                                               callback,
#  687|                                               user_data,

Error: COMPILER_WARNING (CWE-477): [#def60]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_finish’
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:708:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#  706|   
#  707|     simple = G_SIMPLE_ASYNC_RESULT (result);
#  708|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == acquire_async);
#  709|   
#  710|     if (g_simple_async_result_propagate_error (simple, error))

Error: COMPILER_WARNING (CWE-477): [#def61]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:710:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  708|     g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == acquire_async);
#  709|   
#  710|->   if (g_simple_async_result_propagate_error (simple, error))
#  711|       return FALSE;
#  712|   

Error: COMPILER_WARNING (CWE-477): [#def62]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c: scope_hint: In function ‘release_check_cb’
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:797:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  795|                         "Error checking authorization for action id %s after releasing the permission: ",
#  796|                         data->permission->action_id);
#  797|->       g_simple_async_result_set_from_error (data->simple, error);
#  798|         g_error_free (error);
#  799|       }

Error: COMPILER_WARNING (CWE-477): [#def63]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:808:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  806|      * due to how PolkitAuthority works
#  807|      */
#  808|->   g_simple_async_result_complete (data->simple);
#  809|     release_data_free (data);
#  810|   }

Error: CLANG_WARNING: [#def64]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:821:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  819|     gboolean ret;
#  820|   
#  821|->   ret = FALSE;
#  822|   
#  823|     error = NULL;

Error: COMPILER_WARNING (CWE-477): [#def65]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c: scope_hint: In function ‘release_cb’
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:829:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  827|     if (!ret)
#  828|       {
#  829|->       g_simple_async_result_set_from_error (data->simple, error);
#  830|         g_error_free (error);
#  831|         /* don't complete in idle since we're already completing in idle

Error: COMPILER_WARNING (CWE-477): [#def66]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:834:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  832|          * due to how PolkitAuthority works
#  833|          */
#  834|->       g_simple_async_result_complete (data->simple);
#  835|         release_data_free (data);
#  836|       }

Error: COMPILER_WARNING (CWE-477): [#def67]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c: scope_hint: In function ‘release_async’
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:865:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#  863|     data = g_new0 (ReleaseData, 1);
#  864|     data->permission = permission;
#  865|->   data->simple = g_simple_async_result_new (G_OBJECT (permission),
#  866|                                               callback,
#  867|                                               user_data,

Error: COMPILER_WARNING (CWE-477): [#def68]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:872:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  870|     if (permission->tmp_authz_id == NULL)
#  871|       {
#  872|->       g_simple_async_result_set_error (data->simple,
#  873|                                          POLKIT_ERROR,
#  874|                                          POLKIT_ERROR_FAILED,

Error: COMPILER_WARNING (CWE-477): [#def69]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:877:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  875|                                          "Cannot release permission: no temporary authorization for action-id %s exist",
#  876|                                          permission->action_id);
#  877|->       g_simple_async_result_complete_in_idle (data->simple);
#  878|         release_data_free (data);
#  879|         goto out;

Error: COMPILER_WARNING (CWE-477): [#def70]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c: scope_hint: In function ‘release_finish’
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:899:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#  897|   
#  898|     simple = G_SIMPLE_ASYNC_RESULT (result);
#  899|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == release_async);
#  900|   
#  901|     if (g_simple_async_result_propagate_error (simple, error))

Error: COMPILER_WARNING (CWE-477): [#def71]
polkit-124-build/polkit-124/src/polkit/polkitpermission.c:901:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  899|     g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == release_async);
#  900|   
#  901|->   if (g_simple_async_result_propagate_error (simple, error))
#  902|       return FALSE;
#  903|   

Error: CPPCHECK_WARNING: [#def72]
polkit-124-build/polkit-124/src/polkit/polkitsubject.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def73]
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def74]
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c: scope_hint: In function ‘exists_in_thread_func’
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c:289:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
/usr/include/glib-2.0/gio/gunixfdlist.h:26: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c:27: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  287|                                              &error))
#  288|       {
#  289|->       g_simple_async_result_set_from_error (res, error);
#  290|         g_error_free (error);
#  291|       }

Error: COMPILER_WARNING (CWE-477): [#def75]
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c: scope_hint: In function ‘polkit_system_bus_name_exists’
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c:304:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#  302|     g_return_if_fail (POLKIT_IS_SYSTEM_BUS_NAME (subject));
#  303|   
#  304|->   simple = g_simple_async_result_new (G_OBJECT (subject),
#  305|                                         callback,
#  306|                                         user_data,

Error: COMPILER_WARNING (CWE-477): [#def76]
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c:308:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_run_in_thread’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:105:21: note: declared here
#  306|                                         user_data,
#  307|                                         polkit_system_bus_name_exists);
#  308|->   g_simple_async_result_run_in_thread (simple,
#  309|                                          exists_in_thread_func,
#  310|                                          G_PRIORITY_DEFAULT,

Error: COMPILER_WARNING (CWE-477): [#def77]
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c: scope_hint: In function ‘polkit_system_bus_name_exists_finish’
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c:323:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#  321|     gboolean ret;
#  322|   
#  323|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_system_bus_name_exists);
#  324|   
#  325|     ret = FALSE;

Error: COMPILER_WARNING (CWE-477): [#def78]
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c:327:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  325|     ret = FALSE;
#  326|   
#  327|->   if (g_simple_async_result_propagate_error (simple, error))
#  328|       goto out;
#  329|   

Error: COMPILER_WARNING (CWE-477): [#def79]
polkit-124-build/polkit-124/src/polkit/polkitsystembusname.c:330:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gboolean’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:88:21: note: declared here
#  328|       goto out;
#  329|   
#  330|->   ret = g_simple_async_result_get_op_res_gboolean (simple);
#  331|   
#  332|    out:

Error: COMPILER_WARNING (CWE-477): [#def80]
polkit-124-build/polkit-124/src/polkit/polkitunixprocess.c: scope_hint: In function ‘polkit_unix_process_exists’
polkit-124-build/polkit-124/src/polkit/polkitunixprocess.c:920:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitunixprocess.h:32: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitunixprocess.c:47: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#  918|   {
#  919|     GSimpleAsyncResult *simple;
#  920|->   simple = g_simple_async_result_new (G_OBJECT (subject),
#  921|                                         callback,
#  922|                                         user_data,

Error: COMPILER_WARNING (CWE-477): [#def81]
polkit-124-build/polkit-124/src/polkit/polkitunixprocess.c:924:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  922|                                         user_data,
#  923|                                         polkit_unix_process_exists);
#  924|->   g_simple_async_result_complete (simple);
#  925|     g_object_unref (simple);
#  926|   }

Error: COMPILER_WARNING (CWE-477): [#def82]
polkit-124-build/polkit-124/src/polkit/polkitunixprocess.c: scope_hint: In function ‘polkit_unix_process_exists_finish’
polkit-124-build/polkit-124/src/polkit/polkitunixprocess.c:935:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#  933|     GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (res);
#  934|   
#  935|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_process_exists);
#  936|   
#  937|     return polkit_unix_process_exists_sync (subject,

Error: COMPILER_WARNING (CWE-477): [#def83]
polkit-124-build/polkit-124/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘exists_in_thread_func’
polkit-124-build/polkit-124/src/polkit/polkitunixsession-systemd.c:388:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitunixsession.h:30: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitunixsession-systemd.c:28: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  386|                                           &error))
#  387|       {
#  388|->       g_simple_async_result_set_from_error (res, error);
#  389|         g_error_free (error);
#  390|       }

Error: COMPILER_WARNING (CWE-477): [#def84]
polkit-124-build/polkit-124/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘polkit_unix_session_exists’
polkit-124-build/polkit-124/src/polkit/polkitunixsession-systemd.c:403:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#  401|     g_return_if_fail (POLKIT_IS_UNIX_SESSION (subject));
#  402|   
#  403|->   simple = g_simple_async_result_new (G_OBJECT (subject),
#  404|                                         callback,
#  405|                                         user_data,

Error: COMPILER_WARNING (CWE-477): [#def85]
polkit-124-build/polkit-124/src/polkit/polkitunixsession-systemd.c:407:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_run_in_thread’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:105:21: note: declared here
#  405|                                         user_data,
#  406|                                         polkit_unix_session_exists);
#  407|->   g_simple_async_result_run_in_thread (simple,
#  408|                                          exists_in_thread_func,
#  409|                                          G_PRIORITY_DEFAULT,

Error: COMPILER_WARNING (CWE-477): [#def86]
polkit-124-build/polkit-124/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘polkit_unix_session_exists_finish’
polkit-124-build/polkit-124/src/polkit/polkitunixsession-systemd.c:422:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#  420|     gboolean ret;
#  421|   
#  422|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_session_exists);
#  423|   
#  424|     ret = FALSE;

Error: COMPILER_WARNING (CWE-477): [#def87]
polkit-124-build/polkit-124/src/polkit/polkitunixsession-systemd.c:426:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  424|     ret = FALSE;
#  425|   
#  426|->   if (g_simple_async_result_propagate_error (simple, error))
#  427|       goto out;
#  428|   

Error: COMPILER_WARNING (CWE-477): [#def88]
polkit-124-build/polkit-124/src/polkit/polkitunixsession-systemd.c:429:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gboolean’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:88:21: note: declared here
#  427|       goto out;
#  428|   
#  429|->   ret = g_simple_async_result_get_op_res_gboolean (simple);
#  430|   
#  431|    out:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def89]
polkit-124-build/polkit-124/src/polkitagent/polkitagenthelper-pam.c: scope_hint: In function ‘send_to_helper’
polkit-124-build/polkit-124/src/polkitagent/polkitagenthelper-pam.c:47:10: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkittypes.h:25: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkit.h:27: included_from: Included from here.
polkit-124-build/polkit-124/src/polkitagent/polkitagenthelperprivate.h:25: included_from: Included from here.
polkit-124-build/polkit-124/src/polkitagent/polkitagenthelper-pam.c:23: included_from: Included from here.
polkit-124-build/polkit-124/src/polkitagent/polkitagenthelper-pam.c:46:10: note: in expansion of macro ‘g_strdup’
polkit-124-build/polkit-124/src/polkitagent/polkitagenthelper-pam.c: scope_hint: In function ‘send_to_helper’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#   45|   
#   46|     tmp2 = g_strdup(str2);
#   47|->   len2 = strlen(tmp2);
#   48|   #ifdef PAH_DEBUG
#   49|     fprintf (stderr, "polkit-agent-helper-1: writing `%s ' to stdout\n", str1);

Error: CPPCHECK_WARNING: [#def90]
polkit-124-build/polkit-124/src/polkitagent/polkitagentlistener.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def91]
polkit-124-build/polkit-124/src/polkitagent/polkitagentsession.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def92]
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c: scope_hint: In function ‘on_completed’
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c:312:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitactiondescription.h:30: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitprivate.h:26: included_from: Included from here.
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c:34: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  310|     fflush (listener->tty);
#  311|   
#  312|->   g_simple_async_result_complete_in_idle (listener->simple);
#  313|   
#  314|     g_object_unref (listener->simple);

Error: COMPILER_WARNING (CWE-477): [#def93]
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c: scope_hint: In function ‘polkit_agent_text_listener_initiate_authentication’
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c:563:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#  561|     PolkitIdentity *identity;
#  562|   
#  563|->   simple = g_simple_async_result_new (G_OBJECT (listener),
#  564|                                         callback,
#  565|                                         user_data,

Error: COMPILER_WARNING (CWE-477): [#def94]
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c:569:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  567|     if (listener->active_session != NULL)
#  568|       {
#  569|->       g_simple_async_result_set_error (simple,
#  570|                                          POLKIT_ERROR,
#  571|                                          POLKIT_ERROR_FAILED,

Error: COMPILER_WARNING (CWE-477): [#def95]
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c:573:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  571|                                          POLKIT_ERROR_FAILED,
#  572|                                          "An authentication session is already underway.");
#  573|->       g_simple_async_result_complete_in_idle (simple);
#  574|         g_object_unref (simple);
#  575|         goto out;

Error: COMPILER_WARNING (CWE-477): [#def96]
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c:605:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  603|               fprintf (listener->tty, "\x1B[0m");
#  604|             fflush (listener->tty);
#  605|->           g_simple_async_result_set_error (simple,
#  606|                                              POLKIT_ERROR,
#  607|                                              POLKIT_ERROR_FAILED,

Error: COMPILER_WARNING (CWE-477): [#def97]
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c:609:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  607|                                              POLKIT_ERROR_FAILED,
#  608|                                              "Authentication was canceled.");
#  609|->           g_simple_async_result_complete_in_idle (simple);
#  610|             g_object_unref (simple);
#  611|             goto out;

Error: COMPILER_WARNING (CWE-477): [#def98]
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c: scope_hint: In function ‘polkit_agent_text_listener_initiate_authentication_finish’
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c:663:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#  661|     gboolean ret;
#  662|   
#  663|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) ==
#  664|                     polkit_agent_text_listener_initiate_authentication);
#  665|   

Error: COMPILER_WARNING (CWE-477): [#def99]
polkit-124-build/polkit-124/src/polkitagent/polkitagenttextlistener.c:668:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  666|     ret = FALSE;
#  667|   
#  668|->   if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error))
#  669|       goto out;
#  670|   

Error: COMPILER_WARNING: [#def100]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘polkit_backend_action_pool_init’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:131:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  129|     PolkitBackendActionPoolPrivate *priv;
#  130|   
#  131|->   priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool);
#  132|   
#  133|     priv->parsed_actions = g_hash_table_new_full (g_str_hash,

Error: COMPILER_WARNING: [#def101]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘polkit_backend_action_pool_finalize’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:151:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  149|   
#  150|     pool = POLKIT_BACKEND_ACTION_POOL (object);
#  151|->   priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool);
#  152|   
#  153|     if (priv->directory != NULL)

Error: COMPILER_WARNING: [#def102]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘polkit_backend_action_pool_get_property’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:178:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  176|   
#  177|     pool = POLKIT_BACKEND_ACTION_POOL (object);
#  178|->   priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool);
#  179|   
#  180|     switch (prop_id)

Error: COMPILER_WARNING: [#def103]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘dir_monitor_changed’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:203:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  201|   
#  202|     pool = POLKIT_BACKEND_ACTION_POOL (user_data);
#  203|->   priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool);
#  204|   
#  205|     /* TODO: maybe rate-limit so storms of events are collapsed into one with a 500ms resolution?

Error: COMPILER_WARNING: [#def104]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘polkit_backend_action_pool_set_property’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:251:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  249|   
#  250|     pool = POLKIT_BACKEND_ACTION_POOL (object);
#  251|->   priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool);
#  252|   
#  253|     switch (prop_id)

Error: COMPILER_WARNING (CWE-477): [#def105]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘polkit_backend_action_pool_class_init’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:292:3: warning[-Wdeprecated-declarations]: ‘g_type_class_add_private’ is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkittypes.h:25: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkit.h:27: included_from: Included from here.
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:28: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  290|     gobject_class->finalize     = polkit_backend_action_pool_finalize;
#  291|   
#  292|->   g_type_class_add_private (klass, sizeof (PolkitBackendActionPoolPrivate));
#  293|   
#  294|     /**

Error: COMPILER_WARNING: [#def106]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘polkit_backend_action_pool_get_action’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:372:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  370|     g_return_val_if_fail (POLKIT_BACKEND_IS_ACTION_POOL (pool), NULL);
#  371|   
#  372|->   priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool);
#  373|   
#  374|     /* TODO: just compute the name of the expected file and ensure it's parsed */

Error: COMPILER_WARNING: [#def107]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘polkit_backend_action_pool_get_all_actions’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:430:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  428|     g_return_val_if_fail (POLKIT_BACKEND_IS_ACTION_POOL (pool), NULL);
#  429|   
#  430|->   priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool);
#  431|   
#  432|     ensure_all_files (pool);

Error: COMPILER_WARNING: [#def108]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘ensure_file’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:465:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  463|     gchar *uri;
#  464|   
#  465|->   priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool);
#  466|   
#  467|     uri = g_file_get_uri (file);

Error: COMPILER_WARNING: [#def109]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘ensure_all_files’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:511:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  509|     GError *error;
#  510|   
#  511|->   priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool);
#  512|   
#  513|     e = NULL;

Error: COMPILER_WARNING: [#def110]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c: scope_hint: In function ‘_end’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendactionpool.c:974:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  972|           PolkitBackendActionPoolPrivate *priv;
#  973|   
#  974|->         priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pd->pool);
#  975|   
#  976|           vendor = pd->vendor;

Error: CPPCHECK_WARNING: [#def111]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendauthority.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def112]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendauthority.c: scope_hint: In function ‘polkit_backend_authority_check_authorization’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendauthority.c:226:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new_error’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitactiondescription.h:30: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkit.h:30: included_from: Included from here.
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendauthority.c:29: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here
#  224|         g_warning ("check_authorization is not implemented (it is not optional)");
#  225|   
#  226|->       simple = g_simple_async_result_new_error (G_OBJECT (authority),
#  227|                                                   callback,
#  228|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def113]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendauthority.c:232:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  230|                                                   POLKIT_ERROR_NOT_SUPPORTED,
#  231|                                                   "Operation not supported (bug in backend)");
#  232|->       g_simple_async_result_complete (simple);
#  233|         g_object_unref (simple);
#  234|       }

Error: COMPILER_WARNING (CWE-477): [#def114]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendauthority.c: scope_hint: In function ‘polkit_backend_authority_check_authorization_finish’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendauthority.c:263:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  261|       {
#  262|         g_warning ("check_authorization_finish is not implemented (it is not optional)");
#  263|->       g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error);
#  264|         return NULL;
#  265|       }

Error: COMPILER_WARNING (CWE-477): [#def115]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendauthority.c: scope_hint: In function ‘polkit_backend_authority_log’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendauthority.c:1568:3: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkittypes.h:25: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkit.h:27: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
# 1566|                                 ...)
# 1567|   {
# 1568|->   GTimeVal now;
# 1569|     time_t now_time;
# 1570|     struct tm *now_tm;

Error: COMPILER_WARNING (CWE-477): [#def116]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendauthority.c:1583:3: warning[-Wdeprecated-declarations]: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead
/usr/include/glib-2.0/glib/giochannel.h:35: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here
# 1581|     syslog (LOG_NOTICE, "%s", message);
# 1582|   
# 1583|->   g_get_current_time (&now);
# 1584|     now_time = (time_t) now.tv_sec;
# 1585|     now_tm = localtime (&now_time);

Error: CPPCHECK_WARNING: [#def117]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def118]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_on_cancelled’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:141:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated
#  141 |   g_simple_async_result_take_error (data->simple, error);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
/usr/include/glib-2.0/gio/gunixfdlist.h:26: included_from: Included from here.
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.h:40: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here
#  113 | void                g_simple_async_result_take_error       (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  139|     error = NULL;
#  140|     g_warn_if_fail (g_cancellable_set_error_if_cancelled (cancellable, &error));
#  141|->   g_simple_async_result_take_error (data->simple, error);
#  142|     g_simple_async_result_complete_in_idle (data->simple);
#  143|     g_object_unref (data->simple);

Error: COMPILER_WARNING (CWE-477): [#def119]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:142:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  142 |   g_simple_async_result_complete_in_idle (data->simple);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  103 | void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  140|     g_warn_if_fail (g_cancellable_set_error_if_cancelled (cancellable, &error));
#  141|     g_simple_async_result_take_error (data->simple, error);
#  142|->   g_simple_async_result_complete_in_idle (data->simple);
#  143|     g_object_unref (data->simple);
#  144|   }

Error: COMPILER_WARNING (CWE-477): [#def120]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_timeout_cb’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:157:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  157 |   g_simple_async_result_complete_in_idle (data->simple);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  103 | void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  155|   
#  156|     /* we're done */
#  157|->   g_simple_async_result_complete_in_idle (data->simple);
#  158|     g_object_unref (data->simple);
#  159|   

Error: COMPILER_WARNING (CWE-477): [#def121]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_child_watch_cb’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:190:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  190 |   g_simple_async_result_complete_in_idle (data->simple);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  103 | void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  188|   
#  189|     /* we're done */
#  190|->   g_simple_async_result_complete_in_idle (data->simple);
#  191|     g_object_unref (data->simple);
#  192|   }

Error: COMPILER_WARNING (CWE-477): [#def122]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘polkit_backend_common_spawn’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:234:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  234 |   data->simple = g_simple_async_result_new (NULL,
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  232|     data = g_slice_new0 (UtilsSpawnData);
#  233|     data->timeout_seconds = timeout_seconds;
#  234|->   data->simple = g_simple_async_result_new (NULL,
#  235|                                               callback,
#  236|                                               user_data,

Error: COMPILER_WARNING (CWE-477): [#def123]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:250:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  250 |   g_simple_async_result_set_op_res_gpointer (data->simple, data, (GDestroyNotify) utils_spawn_data_free);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
#   72 | void                g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  248|   
#  249|     /* the life-cycle of UtilsSpawnData is tied to its GSimpleAsyncResult */
#  250|->   g_simple_async_result_set_op_res_gpointer (data->simple, data, (GDestroyNotify) utils_spawn_data_free);
#  251|   
#  252|     error = NULL;

Error: COMPILER_WARNING (CWE-477): [#def124]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:259:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated
#  259 |           g_simple_async_result_take_error (data->simple, error);
#      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here
#  113 | void                g_simple_async_result_take_error       (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  257|         if (g_cancellable_set_error_if_cancelled (data->cancellable, &error))
#  258|           {
#  259|->           g_simple_async_result_take_error (data->simple, error);
#  260|             g_simple_async_result_complete_in_idle (data->simple);
#  261|             g_object_unref (data->simple);

Error: COMPILER_WARNING (CWE-477): [#def125]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:260:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  260 |           g_simple_async_result_complete_in_idle (data->simple);
#      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  103 | void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  258|           {
#  259|             g_simple_async_result_take_error (data->simple, error);
#  260|->           g_simple_async_result_complete_in_idle (data->simple);
#  261|             g_object_unref (data->simple);
#  262|             goto out;

Error: COMPILER_WARNING (CWE-477): [#def126]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:285:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated
#  285 |       g_simple_async_result_take_error (data->simple, error);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here
#  113 | void                g_simple_async_result_take_error       (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  283|       {
#  284|         g_prefix_error (&error, "Error spawning: ");
#  285|->       g_simple_async_result_take_error (data->simple, error);
#  286|         g_simple_async_result_complete_in_idle (data->simple);
#  287|         g_object_unref (data->simple);

Error: COMPILER_WARNING (CWE-477): [#def127]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:286:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  286 |       g_simple_async_result_complete_in_idle (data->simple);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  103 | void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  284|         g_prefix_error (&error, "Error spawning: ");
#  285|         g_simple_async_result_take_error (data->simple, error);
#  286|->       g_simple_async_result_complete_in_idle (data->simple);
#  287|         g_object_unref (data->simple);
#  288|         goto out;

Error: COMPILER_WARNING (CWE-477): [#def128]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘polkit_backend_common_spawn_finish’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:372:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
#  372 |   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_common_spawn);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  370|     g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
#  371|   
#  372|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_common_spawn);
#  373|   
#  374|     if (g_simple_async_result_propagate_error (simple, error))

Error: COMPILER_WARNING (CWE-477): [#def129]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:374:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
#  374 |   if (g_simple_async_result_propagate_error (simple, error))
#      |   ^~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  116 | gboolean            g_simple_async_result_propagate_error  (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  372|     g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_common_spawn);
#  373|   
#  374|->   if (g_simple_async_result_propagate_error (simple, error))
#  375|       goto out;
#  376|   

Error: COMPILER_WARNING (CWE-477): [#def130]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.c:377:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  377 |   data = (UtilsSpawnData*)g_simple_async_result_get_op_res_gpointer (simple);
#      |   ^~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  375|       goto out;
#  376|   
#  377|->   data = (UtilsSpawnData*)g_simple_async_result_get_op_res_gpointer (simple);
#  378|   
#  379|     if (data->timed_out)

Error: COMPILER_WARNING: [#def131]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_js_authority_init’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c:98:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   98 |                                                  PolkitBackendJsAuthorityPrivate);
#      |             ^                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   96|     authority->priv = G_TYPE_INSTANCE_GET_PRIVATE (authority,
#   97|                                                    POLKIT_BACKEND_TYPE_JS_AUTHORITY,
#   98|->                                                  PolkitBackendJsAuthorityPrivate);
#   99|   }
#  100|   

Error: COMPILER_WARNING (CWE-477): [#def132]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_js_authority_class_init’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c:311:3: warning[-Wdeprecated-declarations]: ‘g_type_class_add_private’ is deprecated
#  311 |   g_type_class_add_private (klass, sizeof (PolkitBackendJsAuthorityPrivate));
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/glib-2.0/gio/gunixfdlist.h:26: included_from: Included from here.
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendcommon.h:40: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
# 1497 | void     g_type_class_add_private       (gpointer                    g_class,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  309|   {
#  310|     polkit_backend_common_js_authority_class_init_common (klass);
#  311|->   g_type_class_add_private (klass, sizeof (PolkitBackendJsAuthorityPrivate));
#  312|   }
#  313|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_get_admin_auth_identities’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c:898:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
#  896|     if (!push_action_and_details (cx, action_id, details, &error))
#  897|       {
#  898|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
#  899|                                       "Error converting action and details to JS object: %s",
#  900|                                       error->message);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c:907:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
#  905|     if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error))
#  906|       {
#  907|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
#  908|                                       "Error converting subject to JS object: %s",
#  909|                                       error->message);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_check_authorization_sync’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c:979:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
#  977|     if (!push_action_and_details (cx, action_id, details, &error))
#  978|       {
#  979|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
#  980|                                       "Error converting action and details to JS object: %s",
#  981|                                       error->message);

Error: CLANG_WARNING: [#def136]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c:981:37: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
#  979|         polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
#  980|                                       "Error converting action and details to JS object: %s",
#  981|->                                     error->message);
#  982|         g_clear_error (&error);
#  983|         goto out;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c:988:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
#  986|     if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error))
#  987|       {
#  988|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
#  989|                                       "Error converting subject to JS object: %s",
#  990|                                       error->message);

Error: CLANG_WARNING: [#def138]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendduktapeauthority.c:990:37: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
#  988|         polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
#  989|                                       "Error converting subject to JS object: %s",
#  990|->                                     error->message);
#  991|         g_clear_error (&error);
#  992|         goto out;

Error: CPPCHECK_WARNING: [#def139]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def140]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_init’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:300:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  298|     (void)POLKIT_ERROR;
#  299|   
#  300|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
#  301|   
#  302|     directory = g_file_new_for_path (PACKAGE_DATA_DIR "/polkit-1/actions");

Error: COMPILER_WARNING: [#def141]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_finalize’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:354:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  352|   
#  353|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (object);
#  354|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
#  355|   
#  356|     if (priv->name_owner_changed_signal_id > 0)

Error: COMPILER_WARNING (CWE-477): [#def142]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_class_init’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:419:3: warning[-Wdeprecated-declarations]: ‘g_type_class_add_private’ is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkittypes.h:25: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkit.h:27: included_from: Included from here.
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:35: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  417|   
#  418|   
#  419|->   g_type_class_add_private (klass, sizeof (PolkitBackendInteractiveAuthorityPrivate));
#  420|   }
#  421|   

Error: COMPILER_WARNING: [#def143]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_enumerate_actions’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:435:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  433|   
#  434|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);
#  435|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
#  436|   
#  437|     actions = polkit_backend_action_pool_get_all_actions (priv->action_pool, interactivee);

Error: COMPILER_WARNING: [#def144]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘log_result’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:577:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  575|     gchar *caller_cmdline;
#  576|   
#  577|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
#  578|   
#  579|     log_result_str = "DENYING";

Error: COMPILER_WARNING: [#def145]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘check_authorization_challenge_cb’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:644:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  642|     gboolean is_temp;
#  643|   
#  644|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
#  645|   
#  646|     result = NULL;

Error: COMPILER_WARNING (CWE-477): [#def146]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:746:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkitactiondescription.h:30: included_from: Included from here.
polkit-124-build/polkit-124/src/polkit/polkit.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
#  744|     /* log_result (authority, action_id, subject, caller, result); */
#  745|   
#  746|->   g_simple_async_result_set_op_res_gpointer (simple,
#  747|                                                result,
#  748|                                                g_object_unref);

Error: COMPILER_WARNING (CWE-477): [#def147]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:749:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  747|                                                result,
#  748|                                                g_object_unref);
#  749|->   g_simple_async_result_complete (simple);
#  750|     g_object_unref (simple);
#  751|   

Error: COMPILER_WARNING (CWE-477): [#def148]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_check_authorization_finish’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:769:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#  767|     simple = G_SIMPLE_ASYNC_RESULT (res);
#  768|   
#  769|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_interactive_authority_check_authorization);
#  770|   
#  771|     result = NULL;

Error: COMPILER_WARNING (CWE-477): [#def149]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:773:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  771|     result = NULL;
#  772|   
#  773|->   if (g_simple_async_result_propagate_error (simple, error))
#  774|       goto out;
#  775|   

Error: COMPILER_WARNING (CWE-477): [#def150]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:776:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#  774|       goto out;
#  775|   
#  776|->   result = g_object_ref (g_simple_async_result_get_op_res_gpointer (simple));
#  777|   
#  778|    out:

Error: COMPILER_WARNING: [#def151]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘may_identity_check_authorization’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:787:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  785|                                     PolkitIdentity                      *identity)
#  786|   {
#  787|->   PolkitBackendInteractiveAuthorityPrivate *priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
#  788|     gboolean ret = FALSE;
#  789|     PolkitActionDescription *action_desc = NULL;

Error: COMPILER_WARNING: [#def152]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_check_authorization’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:866:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  864|   
#  865|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);
#  866|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
#  867|   
#  868|     error = NULL;

Error: COMPILER_WARNING (CWE-477): [#def153]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:877:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#  875|     result = NULL;
#  876|   
#  877|->   simple = g_simple_async_result_new (G_OBJECT (authority),
#  878|                                         callback,
#  879|                                         user_data,

Error: COMPILER_WARNING (CWE-477): [#def154]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:905:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  903|     if (error != NULL)
#  904|       {
#  905|->       g_simple_async_result_set_from_error (simple, error);
#  906|         g_simple_async_result_complete (simple);
#  907|         g_object_unref (simple);

Error: COMPILER_WARNING (CWE-477): [#def155]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:906:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  904|       {
#  905|         g_simple_async_result_set_from_error (simple, error);
#  906|->       g_simple_async_result_complete (simple);
#  907|         g_object_unref (simple);
#  908|         g_error_free (error);

Error: COMPILER_WARNING (CWE-477): [#def156]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:920:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  918|     if (error != NULL)
#  919|       {
#  920|->       g_simple_async_result_set_from_error (simple, error);
#  921|         g_simple_async_result_complete (simple);
#  922|         g_object_unref (simple);

Error: COMPILER_WARNING (CWE-477): [#def157]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:921:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  919|       {
#  920|         g_simple_async_result_set_from_error (simple, error);
#  921|->       g_simple_async_result_complete (simple);
#  922|         g_object_unref (simple);
#  923|         g_error_free (error);

Error: COMPILER_WARNING (CWE-477): [#def158]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:965:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  963|             if (has_details)
#  964|               {
#  965|->               g_simple_async_result_set_error (simple,
#  966|                                                  POLKIT_ERROR,
#  967|                                                  POLKIT_ERROR_NOT_AUTHORIZED,

Error: COMPILER_WARNING (CWE-477): [#def159]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:973:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  971|             else
#  972|               {
#  973|->               g_simple_async_result_set_error (simple,
#  974|                                                  POLKIT_ERROR,
#  975|                                                  POLKIT_ERROR_NOT_AUTHORIZED,

Error: COMPILER_WARNING (CWE-477): [#def160]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:979:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  977|                                                  "subjects belonging to other identities");
#  978|               }
#  979|->           g_simple_async_result_complete (simple);
#  980|             g_object_unref (simple);
#  981|             goto out;

Error: COMPILER_WARNING (CWE-477): [#def161]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:997:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  995|     if (error != NULL)
#  996|       {
#  997|->       g_simple_async_result_set_from_error (simple, error);
#  998|         g_simple_async_result_complete (simple);
#  999|         g_object_unref (simple);

Error: COMPILER_WARNING (CWE-477): [#def162]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:998:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  996|       {
#  997|         g_simple_async_result_set_from_error (simple, error);
#  998|->       g_simple_async_result_complete (simple);
#  999|         g_object_unref (simple);
# 1000|         g_error_free (error);

Error: COMPILER_WARNING (CWE-477): [#def163]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:1038:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
# 1036|   
# 1037|     /* Otherwise just return the result */
# 1038|->   g_simple_async_result_set_op_res_gpointer (simple,
# 1039|                                                g_object_ref (result),
# 1040|                                                g_object_unref);

Error: COMPILER_WARNING (CWE-477): [#def164]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:1041:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 1039|                                                g_object_ref (result),
# 1040|                                                g_object_unref);
# 1041|->   g_simple_async_result_complete (simple);
# 1042|     g_object_unref (simple);
# 1043|   

Error: COMPILER_WARNING: [#def165]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘check_authorization_sync’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:1090:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 1088|   
# 1089|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);
# 1090|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
# 1091|   
# 1092|     result = NULL;

Error: COMPILER_WARNING: [#def166]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘get_authentication_agent_for_subject’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:1706:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 1704|     gboolean fallback = FALSE;
# 1705|   
# 1706|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
# 1707|   
# 1708|     agent = g_hash_table_lookup (priv->hash_scope_to_authentication_agent, subject);

Error: COMPILER_WARNING: [#def167]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘get_authentication_session_for_uid_and_cookie’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:1779:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 1777|     /* TODO: perhaps use a hash on the cookie to speed this up */
# 1778|   
# 1779|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
# 1780|   
# 1781|     g_hash_table_iter_init (&hash_iter, priv->hash_scope_to_authentication_agent);

Error: COMPILER_WARNING: [#def168]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘get_authentication_sessions_initiated_by_system_bus_unique_name’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:1832:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 1830|     /* TODO: perhaps use a hash on the cookie to speed this up */
# 1831|   
# 1832|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
# 1833|   
# 1834|     g_hash_table_iter_init (&hash_iter, priv->hash_scope_to_authentication_agent);

Error: COMPILER_WARNING: [#def169]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘get_authentication_sessions_for_system_bus_unique_name_subject’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:1866:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 1864|     /* TODO: perhaps use a hash on the cookie to speed this up */
# 1865|   
# 1866|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
# 1867|   
# 1868|     g_hash_table_iter_init (&hash_iter, priv->hash_scope_to_authentication_agent);

Error: COMPILER_WARNING: [#def170]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘get_authentication_agent_by_unique_system_bus_name’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:1898:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 1896|     AuthenticationAgent *agent;
# 1897|   
# 1898|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
# 1899|   
# 1900|     g_hash_table_iter_init (&hash_iter, priv->hash_scope_to_authentication_agent);

Error: COMPILER_WARNING: [#def171]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘get_localized_data_for_challenge’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:2062:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 2060|     gchar *s;
# 2061|   
# 2062|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
# 2063|   
# 2064|     message = NULL;

Error: COMPILER_WARNING: [#def172]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘authentication_agent_initiate_challenge’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:2326:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 2324|                                            gpointer                     user_data)
# 2325|   {
# 2326|->   PolkitBackendInteractiveAuthorityPrivate *priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
# 2327|     AuthenticationSession *session;
# 2328|     GList *l;

Error: COMPILER_WARNING: [#def173]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_register_authentication_agent’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:2529:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 2527|   
# 2528|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);
# 2529|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
# 2530|   
# 2531|     if (POLKIT_IS_UNIX_SESSION (subject))

Error: COMPILER_WARNING: [#def174]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_unregister_authentication_agent’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:2684:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 2682|   
# 2683|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);
# 2684|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
# 2685|   
# 2686|     ret = FALSE;

Error: COMPILER_WARNING: [#def175]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_authentication_agent_response’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:2844:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 2842|   
# 2843|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);
# 2844|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
# 2845|   
# 2846|     ret = FALSE;

Error: COMPILER_WARNING: [#def176]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_system_bus_name_owner_changed’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:2928:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 2926|   
# 2927|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);
# 2928|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
# 2929|   
# 2930|     //g_debug ("name-owner-changed: '%s' '%s' '%s'", name, old_owner, new_owner);

Error: COMPILER_WARNING (CWE-477): [#def177]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_enumerate_temporary_authorizations’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:3365:3: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gprintf.h:23: included_from: Included from here.
/usr/include/glib-2.0/glib/gstdio.h:24: included_from: Included from here.
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
# 3363|     GList *l;
# 3364|     gint64 monotonic_now;
# 3365|->   GTimeVal real_now;
# 3366|   
# 3367|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);

Error: COMPILER_WARNING: [#def178]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:3368:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 3366|   
# 3367|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);
# 3368|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
# 3369|   
# 3370|     ret = NULL;

Error: COMPILER_WARNING (CWE-477): [#def179]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:3404:3: warning[-Wdeprecated-declarations]: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead
/usr/include/glib-2.0/glib/giochannel.h:35: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here
# 3402|   
# 3403|     monotonic_now = g_get_monotonic_time ();
# 3404|->   g_get_current_time (&real_now);
# 3405|   
# 3406|     for (l = priv->temporary_authorization_store->authorizations; l != NULL; l = l->next)

Error: COMPILER_WARNING: [#def180]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_revoke_temporary_authorizations’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:3452:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 3450|   
# 3451|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);
# 3452|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
# 3453|   
# 3454|     ret = FALSE;

Error: COMPILER_WARNING: [#def181]
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_revoke_temporary_authorization_by_id’
polkit-124-build/polkit-124/src/polkitbackend/polkitbackendinteractiveauthority.c:3532:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
# 3530|   
# 3531|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);
# 3532|->   priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority);
# 3533|   
# 3534|     ret = FALSE;

Error: CPPCHECK_WARNING: [#def182]
polkit-124-build/polkit-124/src/polkitbackend/polkitd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-252): [#def183]
polkit-124-build/polkit-124/src/polkitbackend/polkitd.c: scope_hint: In function ‘become_user’
polkit-124-build/polkit-124/src/polkitbackend/polkitd.c:141:3: warning[-Wunused-result]: ignoring return value of ‘setregid’ declared with attribute ‘warn_unused_result’
#  141 |   setregid (pw->pw_gid, pw->pw_gid);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  139|       }
#  140|   
#  141|->   setregid (pw->pw_gid, pw->pw_gid);
#  142|     setreuid (pw->pw_uid, pw->pw_uid);
#  143|     if ((geteuid () != pw->pw_uid) || (getuid () != pw->pw_uid) ||

Error: CLANG_WARNING: [#def184]
polkit-124-build/polkit-124/src/polkitbackend/polkitd.c:141:3: warning[security.insecureAPI.UncheckedReturn]: The return value from the call to 'setregid' is not checked.  If an error occurs in 'setregid', the following code may execute with unexpected privileges
#  139|       }
#  140|   
#  141|->   setregid (pw->pw_gid, pw->pw_gid);
#  142|     setreuid (pw->pw_uid, pw->pw_uid);
#  143|     if ((geteuid () != pw->pw_uid) || (getuid () != pw->pw_uid) ||

Error: COMPILER_WARNING (CWE-252): [#def185]
polkit-124-build/polkit-124/src/polkitbackend/polkitd.c:142:3: warning[-Wunused-result]: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’
#  142 |   setreuid (pw->pw_uid, pw->pw_uid);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  140|   
#  141|     setregid (pw->pw_gid, pw->pw_gid);
#  142|->   setreuid (pw->pw_uid, pw->pw_uid);
#  143|     if ((geteuid () != pw->pw_uid) || (getuid () != pw->pw_uid) ||
#  144|         (getegid () != pw->pw_gid) || (getgid () != pw->pw_gid))

Error: CLANG_WARNING: [#def186]
polkit-124-build/polkit-124/src/polkitbackend/polkitd.c:142:3: warning[security.insecureAPI.UncheckedReturn]: The return value from the call to 'setreuid' is not checked.  If an error occurs in 'setreuid', the following code may execute with unexpected privileges
#  140|   
#  141|     setregid (pw->pw_gid, pw->pw_gid);
#  142|->   setreuid (pw->pw_uid, pw->pw_uid);
#  143|     if ((geteuid () != pw->pw_uid) || (getuid () != pw->pw_uid) ||
#  144|         (getegid () != pw->pw_gid) || (getgid () != pw->pw_gid))

Error: CPPCHECK_WARNING: [#def187]
polkit-124-build/polkit-124/src/programs/pkcheck.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def188]
polkit-124-build/polkit-124/src/programs/pkcheck.c: scope_hint: In function ‘do_list_or_revoke_temp_authz’
polkit-124-build/polkit-124/src/programs/pkcheck.c:274:11: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gi18n.h:23: included_from: Included from here.
polkit-124-build/polkit-124/src/programs/pkcheck.c:28: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
#  272|             time_t obtained;
#  273|             time_t expires;
#  274|->           GTimeVal now;
#  275|             gchar *subject_str;
#  276|             gchar obtained_str[64];

Error: COMPILER_WARNING (CWE-477): [#def189]
polkit-124-build/polkit-124/src/programs/pkcheck.c:290:11: warning[-Wdeprecated-declarations]: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead
/usr/include/glib-2.0/glib/giochannel.h:35: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here
#  288|             expires = polkit_temporary_authorization_get_time_expires (a);
#  289|   
#  290|->           g_get_current_time (&now);
#  291|   
#  292|             broken_down = localtime (&obtained);

Error: CPPCHECK_WARNING: [#def190]
polkit-124-build/polkit-124/src/programs/pkexec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def191]
polkit-124-build/polkit-124/src/programs/pkexec.c: scope_hint: In function ‘main’
polkit-124-build/polkit-124/src/programs/pkexec.c:808:7: warning[-Wanalyzer-null-argument]: use of NULL ‘command_line’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gi18n.h:23: included_from: Included from here.
polkit-124-build/polkit-124/src/programs/pkexec.c:40: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
polkit-124-build/polkit-124/src/programs/pkexec.c:601:16: note: in expansion of macro ‘g_strdup’
polkit-124-build/polkit-124/src/programs/pkexec.c: scope_hint: In function ‘main’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:626:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:626:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:772:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:773:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:773:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:774:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:774:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:775:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:775:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:787:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:787:3: note: in expansion of macro ‘g_assert’
polkit-124-build/polkit-124/src/programs/pkexec.c:335:17: note: in expansion of macro ‘g_strdup’
polkit-124-build/polkit-124/src/programs/pkexec.c: scope_hint: In function ‘main’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
polkit-124-build/polkit-124/src/programs/pkexec.c:792:3: note: in expansion of macro ‘g_assert’
polkit-124-build/polkit-124/src/programs/pkexec.c:807:19: note: in expansion of macro ‘g_strdup’
polkit-124-build/polkit-124/src/programs/pkexec.c: scope_hint: In function ‘main’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  806|   
#  807|     cmdline_short = g_strdup(command_line);
#  808|->   if (strlen(command_line) > 80)
#  809|         g_stpcpy(g_stpcpy( cmdline_short + 38, " ... " ),
#  810|                  command_line + strlen(command_line) - 37 );

Error: COMPILER_WARNING (CWE-252): [#def192]
polkit-124-build/polkit-124/src/programs/pkexec.c: scope_hint: In function ‘main’
polkit-124-build/polkit-124/src/programs/pkexec.c:962:7: warning[-Wunused-result]: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’
#  962 |       setreuid (0, 0);
#      |       ^~~~~~~~~~~~~~~
#  960|     if (pw->pw_uid != 0)
#  961|       {
#  962|->       setreuid (0, 0);
#  963|         if ((geteuid () != 0) || (getuid () != 0))
#  964|           {

Error: CLANG_WARNING: [#def193]
polkit-124-build/polkit-124/src/programs/pkexec.c:962:7: warning[security.insecureAPI.UncheckedReturn]: The return value from the call to 'setreuid' is not checked.  If an error occurs in 'setreuid', the following code may execute with unexpected privileges
#  960|     if (pw->pw_uid != 0)
#  961|       {
#  962|->       setreuid (0, 0);
#  963|         if ((geteuid () != 0) || (getuid () != 0))
#  964|           {

Error: COMPILER_WARNING (CWE-252): [#def194]
polkit-124-build/polkit-124/src/programs/pkexec.c:1015:3: warning[-Wunused-result]: ignoring return value of ‘setregid’ declared with attribute ‘warn_unused_result’
# 1015 |   setregid (pw->pw_gid, pw->pw_gid);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1013|         goto out;
# 1014|       }
# 1015|->   setregid (pw->pw_gid, pw->pw_gid);
# 1016|     setreuid (pw->pw_uid, pw->pw_uid);
# 1017|     if ((geteuid () != pw->pw_uid) || (getuid () != pw->pw_uid) ||

Error: CLANG_WARNING: [#def195]
polkit-124-build/polkit-124/src/programs/pkexec.c:1015:3: warning[security.insecureAPI.UncheckedReturn]: The return value from the call to 'setregid' is not checked.  If an error occurs in 'setregid', the following code may execute with unexpected privileges
# 1013|         goto out;
# 1014|       }
# 1015|->   setregid (pw->pw_gid, pw->pw_gid);
# 1016|     setreuid (pw->pw_uid, pw->pw_uid);
# 1017|     if ((geteuid () != pw->pw_uid) || (getuid () != pw->pw_uid) ||

Error: COMPILER_WARNING (CWE-252): [#def196]
polkit-124-build/polkit-124/src/programs/pkexec.c:1016:3: warning[-Wunused-result]: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’
# 1016 |   setreuid (pw->pw_uid, pw->pw_uid);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1014|       }
# 1015|     setregid (pw->pw_gid, pw->pw_gid);
# 1016|->   setreuid (pw->pw_uid, pw->pw_uid);
# 1017|     if ((geteuid () != pw->pw_uid) || (getuid () != pw->pw_uid) ||
# 1018|         (getegid () != pw->pw_gid) || (getgid () != pw->pw_gid))

Error: CLANG_WARNING: [#def197]
polkit-124-build/polkit-124/src/programs/pkexec.c:1016:3: warning[security.insecureAPI.UncheckedReturn]: The return value from the call to 'setreuid' is not checked.  If an error occurs in 'setreuid', the following code may execute with unexpected privileges
# 1014|       }
# 1015|     setregid (pw->pw_gid, pw->pw_gid);
# 1016|->   setreuid (pw->pw_uid, pw->pw_uid);
# 1017|     if ((geteuid () != pw->pw_uid) || (getuid () != pw->pw_uid) ||
# 1018|         (getegid () != pw->pw_gid) || (getgid () != pw->pw_gid))

Error: CPPCHECK_WARNING: [#def198]
polkit-124-build/polkit-124/src/programs/pkttyagent.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-213.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namepolkit-124-4.fc41
store-results-to/tmp/tmp7pmltxns/polkit-124-4.fc41.tar.xz
time-created2024-07-03 17:04:12
time-finished2024-07-03 17:05:43
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp7pmltxns/polkit-124-4.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp7pmltxns/polkit-124-4.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9