Re: [PATCH v2 03/28] vsprintf: %pf(%p)

From: Matthew Wilcox
Date: Thu May 19 2022 - 17:15:39 EST


On Thu, May 19, 2022 at 09:06:24PM +0000, David Laight wrote:
> I suspect this a very good way to blow the kernel stack.
> The highest stack use is already very likely to be inside
> the printf code in an error path somewhere.

...

> Double copying using a temporary buffer isn't the end of the world.

How can you hold both of these positions simultaneously?