On Tue Oct 4 17:07:12 2022 +0000, Erich Hoover wrote:
Rather than being smart about it, it might be better to just output an error when it's not a format we can decode. Possibly something like:
if (string_len > 2 && data[0] == '0' && data[1] == 'x') ... else FIXME_ONCE("Unhandled " SAMBA_XATTR_DOS_ATTRIB " extended attribute value.\n");
@zfigura Good catch.
@ehoover I agree, it's better to keep it simple for now.
Fixed in the new push.