Re: [PATCH] printk: Use scnprintf() to print the message about the dropped messages on a console

From: John Ogness
Date: Tue Jan 17 2023 - 17:47:13 EST


On 2023-01-17, Petr Mladek <pmladek@xxxxxxxx> wrote:
> Reported-by: coverity-bot <keescook+coverity-bot@xxxxxxxxxxxx>
> Addresses-Coverity-ID: 1530570 ("Memory - corruptions")
> Fixes: c4fcc617e148 ("printk: introduce console_prepend_dropped() for dropped messages")
> Link: https://lore.kernel.org/r/202301131544.D9E804CCD@keescook
> Signed-off-by: Petr Mladek <pmladek@xxxxxxxx>

Reviewed-by: John Ogness <john.ogness@xxxxxxxxxxxxx>