[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aPofY8mWyRATm6T5@ryzen>
Date: Thu, 23 Oct 2025 14:28:19 +0200
From: Niklas Cassel <cassel@...nel.org>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Damien Le Moal <dlemoal@...nel.org>, linux-hardening@...r.kernel.org,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ata: Replace deprecated strcpy with strscpy in
it821x_display_disk
On Sat, Oct 18, 2025 at 12:51:45PM +0200, Thorsten Blum wrote:
> strcpy() is deprecated; use strscpy() instead.
>
> Replace the hard-coded buffer size 8 with sizeof(mbuf) when using
> snprintf() while we're at it.
>
> Link: https://github.com/KSPP/linux/issues/88
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
Applied, thank you!
https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git/commit/?h=for-6.19&id=4ea303d9e9862ff8bd3707f67b267646b8ffd3ec
Powered by blists - more mailing lists