diff options
| author | Madhur Kumar <madhurkumar004@gmail.com> | 2025-12-04 17:38:22 +0530 |
|---|---|---|
| committer | Lyude Paul <lyude@redhat.com> | 2025-12-05 14:58:53 -0500 |
| commit | 2bdc2c0e12fac56e41ec05fb771ead986ea6dac0 (patch) | |
| tree | 02111620f185a9c147349df056e942a9e4b1ce47 /tools/testing/selftests/filesystems/kernfs_test.c | |
| parent | 479acb9db3199cdb70e5478a6f633b5f20c7d8df (diff) | |
drm/nouveau: refactor deprecated strcpy
strcpy() has been deprecated because it performs no bounds checking on the
destination buffer, which can lead to buffer overflows. Use the safer
strscpy() instead.
Signed-off-by: Madhur Kumar <madhurkumar004@gmail.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Fixes: 15a996bbb697 ("drm/nouveau: assign fence_chan->name correctly")
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20251204120822.17502-1-madhurkumar004@gmail.com
Diffstat (limited to 'tools/testing/selftests/filesystems/kernfs_test.c')
0 files changed, 0 insertions, 0 deletions
