NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/60369 CVS commit: [netbsd-10] src/lib/libc/citrus/modules
The following reply was made to PR standards/60369; it has been noted by GNATS.
From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/60369 CVS commit: [netbsd-10] src/lib/libc/citrus/modules
Date: Sat, 27 Jun 2026 16:48:24 +0000
Module Name: src
Committed By: martin
Date: Sat Jun 27 16:48:24 UTC 2026
Modified Files:
src/lib/libc/citrus/modules [netbsd-10]: citrus_utf8.c
Log Message:
Pull up following revision(s) (requested by wiz in ticket #1285):
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.38.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