Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140726191408.GP4038@brightrain.aerifal.cx>
Date: Sat, 26 Jul 2014 15:14:08 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Locale bikeshed time

On Sat, Jul 26, 2014 at 08:59:04PM +0200, u-igbb@...ey.se wrote:
> On Sat, Jul 26, 2014 at 02:23:48PM -0400, Rich Felker wrote:
> > > but using anything other than '.' as the decimal point is broken
> > 
> > Agreed. BTW if you support arbitrary radix characters, you should not
> > restrict it to ASCII; this then means the length in bytes of floating
> 
> I think there is some international recommendations which actually
> say "either '.' or ',' but not anything else".

According to Stephane Chazelas on oss-security
(http://www.openwall.com/lists/oss-security/2014/07/21/12), glibc
allows '2' as the radix point...

This is yet another reason for musl's locale system having an "only
allow variations that are necessary" approach: it limits the impact of
malicious locale files if a user can somehow trick a privileged
process into using one.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.