[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <48BBD43F-50F9-4521-B636-CAC71B8DE871@linux.dev>
Date: Mon, 13 Oct 2025 14:02:04 +0200
From: Thorsten Blum <thorsten.blum@...ux.dev>
To: Juergen Gross <jgross@...e.com>,
Stefano Stabellini <sstabellini@...nel.org>,
Oleksandr Tyshchenko <oleksandr_tyshchenko@...m.com>,
Jason Andryuk <jason.andryuk@....com>,
"Dr. David Alan Gilbert" <linux@...blig.org>
Cc: linux-hardening@...r.kernel.org,
xen-devel@...ts.xenproject.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] drivers/xen/xenbus: Replace deprecated strcpy in
xenbus_transaction_end
On 13. Oct 2025, at 13:51, Thorsten Blum wrote:
> strcpy() is deprecated; inline the read-only string instead. Fix the
> function comment and use bool instead of int while we're at it.
>
> Link: https://github.com/KSPP/linux/issues/88
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
> ---
I forgot to add:
Changes in v2:
- Use an inline ternary expression and remove 'char abortstr[2]' as
suggested by Jürgen
- Link to v1: https://lore.kernel.org/lkml/20251012195514.39003-2-thorsten.blum@linux.dev/
Powered by blists - more mailing lists