Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3481517.K71DO8KEF6@nimes>
Date: Mon, 20 Mar 2023 19:22:25 +0100
From: Bruno Haible <bruno@...sp.org>
To: Rich Felker <dalias@...c.org>
Cc: musl@...ts.openwall.com
Subject: Re: swprintf: count returned by %n is wrong after conversion error

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.

Bruno



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.