Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 16 Dec 2021 11:22:34 +0000
From: Ron Yorston <rmy@...ppery.org>
To: musl@...ts.openwall.com, arsnyder16@...il.com
Cc: quinq@...th.space, musl@...ts.openwall.com
Subject: Re: print does not support variable width plus padding

Rich Felker <dalias@...c.org> wrote:
>FWIW I suspect the problem is that Busybox is not recognizing the 0
>character as a flag (which it is, in the printf grammar) and thinks
>it's the leading character of a width, making the * specifier for
>width invalid (since a width was already seen).

Quite so.  0 was missing from the list of valid flag characters.
Moreover only one flag character was being processed so the format
'%0 d', for example, was also considered invalid.

I've submitted a patch to BusyBox.

Ron

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.