HomeFreeBSD

Simplify overengineered and buggy code that looked like as if it did

Description

Simplify overengineered and buggy code that looked like as if it did
some kind of UTF-8 validation, but actually didn't, but instead, for
malformed UTF-8 input, caused buffer overruns in some cases and caused
skipping of valid ASCII characters in other cases.

Obtained from: OpenBSD (cvs 1.32)

Details

Provenance
araujoAuthored on
Parents
rS299886: MFC r298982:
Branches
Unknown
Tags
Unknown