[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e5c98ef4-40a0-433f-b4e5-3f1bc62a0c21@kernel.org>
Date: Tue, 28 Oct 2025 00:21:34 -0600 (MDT)
From: Paul Walmsley <pjw@...nel.org>
To: Thorsten Blum <thorsten.blum@...ux.dev>
cc: Paul Walmsley <pjw@...nel.org>, Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>,
WangYuli <wangyuli@...ontech.com>, Huacai Chen <chenhuacai@...nel.org>,
linux-hardening@...r.kernel.org, Palmer Dabbelt <palmer@...osinc.com>,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] riscv: KGDB: Replace deprecated strcpy in
kgdb_arch_handle_qxfer_pkt
On Sat, 11 Oct 2025, Thorsten Blum wrote:
> strcpy() is deprecated because it can cause a buffer overflow when the
> sizes of the source and the destination are not known at compile time.
> Use strscpy() instead.
>
> Link: https://github.com/KSPP/linux/issues/88
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
Thanks, queued for v6.18-rc fixes.
- Paul
Powered by blists - more mailing lists