On 03/20/2019 06:31 PM, Michael Tretter wrote:
UTF-8 requires the form 10xxxxxx for the second, third and forth
of a well-formed byte sequences. Therefore, comparing with 0 is not
sufficient to exclude ill-formed byte sequences, but the first two bit
must follow the specified form.
Without this check, iwd crashes if it encounters Latin-1 Supplement
encoded SSIDs during scanning, because they are erroneously accepted as
ell/utf8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Good catch! That bug has been in there since 2011.
Both applied, thanks.