CVS commit: src/lib/libc/citrus/modules
"Thomas Klausner" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: wiz Date: Fri Jun 26 11:58:57 UTC 2026 Modified Files: src/lib/libc/citrus/modules: citrus_utf8.c Log Message: Fix return value for some invalid UTF-8 byte sequences Update the length definitions to honor RFC 3629 (from 2003): o The octet values C0, C1, F5 to FF never appear. Add a check that continuation bytes are valid when adding them to the internal buffer so that an out-of-bytes error doesn't override the "invalid bytes" error. Fixes PR 60369 by Bruno Haible. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/citrus/modules/citrus_utf8.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.