Re: [PATCH] platform/x86: think-lmi: Use snprintf() in new_password_store()

From: Ilpo Järvinen

Date: Mon Oct 05 2026 - 14:26:30 EST


On Sun, 20 Sep 2026 12:30:36 +0200, Thorsten Blum wrote:

> While the current code works correctly, replace unbounded sprintf()
> calls with the safer snprintf() in new_password_store() to follow secure
> coding best practices.

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.

FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.

The list of commits applied:
[1/1] platform/x86: think-lmi: Use snprintf() in new_password_store()
commit: ff29048d56ed5069c5dfcb192a5b0687d3f45869

--
i.