From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Chen Yu <yu.c.chen@intel.com>, Hans de Goede <hansg@kernel.org>,
Maximilian Luz <luzmaximilian@gmail.com>,
Thorsten Blum <thorsten.blum@linux.dev>
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] platform/surface: Replace deprecated strcpy() in surface_button_add()
Date: Tue, 06 Jan 2026 15:46:20 +0200 [thread overview]
Message-ID: <176770718089.2365.17181925544709248266.b4-ty@linux.intel.com> (raw)
In-Reply-To: <20260105145045.52764-2-thorsten.blum@linux.dev>
On Mon, 05 Jan 2026 15:50:46 +0100, Thorsten Blum wrote:
> strcpy() has been deprecated [1] because it performs no bounds checking
> on the destination buffer, which can lead to buffer overflows. Replace
> it with the safer strscpy(). No functional changes.
>
>
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/surface: Replace deprecated strcpy() in surface_button_add()
commit: 1716c1e0860b42980f338b69b974149d035582ca
--
i.
prev parent reply other threads:[~2026-01-06 13:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-05 14:50 Thorsten Blum
2026-01-06 13:46 ` Ilpo Järvinen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=176770718089.2365.17181925544709248266.b4-ty@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=hansg@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luzmaximilian@gmail.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=thorsten.blum@linux.dev \
--cc=yu.c.chen@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®