Re: [PATCH v3 1/4] lib: vsprintf: scanf: Negative number must have field width > 1

From: Richard Fitzgerald
Date: Mon Jan 11 2021 - 05:45:39 EST


On 11/01/2021 10:39, Richard Fitzgerald wrote:
On 11/01/2021 10:36, Andy Shevchenko wrote:
On Mon, Jan 11, 2021 at 12:28 PM Petr Mladek <pmladek@xxxxxxxx> wrote:

Sigh, I have just realized that Andy and Rasmus, the other
vsprintf maintainers and reviewers, were not in CC.
I am sorry for not noticing this earlier.

The patchset is ready for 5.12 from my POV.

Thanks, Petr!

I have one question, do we have a test case for that? If not, I prefer
defer until a test case will be provided.


See patch 3, numbers_prefix_overflow()

Sorry, I missed you off the original mailing so you won't have
seen the other patches.
Patch 3 with the test cases is here:
https://lore.kernel.org/lkml/X%2FwnoJLEt0zQskDU@alley/T/#mf2ffba20126e438bea7af171bc78fdbebdb40027