diff options
| author | Suchit Karunakaran <[email protected]> | 2025-07-26 19:43:07 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2025-08-06 01:23:36 +0000 |
| commit | 1918f983687aa73bf0e5bc73431898994fce35a8 (patch) | |
| tree | c290d1415f777392f71c23d4fbcfae032956fc9c /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | kconfig: gconf: refactor text_insert_help() (diff) | |
| download | kernel-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
