bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: musl printf bugs


From: Rich Felker
Subject: Re: musl printf bugs
Date: Sun, 17 Jun 2012 17:58:55 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Jun 17, 2012 at 11:57:05PM +0200, Bruno Haible wrote:
> Rich Felker wrote:
> > considering printf broken, and replacing printf
> > because of this, is a big issue. Replacing printf is non-trivial
> 
> There is also another test that causes musl's printf to be overridden:
> 
>   checking whether printf supports the 'ls' directive... no

Yep, I caught this one a while back. It's fixed in git. %ls was
over-reading (not over-printing, just over-reading) by one wchar_t
when precision was specified, and if that extra wchar_t happened to be
invalid, it would bail with EILSEQ.

Rich



reply via email to

[Prev in Thread] Current Thread [Next in Thread]