Skip site navigation (1)Skip section navigation (2)
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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255646

--- Comment #2 from Karl Williamson <khw@cpan.org> ---
I had considered the possibility that POSIX and C would have the same collating
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. 
Are you ignoring input validity in collation?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255646-227-HuwYBRedyG>