You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: