Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Aug 2017 13:51:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221224] setlocale.c does not properly detect if locale contains too many slashes
Message-ID:  <bug-221224-8-XUx0QtRizM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221224-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221224-8@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=3D221224

--- Comment #2 from Leonard K=C3=B6nig <leonard.r.koenig@googlemail.com> ---
It seems that there's no documentation on how a "composite locale" is built
except

> A composite locale is a string beginning with a "/", followed by the loca=
le of each category, separated by a "/".

from [1].
However, FreeBSDs implementation does not allow leading slashes as seen ear=
lier
already.

However the implementation allows for more than one '/' separating the loca=
les
-- except for the first, ie:

"C/C/////C/C/C/C/" -- allowed
"C/////C/C/C/C/C/" -- not allowed

this at least is inconsistent if not unwanted, I assume (also the documenta=
tion
on how a composite locale is built is lacking, especially since it's behavi=
or
is based on the internal ordering of LC_*).

----

[1] http://docs.oracle.com/cd/E13203_01/tuxedo/tux91/rf3c/rf3c14.htm

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221224-8-XUx0QtRizM>