Re: [PATCH net v2] pds_core: ensure null-termination for firmware version strings
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-05-21 15:30:00
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-05-21 15:30:00
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski [off-list ref]: On Wed, 20 May 2026 20:58:42 +0000 you wrote:
The driver passes fw_version directly to devlink_info_version_stored_put()
without ensuring null-termination. While current firmware null-terminates
these strings, the driver should not rely on this behavior. Add explicit
null-termination to prevent potential issues if firmware behavior changes.
Fixes: 45d76f492938 ("pds_core: set up device and adminq")
Assisted-by: Claude:claude-opus-4
Signed-off-by: Nikhil P. Rao <redacted>
[...]
Here is the summary with links:
- [net,v2] pds_core: ensure null-termination for firmware version strings
https://git.kernel.org/netdev/net/c/3d4432d34c19
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html