diff options
| author | Madhur Kumar <madhurkumar004@gmail.com> | 2025-12-04 15:08:22 +0300 |
|---|---|---|
| committer | Lyude Paul <lyude@redhat.com> | 2025-12-05 22:58:53 +0300 |
| commit | 2bdc2c0e12fac56e41ec05fb771ead986ea6dac0 (patch) | |
| tree | 02111620f185a9c147349df056e942a9e4b1ce47 /tools/lib/python/kdoc/kdoc_output.py | |
| parent | 479acb9db3199cdb70e5478a6f633b5f20c7d8df (diff) | |
| download | linux-2bdc2c0e12fac56e41ec05fb771ead986ea6dac0.tar.xz | |
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/lib/python/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
