kdb: Fix buffer overflow during tab-complete (CVE-2024-39480) | HOL Guard CVE