An ISO/IEC 8859-1 / Latin-1 string with an invalid last character whose UTF8 equivalent is a multi-byte sequence is currently not detected correctly in ippValidateAttribute, leading to a _dbus_check_is_valid_utf8 crash in relaxed conformance mode. The multi-byte sequence check in ippValidateAttribute expects that the following bytes exist, and this is not the case here.
To catch this case, I think ippValidateAttribute needs to check whether the string finishes midway in a multi-byte sequence check for IPP_TAG_TEXT* and IPP_TAG_NAME* strings.