diff options
| author | Suchit Karunakaran <[email protected]> | 2025-07-27 16:44:33 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2025-08-06 01:23:36 +0000 |
| commit | 5ac726653a1029a2eccba93bbe59e01fc9725828 (patch) | |
| tree | 71ab56febe0d834080f91f12a884789dff57335d /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | kconfig: lxdialog: replace strcpy with snprintf in print_autowrap (diff) | |
| download | kernel-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
