[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173627498145.9568.7439619497452812718.b4-ty@linux.intel.com>
Date: Tue, 07 Jan 2025 20:36:21 +0200
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: Hans de Goede <hdegoede@...hat.com>, Nitin Joshi <nitjoshi@...il.com>
Cc: Mark Pearson <mpearson-lenovo@...ebb.ca>,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] platform/x86: thinkpad-acpi: replace strcpy with
strscpy
On Tue, 07 Jan 2025 11:15:07 +0900, Nitin Joshi wrote:
> strcpy() performs no bounds checking on the destination buffer. This
> could result in linear overflows beyond the end of the buffer, leading
> to all kinds of misbehaviors.[1]
>
> [1]: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy
>
>
> [...]
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: thinkpad-acpi: replace strcpy with strscpy
commit: c9a90d746c09e61b1acb829d93f8283e296563fd
--
i.
Powered by blists - more mailing lists