Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 20 Mar 2023 17:19:37 -0400
From: Rich Felker <>
To: Bruno Haible <>
Subject: Re: swprintf: count returned by %n is wrong after conversion

On Mon, Mar 20, 2023 at 07:22:25PM +0100, Bruno Haible wrote:
> Rich Felker wrote:
> > There is probably also a similar issue in non-wide printf, but only
> > for write errors, not for encoding errors, and only visibly wrong if
> > the write error is transient (e.g. EAGAIN).
> Glad that you are seeing this by code inspection. Because in my test
> suite, I only test the behaviour in case of encoding errors, not of
> write errors.

Thanks for reporting it. The underlying issue is somewhat larger than
what you found, but your report gave the lead for discovering the


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.