Re:Fast UTF-8 validation
by kwillets on Tuesday October 20, 2020 @01:41PM
(#24840246)
There have apparently been some injection attacks where an overlength ";" or something has been missed by a string sanitizer. Overlength means eg a 7-bit ASCII character is encoded in two or more bytes, neither of which would be noticed by an 8-bit delimiter checker. The only flag in this case is that bitfields in the two bytes have 0's in the high bits beyond 7.
[ Parent
| on HN ]
There are no comments on this comment yet.