[PATCH 5.4 252/367] kconfig: fix possible buffer overflow