Colin Walters e19f732481 core: Validate that xattr names aren't empty
In the ostree-ext codebase the test fixture was generating xattrs
without the trailing NUL byte.  This caused confusing errors
later.  Change the dirmeta validator to catch this.

The way GVariant represents bytestrings, the trailing NUL is there
on wire/disk so it can be there in memory too, but `g_variant_get_bytestring()`
will just return an empty `""` string if actually the value
has a missing NUL.

Signed-off-by: Colin Walters <walters@verbum.org>
2024-06-01 14:46:23 -04:00
..
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00
2020-05-27 21:59:23 +00:00
2024-02-16 13:34:34 +01:00
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00
2023-12-05 13:37:04 -05:00
2023-05-02 08:42:19 -04:00
2023-05-02 08:42:19 -04:00