[PATCH 5.10 334/406] kconfig: fix possible buffer overflow