[PATCH 5.10 303/317] kdb: Fix buffer overflow during tab-complete