diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-06-08 12:54:57 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2026-06-09 20:57:37 +0300 |
| commit | 6eb287509dcf3508d2363934e82d9da7cf612f99 (patch) | |
| tree | e0d064fa53ec9204853d76ac41077b7162f8698d /include/linux/fs_stack.h | |
| parent | 16bf00323dbe5ac100b0426962ee4e76e3f2f8a0 (diff) | |
| download | linux-6eb287509dcf3508d2363934e82d9da7cf612f99.tar.xz | |
RDMA/mlx5: Use strscpy() to copy strings into arrays
Replacing strcpy() with strscpy() ensures that overflow of the target
buffer cannot happen.
Link: https://patch.msgid.link/r/20260608095500.2567-2-david.laight.linux@gmail.com
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/linux/fs_stack.h')
0 files changed, 0 insertions, 0 deletions
