Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src/lib/libc/citrus/modules



Module Name:    src
Committed By:   martin
Date:           Sat Jun 27 16:46:58 UTC 2026

Modified Files:
        src/lib/libc/citrus/modules [netbsd-11]: citrus_utf8.c

Log Message:
Pull up following revision(s) (requested by wiz in ticket #339):

        lib/libc/citrus/modules/citrus_utf8.c: revision 1.19

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.18.42.1 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.




Home | Main Index | Thread Index | Old Index