Skip to content

gdbusmessage: Validate the types of all known message headers

Previously, the code only validated the types of required message headers, and did not validate optional ones.

Now, the headers are validated in one step, and a subsequent step checks whether the required ones are present.

The existing tests have been updated to match the new error message wording. More tests will be added to test the new behaviour in a subsequent commit.

Signed-off-by: Philip Withnall pwithnall@gnome.org

Fixes: #3093 (closed)

Closes #3093 (closed)

Merge request reports