diff options
| author | 2026-05-20 20:58:42 +0000 | |
|---|---|---|
| committer | 2026-05-21 08:21:11 -0700 | |
| commit | 3d4432d34c1992701289cbe12df9fd024f315998 (patch) | |
| tree | b521687feed6837a7218394c32f1863141ca1c9f /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | net: airoha: Disable GDM2 forwarding before configuring GDM2 loopback (diff) | |
pds_core: ensure null-termination for firmware version strings
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")
Signed-off-by: Nikhil P. Rao <nikhil.rao@amd.com>
Link: https://patch.msgid.link/20260520205842.1486718-1-nikhil.rao@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
