Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 10 Sep 2019 18:10:20 +0100
From: Daniel Schoepe <daniel@...oepe.org>
To: Szabolcs Nagy <nsz@...t70.net>
Cc: musl@...ts.openwall.com
Subject: Re: printf doesn't respect locale

Basically, someone used printf to produce json output and was unaware
that the radix used by printf was locale-dependent. When this was run
on a system with a non-English locale, it no longer produced valid
JSON as output.

Best,
Daniel

On Tue, Sep 10, 2019 at 5:31 PM Szabolcs Nagy <nsz@...t70.net> wrote:
>
> * Daniel Schoepe <daniel@...oepe.org> [2019-09-10 17:00:49 +0100]:
> > I'm also not a fan of this behavior, I actually stumbled across this
> > when tracking
> > down a bug the different radix usage caused.
>
> i'm interested in how this can cause a bug in correct software.

Powered by blists - more mailing lists

Your e-mail address:

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