Closed bend-n closed 4 months ago
I was debugging a similar issue recently, and I found the problem.
These two checks assert that a max size range always should take the ASCII fast path, but this is wildly incorrect for non-ASCII text. With a local clone that correctly checks that end < 128
only, fixes the issue.
execution of this provides
which is occuring as logos is providing a string with bytes
0xee
, which is clearly invalid utf8, and logos is committing library-ub by slicing a unicode bound.