aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
diff options
context:
space:
mode:
authorSuchit Karunakaran <[email protected]>2025-07-27 16:44:33 +0000
committerMasahiro Yamada <[email protected]>2025-08-06 01:23:36 +0000
commit5ac726653a1029a2eccba93bbe59e01fc9725828 (patch)
tree71ab56febe0d834080f91f12a884789dff57335d /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
parentkconfig: lxdialog: replace strcpy with snprintf in print_autowrap (diff)
downloadkernel-5ac726653a1029a2eccba93bbe59e01fc9725828.tar.gz
kernel-5ac726653a1029a2eccba93bbe59e01fc9725828.zip
kconfig: lxdialog: replace strcpy() with strncpy() in inputbox.c
strcpy() performs no bounds checking and can lead to buffer overflows if the input string exceeds the destination buffer size. This patch replaces it with strncpy(), and null terminates the input string. Signed-off-by: Suchit Karunakaran <[email protected]> Reviewed-by: Nicolas Schier <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions