aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
diff options
context:
space:
mode:
authorSuchit Karunakaran <[email protected]>2025-07-26 19:43:07 +0000
committerMasahiro Yamada <[email protected]>2025-08-06 01:23:36 +0000
commit1918f983687aa73bf0e5bc73431898994fce35a8 (patch)
treec290d1415f777392f71c23d4fbcfae032956fc9c /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
parentkconfig: gconf: refactor text_insert_help() (diff)
downloadkernel-1918f983687aa73bf0e5bc73431898994fce35a8.tar.gz
kernel-1918f983687aa73bf0e5bc73431898994fce35a8.zip
kconfig: lxdialog: replace strcpy with snprintf in print_autowrap
strcpy() does not perform bounds checking and can lead to buffer overflows if the source string exceeds the destination buffer size. In print_autowrap(), replace strcpy() with snprintf() to safely copy the prompt string into the fixed-size tempstr buffer. Signed-off-by: Suchit Karunakaran <[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