summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorMadhur Kumar <madhurkumar004@gmail.com>2025-12-04 17:38:22 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-18 13:55:19 +0100
commit7cd9ed8132d387a47da11d2e612722f7075b862b (patch)
tree13714604a4608f4d1fde076b359de4cf8a4f1ed7 /include/net/aligned_data.h
parent6275fd726d53a8ec724f20201cf3bd862711e17b (diff)
drm/nouveau: refactor deprecated strcpy
[ Upstream commit 2bdc2c0e12fac56e41ec05fb771ead986ea6dac0 ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions