NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/60369 CVS commit: src/lib/libc/citrus/modules
The following reply was made to PR standards/60369; it has been noted by GNATS.
From: "Thomas Klausner" <wiz%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/60369 CVS commit: src/lib/libc/citrus/modules
Date: Fri, 26 Jun 2026 11:58:57 +0000
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.
Home |
Main Index |
Thread Index |
Old Index