From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Prasanth Ksr <prasanth.ksr@dell.com>,
Hans de Goede <hansg@kernel.org>,
Pengpeng Hou <pengpeng@iscas.ac.cn>
Cc: "Divya.Bharathi" <divya.bharathi@dell.com>,
Mario Limonciello <mario.limonciello@dell.com>,
Dell.Client.Kernel@dell.com,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] platform/x86: dell-wmi-sysman: bound enumeration string aggregation
Date: Thu, 09 Apr 2026 16:41:29 +0300 [thread overview]
Message-ID: <177574208989.8529.6766457149139541924.b4-ty@linux.intel.com> (raw)
In-Reply-To: <20260408084501.1-dell-wmi-sysman-v2-pengpeng@iscas.ac.cn>
On Wed, 08 Apr 2026 08:38:21 +0800, Pengpeng Hou wrote:
> populate_enum_data() aggregates firmware-provided value-modifier
> and possible-value strings into fixed 512-byte struct members.
> The current code bounds each individual source string but then
> appends every string and separator with raw strcat() and no
> remaining-space check.
>
> Switch the aggregation loops to a bounded append helper and
> reject enumeration packages whose combined strings do not fit
> in the destination buffers.
>
> [...]
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/x86: dell-wmi-sysman: bound enumeration string aggregation
commit: 3c34471c26abc52a37f5ad90949e2e4b8027eb14
--
i.
prev parent reply other threads:[~2026-04-09 13:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-29 3:09 [PATCH] " Pengpeng Hou
2026-04-07 14:19 ` Ilpo Järvinen
2026-04-08 0:38 ` [PATCH v2] " Pengpeng Hou
2026-04-09 13:41 ` 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=177574208989.8529.6766457149139541924.b4-ty@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=Dell.Client.Kernel@dell.com \
--cc=divya.bharathi@dell.com \
--cc=hansg@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mario.limonciello@dell.com \
--cc=pengpeng@iscas.ac.cn \
--cc=platform-driver-x86@vger.kernel.org \
--cc=prasanth.ksr@dell.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®