linux/scripts/kconfig/lxdialog
Suchit Karunakaran 5ac726653a 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 <suchitkarunakaran@gmail.com>
Reviewed-by: Nicolas Schier <nicolas.schier@linux.dev>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2025-08-06 10:23:36 +09:00
..
BIG.FAT.WARNING
checklist.c kconfig: Fix typo HEIGTH to HEIGHT 2024-03-31 21:09:50 +09:00
dialog.h kconfig: Fix typo HEIGTH to HEIGHT 2024-03-31 21:09:50 +09:00
inputbox.c kconfig: lxdialog: replace strcpy() with strncpy() in inputbox.c 2025-08-06 10:23:36 +09:00
menubox.c kconfig: lxdialog: fix 'space' to (de)select options 2025-06-24 20:30:27 +09:00
textbox.c kconfig: Fix typo HEIGTH to HEIGHT 2024-03-31 21:09:50 +09:00
util.c kconfig: lxdialog: replace strcpy with snprintf in print_autowrap 2025-08-06 10:23:36 +09:00
yesno.c kconfig: Fix typo HEIGTH to HEIGHT 2024-03-31 21:09:50 +09:00