Date: Thu, 06 May 2021 20:37:49 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255646] newlocale(LC_ALL_MASK, (locale_t) 0) wrongly destroys LC_COLLATE in an existing object Message-ID: <bug-255646-227-HuwYBRedyG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-255646-227@https.bugs.freebsd.org/bugzilla/> References: <bug-255646-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255646 --- Comment #2 from Karl Williamson <khw@cpan.org> --- I had considered the possibility that POSIX and C would have the same colla= ting sequence. But before I filed the report, I tried a third locale, which happened to be C.UTF-8. I couldn't imagine that it would have the same collating sequence as the other two, and still don't. \xC0\x80 is a legal sequence in the first two locales, but not in the third= .=20 Are you ignoring input validity in collation? --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255646-227-HuwYBRedyG>