polkit-125-3.fc42

List of Findings

Error: COMPILER_WARNING: [#def1]
<command-line>: included_from: Included from here.
polkit-125-build/polkit-125/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 "125"
#   47|   
#   48|-> #define _GNU_SOURCE
#   49|   

Error: COMPILER_WARNING: [#def2]
<command-line>: included_from: Included from here.
polkit-125-build/polkit-125/redhat-linux-build/config.h:48:9: warning: ‘_GNU_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
#   46|   #define VERSION "125"
#   47|   
#   48|-> #define _GNU_SOURCE
#   49|   

Error: COMPILER_WARNING (CWE-477): [#def3]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘authority_get_async_cb’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:463:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
#  463 |       g_simple_async_result_set_from_error (simple, error);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-125-build/polkit-125/src/polkit/polkitauthority.h:30: included_from: Included from here.
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:24: 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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  461|       {
#  462|         g_assert (error != NULL);
#  463|->       g_simple_async_result_set_from_error (simple, error);
#  464|         g_error_free (error);
#  465|         g_object_unref (source_object);

Error: COMPILER_WARNING (CWE-477): [#def4]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:469:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  469 |       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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  467|     else
#  468|       {
#  469|->       g_simple_async_result_set_op_res_gpointer (simple,
#  470|                                                    source_object,
#  471|                                                    g_object_unref);

Error: COMPILER_WARNING (CWE-477): [#def5]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:473:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  473 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  471|                                                    g_object_unref);
#  472|       }
#  473|->   g_simple_async_result_complete_in_idle (simple);
#  474|     g_object_unref (simple);
#  475|   }

Error: COMPILER_WARNING (CWE-477): [#def6]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_get_async’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:503:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  503 |   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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  501|     g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
#  502|   
#  503|->   simple = g_simple_async_result_new (NULL,
#  504|                                         callback,
#  505|                                         user_data,

Error: COMPILER_WARNING (CWE-477): [#def7]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:513:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
#  513 |       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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  511|       {
#  512|         g_assert (error != NULL);
#  513|->       g_simple_async_result_set_from_error (simple, error);
#  514|         g_error_free (error);
#  515|         g_simple_async_result_complete_in_idle (simple);

Error: COMPILER_WARNING (CWE-477): [#def8]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:515:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  515 |       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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  513|         g_simple_async_result_set_from_error (simple, error);
#  514|         g_error_free (error);
#  515|->       g_simple_async_result_complete_in_idle (simple);
#  516|         g_object_unref (simple);
#  517|       }

Error: COMPILER_WARNING (CWE-477): [#def9]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_get_finish’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:551:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
#  551 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  549|     simple = G_SIMPLE_ASYNC_RESULT (res);
#  550|   
#  551|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_authority_get_async);
#  552|   
#  553|     ret = NULL;

Error: COMPILER_WARNING (CWE-477): [#def10]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:555:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
#  555 |   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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  553|     ret = NULL;
#  554|   
#  555|->   if (g_simple_async_result_propagate_error (simple, error))
#  556|       goto out;
#  557|   

Error: COMPILER_WARNING (CWE-477): [#def11]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:558:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  558 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  556|       goto out;
#  557|   
#  558|->   object = g_simple_async_result_get_op_res_gpointer (simple);
#  559|     g_assert (object != NULL);
#  560|     ret = g_object_ref (POLKIT_AUTHORITY (object));

Error: COMPILER_WARNING (CWE-477): [#def12]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘generic_async_cb’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:657:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  657 |   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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  655|   {
#  656|     GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (user_data);
#  657|->   g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (res), g_object_unref);
#  658|     g_simple_async_result_complete (simple);
#  659|     g_object_unref (simple);

Error: COMPILER_WARNING (CWE-477): [#def13]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:658:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  658 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  656|     GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (user_data);
#  657|     g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (res), g_object_unref);
#  658|->   g_simple_async_result_complete (simple);
#  659|     g_object_unref (simple);
#  660|   }

Error: COMPILER_WARNING (CWE-477): [#def14]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_actions’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:695:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  695 |                      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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  693|                        cancellable,
#  694|                        generic_async_cb,
#  695|->                      g_simple_async_result_new (G_OBJECT (authority),
#  696|                                                   callback,
#  697|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def15]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_actions_finish’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:732:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
#  732 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  730|     ret = NULL;
#  731|   
#  732|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_actions);
#  733|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#  734|   

Error: COMPILER_WARNING (CWE-477): [#def16]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:733:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  733 |   _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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  731|   
#  732|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_actions);
#  733|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#  734|   
#  735|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def17]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘check_authorization_cb’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:847:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
#  847 |       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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  845|                                NULL);
#  846|           }
#  847|->       g_simple_async_result_set_from_error (data->simple, error);
#  848|         g_error_free (error);
#  849|       }

Error: COMPILER_WARNING (CWE-477): [#def18]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:858:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  858 |       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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  856|         g_variant_unref (result_value);
#  857|         g_variant_unref (value);
#  858|->       g_simple_async_result_set_op_res_gpointer (data->simple, result, g_object_unref);
#  859|       }
#  860|   

Error: COMPILER_WARNING (CWE-477): [#def19]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:861:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  861 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  859|       }
#  860|   
#  861|->   g_simple_async_result_complete (data->simple);
#  862|   
#  863|     g_object_unref (data->authority);

Error: COMPILER_WARNING (CWE-477): [#def20]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_check_authorization’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:925:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  925 |   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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  923|     data = g_new0 (CheckAuthData, 1);
#  924|     data->authority = g_object_ref (authority);
#  925|->   data->simple = g_simple_async_result_new (G_OBJECT (authority),
#  926|                                               callback,
#  927|                                               user_data,

Error: COMPILER_WARNING (CWE-477): [#def21]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_check_authorization_finish’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:973:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
#  973 |   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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  971|     ret = NULL;
#  972|   
#  973|->   if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error))
#  974|       goto out;
#  975|   

Error: COMPILER_WARNING (CWE-477): [#def22]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:976:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  976 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  974|       goto out;
#  975|   
#  976|->   ret = g_object_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
#  977|   
#  978|    out:

Error: COMPILER_WARNING (CWE-477): [#def23]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1094:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1094 |                      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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1092|                        cancellable,
# 1093|                        generic_async_cb,
# 1094|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1095|                                                   callback,
# 1096|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def24]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_finish’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1125:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1125 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1123|     ret = FALSE;
# 1124|   
# 1125|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent);
# 1126|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1127|   

Error: COMPILER_WARNING (CWE-477): [#def25]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1126:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1126 |   _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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1124|   
# 1125|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent);
# 1126|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1127|   
# 1128|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def26]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_with_options’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1247:26: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1247 |                          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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1245|                            cancellable,
# 1246|                            generic_async_cb,
# 1247|->                          g_simple_async_result_new (G_OBJECT (authority),
# 1248|                                                       callback,
# 1249|                                                       user_data,

Error: COMPILER_WARNING (CWE-477): [#def27]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1264:26: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1264 |                          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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1262|                            cancellable,
# 1263|                            generic_async_cb,
# 1264|->                          g_simple_async_result_new (G_OBJECT (authority),
# 1265|                                                       callback,
# 1266|                                                       user_data,

Error: COMPILER_WARNING (CWE-477): [#def28]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_with_options_finish’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1297:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1297 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1295|     ret = FALSE;
# 1296|   
# 1297|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent_with_options);
# 1298|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1299|   

Error: COMPILER_WARNING (CWE-477): [#def29]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1298:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1298 |   _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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1296|   
# 1297|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent_with_options);
# 1298|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1299|   
# 1300|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def30]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_unregister_authentication_agent’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1404:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1404 |                      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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1402|                        cancellable,
# 1403|                        generic_async_cb,
# 1404|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1405|                                                   callback,
# 1406|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def31]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_unregister_authentication_agent_finish’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1435:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1435 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1433|     ret = FALSE;
# 1434|   
# 1435|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_unregister_authentication_agent);
# 1436|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1437|   

Error: COMPILER_WARNING (CWE-477): [#def32]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1436:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1436 |   _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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1434|   
# 1435|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_unregister_authentication_agent);
# 1436|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1437|   
# 1438|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def33]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_authentication_agent_response’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1545:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1545 |                      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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1543|                        cancellable,
# 1544|                        generic_async_cb,
# 1545|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1546|                                                   callback,
# 1547|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def34]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_authentication_agent_response_finish’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1576:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1576 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1574|     ret = FALSE;
# 1575|   
# 1576|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_authentication_agent_response);
# 1577|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1578|   

Error: COMPILER_WARNING (CWE-477): [#def35]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1577:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1577 |   _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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1575|   
# 1576|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_authentication_agent_response);
# 1577|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1578|   
# 1579|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def36]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_temporary_authorizations’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1671:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1671 |                      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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1669|                        cancellable,
# 1670|                        generic_async_cb,
# 1671|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1672|                                                   callback,
# 1673|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def37]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_temporary_authorizations_finish’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1708:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1708 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1706|     ret = NULL;
# 1707|   
# 1708|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_temporary_authorizations);
# 1709|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1710|   

Error: COMPILER_WARNING (CWE-477): [#def38]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1709:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1709 |   _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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1707|   
# 1708|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_temporary_authorizations);
# 1709|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1710|   
# 1711|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def39]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorizations’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1820:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1820 |                      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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1818|                        cancellable,
# 1819|                        generic_async_cb,
# 1820|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1821|                                                   callback,
# 1822|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def40]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorizations_finish’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1851:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1851 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1849|     ret = FALSE;
# 1850|   
# 1851|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorizations);
# 1852|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1853|   

Error: COMPILER_WARNING (CWE-477): [#def41]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1852:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1852 |   _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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1850|   
# 1851|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorizations);
# 1852|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1853|   
# 1854|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def42]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorization_by_id’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1940:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1940 |                      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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1938|                        cancellable,
# 1939|                        generic_async_cb,
# 1940|->                      g_simple_async_result_new (G_OBJECT (authority),
# 1941|                                                   callback,
# 1942|                                                   user_data,

Error: COMPILER_WARNING (CWE-477): [#def43]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorization_by_id_finish’
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1971:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1971 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1969|     ret = FALSE;
# 1970|   
# 1971|->   g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorization_by_id);
# 1972|     _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1973|   

Error: COMPILER_WARNING (CWE-477): [#def44]
polkit-125-build/polkit-125/src/polkit/polkitauthority.c:1972:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
# 1972 |   _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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1970|   
# 1971|     g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorization_by_id);
# 1972|->   _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1973|   
# 1974|     value = g_dbus_proxy_call_finish (authority->proxy, _res, error);

Error: COMPILER_WARNING (CWE-477): [#def45]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_cb’
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:641: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-125-build/polkit-125/src/polkit/polkitpermission.c:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  639|             if (polkit_authorization_result_get_dismissed (result))
#  640|               {
#  641|->               g_simple_async_result_set_error (data->simple,
#  642|                                                  G_IO_ERROR,
#  643|                                                  G_IO_ERROR_CANCELLED,

Error: COMPILER_WARNING (CWE-477): [#def46]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:649: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
#  647|             else
#  648|               {
#  649|->               g_simple_async_result_set_error (data->simple,
#  650|                                                  POLKIT_ERROR,
#  651|                                                  POLKIT_ERROR_FAILED,

Error: COMPILER_WARNING (CWE-477): [#def47]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:660: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
#  658|     else
#  659|       {
#  660|->       g_simple_async_result_set_from_error (data->simple, error);
#  661|         g_error_free (error);
#  662|       }

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

Error: COMPILER_WARNING (CWE-477): [#def49]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_async’
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:681: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
#  679|     data = g_new0 (AcquireData, 1);
#  680|     data->permission = permission;
#  681|->   data->simple = g_simple_async_result_new (G_OBJECT (permission),
#  682|                                               callback,
#  683|                                               user_data,

Error: COMPILER_WARNING (CWE-477): [#def50]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_finish’
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:704: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
#  702|   
#  703|     simple = G_SIMPLE_ASYNC_RESULT (result);
#  704|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == acquire_async);
#  705|   
#  706|     if (g_simple_async_result_propagate_error (simple, error))

Error: COMPILER_WARNING (CWE-477): [#def51]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:706: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
#  704|     g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == acquire_async);
#  705|   
#  706|->   if (g_simple_async_result_propagate_error (simple, error))
#  707|       return FALSE;
#  708|   

Error: COMPILER_WARNING (CWE-477): [#def52]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c: scope_hint: In function ‘release_check_cb’
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:793: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
#  791|                         "Error checking authorization for action id %s after releasing the permission: ",
#  792|                         data->permission->action_id);
#  793|->       g_simple_async_result_set_from_error (data->simple, error);
#  794|         g_error_free (error);
#  795|       }

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

Error: COMPILER_WARNING (CWE-477): [#def54]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c: scope_hint: In function ‘release_cb’
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:825: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
#  823|     if (!ret)
#  824|       {
#  825|->       g_simple_async_result_set_from_error (data->simple, error);
#  826|         g_error_free (error);
#  827|         /* don't complete in idle since we're already completing in idle

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

Error: COMPILER_WARNING (CWE-477): [#def56]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c: scope_hint: In function ‘release_async’
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:861: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
#  859|     data = g_new0 (ReleaseData, 1);
#  860|     data->permission = permission;
#  861|->   data->simple = g_simple_async_result_new (G_OBJECT (permission),
#  862|                                               callback,
#  863|                                               user_data,

Error: COMPILER_WARNING (CWE-477): [#def57]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:868: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
#  866|     if (permission->tmp_authz_id == NULL)
#  867|       {
#  868|->       g_simple_async_result_set_error (data->simple,
#  869|                                          POLKIT_ERROR,
#  870|                                          POLKIT_ERROR_FAILED,

Error: COMPILER_WARNING (CWE-477): [#def58]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:873: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
#  871|                                          "Cannot release permission: no temporary authorization for action-id %s exist",
#  872|                                          permission->action_id);
#  873|->       g_simple_async_result_complete_in_idle (data->simple);
#  874|         release_data_free (data);
#  875|         goto out;

Error: COMPILER_WARNING (CWE-477): [#def59]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c: scope_hint: In function ‘release_finish’
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:895: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
#  893|   
#  894|     simple = G_SIMPLE_ASYNC_RESULT (result);
#  895|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == release_async);
#  896|   
#  897|     if (g_simple_async_result_propagate_error (simple, error))

Error: COMPILER_WARNING (CWE-477): [#def60]
polkit-125-build/polkit-125/src/polkit/polkitpermission.c:897: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
#  895|     g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == release_async);
#  896|   
#  897|->   if (g_simple_async_result_propagate_error (simple, error))
#  898|       return FALSE;
#  899|   

Error: COMPILER_WARNING (CWE-477): [#def61]
polkit-125-build/polkit-125/src/polkit/polkitsystembusname.c: scope_hint: In function ‘exists_in_thread_func’
polkit-125-build/polkit-125/src/polkit/polkitsystembusname.c:285: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-125-build/polkit-125/src/polkit/polkitsystembusname.c:23: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
#  283|                                              &error))
#  284|       {
#  285|->       g_simple_async_result_set_from_error (res, error);
#  286|         g_error_free (error);
#  287|       }

Error: COMPILER_WARNING (CWE-477): [#def62]
polkit-125-build/polkit-125/src/polkit/polkitsystembusname.c: scope_hint: In function ‘polkit_system_bus_name_exists’
polkit-125-build/polkit-125/src/polkit/polkitsystembusname.c:300: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
#  298|     g_return_if_fail (POLKIT_IS_SYSTEM_BUS_NAME (subject));
#  299|   
#  300|->   simple = g_simple_async_result_new (G_OBJECT (subject),
#  301|                                         callback,
#  302|                                         user_data,

Error: COMPILER_WARNING (CWE-477): [#def63]
polkit-125-build/polkit-125/src/polkit/polkitsystembusname.c:304: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
#  302|                                         user_data,
#  303|                                         polkit_system_bus_name_exists);
#  304|->   g_simple_async_result_run_in_thread (simple,
#  305|                                          exists_in_thread_func,
#  306|                                          G_PRIORITY_DEFAULT,

Error: COMPILER_WARNING (CWE-477): [#def64]
polkit-125-build/polkit-125/src/polkit/polkitsystembusname.c: scope_hint: In function ‘polkit_system_bus_name_exists_finish’
polkit-125-build/polkit-125/src/polkit/polkitsystembusname.c:319: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
#  317|     gboolean ret;
#  318|   
#  319|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_system_bus_name_exists);
#  320|   
#  321|     ret = FALSE;

Error: COMPILER_WARNING (CWE-477): [#def65]
polkit-125-build/polkit-125/src/polkit/polkitsystembusname.c:323: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
#  321|     ret = FALSE;
#  322|   
#  323|->   if (g_simple_async_result_propagate_error (simple, error))
#  324|       goto out;
#  325|   

Error: COMPILER_WARNING (CWE-477): [#def66]
polkit-125-build/polkit-125/src/polkit/polkitsystembusname.c:326: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
#  324|       goto out;
#  325|   
#  326|->   ret = g_simple_async_result_get_op_res_gboolean (simple);
#  327|   
#  328|    out:

Error: COMPILER_WARNING (CWE-477): [#def67]
polkit-125-build/polkit-125/src/polkit/polkitunixprocess.c: scope_hint: In function ‘polkit_unix_process_exists’
polkit-125-build/polkit-125/src/polkit/polkitunixprocess.c:916: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-125-build/polkit-125/src/polkit/polkitunixprocess.h:32: included_from: Included from here.
polkit-125-build/polkit-125/src/polkit/polkitunixprocess.c:43: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#  914|   {
#  915|     GSimpleAsyncResult *simple;
#  916|->   simple = g_simple_async_result_new (G_OBJECT (subject),
#  917|                                         callback,
#  918|                                         user_data,

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

Error: COMPILER_WARNING (CWE-477): [#def69]
polkit-125-build/polkit-125/src/polkit/polkitunixprocess.c: scope_hint: In function ‘polkit_unix_process_exists_finish’
polkit-125-build/polkit-125/src/polkit/polkitunixprocess.c:931: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
#  929|     GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (res);
#  930|   
#  931|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_process_exists);
#  932|   
#  933|     return polkit_unix_process_exists_sync (subject,

Error: COMPILER_WARNING (CWE-477): [#def70]
polkit-125-build/polkit-125/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘exists_in_thread_func’
polkit-125-build/polkit-125/src/polkit/polkitunixsession-systemd.c:384:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
#  384 |       g_simple_async_result_set_from_error (res, error);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-125-build/polkit-125/src/polkit/polkitunixsession.h:30: included_from: Included from here.
polkit-125-build/polkit-125/src/polkit/polkitunixsession-systemd.c:24: 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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  382|                                           &error))
#  383|       {
#  384|->       g_simple_async_result_set_from_error (res, error);
#  385|         g_error_free (error);
#  386|       }

Error: COMPILER_WARNING (CWE-477): [#def71]
polkit-125-build/polkit-125/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘polkit_unix_session_exists’
polkit-125-build/polkit-125/src/polkit/polkitunixsession-systemd.c:399:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  399 |   simple = g_simple_async_result_new (G_OBJECT (subject),
#      |   ^~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  397|     g_return_if_fail (POLKIT_IS_UNIX_SESSION (subject));
#  398|   
#  399|->   simple = g_simple_async_result_new (G_OBJECT (subject),
#  400|                                         callback,
#  401|                                         user_data,

Error: COMPILER_WARNING (CWE-477): [#def72]
polkit-125-build/polkit-125/src/polkit/polkitunixsession-systemd.c:403:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_run_in_thread’ is deprecated
#  403 |   g_simple_async_result_run_in_thread (simple,
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:105:21: note: declared here
#  105 | void                g_simple_async_result_run_in_thread    (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  401|                                         user_data,
#  402|                                         polkit_unix_session_exists);
#  403|->   g_simple_async_result_run_in_thread (simple,
#  404|                                          exists_in_thread_func,
#  405|                                          G_PRIORITY_DEFAULT,

Error: COMPILER_WARNING (CWE-477): [#def73]
polkit-125-build/polkit-125/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘polkit_unix_session_exists_finish’
polkit-125-build/polkit-125/src/polkit/polkitunixsession-systemd.c:418:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
#  418 |   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_session_exists);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  416|     gboolean ret;
#  417|   
#  418|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_session_exists);
#  419|   
#  420|     ret = FALSE;

Error: COMPILER_WARNING (CWE-477): [#def74]
polkit-125-build/polkit-125/src/polkit/polkitunixsession-systemd.c:422:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
#  422 |   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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  420|     ret = FALSE;
#  421|   
#  422|->   if (g_simple_async_result_propagate_error (simple, error))
#  423|       goto out;
#  424|   

Error: COMPILER_WARNING (CWE-477): [#def75]
polkit-125-build/polkit-125/src/polkit/polkitunixsession-systemd.c:425:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gboolean’ is deprecated
#  425 |   ret = g_simple_async_result_get_op_res_gboolean (simple);
#      |   ^~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:88:21: note: declared here
#   88 | gboolean            g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  423|       goto out;
#  424|   
#  425|->   ret = g_simple_async_result_get_op_res_gboolean (simple);
#  426|   
#  427|    out:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def76]
polkit-125-build/polkit-125/src/polkitagent/polkitagenthelper-pam.c: scope_hint: In function ‘send_to_helper’
polkit-125-build/polkit-125/src/polkitagent/polkitagenthelper-pam.c:46: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-125-build/polkit-125/src/polkit/polkittypes.h:25: included_from: Included from here.
polkit-125-build/polkit-125/src/polkit/polkit.h:27: included_from: Included from here.
polkit-125-build/polkit-125/src/polkitagent/polkitagenthelperprivate.h:25: included_from: Included from here.
polkit-125-build/polkit-125/src/polkitagent/polkitagenthelper-pam.c:22: included_from: Included from here.
polkit-125-build/polkit-125/src/polkitagent/polkitagenthelper-pam.c:45:10: note: in expansion of macro ‘g_strdup’
polkit-125-build/polkit-125/src/polkitagent/polkitagenthelper-pam.c: scope_hint: In function ‘send_to_helper’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#   44|   
#   45|     tmp2 = g_strdup(str2);
#   46|->   len2 = strlen(tmp2);
#   47|   #ifdef PAH_DEBUG
#   48|     fprintf (stderr, "polkit-agent-helper-1: writing `%s ' to stdout\n", str1);

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

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

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

Error: COMPILER_WARNING (CWE-477): [#def80]
polkit-125-build/polkit-125/src/polkitagent/polkitagenttextlistener.c:571:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  571 |       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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  569|                                          POLKIT_ERROR_FAILED,
#  570|                                          "An authentication session is already underway.");
#  571|->       g_simple_async_result_complete_in_idle (simple);
#  572|         g_object_unref (simple);
#  573|         goto out;

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

Error: COMPILER_WARNING (CWE-477): [#def82]
polkit-125-build/polkit-125/src/polkitagent/polkitagenttextlistener.c:607:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  607 |           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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  605|                                              POLKIT_ERROR_FAILED,
#  606|                                              "Authentication was canceled.");
#  607|->           g_simple_async_result_complete_in_idle (simple);
#  608|             g_object_unref (simple);
#  609|             goto out;

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

Error: COMPILER_WARNING (CWE-477): [#def84]
polkit-125-build/polkit-125/src/polkitagent/polkitagenttextlistener.c:666:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
#  666 |   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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  664|     ret = FALSE;
#  665|   
#  666|->   if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error))
#  667|       goto out;
#  668|   

Error: COMPILER_WARNING (CWE-477): [#def85]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendauthority.c: scope_hint: In function ‘polkit_backend_authority_check_authorization’
polkit-125-build/polkit-125/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-125-build/polkit-125/src/polkit/polkitactiondescription.h:30: included_from: Included from here.
polkit-125-build/polkit-125/src/polkit/polkit.h:30: included_from: Included from here.
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendauthority.c:28: 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): [#def86]
polkit-125-build/polkit-125/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): [#def87]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendauthority.c: scope_hint: In function ‘polkit_backend_authority_check_authorization_finish’
polkit-125-build/polkit-125/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): [#def88]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendauthority.c: scope_hint: In function ‘polkit_backend_authority_log’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendauthority.c:1706: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-125-build/polkit-125/src/polkit/polkittypes.h:25: included_from: Included from here.
polkit-125-build/polkit-125/src/polkit/polkit.h:27: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
# 1704|                                 ...)
# 1705|   {
# 1706|->   GTimeVal now;
# 1707|     time_t now_time;
# 1708|     struct tm *now_tm;

Error: COMPILER_WARNING (CWE-477): [#def89]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendauthority.c:1726: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:825:8: note: declared here
# 1724|     syslog (message_log_level, "%s", message);
# 1725|   
# 1726|->   g_get_current_time (&now);
# 1727|     now_time = (time_t) now.tv_sec;
# 1728|     now_tm = localtime (&now_time);

Error: COMPILER_WARNING (CWE-477): [#def90]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_on_cancelled’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:141:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_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-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.h:39: included_from: Included from here.
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:22: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here
#  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): [#def91]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:142:3: 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
#  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): [#def92]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_timeout_cb’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:157:3: 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
#  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): [#def93]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_child_watch_cb’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:191:3: 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
#  189|   
#  190|     /* we're done */
#  191|->   g_simple_async_result_complete_in_idle (data->simple);
#  192|     g_object_unref (data->simple);
#  193|   }

Error: COMPILER_WARNING (CWE-477): [#def94]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘polkit_backend_common_spawn’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:235: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
#  233|     data = g_slice_new0 (UtilsSpawnData);
#  234|     data->timeout_seconds = timeout_seconds;
#  235|->   data->simple = g_simple_async_result_new (NULL,
#  236|                                               callback,
#  237|                                               user_data,

Error: COMPILER_WARNING (CWE-477): [#def95]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:251: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
#  249|   
#  250|     /* the life-cycle of UtilsSpawnData is tied to its GSimpleAsyncResult */
#  251|->   g_simple_async_result_set_op_res_gpointer (data->simple, data, (GDestroyNotify) utils_spawn_data_free);
#  252|   
#  253|     error = NULL;

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

Error: COMPILER_WARNING (CWE-477): [#def97]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:261: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
#  259|           {
#  260|             g_simple_async_result_take_error (data->simple, error);
#  261|->           g_simple_async_result_complete_in_idle (data->simple);
#  262|             g_object_unref (data->simple);
#  263|             goto out;

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

Error: COMPILER_WARNING (CWE-477): [#def99]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:287: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
#  285|         g_prefix_error (&error, "Error spawning: ");
#  286|         g_simple_async_result_take_error (data->simple, error);
#  287|->       g_simple_async_result_complete_in_idle (data->simple);
#  288|         g_object_unref (data->simple);
#  289|         goto out;

Error: COMPILER_WARNING (CWE-477): [#def100]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘polkit_backend_common_spawn_finish’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:374: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
#  372|     g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
#  373|   
#  374|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_common_spawn);
#  375|   
#  376|     if (g_simple_async_result_propagate_error (simple, error))

Error: COMPILER_WARNING (CWE-477): [#def101]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:376: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
#  374|     g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_common_spawn);
#  375|   
#  376|->   if (g_simple_async_result_propagate_error (simple, error))
#  377|       goto out;
#  378|   

Error: COMPILER_WARNING (CWE-477): [#def102]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendcommon.c:379: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
#  377|       goto out;
#  378|   
#  379|->   data = (UtilsSpawnData*)g_simple_async_result_get_op_res_gpointer (simple);
#  380|   
#  381|     if (data->timed_out)

Error: COMPILER_WARNING (CWE-563): [#def103]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c:764:22: warning[-Wunused-variable]: unused variable ‘attr’
#  764 |   pthread_condattr_t attr;
#      |                      ^~~~
#  762|     int pthread_err;
#  763|     gboolean cancel = FALSE;
#  764|->   pthread_condattr_t attr;
#  765|     struct timespec abs_time;
#  766|   

Error: COMPILER_WARNING (CWE-1164): [#def104]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘runaway_killer_common’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c:859:5: warning[-Wunused-label]: label ‘err_clean_condattr’ defined but not used
#  859 |     err_clean_condattr:
#      |     ^~~~~~~~~~~~~~~~~~
#  857|     pthread_cond_destroy(&ctx->cond);
#  858|   #endif
#  859|->     err_clean_condattr:
#  860|   #ifdef HAVE_PTHREAD_CONDATTR_SETCLOCK
#  861|     pthread_condattr_destroy(&attr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_get_admin_auth_identities’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c:926:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
#  924|     if (!push_action_and_details (cx, action_id, details, &error))
#  925|       {
#  926|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
#  927|                                       LOG_LEVEL_ERROR,
#  928|                                       "Error converting action and details to JS object: %s",

Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c:936:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
#  934|     if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error))
#  935|       {
#  936|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
#  937|                                       LOG_LEVEL_ERROR,
#  938|                                       "Error converting subject to JS object: %s",

Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_check_authorization_sync’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c:1010:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
# 1008|     if (!push_action_and_details (cx, action_id, details, &error))
# 1009|       {
# 1010|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
# 1011|                                       LOG_LEVEL_ERROR,
# 1012|                                       "Error converting action and details to JS object: %s",

Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c:1020:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
# 1018|     if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error))
# 1019|       {
# 1020|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
# 1021|                                       LOG_LEVEL_ERROR,
# 1022|                                       "Error converting subject to JS object: %s",

Error: COMPILER_WARNING (CWE-477): [#def109]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘check_authorization_challenge_cb’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:743:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  743 |   g_simple_async_result_set_op_res_gpointer (simple,
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-125-build/polkit-125/src/polkit/polkitactiondescription.h:30: included_from: Included from here.
polkit-125-build/polkit-125/src/polkit/polkit.h:30: included_from: Included from here.
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:34: included_from: Included from here.
/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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  741|     /* log_result (authority, action_id, subject, caller, result); */
#  742|   
#  743|->   g_simple_async_result_set_op_res_gpointer (simple,
#  744|                                                result,
#  745|                                                g_object_unref);

Error: COMPILER_WARNING (CWE-477): [#def110]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:746:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  746 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  744|                                                result,
#  745|                                                g_object_unref);
#  746|->   g_simple_async_result_complete (simple);
#  747|     g_object_unref (simple);
#  748|   

Error: COMPILER_WARNING (CWE-477): [#def111]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_check_authorization_finish’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:766:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
#  766 |   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_interactive_authority_check_authorization);
#      |   ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
#   96 | gpointer            g_simple_async_result_get_source_tag   (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  764|     simple = G_SIMPLE_ASYNC_RESULT (res);
#  765|   
#  766|->   g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_interactive_authority_check_authorization);
#  767|   
#  768|     result = NULL;

Error: COMPILER_WARNING (CWE-477): [#def112]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:770:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
#  770 |   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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  768|     result = NULL;
#  769|   
#  770|->   if (g_simple_async_result_propagate_error (simple, error))
#  771|       goto out;
#  772|   

Error: COMPILER_WARNING (CWE-477): [#def113]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:773:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  773 |   result = g_object_ref (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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  771|       goto out;
#  772|   
#  773|->   result = g_object_ref (g_simple_async_result_get_op_res_gpointer (simple));
#  774|   
#  775|    out:

Error: COMPILER_WARNING (CWE-477): [#def114]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_check_authorization’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:874:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  874 |   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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  872|     result = NULL;
#  873|   
#  874|->   simple = g_simple_async_result_new (G_OBJECT (authority),
#  875|                                         callback,
#  876|                                         user_data,

Error: COMPILER_WARNING (CWE-477): [#def115]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:902:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
#  902 |       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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  900|     if (error != NULL)
#  901|       {
#  902|->       g_simple_async_result_set_from_error (simple, error);
#  903|         g_simple_async_result_complete (simple);
#  904|         g_object_unref (simple);

Error: COMPILER_WARNING (CWE-477): [#def116]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:903:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  903 |       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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  901|       {
#  902|         g_simple_async_result_set_from_error (simple, error);
#  903|->       g_simple_async_result_complete (simple);
#  904|         g_object_unref (simple);
#  905|         g_error_free (error);

Error: COMPILER_WARNING (CWE-477): [#def117]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:917:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
#  917 |       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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  915|     if (error != NULL)
#  916|       {
#  917|->       g_simple_async_result_set_from_error (simple, error);
#  918|         g_simple_async_result_complete (simple);
#  919|         g_object_unref (simple);

Error: COMPILER_WARNING (CWE-477): [#def118]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:918:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  918 |       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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  916|       {
#  917|         g_simple_async_result_set_from_error (simple, error);
#  918|->       g_simple_async_result_complete (simple);
#  919|         g_object_unref (simple);
#  920|         g_error_free (error);

Error: COMPILER_WARNING (CWE-477): [#def119]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:962:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
#  962 |               g_simple_async_result_set_error (simple,
#      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  119 | void                g_simple_async_result_set_error        (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  960|             if (has_details)
#  961|               {
#  962|->               g_simple_async_result_set_error (simple,
#  963|                                                  POLKIT_ERROR,
#  964|                                                  POLKIT_ERROR_NOT_AUTHORIZED,

Error: COMPILER_WARNING (CWE-477): [#def120]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:970:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
#  970 |               g_simple_async_result_set_error (simple,
#      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  119 | void                g_simple_async_result_set_error        (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  968|             else
#  969|               {
#  970|->               g_simple_async_result_set_error (simple,
#  971|                                                  POLKIT_ERROR,
#  972|                                                  POLKIT_ERROR_NOT_AUTHORIZED,

Error: COMPILER_WARNING (CWE-477): [#def121]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:976:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  976 |           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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  974|                                                  "subjects belonging to other identities");
#  975|               }
#  976|->           g_simple_async_result_complete (simple);
#  977|             g_object_unref (simple);
#  978|             goto out;

Error: COMPILER_WARNING (CWE-477): [#def122]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:994:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
#  994 |       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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  992|     if (error != NULL)
#  993|       {
#  994|->       g_simple_async_result_set_from_error (simple, error);
#  995|         g_simple_async_result_complete (simple);
#  996|         g_object_unref (simple);

Error: COMPILER_WARNING (CWE-477): [#def123]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:995:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  995 |       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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  993|       {
#  994|         g_simple_async_result_set_from_error (simple, error);
#  995|->       g_simple_async_result_complete (simple);
#  996|         g_object_unref (simple);
#  997|         g_error_free (error);

Error: COMPILER_WARNING (CWE-477): [#def124]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:1035:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
# 1035 |   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,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1033|   
# 1034|     /* Otherwise just return the result */
# 1035|->   g_simple_async_result_set_op_res_gpointer (simple,
# 1036|                                                g_object_ref (result),
# 1037|                                                g_object_unref);

Error: COMPILER_WARNING (CWE-477): [#def125]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:1038:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
# 1038 |   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);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1036|                                                g_object_ref (result),
# 1037|                                                g_object_unref);
# 1038|->   g_simple_async_result_complete (simple);
# 1039|     g_object_unref (simple);
# 1040|   

Error: COMPILER_WARNING (CWE-1164): [#def126]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘get_users_in_net_group’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:2303:2: warning[-Wunused-label]: label ‘out’ defined but not used
# 2303 |  out:
#      |  ^~~
# 2301|     ret = g_list_reverse (ret);
# 2302|   
# 2303|->  out:
# 2304|     endnetgrent ();
# 2305|   #endif /* HAVE_SETNETGRENT */

Error: COMPILER_WARNING (CWE-477): [#def127]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_enumerate_temporary_authorizations’
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:3367:3: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
# 3367 |   GTimeVal real_now;
#      |   ^~~~~~~~
/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-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:31: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
#  580 | struct _GTimeVal
#      |        ^~~~~~~~~
# 3365|     GList *l;
# 3366|     gint64 monotonic_now;
# 3367|->   GTimeVal real_now;
# 3368|   
# 3369|     interactive_authority = POLKIT_BACKEND_INTERACTIVE_AUTHORITY (authority);

Error: COMPILER_WARNING (CWE-477): [#def128]
polkit-125-build/polkit-125/src/polkitbackend/polkitbackendinteractiveauthority.c:3406:3: warning[-Wdeprecated-declarations]: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead
# 3406 |   g_get_current_time (&real_now);
#      |   ^~~~~~~~~~~~~~~~~~
/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:825:8: note: declared here
#  825 | void   g_get_current_time                 (GTimeVal       *result);
#      |        ^~~~~~~~~~~~~~~~~~
# 3404|   
# 3405|     monotonic_now = g_get_monotonic_time ();
# 3406|->   g_get_current_time (&real_now);
# 3407|   
# 3408|     for (l = priv->temporary_authorization_store->authorizations; l != NULL; l = l->next)

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

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

Error: COMPILER_WARNING (CWE-477): [#def131]
polkit-125-build/polkit-125/src/programs/pkcheck.c: scope_hint: In function ‘do_list_or_revoke_temp_authz’
polkit-125-build/polkit-125/src/programs/pkcheck.c:270:11: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
#  270 |           GTimeVal now;
#      |           ^~~~~~~~
/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-125-build/polkit-125/src/programs/pkcheck.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
#  580 | struct _GTimeVal
#      |        ^~~~~~~~~
#  268|             time_t obtained;
#  269|             time_t expires;
#  270|->           GTimeVal now;
#  271|             gchar *subject_str;
#  272|             gchar obtained_str[64];

Error: COMPILER_WARNING (CWE-477): [#def132]
polkit-125-build/polkit-125/src/programs/pkcheck.c:286:11: warning[-Wdeprecated-declarations]: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead
#  286 |           g_get_current_time (&now);
#      |           ^~~~~~~~~~~~~~~~~~
/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:825:8: note: declared here
#  825 | void   g_get_current_time                 (GTimeVal       *result);
#      |        ^~~~~~~~~~~~~~~~~~
#  284|             expires = polkit_temporary_authorization_get_time_expires (a);
#  285|   
#  286|->           g_get_current_time (&now);
#  287|   
#  288|             broken_down = localtime (&obtained);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def133]
polkit-125-build/polkit-125/src/programs/pkexec.c: scope_hint: In function ‘main’
polkit-125-build/polkit-125/src/programs/pkexec.c:816: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-125-build/polkit-125/src/programs/pkexec.c:41: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
polkit-125-build/polkit-125/src/programs/pkexec.c:602:16: note: in expansion of macro ‘g_strdup’
polkit-125-build/polkit-125/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:627:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:627: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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:780:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:781:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:781:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:782:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:782:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:783:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:783:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:795:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:795:3: note: in expansion of macro ‘g_assert’
polkit-125-build/polkit-125/src/programs/pkexec.c:336:17: note: in expansion of macro ‘g_strdup’
polkit-125-build/polkit-125/src/programs/pkexec.c: scope_hint: In function ‘main’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-125-build/polkit-125/src/programs/pkexec.c:800:3: note: in expansion of macro ‘g_assert’
polkit-125-build/polkit-125/src/programs/pkexec.c:815:19: note: in expansion of macro ‘g_strdup’
polkit-125-build/polkit-125/src/programs/pkexec.c: scope_hint: In function ‘main’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  814|   
#  815|     cmdline_short = g_strdup(command_line);
#  816|->   if (strlen(command_line) > 80)
#  817|         g_stpcpy(g_stpcpy( cmdline_short + 38, " ... " ),
#  818|                  command_line + strlen(command_line) - 37 );

Error: COMPILER_WARNING (CWE-252): [#def134]
polkit-125-build/polkit-125/src/programs/pkexec.c: scope_hint: In function ‘main’
polkit-125-build/polkit-125/src/programs/pkexec.c:970:7: warning[-Wunused-result]: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’
#  970 |       setreuid (0, 0);
#      |       ^~~~~~~~~~~~~~~
#  968|     if (pw->pw_uid != 0)
#  969|       {
#  970|->       setreuid (0, 0);
#  971|         if ((geteuid () != 0) || (getuid () != 0))
#  972|           {

Error: COMPILER_WARNING (CWE-252): [#def135]
polkit-125-build/polkit-125/src/programs/pkexec.c:1023:3: warning[-Wunused-result]: ignoring return value of ‘setregid’ declared with attribute ‘warn_unused_result’
# 1023 |   setregid (pw->pw_gid, pw->pw_gid);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1021|         goto out;
# 1022|       }
# 1023|->   setregid (pw->pw_gid, pw->pw_gid);
# 1024|     setreuid (pw->pw_uid, pw->pw_uid);
# 1025|     if ((geteuid () != pw->pw_uid) || (getuid () != pw->pw_uid) ||

Error: COMPILER_WARNING (CWE-252): [#def136]
polkit-125-build/polkit-125/src/programs/pkexec.c:1024:3: warning[-Wunused-result]: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’
# 1024 |   setreuid (pw->pw_uid, pw->pw_uid);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1022|       }
# 1023|     setregid (pw->pw_gid, pw->pw_gid);
# 1024|->   setreuid (pw->pw_uid, pw->pw_uid);
# 1025|     if ((geteuid () != pw->pw_uid) || (getuid () != pw->pw_uid) ||
# 1026|         (getegid () != pw->pw_gid) || (getgid () != pw->pw_gid))

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-91.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namepolkit-125-3.fc42
store-results-to/tmp/tmp66_8i6ae/polkit-125-3.fc42.tar.xz
time-created2024-11-13 02:41:02
time-finished2024-11-13 02:42:47
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp66_8i6ae/polkit-125-3.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp66_8i6ae/polkit-125-3.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9