Philip Withnall b29892237d gdbusinterfaceskeleton: Fix a use-after-free of a GDBusMethodInvocation
This `GDBusMethodInvocation` may be shared across threads, with no
guarantee on the strong ref in one thread outlasting any refs in other
threads — so it needs a ref in this helper struct.

This should fix a use-after-free where the `GDBusMethodInvocation` is
freed from `g_value_unset()` after `g_signal_emit()` returns in
`dispatch_in_thread_func()` in one thread; but then dereferenced again
in `g_source_destroy_internal()` from another thread.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #2924
2023-02-23 13:05:57 +00:00
..
2022-06-17 08:49:03 -05:00
2022-06-23 10:46:45 +01:00
2022-05-18 14:01:43 +00:00
2022-08-05 16:02:09 -05:00
2022-06-09 17:08:42 +02:00
2022-06-23 10:46:45 +01:00