Closed tspivey closed 1 year ago
Thanks for the detailed bug report!
The root cause is the utf8_to_wchar() function: is does not check the upper 2 bits of the 2nd and subsequent bytes in the UTF-8 sequence.
Fixed in 66e3a255147d1714f313399bfdfb52fff8afbf50.
Fixed in v1.4.0.
Steps to reproduce:
After running that, I get:
ls: reading directory '/mnt': Software caused connection abort