Philip Withnall 18fb55bf05 gdbusmessage: Validate required headers have the right type
We already validated that the required headers for each type of D-Bus
message were present. However, we didn’t validate that they contained a
variant of the right type. This could lead to functions like
`g_dbus_message_get_path()` returning `NULL` unexpectedly.

This failure could only be hit when using GDBus in peer-to-peer mode, or
with a D-Bus server which didn’t validate the headers itself. The
reference D-Bus server does validate the headers, and doesn’t forward
invalid messages to clients.

Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>

Fixes: #3061
2023-08-31 11:15:34 +01:00
..
2023-04-07 15:22:11 +00:00
2023-01-27 11:58:56 +03:00
2020-11-17 15:50:07 +00:00
2019-01-10 13:50:26 -05:00